lightningimg
Version:
A blazing fast, transparent, and safe image converter powered by WebAssembly. Convert PNG, JPG, TIFF, and GIF images to optimized WebP format with high performance and cross-platform compatibility.
110 lines (103 loc) • 16.1 kB
Plain Text
> lightningimg-wasm@0.0.1 test /Users/admin/Code/defuss/packages/lightningimg/lightningimg-wasm
> wasm-pack test --node
[1m[2m[INFO][0m: 🎯 Checking for the Wasm target...
[1m[33mwarning[0m[1m:[0m profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /Users/admin/Code/defuss/packages/lightningimg/lightningimg-wasm/Cargo.toml
workspace: /Users/admin/Code/defuss/packages/lightningimg/Cargo.toml
[1m[32m Compiling[0m proc-macro2 v1.0.92
[1m[32m Compiling[0m unicode-ident v1.0.14
[1m[32m Compiling[0m cfg-if v1.0.0
[1m[32m Compiling[0m wasm-bindgen-shared v0.2.99
[1m[32m Compiling[0m bumpalo v3.16.0
[1m[32m Compiling[0m log v0.4.22
[1m[32m Compiling[0m wasm-bindgen v0.2.99
[1m[32m Compiling[0m once_cell v1.20.2
[1m[36m Building[0m [ ] 0/63: proc-macro2(build.rs), bumpalo, log, once_cell, unicode-id...
[K[1m[32m Compiling[0m simd-adler32 v0.3.7
[1m[36m Building[0m [ ] 1/63: proc-macro2(build.rs), bumpalo, log, once_cell, unicode-id...
[K[1m[32m Compiling[0m adler2 v2.0.0
[1m[36m Building[0m [ ] 2/63: proc-macro2(build.rs), bumpalo, log, once_cell, simd-adler...
[K[1m[32m Compiling[0m proc-macro2 v0.4.30
[1m[36m Building[0m [> ] 3/63: proc-macro2(build.rs), bumpalo, proc-macro2(build.rs), onc...
[K[1m[32m Compiling[0m miniz_oxide v0.8.2
[1m[36m Building[0m [> ] 4/63: proc-macro2(build.rs), bumpalo, proc-macro2(build.rs), onc...
[K[1m[32m Compiling[0m crc32fast v1.4.2
[1m[36m Building[0m [=> ] 5/63: crc32fast, proc-macro2(build.rs), bumpalo, proc-macro2(bui...
[K[1m[32m Compiling[0m autocfg v1.4.0
[1m[36m Building[0m [=> ] 6/63: crc32fast, proc-macro2(build.rs), bumpalo, proc-macro2(bui...
[K[1m[32m Compiling[0m unicode-xid v0.1.0
[1m[36m Building[0m [==> ] 7/63: crc32fast, proc-macro2(build.rs), proc-macro2(build.rs), a...
[K[1m[32m Compiling[0m weezl v0.1.8
[1m[36m Building[0m [==> ] 8/63: crc32fast, proc-macro2(build.rs), weezl, proc-macro2(build...
[K[1m[32m Compiling[0m cfg-if v0.1.10
[1m[36m Building[0m [===> ] 9/63: proc-macro2(build.rs), weezl, proc-macro2(build.rs), autoc...
[K[1m[32m Compiling[0m fdeflate v0.3.7
[1m[36m Building[0m [===> ] 10/63: proc-macro2(build.rs), weezl, proc-macro2(build.rs), autoc...
[1m[36m Building[0m [====> ] 12/63: weezl, autocfg, miniz_oxide, proc-macro2(build), proc-macr...
[1m[36m Building[0m [====> ] 13/63: weezl, autocfg, miniz_oxide, proc-macro2(build), proc-macr...
[1m[36m Building[0m [=====> ] 14/63: weezl, autocfg, miniz_oxide, proc-macro2(build), proc-macr...
[1m[36m Building[0m [=====> ] 15/63: weezl, proc-macro2, autocfg, miniz_oxide, proc-macro2(buil...
[K[1m[32m Compiling[0m flate2 v1.0.35
[1m[36m Building[0m [=====> ] 16/63: proc-macro2, autocfg, miniz_oxide, flate2, proc-macro2(bui...
[K[1m[32m Compiling[0m color_quant v1.1.0
[1m[36m Building[0m [======> ] 17/63: color_quant, proc-macro2, autocfg, miniz_oxide, flate2, pr...
[K[1m[32m Compiling[0m num-traits v0.2.19
[1m[36m Building[0m [======> ] 18/63: color_quant, proc-macro2, miniz_oxide, num-traits(build.rs...
[K[1m[32m Compiling[0m futures v0.1.31
[1m[36m Building[0m [=======> ] 19/63: color_quant, proc-macro2, miniz_oxide, futures, num-traits...
[K[1m[32m Compiling[0m quick-error v2.0.1
[1m[36m Building[0m [=======> ] 20/63: color_quant, proc-macro2, quick-error, futures, num-traits...
[K[1m[32m Compiling[0m byteorder-lite v0.1.0
[1m[36m Building[0m [========> ] 21/63: proc-macro2, quick-error, byteorder-lite, futures, num-tra...
[K[1m[32m Compiling[0m zune-core v0.4.12
[1m[36m Building[0m [========> ] 22/63: proc-macro2, byteorder-lite, futures, num-traits(build.rs)...
[1m[36m Building[0m [========> ] 23/63: proc-macro2, byteorder-lite, futures, num-traits(build), f...
[1m[36m Building[0m [=========> ] 24/63: proc-macro2, proc-macro2, byteorder-lite, futures, num-tra...
[1m[36m Building[0m [=========> ] 25/63: proc-macro2, proc-macro2, byteorder-lite, futures, num-tra...
[K[1m[32m Compiling[0m bitflags v1.3.2
[1m[36m Building[0m [==========> ] 26/63: bitflags, proc-macro2, proc-macro2, byteorder-lite, future...
[K[1m[32m Compiling[0m jpeg-decoder v0.3.1
[1m[36m Building[0m [==========> ] 27/63: jpeg-decoder, proc-macro2, proc-macro2, byteorder-lite, fu...
[K[1m[32m Compiling[0m quote v0.6.13
[1m[36m Building[0m [===========> ] 28/63: jpeg-decoder, proc-macro2, proc-macro2, byteorder-lite, fu...
[K[1m[32m Compiling[0m wee_alloc v0.4.5
[1m[36m Building[0m [===========> ] 29/63: jpeg-decoder, proc-macro2, proc-macro2, byteorder-lite, fu...
[K[1m[32m Compiling[0m image-webp v0.2.0
[1m[36m Building[0m [===========> ] 30/63: jpeg-decoder, proc-macro2, proc-macro2, futures, num-trait...
[1m[36m Building[0m [============> ] 31/63: jpeg-decoder, proc-macro2, proc-macro2, futures, quote, we...
[K[1m[32m Compiling[0m zune-jpeg v0.4.14
[1m[36m Building[0m [============> ] 32/63: jpeg-decoder, proc-macro2, proc-macro2, futures, wee_alloc...
[1m[36m Building[0m [=============> ] 33/63: jpeg-decoder, proc-macro2, proc-macro2, futures, wee_alloc...
[K[1m[32m Compiling[0m wasm-bindgen-test-macro v0.2.50
[1m[36m Building[0m [=============> ] 34/63: wasm-bindgen-test-macro, jpeg-decoder, proc-macro2, future...
[K[1m[32m Compiling[0m quote v1.0.37
[1m[36m Building[0m [==============> ] 35/63: wasm-bindgen-test-macro, jpeg-decoder, proc-macro2, quote,...
[K[1m[32m Compiling[0m png v0.17.15
[1m[36m Building[0m [==============> ] 36/63: jpeg-decoder, proc-macro2, quote, futures, png, image-webp...
[K[1m[32m Compiling[0m syn v2.0.90
[1m[36m Building[0m [==============> ] 37/63: jpeg-decoder, quote, futures, png, image-webp, zune-jpeg, ...
[K[1m[32m Compiling[0m gif v0.13.1
[1m[36m Building[0m [===============> ] 38/63: gif, jpeg-decoder, futures, png, image-webp, zune-jpeg, sy...
[K[1m[32m Compiling[0m tiff v0.9.1
[1m[36m Building[0m [===============> ] 39/63: gif, jpeg-decoder, tiff, futures, png, image-webp, syn, nu...
[K[1m[32m Compiling[0m memory_units v0.4.0
[1m[36m Building[0m [================> ] 40/63: gif, tiff, memory_units, futures, png, image-webp, syn, nu...
[K[1m[32m Compiling[0m bytemuck v1.20.0
[1m[36m Building[0m [================> ] 41/63: gif, tiff, memory_units, futures, bytemuck, png, image-web...
[K[1m[32m Compiling[0m scoped-tls v1.0.1
[1m[36m Building[0m [=================> ] 42/63: gif, tiff, futures, bytemuck, png, image-webp, scoped-tls,...
[1m[36m Building[0m [=================> ] 43/63: gif, tiff, futures, bytemuck, png, image-webp, syn, wee_alloc
[1m[36m Building[0m [=================> ] 44/63: gif, tiff, bytemuck, png, image-webp, syn, wee_alloc
[1m[36m Building[0m [==================> ] 45/63: tiff, bytemuck, png, image-webp, syn, wee_alloc
[1m[36m Building[0m [==================> ] 46/63: tiff, bytemuck, png, image-webp, syn
[1m[36m Building[0m [===================> ] 47/63: tiff, png, image-webp, syn
[1m[36m Building[0m [===================> ] 48/63: tiff, png, syn
[1m[36m Building[0m [====================> ] 49/63: tiff, syn
[K[1m[32m Compiling[0m image v0.25.5
[1m[36m Building[0m [====================> ] 49/63: image, tiff, syn
[1m[36m Building[0m [====================> ] 50/63: image, syn
[K[1m[32m Compiling[0m wasm-bindgen-backend v0.2.99
[1m[36m Building[0m [====================> ] 50/63: image, wasm-bindgen-backend, syn
[1m[36m Building[0m [====================> ] 51/63: wasm-bindgen-backend, syn
[1m[36m Building[0m [=====================> ] 52/63: wasm-bindgen-backend
[K[1m[32m Compiling[0m wasm-bindgen-macro-support v0.2.99
[1m[36m Building[0m [=====================> ] 52/63: wasm-bindgen-macro-support, wasm-bindgen-backend
[1m[36m Building[0m [=====================> ] 53/63: wasm-bindgen-macro-support
[K[1m[32m Compiling[0m wasm-bindgen-macro v0.2.99
[1m[36m Building[0m [======================> ] 54/63: wasm-bindgen-macro
[1m[36m Building[0m [======================> ] 55/63: wasm-bindgen
[K[1m[32m Compiling[0m js-sys v0.3.76
[1m[32m Compiling[0m console_error_panic_hook v0.1.7
[1m[36m Building[0m [======================> ] 55/63: wasm-bindgen, console_error_panic_hook, js-sys
[1m[36m Building[0m [=======================> ] 56/63: console_error_panic_hook, js-sys
[1m[36m Building[0m [=======================> ] 57/63: js-sys
[K[1m[32m Compiling[0m wasm-bindgen-futures v0.3.27
[1m[32m Compiling[0m web-sys v0.3.76
[1m[32m Compiling[0m getrandom v0.2.15
[1m[36m Building[0m [=======================> ] 57/63: web-sys, wasm-bindgen-futures, js-sys, getrandom
[K[1m[32m Compiling[0m wasm-bindgen-test v0.2.50
[1m[36m Building[0m [=======================> ] 57/63: web-sys, wasm-bindgen-futures, js-sys, getrandom, wasm-bin...
[1m[36m Building[0m [=======================> ] 58/63: web-sys, js-sys, getrandom, wasm-bindgen-test
[1m[36m Building[0m [========================> ] 59/63: web-sys, js-sys, wasm-bindgen-test
[1m[36m Building[0m [========================> ] 60/63: web-sys, wasm-bindgen-test
[1m[36m Building[0m [=========================> ] 61/63: web-sys
[K[1m[32m Compiling[0m lightningimg-wasm v0.0.1 (/Users/admin/Code/defuss/packages/lightningimg/lightningimg-wasm)
[1m[36m Building[0m [=========================> ] 62/63: lightningimg_wasm(test)
[K[0m[1m[33mwarning[0m[0m[1m: unexpected `cfg` condition value: `wee_alloc`[0m
[0m [0m[0m[1m[38;5;12m--> [0m[0mlightningimg-wasm/src/lib.rs:7:7[0m
[0m [0m[0m[1m[38;5;12m|[0m
[0m[1m[38;5;12m7[0m[0m [0m[0m[1m[38;5;12m|[0m[0m [0m[0m#[cfg(feature = "wee_alloc")][0m
[0m [0m[0m[1m[38;5;12m|[0m[0m [0m[0m[1m[33m^^^^^^^^^^^^^^^^^^^^^[0m[0m [0m[0m[1m[33mhelp: remove the condition[0m
[0m [0m[0m[1m[38;5;12m|[0m
[0m [0m[0m[1m[38;5;12m= [0m[0m[1mnote[0m[0m: no expected values for `feature`[0m
[0m [0m[0m[1m[38;5;12m= [0m[0m[1mhelp[0m[0m: consider adding `wee_alloc` as a feature in `Cargo.toml`[0m
[0m [0m[0m[1m[38;5;12m= [0m[0m[1mnote[0m[0m: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration[0m
[0m [0m[0m[1m[38;5;12m= [0m[0m[1mnote[0m[0m: `#[warn(unexpected_cfgs)]` on by default[0m
[1m[36m Building[0m [=========================> ] 62/63: lightningimg_wasm(test)
[K[0m[1m[33mwarning[0m[0m[1m: unused macro definition: `console_log`[0m
[0m [0m[0m[1m[38;5;12m--> [0m[0mlightningimg-wasm/src/lib.rs:19:14[0m
[0m [0m[0m[1m[38;5;12m|[0m
[0m[1m[38;5;12m19[0m[0m [0m[0m[1m[38;5;12m|[0m[0m [0m[0mmacro_rules! console_log {[0m
[0m [0m[0m[1m[38;5;12m|[0m[0m [0m[0m[1m[33m^^^^^^^^^^^[0m
[0m [0m[0m[1m[38;5;12m|[0m
[0m [0m[0m[1m[38;5;12m= [0m[0m[1mnote[0m[0m: `#[warn(unused_macros)]` on by default[0m
[1m[36m Building[0m [=========================> ] 62/63: lightningimg_wasm(test)
[K[1m[33mwarning[0m[1m:[0m `lightningimg-wasm` (lib test) generated 2 warnings
[1m[32m Finished[0m ]8;;https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles\`dev` profile [unoptimized + debuginfo]]8;;\ target(s) in 17.53s
[1m[2m[INFO][0m: ⬇️ Installing wasm-bindgen...
[1m[33mwarning[0m[1m:[0m profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /Users/admin/Code/defuss/packages/lightningimg/lightningimg-wasm/Cargo.toml
workspace: /Users/admin/Code/defuss/packages/lightningimg/Cargo.toml
[0m[1m[33mwarning[0m[0m[1m: unexpected `cfg` condition value: `wee_alloc`[0m
[0m [0m[0m[1m[38;5;12m--> [0m[0mlightningimg-wasm/src/lib.rs:7:7[0m
[0m [0m[0m[1m[38;5;12m|[0m
[0m[1m[38;5;12m7[0m[0m [0m[0m[1m[38;5;12m|[0m[0m [0m[0m#[cfg(feature = "wee_alloc")][0m
[0m [0m[0m[1m[38;5;12m|[0m[0m [0m[0m[1m[33m^^^^^^^^^^^^^^^^^^^^^[0m[0m [0m[0m[1m[33mhelp: remove the condition[0m
[0m [0m[0m[1m[38;5;12m|[0m
[0m [0m[0m[1m[38;5;12m= [0m[0m[1mnote[0m[0m: no expected values for `feature`[0m
[0m [0m[0m[1m[38;5;12m= [0m[0m[1mhelp[0m[0m: consider adding `wee_alloc` as a feature in `Cargo.toml`[0m
[0m [0m[0m[1m[38;5;12m= [0m[0m[1mnote[0m[0m: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration[0m
[0m [0m[0m[1m[38;5;12m= [0m[0m[1mnote[0m[0m: `#[warn(unexpected_cfgs)]` on by default[0m
[0m[1m[33mwarning[0m[0m[1m: unused macro definition: `console_log`[0m
[0m [0m[0m[1m[38;5;12m--> [0m[0mlightningimg-wasm/src/lib.rs:19:14[0m
[0m [0m[0m[1m[38;5;12m|[0m
[0m[1m[38;5;12m19[0m[0m [0m[0m[1m[38;5;12m|[0m[0m [0m[0mmacro_rules! console_log {[0m
[0m [0m[0m[1m[38;5;12m|[0m[0m [0m[0m[1m[33m^^^^^^^^^^^[0m
[0m [0m[0m[1m[38;5;12m|[0m
[0m [0m[0m[1m[38;5;12m= [0m[0m[1mnote[0m[0m: `#[warn(unused_macros)]` on by default[0m
[1m[33mwarning[0m[1m:[0m `lightningimg-wasm` (lib test) generated 2 warnings
[1m[32m Finished[0m ]8;;https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles\`test` profile [unoptimized + debuginfo]]8;;\ target(s) in 0.06s
[1m[32m Running[0m unittests src/lib.rs (/Users/admin/Code/defuss/packages/lightningimg/target/wasm32-unknown-unknown/debug/deps/lightningimg_wasm-1f778608ac21e3b1.wasm)
no tests to run!
[1m[2m[WARN][0m: ⚠️ There's a newer version of wasm-pack available, the new version is: 0.13.1, you are using: 0.12.1. To update, navigate to: https://rustwasm.github.io/wasm-pack/installer/