==> Building on scovillain ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 623 100% 0.00kB/s 0:00:00 623 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=4/6) .nvchecker.toml 83 100% 81.05kB/s 0:00:00 83 100% 81.05kB/s 0:00:00 (xfr#2, to-chk=3/6) Cargo.lock 2,365 2% 2.26MB/s 0:00:00 93,501 100% 17.83MB/s 0:00:00 (xfr#3, to-chk=2/6) PKGBUILD 1,468 100% 286.72kB/s 0:00:00 1,468 100% 286.72kB/s 0:00:00 (xfr#4, to-chk=1/6) wasm-bindgen-0.2.95-1.log 578 100% 112.89kB/s 0:00:00 578 100% 112.89kB/s 0:00:00 (xfr#5, to-chk=0/6) sent 24,466 bytes received 912 bytes 10,151.20 bytes/sec total size is 95,872 speedup is 3.78 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root49 on remote host... ]2;🔵 Container arch-nspawn-3164704 on scovillain.felixc.at[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root49]...done ==> Making package: wasm-bindgen 0.2.95-1 (Sun Oct 13 14:21:39 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:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 100 3417 0 3417 0 0 664 0 --:--:-- 0:00:05 --:--:-- 6080 100 39609 0 39609 0 0 6043 0 --:--:-- 0:00:06 --:--:-- 20065 100 91501 0 91501 0 0 12293 0 --:--:-- 0:00:07 --:--:-- 31948 100 149k 0 149k 0 0 18852 0 --:--:-- 0:00:08 --:--:-- 43207 100 217k 0 217k 0 0 24904 0 --:--:-- 0:00:08 --:--:-- 51072 100 357k 0 357k 0 0 34954 0 --:--:-- 0:00:10 --:--:-- 68049 100 437k 0 437k 0 0 39940 0 --:--:-- 0:00:11 --:--:-- 87603 100 524k 0 524k 0 0 44247 0 --:--:-- 0:00:12 --:--:-- 95007 100 761k 0 761k 0 0 60403 0 --:--:-- 0:00:12 --:--:-- 127k 100 973k 0 973k 0 0 69408 0 --:--:-- 0:00:14 --:--:-- 139k 100 1238k 0 1238k 0 0 83236 0 --:--:-- 0:00:15 --:--:-- 184k 100 1914k 0 1914k 0 0 121k 0 --:--:-- 0:00:15 --:--:-- 329k  -> Found Cargo.lock ==> Validating source files with sha256sums... wasm-bindgen-0.2.95.tar.gz ... Passed Cargo.lock ... Passed ]2;🔵 Container arch-nspawn-3168029 on scovillain.felixc.at==> Making package: wasm-bindgen 0.2.95-1 (Sun Oct 13 14:22:21 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (10) New Version Net Change Download Size extra/c-ares 1.33.1-1 0.44 MiB core/libedit 20240517_3.1-1 0.24 MiB extra/libngtcp2 1.8.0-1 0.50 MiB extra/libuv 1.49.1-1 0.59 MiB extra/lld 18.1.8-1 5.44 MiB extra/llvm-libs 18.1.8-4.1 121.19 MiB extra/rust 1:1.81.0-1 252.88 MiB extra/wasm-component-ld 0.5.10-1 4.12 MiB 1.46 MiB extra/nodejs 22.9.0-1.1 55.38 MiB extra/rust-wasm 1:1.81.0-1 495.03 MiB 141.46 MiB Total Download Size: 142.92 MiB Total Installed Size: 935.83 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... rust-wasm-1:1.81.0-1-riscv64 downloading... wasm-component-ld-0.5.10-1-riscv64 downloading... 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... [?25h==> 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 untrusted v0.9.0 Downloaded anstyle-query v1.1.1 Downloaded time-core v0.1.2 Downloaded equivalent v1.0.1 Downloaded wat v1.219.1 Downloaded num-conv v0.1.0 Downloaded alloc-stdlib v0.2.2 Downloaded num_threads v0.1.7 Downloaded normalize-line-endings v0.3.0 Downloaded doc-comment v0.3.3 Downloaded sha1_smol v1.0.1 Downloaded http-range-header v0.4.1 Downloaded gloo-timers v0.3.0 Downloaded gloo-console v0.3.0 Downloaded tower-service v0.3.3 Downloaded ppv-lite86 v0.2.20 Downloaded sha1 v0.10.6 Downloaded openssl-macros v0.1.1 Downloaded sync_wrapper v1.0.1 Downloaded foreign-types-shared v0.1.1 Downloaded openssl-probe v0.1.5 Downloaded foreign-types v0.3.2 Downloaded sync_wrapper v0.1.2 Downloaded tower-layer v0.3.3 Downloaded anstyle-parse v0.2.5 Downloaded rand_core v0.6.4 Downloaded generic-array v0.14.7 Downloaded itoa v1.0.11 Downloaded errno v0.3.9 Downloaded digest v0.10.7 Downloaded utf-8 v0.7.6 Downloaded tinyvec_macros v0.1.1 Downloaded powerfmt v0.2.0 Downloaded mozprofile v0.9.3 Downloaded leb128 v0.2.5 Downloaded want v0.3.1 Downloaded rand_chacha v0.3.1 Downloaded fastrand v2.1.1 Downloaded adler2 v2.0.0 Downloaded http-body v1.0.1 Downloaded walrus-macro v0.22.0 Downloaded try-lock v0.2.5 Downloaded block-buffer v0.10.4 Downloaded float-cmp v0.9.0 Downloaded safemem v0.3.3 Downloaded fallible-iterator v0.2.0 Downloaded predicates-core v1.0.8 Downloaded toml v0.8.19 Downloaded termtree v0.4.1 Downloaded wait-timeout v0.2.0 Downloaded scoped_threadpool v0.1.9 Downloaded color_quant v1.1.0 Downloaded strsim v0.10.0 Downloaded difflib v0.4.0 Downloaded chunked_transfer v1.5.0 Downloaded predicates-tree v1.0.11 Downloaded filetime v0.2.25 Downloaded quick-error v1.2.3 Downloaded gloo-worker-macros v0.1.0 Downloaded threadpool v1.8.1 Downloaded num_cpus v1.16.0 Downloaded crypto-common v0.1.6 Downloaded alloc-no-stdlib v2.0.4 Downloaded pinned v0.1.0 Downloaded serde-wasm-bindgen v0.6.5 Downloaded deranged v0.3.11 Downloaded tokio-tungstenite v0.24.0 Downloaded wasmprinter v0.212.0 Downloaded semver v1.0.23 Downloaded crc32fast v1.4.2 Downloaded time-macros v0.2.18 Downloaded tempfile v3.13.0 Downloaded scoped-tls v1.0.1 Downloaded futures-core v0.3.31 Downloaded cfg-if v1.0.0 Downloaded data-encoding v2.6.0 Downloaded predicates v3.1.2 Downloaded ascii v1.1.0 Downloaded assert_cmd v2.0.16 Downloaded askama v0.12.1 Downloaded num-iter v0.1.45 Downloaded num-integer v0.1.46 Downloaded png v0.6.2 Downloaded twoway v0.1.8 Downloaded adler32 v1.2.0 Downloaded gloo-history v0.2.2 Downloaded buf_redux v0.8.4 Downloaded serde_spanned v0.6.8 Downloaded zerocopy-derive v0.7.35 Downloaded num-traits v0.1.43 Downloaded mozrunner v0.15.3 Downloaded toml_datetime v0.6.8 Downloaded stable_deref_trait v1.2.0 Downloaded gloo-storage v0.3.0 Downloaded gloo-utils v0.2.0 Downloaded vec_map v0.8.2 Downloaded unicase v2.7.0 Downloaded askama_parser v0.2.1 Downloaded gloo-file v0.3.0 Downloaded getrandom v0.2.15 Downloaded rustversion v1.0.17 Downloaded thiserror-impl v1.0.64 Downloaded futures-io v0.3.31 Downloaded futures-sink v0.3.31 Downloaded autocfg v1.4.0 Downloaded anyhow v1.0.89 Downloaded id-arena v2.2.1 Downloaded ahash v0.8.11 Downloaded typenum v1.17.0 Downloaded futures-executor v0.3.31 Downloaded futures-macro v0.3.31 Downloaded rustc-demangle v0.1.24 Downloaded indexmap v1.9.3 Downloaded diff v0.1.13 Downloaded docopt v1.1.1 Downloaded proc-macro-error-attr v1.0.4 Downloaded enum_primitive v0.1.1 Downloaded lazy_static v1.5.0 Downloaded is_terminal_polyfill v1.70.1 Downloaded utf8parse v0.2.2 Downloaded crossbeam-deque v0.8.5 Downloaded thiserror v1.0.64 Downloaded strsim v0.8.0 Downloaded atty v0.2.14 Downloaded textwrap v0.11.0 Downloaded bitflags v0.7.0 Downloaded futures-core-preview v0.3.0-alpha.19 Downloaded console_log v1.0.0 Downloaded futures-task v0.3.31 Downloaded pin-utils v0.1.0 Downloaded slab v0.4.9 Downloaded tiny_http v0.12.0 Downloaded miniz_oxide v0.8.0 Downloaded percent-encoding v2.3.1 Downloaded gloo-events v0.2.0 Downloaded gloo-dialogs v0.2.0 Downloaded gloo-render v0.2.0 Downloaded structopt-derive v0.4.18 Downloaded pin-project v1.1.6 Downloaded wasm-encoder v0.219.1 Downloaded tungstenite v0.24.0 Downloaded serde_urlencoded v0.7.1 Downloaded tokio-native-tls v0.3.1 Downloaded form_urlencoded v1.2.1 Downloaded multipart v0.18.0 Downloaded heck v0.3.3 Downloaded gloo-net v0.5.0 Downloaded anstyle v1.0.8 Downloaded mime_guess v2.0.5 Downloaded base64 v0.13.1 Downloaded byteorder v1.5.0 Downloaded sourcefile v0.2.1 Downloaded env_filter v0.1.2 Downloaded lzw v0.10.0 Downloaded askama_escape v0.10.3 Downloaded bincode v1.3.3 Downloaded iana-time-zone v0.1.61 Downloaded colorchoice v1.0.2 Downloaded anstream v0.6.15 Downloaded askama_derive v0.12.5 Downloaded proc-macro-error v1.0.4 Downloaded crossbeam-utils v0.8.20 Downloaded rand v0.8.5 Downloaded basic-toml v0.1.9 Downloaded wasm-encoder v0.212.0 Downloaded rouille v3.6.2 Downloaded atomic-waker v1.1.2 Downloaded num-traits v0.2.19 Downloaded gloo-worker v0.5.0 Downloaded gif v0.9.2 Downloaded inflate v0.1.1 Downloaded structopt v0.3.26 Downloaded hashbrown v0.12.3 Downloaded plist v1.7.0 Downloaded httpdate v1.0.3 Downloaded crossbeam-epoch v0.9.18 Downloaded hyper-tls v0.6.0 Downloaded ureq v2.10.1 Downloaded flate2 v1.0.34 Downloaded base64 v0.22.1 Downloaded json v0.12.4 Downloaded unicode-segmentation v1.12.0 Downloaded time v0.3.36 Downloaded tower-http v0.6.1 Downloaded minimal-lexical v0.2.1 Downloaded tower v0.5.1 Downloaded hashbrown v0.14.5 Downloaded http v0.2.12 Downloaded wast v219.0.1 Downloaded libm v0.2.8 Downloaded nom v7.1.3 Downloaded walrus v0.22.0 Downloaded quick-xml v0.32.0 Downloaded wast v212.0.0 Downloaded zerocopy v0.7.35 Downloaded brotli-decompressor v4.0.1 Downloaded aho-corasick v1.1.3 Downloaded rayon v1.10.0 Downloaded wasmparser v0.212.0 Downloaded wasmparser v0.219.1 Downloaded termcolor v1.4.1 Downloaded winnow v0.5.40 Downloaded jpeg-decoder v0.1.22 Downloaded webpki-roots v0.26.6 Downloaded unicode-width v0.1.14 Downloaded regex v1.11.0 Downloaded rustix v0.38.37 Downloaded regex-syntax v0.8.5 Downloaded bstr v1.10.0 Downloaded regex-automata v0.4.8 Downloaded gimli v0.26.2 Downloaded encoding_rs v0.8.34 Downloaded linux-raw-sys v0.4.14 Downloaded shlex v1.3.0 Downloaded ring v0.17.8 Downloaded http-body-util v0.1.2 Downloaded mime v0.3.17 Downloaded fnv v1.0.7 Downloaded rustls-pemfile v2.2.0 Downloaded subtle v2.6.1 Downloaded zeroize v1.8.1 Downloaded gg-alloc v1.0.0 Downloaded version_check v0.9.5 Downloaded tokio-macros v2.4.0 Downloaded glob v0.3.1 Downloaded pin-project-lite v0.2.14 Downloaded quote v1.0.37 Downloaded futures-channel v0.3.31 Downloaded pkg-config v0.3.31 Downloaded ipnet v2.10.1 Downloaded httparse v1.9.5 Downloaded proc-macro-crate v1.3.1 Downloaded once_cell v1.20.2 Downloaded native-tls v0.2.12 Downloaded heck v0.5.0 Downloaded humansize v2.1.3 Downloaded serde_derive v1.0.210 Downloaded unicode-ident v1.0.13 Downloaded ryu v1.0.18 Downloaded tinyvec v1.8.0 Downloaded smallvec v1.13.2 Downloaded hyper-rustls v0.27.3 Downloaded tokio-rustls v0.26.0 Downloaded bitflags v1.3.2 Downloaded humantime v2.1.0 Downloaded pin-project-internal v1.1.6 Downloaded env_logger v0.11.5 Downloaded futures-channel-preview v0.3.0-alpha.19 Downloaded either v1.13.0 Downloaded num-rational v0.1.42 Downloaded ansi_term v0.12.1 Downloaded trybuild v1.0.99 Downloaded proc-macro2 v1.0.87 Downloaded bytes v1.7.2 Downloaded socket2 v0.5.7 Downloaded futures v0.3.31 Downloaded bitflags v2.6.0 Downloaded log v0.4.22 Downloaded openssl-sys v0.9.103 Downloaded unicode-bidi v0.3.17 Downloaded serde v1.0.210 Downloaded rayon-core v1.12.1 Downloaded tracing-core v0.1.32 Downloaded rustls-pki-types v1.9.0 Downloaded hyper-util v0.1.9 Downloaded memchr v2.7.4 Downloaded indexmap v2.6.0 Downloaded url v2.5.2 Downloaded bumpalo v3.16.0 Downloaded cc v1.1.30 Downloaded tracing v0.1.40 Downloaded toml_edit v0.19.15 Downloaded mio v1.0.2 Downloaded toml_edit v0.22.22 Downloaded http v1.1.0 Downloaded image v0.12.4 Downloaded hashbrown v0.15.0 Downloaded hyper v1.4.1 Downloaded nom v5.1.3 Downloaded unicode-normalization v0.1.24 Downloaded futures-util v0.3.31 Downloaded deflate v0.7.20 Downloaded reqwest v0.12.8 Downloaded serde_json v1.0.128 Downloaded tokio-util v0.7.12 Downloaded winnow v0.6.20 Downloaded h2 v0.4.6 Downloaded rustls-webpki v0.102.8 Downloaded clap v2.34.0 Downloaded vcpkg v0.2.15 Downloaded idna v0.5.0 Downloaded openssl v0.10.66 Downloaded syn v1.0.109 Downloaded chrono v0.4.38 Downloaded syn v2.0.79 Downloaded rustls v0.23.14 Downloaded gloo v0.11.0 Downloaded console_error_panic_hook v0.1.7 Downloaded libc v0.2.159 Downloaded tokio v1.40.0 Downloaded openssl-src v300.3.2+3.3.2 ==> 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 byteorder v1.5.0 Compiling shlex v1.3.0 Compiling autocfg v1.4.0 Compiling bitflags v2.6.0 Compiling log v0.4.22 Compiling serde v1.0.210 Compiling crossbeam-utils v0.8.20 Compiling memchr v2.7.4 Compiling rayon-core v1.12.1 Compiling semver v1.0.23 Compiling anyhow v1.0.89 Compiling either v1.13.0 Compiling equivalent v1.0.1 Compiling hashbrown v0.12.3 Compiling hashbrown v0.15.0 Compiling fallible-iterator v0.2.0 Compiling vcpkg v0.2.15 Compiling pkg-config v0.3.31 Compiling leb128 v0.2.5 Compiling stable_deref_trait v1.2.0 Compiling heck v0.5.0 Compiling tinyvec_macros v0.1.1 Compiling rustix v0.38.37 Compiling regex-syntax v0.8.5 Compiling linux-raw-sys v0.4.14 Compiling percent-encoding v2.3.1 Compiling openssl v0.10.66 Compiling rustls-pki-types v1.9.0 Compiling fastrand v2.1.1 Compiling unicode-bidi v0.3.17 Compiling foreign-types-shared v0.1.1 Compiling serde_json v1.0.128 Compiling httparse v1.9.5 Compiling untrusted v0.9.0 Compiling powerfmt v0.2.0 Compiling mime v0.3.17 Compiling safemem v0.3.3 Compiling utf8parse v0.2.2 Compiling ryu v1.0.18 Compiling adler2 v2.0.0 Compiling wasm-bindgen-shared v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/shared) Compiling rustls v0.23.14 Compiling native-tls v0.2.12 Compiling itoa v1.0.11 Compiling alloc-no-stdlib v2.0.4 Compiling openssl-probe v0.1.5 Compiling quick-error v1.2.3 Compiling subtle v2.6.1 Compiling anstyle v1.0.8 Compiling zeroize v1.8.1 Compiling num_threads v0.1.7 Compiling time-core v0.1.2 Compiling httpdate v1.0.3 Compiling anstyle-query v1.1.1 Compiling num-conv v0.1.0 Compiling iana-time-zone v0.1.61 Compiling base64 v0.22.1 Compiling is_terminal_polyfill v1.70.1 Compiling colorchoice v1.0.2 Compiling ascii v1.1.0 Compiling chunked_transfer v1.5.0 Compiling strsim v0.10.0 Compiling humantime v2.1.0 Compiling sha1_smol v1.0.1 Compiling base64 v0.13.1 Compiling rustc-demangle v0.1.24 Compiling lazy_static v1.5.0 Compiling wasm-encoder v0.212.0 Compiling tinyvec v1.8.0 Compiling foreign-types v0.3.2 Compiling form_urlencoded v1.2.1 Compiling anstyle-parse v0.2.5 Compiling miniz_oxide v0.8.0 Compiling crc32fast v1.4.2 Compiling alloc-stdlib v0.2.2 Compiling cc v1.1.30 Compiling brotli-decompressor v4.0.1 Compiling ahash v0.8.11 Compiling unicase v2.7.0 Compiling webpki-roots v0.26.6 Compiling anstream v0.6.15 Compiling aho-corasick v1.1.3 Compiling buf_redux v0.8.4 Compiling twoway v0.1.8 Compiling tiny_http v0.12.0 Compiling indexmap v1.9.3 Compiling num-traits v0.2.19 Compiling deranged v0.3.11 Compiling mime_guess v2.0.5 Compiling openssl-src v300.3.2+3.3.2 Compiling crossbeam-epoch v0.9.18 Compiling quote v1.0.37 Compiling crossbeam-deque v0.8.5 Compiling syn v2.0.79 Compiling ring v0.17.8 Compiling gimli v0.26.2 Compiling chrono v0.4.38 Compiling flate2 v1.0.34 Compiling getrandom v0.2.15 Compiling num_cpus v1.16.0 Compiling filetime v0.2.25 Compiling rand_core v0.6.4 Compiling rayon v1.10.0 Compiling threadpool v1.8.1 Compiling unicode-normalization v0.1.24 Compiling openssl-sys v0.9.103 Compiling regex-automata v0.4.8 Compiling idna v0.5.0 Compiling tempfile v3.13.0 Compiling url v2.5.2 Compiling id-arena v2.2.1 Compiling time v0.3.36 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 zerocopy v0.7.35 Compiling rustls-webpki v0.102.8 Compiling ppv-lite86 v0.2.20 Compiling rand_chacha v0.3.1 Compiling rand v0.8.5 Compiling regex v1.11.0 Compiling multipart v0.18.0 Compiling env_filter v0.1.2 Compiling env_logger v0.11.5 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 ureq v2.10.1 Compiling walrus v0.22.0 Compiling wasm-bindgen-wasm-conventions v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/wasm-conventions) Compiling wasm-bindgen-externref-xform v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/externref-xform) Compiling wasm-bindgen-multi-value-xform v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/multi-value-xform) Compiling wasm-bindgen-wasm-interpreter v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/wasm-interpreter) Compiling wasm-bindgen-threads-xform v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/threads-xform) Compiling wasm-bindgen-cli-support v0.2.95 (/build/wasm-bindgen/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 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/cli) Finished `release` profile [optimized] target(s) in 10m 31s 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 bitflags v2.6.0 Compiling serde v1.0.210 Compiling shlex v1.3.0 Compiling memchr v2.7.4 Compiling log v0.4.22 Compiling crossbeam-utils v0.8.20 Compiling rayon-core v1.12.1 Compiling semver v1.0.23 Compiling hashbrown v0.15.0 Compiling anyhow v1.0.89 Compiling equivalent v1.0.1 Compiling either v1.13.0 Compiling hashbrown v0.12.3 Compiling vcpkg v0.2.15 Compiling heck v0.5.0 Compiling leb128 v0.2.5 Compiling regex-syntax v0.8.5 Compiling pkg-config v0.3.31 Compiling fallible-iterator v0.2.0 Compiling stable_deref_trait v1.2.0 Compiling tinyvec_macros v0.1.1 Compiling rustix v0.38.37 Compiling linux-raw-sys v0.4.14 Compiling openssl v0.10.66 Compiling percent-encoding v2.3.1 Compiling untrusted v0.9.0 Compiling httparse v1.9.5 Compiling foreign-types-shared v0.1.1 Compiling serde_json v1.0.128 Compiling fastrand v2.1.1 Compiling unicode-bidi v0.3.17 Compiling anstyle v1.0.8 Compiling rustls-pki-types v1.9.0 Compiling rustls v0.23.14 Compiling alloc-no-stdlib v2.0.4 Compiling powerfmt v0.2.0 Compiling wasm-bindgen-shared v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/shared) Compiling utf8parse v0.2.2 Compiling native-tls v0.2.12 Compiling adler2 v2.0.0 Compiling safemem v0.3.3 Compiling ryu v1.0.18 Compiling mime v0.3.17 Compiling itoa v1.0.11 Compiling zeroize v1.8.1 Compiling quick-error v1.2.3 Compiling colorchoice v1.0.2 Compiling base64 v0.22.1 Compiling is_terminal_polyfill v1.70.1 Compiling num-conv v0.1.0 Compiling ascii v1.1.0 Compiling anstyle-query v1.1.1 Compiling iana-time-zone v0.1.61 Compiling subtle v2.6.1 Compiling openssl-probe v0.1.5 Compiling time-core v0.1.2 Compiling httpdate v1.0.3 Compiling num_threads v0.1.7 Compiling chunked_transfer v1.5.0 Compiling lazy_static v1.5.0 Compiling humantime v2.1.0 Compiling base64 v0.13.1 Compiling strsim v0.10.0 Compiling rustc-demangle v0.1.24 Compiling sha1_smol v1.0.1 Compiling doc-comment v0.3.3 Compiling predicates-core v1.0.8 Compiling normalize-line-endings v0.3.0 Compiling termtree v0.4.1 Compiling assert_cmd v2.0.16 Compiling difflib v0.4.0 Compiling termcolor v1.4.1 Compiling diff v0.1.13 Compiling wasm-encoder v0.212.0 Compiling tinyvec v1.8.0 Compiling foreign-types v0.3.2 Compiling crc32fast v1.4.2 Compiling miniz_oxide v0.8.0 Compiling form_urlencoded v1.2.1 Compiling anstyle-parse v0.2.5 Compiling cc v1.1.30 Compiling alloc-stdlib v0.2.2 Compiling deranged v0.3.11 Compiling predicates-tree v1.0.11 Compiling ahash v0.8.11 Compiling unicase v2.7.0 Compiling webpki-roots v0.26.6 Compiling brotli-decompressor v4.0.1 Compiling anstream v0.6.15 Compiling indexmap v1.9.3 Compiling num-traits v0.2.19 Compiling mime_guess v2.0.5 Compiling quote v1.0.37 Compiling openssl-src v300.3.2+3.3.2 Compiling crossbeam-epoch v0.9.18 Compiling aho-corasick v1.1.3 Compiling twoway v0.1.8 Compiling buf_redux v0.8.4 Compiling syn v2.0.79 Compiling tiny_http v0.12.0 Compiling unicode-normalization v0.1.24 Compiling getrandom v0.2.15 Compiling num_cpus v1.16.0 Compiling time v0.3.36 Compiling filetime v0.2.25 Compiling wait-timeout v0.2.0 Compiling crossbeam-deque v0.8.5 Compiling ring v0.17.8 Compiling gimli v0.26.2 Compiling rand_core v0.6.4 Compiling threadpool v1.8.1 Compiling flate2 v1.0.34 Compiling idna v0.5.0 Compiling rayon v1.10.0 Compiling openssl-sys v0.9.103 Compiling url v2.5.2 Compiling chrono v0.4.38 Compiling float-cmp v0.9.0 Compiling regex-automata v0.4.8 Compiling tempfile v3.13.0 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 regex v1.11.0 Compiling bstr v1.10.0 Compiling rustls-webpki v0.102.8 Compiling env_filter v0.1.2 Compiling predicates v3.1.2 Compiling env_logger v0.11.5 Compiling zerocopy v0.7.35 Compiling ppv-lite86 v0.2.20 Compiling rand_chacha v0.3.1 Compiling rand v0.8.5 Compiling ureq v2.10.1 Compiling id-arena v2.2.1 Compiling multipart v0.18.0 Compiling hashbrown v0.14.5 Compiling indexmap v2.6.0 Compiling docopt v1.1.1 Compiling rouille v3.6.2 Compiling wasmparser v0.212.0 Compiling walrus v0.22.0 Compiling wasmprinter v0.212.0 Compiling wasm-bindgen-wasm-conventions v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/wasm-conventions) Compiling wasm-bindgen-externref-xform v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/externref-xform) Compiling wasm-bindgen-multi-value-xform v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/multi-value-xform) Compiling wasm-bindgen-threads-xform v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/threads-xform) Compiling wasm-bindgen-wasm-interpreter v0.2.95 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/wasm-interpreter) Compiling wasm-bindgen-cli-support v0.2.95 (/build/wasm-bindgen/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 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/crates/cli) Finished `test` profile [unoptimized + debuginfo] target(s) in 6m 44s 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 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/target/debug/deps/wasm_bindgen-4335bd030bb15b97) 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 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/target/debug/deps/wasm_bindgen_test_runner-aa53cf867ac1bdbe) 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 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/target/debug/deps/wasm2es6js-696be2eed5a1e2c8) 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 (/build/wasm-bindgen/src/wasm-bindgen-0.2.95/target/debug/deps/reference-5222d5f4353c23e0) failed tests: /build/wasm-bindgen/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)); }; Error: tests failed error: test failed, to rerun pass `--test reference` Caused by: process didn't exit successfully: `/build/wasm-bindgen/src/wasm-bindgen-0.2.95/target/debug/deps/reference-5222d5f4353c23e0` (exit status: 1) ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root49/build [?25h[?25hreceiving incremental file list wasm-bindgen-0.2.95-1-riscv64-build.log wasm-bindgen-0.2.95-1-riscv64-check.log wasm-bindgen-0.2.95-1-riscv64-prepare.log sent 81 bytes received 8,933 bytes 6,009.33 bytes/sec total size is 31,288 speedup is 3.47