==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_c22694b3-7963-4122-911f-f7edd2bc26ee]...done ==> Making package: wasm-bindgen 0.2.95-1.1 (Wed Nov 20 22:16:14 2024) ==> Retrieving sources... -> Downloading wasm-bindgen-0.2.95.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1914k 0 1914k 0 0 2721k 0 --:--:-- --:--:-- --:--:-- 4091k -> Found Cargo.lock ==> Validating source files with sha256sums... wasm-bindgen-0.2.95.tar.gz ... Passed Cargo.lock ... Passed ==> Making package: wasm-bindgen 0.2.95-1.1 (Wed Nov 20 22:16:17 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (10) New Version Net Change extra/c-ares 1.34.2-1 0.51 MiB core/libedit 20240517_3.1-1 0.27 MiB extra/libngtcp2 1.8.1-1 0.54 MiB extra/libuv 1.49.2-1 0.61 MiB extra/lld 18.1.8-1 5.80 MiB extra/llvm-libs 18.1.8-4 128.31 MiB extra/rust 1:1.82.0-2 271.52 MiB extra/wasm-component-ld 0.5.10-1 4.45 MiB extra/nodejs 23.1.0-1 62.69 MiB extra/rust-wasm 1:1.82.0-2 503.03 MiB Total Installed Size: 977.73 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm-libs... installing lld... installing rust... Optional dependencies for rust gdb: rust-gdb script lldb: rust-lldb script installing wasm-component-ld... installing rust-wasm... installing c-ares... installing libngtcp2... installing libuv... installing nodejs... Optional dependencies for nodejs npm: nodejs package manager :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found wasm-bindgen-0.2.95.tar.gz -> Found Cargo.lock ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting wasm-bindgen-0.2.95.tar.gz with bsdtar ==> Starting prepare()... Updating crates.io index Updating git repository `https://github.com/rustwasm/weedle.git` Updating git repository `https://github.com/alexcrichton/raytracer` Downloading crates ... Downloaded tokio-macros v2.4.0 Downloaded slab v0.4.9 Downloaded tower-layer v0.3.3 Downloaded toml_datetime v0.6.8 Downloaded toml v0.8.19 Downloaded trybuild v1.0.99 Downloaded filetime v0.2.25 Downloaded predicates-tree v1.0.11 Downloaded gloo-worker v0.5.0 Downloaded futures-channel v0.3.31 Downloaded termcolor v1.4.1 Downloaded futures-sink v0.3.31 Downloaded cfg-if v1.0.0 Downloaded quote v1.0.37 Downloaded equivalent v1.0.1 Downloaded socket2 v0.5.7 Downloaded futures-task v0.3.31 Downloaded serde_spanned v0.6.8 Downloaded serde_derive v1.0.210 Downloaded futures-io v0.3.31 Downloaded pin-utils v0.1.0 Downloaded autocfg v1.4.0 Downloaded gg-alloc v1.0.0 Downloaded scoped-tls v1.0.1 Downloaded pin-project-lite v0.2.14 Downloaded futures-macro v0.3.31 Downloaded futures-core v0.3.31 Downloaded serde v1.0.210 Downloaded once_cell v1.20.2 Downloaded glob v0.3.1 Downloaded want v0.3.1 Downloaded tower-service v0.3.3 Downloaded tinyvec_macros v0.1.1 Downloaded try-lock v0.2.5 Downloaded proc-macro2 v1.0.87 Downloaded tokio-native-tls v0.3.1 Downloaded foreign-types-shared v0.1.1 Downloaded openssl-probe v0.1.5 Downloaded sync_wrapper v1.0.1 Downloaded serde_urlencoded v0.7.1 Downloaded form_urlencoded v1.2.1 Downloaded futures-executor v0.3.31 Downloaded pkg-config v0.3.31 Downloaded percent-encoding v2.3.1 Downloaded futures v0.3.31 Downloaded http-body v1.0.1 Downloaded log v0.4.22 Downloaded http-body-util v0.1.2 Downloaded foreign-types v0.3.2 Downloaded ryu v1.0.18 Downloaded hyper-tls v0.6.0 Downloaded shlex v1.3.0 Downloaded tokio-rustls v0.26.0 Downloaded rustls-pemfile v2.2.0 Downloaded openssl-macros v0.1.1 Downloaded mio v1.0.2 Downloaded zeroize v1.8.1 Downloaded subtle v2.6.1 Downloaded atomic-waker v1.1.2 Downloaded fnv v1.0.7 Downloaded memchr v2.7.4 Downloaded hyper-rustls v0.27.3 Downloaded smallvec v1.13.2 Downloaded tinyvec v1.8.0 Downloaded httparse v1.9.5 Downloaded colorchoice v1.0.2 Downloaded unicode-bidi v0.3.17 Downloaded tracing-core v0.1.32 Downloaded openssl-sys v0.9.103 Downloaded tracing v0.1.40 Downloaded cc v1.1.30 Downloaded serde_json v1.0.128 Downloaded rustversion v1.0.17 Downloaded http v1.1.0 Downloaded env_filter v0.1.2 Downloaded unicode-normalization v0.1.24 Downloaded futures-util v0.3.31 Downloaded gloo-file v0.3.0 Downloaded iana-time-zone v0.1.61 Downloaded png v0.6.2 Downloaded unicase v2.7.0 Downloaded tokio-util v0.7.12 Downloaded num-traits v0.2.19 Downloaded syn v2.0.79 Downloaded num-traits v0.1.43 Downloaded structopt-derive v0.4.18 Downloaded either v1.13.0 Downloaded sync_wrapper v0.1.2 Downloaded bitflags v0.7.0 Downloaded proc-macro-error v1.0.4 Downloaded structopt v0.3.26 Downloaded proc-macro-error-attr v1.0.4 Downloaded gif v0.9.2 Downloaded block-buffer v0.10.4 Downloaded tower v0.5.1 Downloaded env_logger v0.11.5 Downloaded console_error_panic_hook v0.1.7 Downloaded utf8parse v0.2.2 Downloaded anyhow v1.0.89 Downloaded rustls v0.23.14 Downloaded serde-wasm-bindgen v0.6.5 Downloaded deranged v0.3.11 Downloaded untrusted v0.9.0 Downloaded tokio v1.40.0 Downloaded gloo-console v0.3.0 Downloaded crossbeam-epoch v0.9.18 Downloaded gloo-dialogs v0.2.0 Downloaded lzw v0.10.0 Downloaded gloo-history v0.2.2 Downloaded gloo-storage v0.3.0 Downloaded nom v7.1.3 Downloaded time-core v0.1.2 Downloaded winnow v0.5.40 Downloaded num-conv v0.1.0 Downloaded crypto-common v0.1.6 Downloaded color_quant v1.1.0 Downloaded num_threads v0.1.7 Downloaded rand_core v0.6.4 Downloaded errno v0.3.9 Downloaded gloo-worker-macros v0.1.0 Downloaded time-macros v0.2.18 Downloaded lazy_static v1.5.0 Downloaded mozrunner v0.15.3 Downloaded mozprofile v0.9.3 Downloaded syn v1.0.109 Downloaded toml_edit v0.19.15 Downloaded encoding_rs v0.8.34 Downloaded proc-macro-crate v1.3.1 Downloaded pinned v0.1.0 Downloaded anstyle-query v1.1.1 Downloaded rustix v0.38.37 Downloaded byteorder v1.5.0 Downloaded anstream v0.6.15 Downloaded sourcefile v0.2.1 Downloaded basic-toml v0.1.9 Downloaded bitflags v1.3.2 Downloaded bincode v1.3.3 Downloaded thiserror-impl v1.0.64 Downloaded alloc-no-stdlib v2.0.4 Downloaded vec_map v0.8.2 Downloaded version_check v0.9.5 Downloaded anstyle v1.0.8 Downloaded wasm-encoder v0.212.0 Downloaded crossbeam-deque v0.8.5 Downloaded image v0.12.4 Downloaded leb128 v0.2.5 Downloaded deflate v0.7.20 Downloaded rayon v1.10.0 Downloaded ahash v0.8.11 Downloaded is_terminal_polyfill v1.70.1 Downloaded atty v0.2.14 Downloaded console_log v1.0.0 Downloaded heck v0.5.0 Downloaded scoped_threadpool v0.1.9 Downloaded askama v0.12.1 Downloaded miniz_oxide v0.8.0 Downloaded humansize v2.1.3 Downloaded num-rational v0.1.42 Downloaded askama_escape v0.10.3 Downloaded wasm-encoder v0.219.1 Downloaded heck v0.3.3 Downloaded num-integer v0.1.46 Downloaded num-iter v0.1.45 Downloaded thiserror v1.0.64 Downloaded humantime v2.1.0 Downloaded unicode-width v0.1.14 Downloaded semver v1.0.23 Downloaded askama_parser v0.2.1 Downloaded anstyle-parse v0.2.5 Downloaded wat v1.219.1 Downloaded fastrand v2.1.1 Downloaded enum_primitive v0.1.1 Downloaded alloc-stdlib v0.2.2 Downloaded rayon-core v1.12.1 Downloaded gloo-render v0.2.0 Downloaded gloo-timers v0.3.0 Downloaded json v0.12.4 Downloaded aho-corasick v1.1.3 Downloaded base64 v0.22.1 Downloaded regex-syntax v0.8.5 Downloaded crossbeam-utils v0.8.20 Downloaded walrus-macro v0.22.0 Downloaded normalize-line-endings v0.3.0 Downloaded sha1_smol v1.0.1 Downloaded num_cpus v1.16.0 Downloaded regex-automata v0.4.8 Downloaded adler2 v2.0.0 Downloaded stable_deref_trait v1.2.0 Downloaded id-arena v2.2.1 Downloaded quick-xml v0.32.0 Downloaded time v0.3.36 Downloaded strsim v0.8.0 Downloaded futures-core-preview v0.3.0-alpha.19 Downloaded futures-channel-preview v0.3.0-alpha.19 Downloaded inflate v0.1.1 Downloaded mime_guess v2.0.5 Downloaded askama_derive v0.12.5 Downloaded pin-project-internal v1.1.6 Downloaded gloo-net v0.5.0 Downloaded ansi_term v0.12.1 Downloaded plist v1.7.0 Downloaded zerocopy v0.7.35 Downloaded doc-comment v0.3.3 Downloaded ascii v1.1.0 Downloaded predicates-core v1.0.8 Downloaded http v0.2.12 Downloaded getrandom v0.2.15 Downloaded spin v0.9.8 Downloaded regex v1.11.0 Downloaded pin-project v1.1.6 Downloaded base64 v0.13.1 Downloaded rouille v3.6.2 Downloaded flate2 v1.0.34 Downloaded ureq v2.10.1 Downloaded hashbrown v0.12.3 Downloaded brotli-decompressor v4.0.1 Downloaded wasmparser v0.219.1 Downloaded wast v212.0.0 Downloaded walrus v0.22.0 Downloaded hashbrown v0.14.5 Downloaded wasmparser v0.212.0 Downloaded wast v219.0.1 Downloaded linux-raw-sys v0.4.14 Downloaded twoway v0.1.8 Downloaded libm v0.2.8 Downloaded minimal-lexical v0.2.1 Downloaded gimli v0.26.2 Downloaded webpki-roots v0.26.6 Downloaded unicode-segmentation v1.12.0 Downloaded multipart v0.18.0 Downloaded threadpool v1.8.1 Downloaded docopt v1.1.1 Downloaded jpeg-decoder v0.1.22 Downloaded nom v5.1.3 Downloaded buf_redux v0.8.4 Downloaded clap v2.34.0 Downloaded diff v0.1.13 Downloaded gloo v0.11.0 Downloaded chrono v0.4.38 Downloaded tiny_http v0.12.0 Downloaded bstr v1.10.0 Downloaded indexmap v1.9.3 Downloaded gloo-events v0.2.0 Downloaded termtree v0.4.1 Downloaded strsim v0.10.0 Downloaded quick-error v1.2.3 Downloaded fallible-iterator v0.2.0 Downloaded wait-timeout v0.2.0 Downloaded assert_cmd v2.0.16 Downloaded difflib v0.4.0 Downloaded float-cmp v0.9.0 Downloaded predicates v3.1.2 Downloaded safemem v0.3.3 Downloaded chunked_transfer v1.5.0 Downloaded crc32fast v1.4.2 Downloaded rustc-demangle v0.1.24 Downloaded wasmprinter v0.212.0 Downloaded tower-http v0.6.1 Downloaded tempfile v3.13.0 Downloaded zerocopy-derive v0.7.35 Downloaded textwrap v0.11.0 Downloaded ppv-lite86 v0.2.20 Downloaded rand_chacha v0.3.1 Downloaded powerfmt v0.2.0 Downloaded data-encoding v2.6.0 Downloaded rand v0.8.5 Downloaded tungstenite v0.24.0 Downloaded tokio-tungstenite v0.24.0 Downloaded typenum v1.17.0 Downloaded http-range-header v0.4.1 Downloaded libc v0.2.159 Downloaded generic-array v0.14.7 Downloaded digest v0.10.7 Downloaded sha1 v0.10.6 Downloaded utf-8 v0.7.6 Downloaded cpufeatures v0.2.14 Downloaded openssl v0.10.66 Downloaded vcpkg v0.2.15 Downloaded idna v0.5.0 Downloaded adler32 v1.2.0 Downloaded rustls-webpki v0.102.8 Downloaded h2 v0.4.6 Downloaded reqwest v0.12.8 Downloaded gloo-utils v0.2.0 Downloaded hyper v1.4.1 Downloaded hyper-util v0.1.9 Downloaded winnow v0.6.20 Downloaded url v2.5.2 Downloaded hashbrown v0.15.0 Downloaded toml_edit v0.22.22 Downloaded bumpalo v3.16.0 Downloaded httpdate v1.0.3 Downloaded ipnet v2.10.1 Downloaded mime v0.3.17 Downloaded rustls-pki-types v1.9.0 Downloaded bitflags v2.6.0 Downloaded bytes v1.7.2 Downloaded native-tls v0.2.12 Downloaded indexmap v2.6.0 Downloaded unicode-ident v1.0.13 Downloaded itoa v1.0.11 Downloaded openssl-src v300.3.2+3.3.2 Downloaded ring v0.17.8 ==> Starting build()... Compiling proc-macro2 v1.0.87 Compiling unicode-ident v1.0.13 Compiling cfg-if v1.0.0 Compiling version_check v0.9.5 Compiling libc v0.2.159 Compiling once_cell v1.20.2 Compiling autocfg v1.4.0 Compiling shlex v1.3.0 Compiling byteorder v1.5.0 Compiling serde v1.0.210 Compiling bitflags v2.6.0 Compiling log v0.4.22 Compiling crossbeam-utils v0.8.20 Compiling memchr v2.7.4 Compiling cc v1.1.30 Compiling rayon-core v1.12.1 Compiling semver v1.0.23 Compiling equivalent v1.0.1 Compiling hashbrown v0.12.3 Compiling anyhow v1.0.89 Compiling hashbrown v0.15.0 Compiling either v1.13.0 Compiling heck v0.5.0 Compiling fallible-iterator v0.2.0 Compiling crossbeam-epoch v0.9.18 Compiling quote v1.0.37 Compiling ahash v0.8.11 Compiling crossbeam-deque v0.8.5 Compiling unicase v2.7.0 Compiling openssl-src v300.3.2+3.3.2 Compiling syn v2.0.79 Compiling leb128 v0.2.5 Compiling pkg-config v0.3.31 Compiling vcpkg v0.2.15 Compiling stable_deref_trait v1.2.0 Compiling getrandom v0.2.15 Compiling wasm-encoder v0.212.0 Compiling indexmap v1.9.3 Compiling rayon v1.10.0 Compiling tinyvec_macros v0.1.1 Compiling rustix v0.38.37 Compiling tinyvec v1.8.0 Compiling gimli v0.26.2 Compiling aho-corasick v1.1.3 Compiling linux-raw-sys v0.4.14 Compiling regex-syntax v0.8.5 Compiling unicode-normalization v0.1.24 Compiling mime_guess v2.0.5 Compiling num-traits v0.2.19 Compiling rand_core v0.6.4 Compiling fastrand v2.1.1 Compiling rustls-pki-types v1.9.0 Compiling httparse v1.9.5 Compiling openssl v0.10.66 Compiling spin v0.9.8 Compiling foreign-types-shared v0.1.1 Compiling untrusted v0.9.0 Compiling id-arena v2.2.1 Compiling serde_json v1.0.128 Compiling unicode-bidi v0.3.17 Compiling percent-encoding v2.3.1 Compiling foreign-types v0.3.2 Compiling form_urlencoded v1.2.1 Compiling regex-automata v0.4.8 Compiling itoa v1.0.11 Compiling idna v0.5.0 Compiling safemem v0.3.3 Compiling native-tls v0.2.12 Compiling powerfmt v0.2.0 Compiling tempfile v3.13.0 Compiling rustls v0.23.14 Compiling mime v0.3.17 Compiling adler2 v2.0.0 Compiling wasm-bindgen-shared v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/shared) Compiling utf8parse v0.2.2 Compiling alloc-no-stdlib v2.0.4 Compiling ryu v1.0.18 Compiling anstyle-parse v0.2.5 Compiling alloc-stdlib v0.2.2 Compiling miniz_oxide v0.8.0 Compiling url v2.5.2 Compiling deranged v0.3.11 Compiling buf_redux v0.8.4 Compiling openssl-sys v0.9.103 Compiling ring v0.17.8 Compiling num_cpus v1.16.0 Compiling twoway v0.1.8 Compiling crc32fast v1.4.2 Compiling iana-time-zone v0.1.61 Compiling regex v1.11.0 Compiling anstyle-query v1.1.1 Compiling ascii v1.1.0 Compiling anstyle v1.0.8 Compiling num_threads v0.1.7 Compiling colorchoice v1.0.2 Compiling subtle v2.6.1 Compiling openssl-probe v0.1.5 Compiling zeroize v1.8.1 Compiling httpdate v1.0.3 Compiling chunked_transfer v1.5.0 Compiling base64 v0.22.1 Compiling time-core v0.1.2 Compiling num-conv v0.1.0 Compiling is_terminal_polyfill v1.70.1 Compiling quick-error v1.2.3 Compiling anstream v0.6.15 Compiling tiny_http v0.12.0 Compiling env_filter v0.1.2 Compiling time v0.3.36 Compiling chrono v0.4.38 Compiling flate2 v1.0.34 Compiling threadpool v1.8.1 Compiling brotli-decompressor v4.0.1 Compiling webpki-roots v0.26.6 Compiling filetime v0.2.25 Compiling sha1_smol v1.0.1 Compiling humantime v2.1.0 Compiling base64 v0.13.1 Compiling rustc-demangle v0.1.24 Compiling lazy_static v1.5.0 Compiling strsim v0.10.0 Compiling env_logger v0.11.5 Compiling rustls-webpki v0.102.8 Compiling zerocopy-derive v0.7.35 Compiling serde_derive v1.0.210 Compiling walrus-macro v0.22.0 Compiling openssl-macros v0.1.1 Compiling ureq v2.10.1 Compiling zerocopy v0.7.35 Compiling ppv-lite86 v0.2.20 Compiling rand_chacha v0.3.1 Compiling rand v0.8.5 Compiling multipart v0.18.0 Compiling hashbrown v0.14.5 Compiling indexmap v2.6.0 Compiling docopt v1.1.1 Compiling wasmparser v0.212.0 Compiling rouille v3.6.2 Compiling walrus v0.22.0 Compiling wasm-bindgen-wasm-conventions v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/wasm-conventions) Compiling wasm-bindgen-externref-xform v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/externref-xform) Compiling wasm-bindgen-wasm-interpreter v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/wasm-interpreter) Compiling wasm-bindgen-multi-value-xform v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/multi-value-xform) Compiling wasm-bindgen-threads-xform v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/threads-xform) Compiling wasm-bindgen-cli-support v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/cli-support) warning: field `nargs` is never read --> crates/cli-support/src/wit/nonstandard.rs:243:9 | 239 | Closure { | ------- field in this variant ... 243 | nargs: usize, | ^^^^^ | = note: `AuxImport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: field `module` is never read --> crates/cli-support/src/wit/standard.rs:39:9 | 38 | Import { | ------ field in this variant 39 | module: String, | ^^^^^^ | = note: `AdapterKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `output` is never read --> crates/cli-support/src/wit/standard.rs:136:9 | 134 | IntToWasm { | --------- field in this variant 135 | input: AdapterType, 136 | output: walrus::ValType, | ^^^^^^ | = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `input` is never read --> crates/cli-support/src/wit/standard.rs:140:9 | 139 | WasmToInt { | --------- field in this variant 140 | input: walrus::ValType, | ^^^^^ | = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `hole` is never read --> crates/cli-support/src/wit/standard.rs:151:9 | 149 | OptionWasmToStringEnum { | ---------------------- field in this variant 150 | name: String, 151 | hole: u32, | ^^^^ | = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `optional` is never read --> crates/cli-support/src/wit/standard.rs:287:9 | 285 | CachedStringLoad { | ---------------- field in this variant 286 | owned: bool, 287 | optional: bool, | ^^^^^^^^ | = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: `wasm-bindgen-cli-support` (lib) generated 6 warnings Compiling wasm-bindgen-cli v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/cli) Finished `release` profile [optimized] target(s) in 1m 56s warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` ==> Starting check()... Compiling proc-macro2 v1.0.87 Compiling unicode-ident v1.0.13 Compiling cfg-if v1.0.0 Compiling libc v0.2.159 Compiling version_check v0.9.5 Compiling autocfg v1.4.0 Compiling once_cell v1.20.2 Compiling byteorder v1.5.0 Compiling serde v1.0.210 Compiling shlex v1.3.0 Compiling bitflags v2.6.0 Compiling memchr v2.7.4 Compiling log v0.4.22 Compiling crossbeam-utils v0.8.20 Compiling cc v1.1.30 Compiling semver v1.0.23 Compiling rayon-core v1.12.1 Compiling equivalent v1.0.1 Compiling hashbrown v0.15.0 Compiling anyhow v1.0.89 Compiling either v1.13.0 Compiling hashbrown v0.12.3 Compiling aho-corasick v1.1.3 Compiling quote v1.0.37 Compiling ahash v0.8.11 Compiling crossbeam-epoch v0.9.18 Compiling syn v2.0.79 Compiling crossbeam-deque v0.8.5 Compiling getrandom v0.2.15 Compiling openssl-src v300.3.2+3.3.2 Compiling heck v0.5.0 Compiling indexmap v1.9.3 Compiling fallible-iterator v0.2.0 Compiling pkg-config v0.3.31 Compiling regex-syntax v0.8.5 Compiling leb128 v0.2.5 Compiling stable_deref_trait v1.2.0 Compiling rayon v1.10.0 Compiling vcpkg v0.2.15 Compiling gimli v0.26.2 Compiling wasm-encoder v0.212.0 Compiling num-traits v0.2.19 Compiling unicase v2.7.0 Compiling rustix v0.38.37 Compiling tinyvec_macros v0.1.1 Compiling regex-automata v0.4.8 Compiling tinyvec v1.8.0 Compiling linux-raw-sys v0.4.14 Compiling id-arena v2.2.1 Compiling mime_guess v2.0.5 Compiling rand_core v0.6.4 Compiling unicode-normalization v0.1.24 Compiling percent-encoding v2.3.1 Compiling rustls-pki-types v1.9.0 Compiling untrusted v0.9.0 Compiling openssl v0.10.66 Compiling unicode-bidi v0.3.17 Compiling foreign-types-shared v0.1.1 Compiling fastrand v2.1.1 Compiling regex v1.11.0 Compiling httparse v1.9.5 Compiling anstyle v1.0.8 Compiling serde_json v1.0.128 Compiling openssl-sys v0.9.103 Compiling ring v0.17.8 Compiling spin v0.9.8 Compiling tempfile v3.13.0 Compiling idna v0.5.0 Compiling foreign-types v0.3.2 Compiling form_urlencoded v1.2.1 Compiling ryu v1.0.18 Compiling rustls v0.23.14 Compiling safemem v0.3.3 Compiling wasm-bindgen-shared v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/shared) Compiling alloc-no-stdlib v2.0.4 Compiling mime v0.3.17 Compiling powerfmt v0.2.0 Compiling itoa v1.0.11 Compiling adler2 v2.0.0 Compiling utf8parse v0.2.2 Compiling native-tls v0.2.12 Compiling miniz_oxide v0.8.0 Compiling anstyle-parse v0.2.5 Compiling deranged v0.3.11 Compiling alloc-stdlib v0.2.2 Compiling buf_redux v0.8.4 Compiling url v2.5.2 Compiling num_cpus v1.16.0 Compiling twoway v0.1.8 Compiling crc32fast v1.4.2 Compiling ascii v1.1.0 Compiling colorchoice v1.0.2 Compiling base64 v0.22.1 Compiling chunked_transfer v1.5.0 Compiling subtle v2.6.1 Compiling time-core v0.1.2 Compiling iana-time-zone v0.1.61 Compiling openssl-probe v0.1.5 Compiling zeroize v1.8.1 Compiling anstyle-query v1.1.1 Compiling num_threads v0.1.7 Compiling quick-error v1.2.3 Compiling httpdate v1.0.3 Compiling num-conv v0.1.0 Compiling is_terminal_polyfill v1.70.1 Compiling chrono v0.4.38 Compiling time v0.3.36 Compiling tiny_http v0.12.0 Compiling anstream v0.6.15 Compiling flate2 v1.0.34 Compiling threadpool v1.8.1 Compiling brotli-decompressor v4.0.1 Compiling env_filter v0.1.2 Compiling webpki-roots v0.26.6 Compiling filetime v0.2.25 Compiling rustc-demangle v0.1.24 Compiling lazy_static v1.5.0 Compiling humantime v2.1.0 Compiling sha1_smol v1.0.1 Compiling base64 v0.13.1 Compiling strsim v0.10.0 Compiling env_logger v0.11.5 Compiling predicates-core v1.0.8 Compiling doc-comment v0.3.3 Compiling float-cmp v0.9.0 Compiling termtree v0.4.1 Compiling assert_cmd v2.0.16 Compiling difflib v0.4.0 Compiling normalize-line-endings v0.3.0 Compiling predicates v3.1.2 Compiling predicates-tree v1.0.11 Compiling bstr v1.10.0 Compiling wait-timeout v0.2.0 Compiling termcolor v1.4.1 Compiling diff v0.1.13 Compiling rustls-webpki v0.102.8 Compiling zerocopy-derive v0.7.35 Compiling serde_derive v1.0.210 Compiling walrus-macro v0.22.0 Compiling openssl-macros v0.1.1 Compiling ureq v2.10.1 Compiling zerocopy v0.7.35 Compiling ppv-lite86 v0.2.20 Compiling rand_chacha v0.3.1 Compiling rand v0.8.5 Compiling multipart v0.18.0 Compiling indexmap v2.6.0 Compiling hashbrown v0.14.5 Compiling docopt v1.1.1 Compiling wasmparser v0.212.0 Compiling rouille v3.6.2 Compiling walrus v0.22.0 Compiling wasmprinter v0.212.0 Compiling wasm-bindgen-wasm-conventions v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/wasm-conventions) Compiling wasm-bindgen-multi-value-xform v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/multi-value-xform) Compiling wasm-bindgen-threads-xform v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/threads-xform) Compiling wasm-bindgen-wasm-interpreter v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/wasm-interpreter) Compiling wasm-bindgen-externref-xform v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/externref-xform) Compiling wasm-bindgen-cli-support v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/cli-support) warning: field `nargs` is never read --> crates/cli-support/src/wit/nonstandard.rs:243:9 | 239 | Closure { | ------- field in this variant ... 243 | nargs: usize, | ^^^^^ | = note: `AuxImport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: field `module` is never read --> crates/cli-support/src/wit/standard.rs:39:9 | 38 | Import { | ------ field in this variant 39 | module: String, | ^^^^^^ | = note: `AdapterKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `output` is never read --> crates/cli-support/src/wit/standard.rs:136:9 | 134 | IntToWasm { | --------- field in this variant 135 | input: AdapterType, 136 | output: walrus::ValType, | ^^^^^^ | = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `input` is never read --> crates/cli-support/src/wit/standard.rs:140:9 | 139 | WasmToInt { | --------- field in this variant 140 | input: walrus::ValType, | ^^^^^ | = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `hole` is never read --> crates/cli-support/src/wit/standard.rs:151:9 | 149 | OptionWasmToStringEnum { | ---------------------- field in this variant 150 | name: String, 151 | hole: u32, | ^^^^ | = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `optional` is never read --> crates/cli-support/src/wit/standard.rs:287:9 | 285 | CachedStringLoad { | ---------------- field in this variant 286 | owned: bool, 287 | optional: bool, | ^^^^^^^^ | = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: `wasm-bindgen-cli-support` (lib) generated 6 warnings Compiling wasm-bindgen-cli v0.2.95 (/startdir/src/wasm-bindgen-0.2.95/crates/cli) Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 12s warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` Running unittests src/bin/wasm-bindgen.rs (/startdir/src/wasm-bindgen-0.2.95/target/debug/deps/wasm_bindgen-9cfe087d624ff4a9) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/wasm-bindgen-test-runner/main.rs (/startdir/src/wasm-bindgen-0.2.95/target/debug/deps/wasm_bindgen_test_runner-1a970a1974015efc) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/wasm2es6js.rs (/startdir/src/wasm-bindgen-0.2.95/target/debug/deps/wasm2es6js-05b34a7c468d5d6c) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/reference.rs (/startdir/src/wasm-bindgen-0.2.95/target/debug/deps/reference-8ea9efe74c0a5910) failed tests: /startdir/src/wasm-bindgen-0.2.95/crates/cli/tests/reference/add.rs failure found a difference: let wasm; export function __wbg_set_wasm(val) { wasm = val; } /** * @param {number} a * @param {number} b * @returns {number} */ export function add_u32(a, b) { - const ret = wasm.add_u32(a, b); + const ret = wasm.add_i32(a, b); return ret >>> 0; } /** * @param {number} a * @param {number} b * @returns {number} */ export function add_i32(a, b) { const ret = wasm.add_i32(a, b); return ret; } /startdir/src/wasm-bindgen-0.2.95/crates/cli/tests/reference/anyref-import-catch.rs failure found a difference: let wasm; export function __wbg_set_wasm(val) { wasm = val; } -const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder; - -let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true }); - -cachedTextDecoder.decode(); - -let cachedUint8ArrayMemory0 = null; - -function getUint8ArrayMemory0() { - if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { - cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); - } - return cachedUint8ArrayMemory0; -} - -function getStringFromWasm0(ptr, len) { - ptr = ptr >>> 0; - return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); -} - function addToExternrefTable0(obj) { const idx = wasm.__externref_table_alloc(); wasm.__wbindgen_export_0.set(idx, obj); return idx; } function handleError(f, args) { try { return f.apply(this, args); } catch (e) { const idx = addToExternrefTable0(e); wasm.__wbindgen_exn_store(idx); } } let cachedDataViewMemory0 = null; function getDataViewMemory0() { if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) { cachedDataViewMemory0 = new DataView(wasm.memory.buffer); } return cachedDataViewMemory0; } function takeFromExternrefTable0(idx) { const value = wasm.__wbindgen_export_0.get(idx); wasm.__externref_table_dealloc(idx); return value; } export function exported() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); wasm.exported(retptr); var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true); var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true); if (r1) { throw takeFromExternrefTable0(r0); } } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } export function __wbg_foo_95fe1a04017077db() { return handleError(function () { foo(); }, arguments) }; - -export function __wbindgen_throw(arg0, arg1) { - throw new Error(getStringFromWasm0(arg0, arg1)); -}; export function __wbindgen_init_externref_table() { const table = wasm.__wbindgen_export_0; const offset = table.grow(4); table.set(0, undefined); table.set(offset + 0, undefined); table.set(offset + 1, null); table.set(offset + 2, true); table.set(offset + 3, false); ; }; /startdir/src/wasm-bindgen-0.2.95/crates/cli/tests/reference/enums.rs failure found a difference: let wasm; export function __wbg_set_wasm(val) { wasm = val; } const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder; let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true }); cachedTextDecoder.decode(); let cachedUint8ArrayMemory0 = null; function getUint8ArrayMemory0() { if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); } return cachedUint8ArrayMemory0; } function getStringFromWasm0(ptr, len) { ptr = ptr >>> 0; return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); } /** * @param {Color} color * @returns {Color} */ export function enum_echo(color) { const ret = wasm.enum_echo(color); return ret; } function isLikeNone(x) { return x === undefined || x === null; } /** * @param {Color | undefined} [color] * @returns {Color | undefined} */ export function option_enum_echo(color) { const ret = wasm.option_enum_echo(isLikeNone(color) ? 3 : color); return ret === 3 ? undefined : ret; } /** * @param {Color} color * @returns {any} */ export function get_name(color) { - const ret = wasm.get_name(color); + const ret = wasm.enum_echo(color); return __wbindgen_enum_ColorName[ret]; } /** * @param {any | undefined} [color] * @returns {any | undefined} */ export function option_string_enum_echo(color) { const ret = wasm.option_string_enum_echo(color == undefined ? 4 : ((__wbindgen_enum_ColorName.indexOf(color) + 1 || 4) - 1)); return __wbindgen_enum_ColorName[ret]; } /** * A color. */ export const Color = Object.freeze({ /** * Green as a leaf. */ Green:0,"0":"Green", /** * Yellow as the sun. */ Yellow:1,"1":"Yellow", /** * Red as a rose. */ Red:2,"2":"Red", }); export const ImplicitDiscriminant = Object.freeze({ A:0,"0":"A",B:1,"1":"B",C:42,"42":"C",D:43,"43":"D", }); const __wbindgen_enum_ColorName = ["green", "yellow", "red"]; export function __wbindgen_throw(arg0, arg1) { throw new Error(getStringFromWasm0(arg0, arg1)); }; /startdir/src/wasm-bindgen-0.2.95/crates/cli/tests/reference/pointers.rs failure found a difference: let wasm; export function __wbg_set_wasm(val) { wasm = val; } /** * @param {number} input * @returns {number} */ export function const_pointer(input) { const ret = wasm.const_pointer(input); return ret >>> 0; } /** * @param {number} input * @returns {number} */ export function mut_pointer(input) { - const ret = wasm.mut_pointer(input); + const ret = wasm.const_pointer(input); return ret >>> 0; } /startdir/src/wasm-bindgen-0.2.95/crates/cli/tests/reference/raw.rs failure found a difference: import { test2 } from 'test'; let wasm; export function __wbg_set_wasm(val) { wasm = val; } -const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder; - -let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true }); - -cachedTextDecoder.decode(); - -let cachedUint8ArrayMemory0 = null; - -function getUint8ArrayMemory0() { - if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { - cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); - } - return cachedUint8ArrayMemory0; -} - -function getStringFromWasm0(ptr, len) { - ptr = ptr >>> 0; - return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); -} - const heap = new Array(128).fill(undefined); heap.push(undefined, null, true, false); function getObject(idx) { return heap[idx]; } let heap_next = heap.length; function dropObject(idx) { if (idx < 132) return; heap[idx] = heap_next; heap_next = idx; } function takeObject(idx) { const ret = getObject(idx); dropObject(idx); return ret; } + +const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder; + +let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true }); + +cachedTextDecoder.decode(); + +let cachedUint8ArrayMemory0 = null; + +function getUint8ArrayMemory0() { + if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { + cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); + } + return cachedUint8ArrayMemory0; +} + +function getStringFromWasm0(ptr, len) { + ptr = ptr >>> 0; + return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); +} /** * @param {number} test * @returns {number} */ export function test1(test) { const ret = wasm.test1(test); return ret >>> 0; } function addHeapObject(obj) { if (heap_next === heap.length) heap.push(heap.length + 1); const idx = heap_next; heap_next = heap[idx]; heap[idx] = obj; return idx; } const TestFinalization = (typeof FinalizationRegistry === 'undefined') ? { register: () => {}, unregister: () => {} } : new FinalizationRegistry(ptr => wasm.__wbg_test_free(ptr >>> 0, 1)); export class Test { static __wrap(ptr) { ptr = ptr >>> 0; const obj = Object.create(Test.prototype); obj.__wbg_ptr = ptr; TestFinalization.register(obj, obj.__wbg_ptr, obj); return obj; } __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; TestFinalization.unregister(this); return ptr; } free() { const ptr = this.__destroy_into_raw(); wasm.__wbg_test_free(ptr, 0); } /** * @param {number} test * @returns {Test} */ static test1(test) { const ret = wasm.test_test1(test); return Test.__wrap(ret); } /** * @param {number} test */ test2(test) { wasm.test_test2(this.__wbg_ptr, test); } } export function __wbg_test2_39fe629b9aa739cf() { const ret = test2(); return addHeapObject(ret); }; -export function __wbindgen_throw(arg0, arg1) { - throw new Error(getStringFromWasm0(arg0, arg1)); -}; - export function __wbindgen_object_drop_ref(arg0) { takeObject(arg0); +}; + +export function __wbindgen_throw(arg0, arg1) { + throw new Error(getStringFromWasm0(arg0, arg1)); }; /startdir/src/wasm-bindgen-0.2.95/crates/cli/tests/reference/string-arg.rs failure found a difference: let wasm; export function __wbg_set_wasm(val) { wasm = val; } -const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder; +let WASM_VECTOR_LEN = 0; -let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true }); - -cachedTextDecoder.decode(); - let cachedUint8ArrayMemory0 = null; function getUint8ArrayMemory0() { if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); } return cachedUint8ArrayMemory0; } -function getStringFromWasm0(ptr, len) { - ptr = ptr >>> 0; - return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); -} - -let WASM_VECTOR_LEN = 0; - const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder; let cachedTextEncoder = new lTextEncoder('utf-8'); const encodeString = (typeof cachedTextEncoder.encodeInto === 'function' ? function (arg, view) { return cachedTextEncoder.encodeInto(arg, view); } : function (arg, view) { const buf = cachedTextEncoder.encode(arg); view.set(buf); return { read: arg.length, written: buf.length }; }); function passStringToWasm0(arg, malloc, realloc) { if (realloc === undefined) { const buf = cachedTextEncoder.encode(arg); const ptr = malloc(buf.length, 1) >>> 0; getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf); WASM_VECTOR_LEN = buf.length; return ptr; } let len = arg.length; let ptr = malloc(len, 1) >>> 0; const mem = getUint8ArrayMemory0(); let offset = 0; for (; offset < len; offset++) { const code = arg.charCodeAt(offset); if (code > 0x7F) break; mem[ptr + offset] = code; } if (offset !== len) { if (offset !== 0) { arg = arg.slice(offset); } ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); const ret = encodeString(arg, view); offset += ret.written; ptr = realloc(ptr, len, offset, 1) >>> 0; } WASM_VECTOR_LEN = offset; return ptr; } /** * @param {string} a */ export function foo(a) { const ptr0 = passStringToWasm0(a, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len0 = WASM_VECTOR_LEN; wasm.foo(ptr0, len0); } - -export function __wbindgen_throw(arg0, arg1) { - throw new Error(getStringFromWasm0(arg0, arg1)); -}; Error: tests failed error: test failed, to rerun pass `--test reference` Caused by: process didn't exit successfully: `/startdir/src/wasm-bindgen-0.2.95/target/debug/deps/reference-8ea9efe74c0a5910` (exit status: 1) ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_c22694b3-7963-4122-911f-f7edd2bc26ee/build