[INFO] fetching crate ic-wasm-bindgen 0.2.87... [INFO] testing ic-wasm-bindgen-0.2.87 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ic-wasm-bindgen 0.2.87 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking crates.io crate ic-wasm-bindgen 0.2.87 [INFO] finished tweaking crates.io crate ic-wasm-bindgen 0.2.87 [INFO] tweaked toml for crates.io crate ic-wasm-bindgen 0.2.87 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ic-wasm-bindgen 0.2.87 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding js-sys v0.3.64 (available: v0.3.77) [INFO] [stderr] Adding wasm-bindgen v0.2.87 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-backend v0.2.87 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-futures v0.4.37 (available: v0.4.50) [INFO] [stderr] Adding wasm-bindgen-macro v0.2.87 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.87 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-shared v0.2.87 (available: v0.2.100) [INFO] [stderr] Adding wasm-bindgen-test v0.3.37 (available: v0.3.50) [INFO] [stderr] Adding wasm-bindgen-test-macro v0.3.37 (available: v0.3.50) [INFO] [stderr] Adding web-sys v0.3.64 (available: v0.3.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-crate-a v0.1.0 [INFO] [stderr] Downloaded gg-alloc v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen-test-crate-b v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0afabc275f78f697cf2bc574b74ed9299fc63b7184b95bee3ce5df611cd213b [INFO] running `Command { std: "docker" "start" "-a" "a0afabc275f78f697cf2bc574b74ed9299fc63b7184b95bee3ce5df611cd213b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0afabc275f78f697cf2bc574b74ed9299fc63b7184b95bee3ce5df611cd213b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0afabc275f78f697cf2bc574b74ed9299fc63b7184b95bee3ce5df611cd213b", kill_on_drop: false }` [INFO] [stdout] a0afabc275f78f697cf2bc574b74ed9299fc63b7184b95bee3ce5df611cd213b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d50524b7f29b8f87f2bd829404bdf8e52fbac752c95b2ac6bc1dff2ea73ba318 [INFO] running `Command { std: "docker" "start" "-a" "d50524b7f29b8f87f2bd829404bdf8e52fbac752c95b2ac6bc1dff2ea73ba318", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ic-wasm-bindgen v0.2.87 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/closure.rs:599:24 [INFO] [stdout] | [INFO] [stdout] 599 | unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 743 | / doit! { [INFO] [stdout] 744 | | () [INFO] [stdout] 745 | | (A a1 a2 a3 a4) [INFO] [stdout] 746 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 752 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 753 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/closure.rs:657:24 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 743 | / doit! { [INFO] [stdout] 744 | | () [INFO] [stdout] 745 | | (A a1 a2 a3 a4) [INFO] [stdout] 746 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 752 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 753 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1374:23 [INFO] [stdout] | [INFO] [stdout] 1374 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1374 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1387:27 [INFO] [stdout] | [INFO] [stdout] 1387 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1387 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.52s [INFO] running `Command { std: "docker" "inspect" "d50524b7f29b8f87f2bd829404bdf8e52fbac752c95b2ac6bc1dff2ea73ba318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d50524b7f29b8f87f2bd829404bdf8e52fbac752c95b2ac6bc1dff2ea73ba318", kill_on_drop: false }` [INFO] [stdout] d50524b7f29b8f87f2bd829404bdf8e52fbac752c95b2ac6bc1dff2ea73ba318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7d67650551872ce33e2334253a7db0f47b1325eff00fc630a250338bc8dc934 [INFO] running `Command { std: "docker" "start" "-a" "f7d67650551872ce33e2334253a7db0f47b1325eff00fc630a250338bc8dc934", kill_on_drop: false }` [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/closure.rs:599:24 [INFO] [stdout] | [INFO] [stdout] 599 | unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 743 | / doit! { [INFO] [stdout] 744 | | () [INFO] [stdout] 745 | | (A a1 a2 a3 a4) [INFO] [stdout] 746 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 752 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 753 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/closure.rs:657:24 [INFO] [stdout] | [INFO] [stdout] 657 | unsafe extern fn destroy<$($var: FromWasmAbi,)* R: ReturnWasmAbi>( [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 743 | / doit! { [INFO] [stdout] 744 | | () [INFO] [stdout] 745 | | (A a1 a2 a3 a4) [INFO] [stdout] 746 | | (A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 752 | | (A a1 a2 a3 a4 B b1 b2 b3 b4 C c1 c2 c3 c4 D d1 d2 d3 d4 E e1 e2 e3 e4 F f1 f2 f3 f4 G g1 g2 g3 g4 H h1 h2 h3 h4) [INFO] [stdout] 753 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `doit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1374:23 [INFO] [stdout] | [INFO] [stdout] 1374 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1374 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1387:27 [INFO] [stdout] | [INFO] [stdout] 1387 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1387 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic-wasm-bindgen v0.2.87 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `wasm_bindgen` [INFO] [stdout] --> tests/unwrap_throw.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `wasm_bindgen` [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 9 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 9 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 9 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 9 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 9 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 9 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[wasm_bindgen(constructor)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 9 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 9 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[wasm_bindgen(method, structural)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 9 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 9 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: extern types are experimental [INFO] [stdout] --> tests/std-crate-no-std-dep.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | type Js; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #43467 for more information [INFO] [stdout] = help: add `#![feature(extern_types)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-27; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ic-wasm-bindgen` (test "std-crate-no-std-dep") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasm_bindgen` [INFO] [stdout] --> tests/must_use.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wasm_bindgen` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use ic_wasm_bindgen::prelude::*; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/must_use.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 6 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 6 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `wasm_bindgen` [INFO] [stdout] --> tests/non_wasm.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/non_wasm.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/non_wasm.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 3 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 3 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/non_wasm.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/non_wasm.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 3 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 3 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/non_wasm.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/non_wasm.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 3 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 3 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/non_wasm.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/non_wasm.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 3 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 3 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/non_wasm.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/non_wasm.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 3 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 3 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> tests/non_wasm.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/non_wasm.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 3 + use ic_wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] 3 + use wasm_bindgen_macro::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> tests/non_wasm.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | baz(JsValue::from(3)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use ic_wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> tests/non_wasm.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | static A: JsValue; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use ic_wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> tests/non_wasm.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn bar(_: &str) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use ic_wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> tests/non_wasm.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn baz(_: JsValue) {} [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use ic_wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_throw` found for enum `Option` in the current scope [INFO] [stdout] --> tests/unwrap_throw.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Some(42).unwrap_throw(), 42); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `unwrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(Some(42).unwrap_throw(), 42); [INFO] [stdout] 6 + assert_eq!(Some(42).unwrap(), 42); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ic-wasm-bindgen` (test "non_wasm") due to 11 previous errors [INFO] [stdout] error[E0599]: no method named `unwrap_throw` found for enum `Result` in the current scope [INFO] [stdout] --> tests/unwrap_throw.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(x.unwrap_throw(), 42); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `unwrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(x.unwrap_throw(), 42); [INFO] [stdout] 8 + assert_eq!(x.unwrap(), 42); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_throw` found for enum `Option` in the current scope [INFO] [stdout] --> tests/unwrap_throw.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | x.unwrap_throw(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `unwrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 15 - x.unwrap_throw(); [INFO] [stdout] 15 + x.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_throw` found for enum `Result` in the current scope [INFO] [stdout] --> tests/unwrap_throw.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | x.unwrap_throw(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `unwrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - x.unwrap_throw(); [INFO] [stdout] 22 + x.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ic-wasm-bindgen` (test "unwrap_throw") due to 5 previous errors [INFO] [stderr] error: could not compile `ic-wasm-bindgen` (test "must_use") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f7d67650551872ce33e2334253a7db0f47b1325eff00fc630a250338bc8dc934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7d67650551872ce33e2334253a7db0f47b1325eff00fc630a250338bc8dc934", kill_on_drop: false }` [INFO] [stdout] f7d67650551872ce33e2334253a7db0f47b1325eff00fc630a250338bc8dc934