[INFO] fetching crate ic-wasm-bindgen 0.2.87... [INFO] testing ic-wasm-bindgen-0.2.87 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate ic-wasm-bindgen 0.2.87 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ic-wasm-bindgen 0.2.87 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding js-sys v0.3.64 (available: v0.3.94) [INFO] [stderr] Adding wasm-bindgen v0.2.87 (available: v0.2.117) [INFO] [stderr] Adding wasm-bindgen-backend v0.2.87 (available: v0.2.104) [INFO] [stderr] Adding wasm-bindgen-futures v0.4.37 (available: v0.4.67) [INFO] [stderr] Adding wasm-bindgen-macro v0.2.87 (available: v0.2.117) [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.87 (available: v0.2.117) [INFO] [stderr] Adding wasm-bindgen-shared v0.2.87 (available: v0.2.117) [INFO] [stderr] Adding wasm-bindgen-test v0.3.37 (available: v0.3.67) [INFO] [stderr] Adding wasm-bindgen-test-macro v0.3.37 (available: v0.3.67) [INFO] [stderr] Adding web-sys v0.3.64 (available: v0.3.94) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-crate-b v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen-test-crate-a v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.37 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.37 [INFO] [stderr] Downloaded gg-alloc v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f36654e3a6679aa8eeb9fd915418fcc60d9b1d2d881000a73b138a1edfa51ac1 [INFO] running `Command { std: "docker" "start" "-a" "f36654e3a6679aa8eeb9fd915418fcc60d9b1d2d881000a73b138a1edfa51ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f36654e3a6679aa8eeb9fd915418fcc60d9b1d2d881000a73b138a1edfa51ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36654e3a6679aa8eeb9fd915418fcc60d9b1d2d881000a73b138a1edfa51ac1", kill_on_drop: false }` [INFO] [stdout] f36654e3a6679aa8eeb9fd915418fcc60d9b1d2d881000a73b138a1edfa51ac1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d337bf162c7778bd570dbb3ee2d07abeddf11ec361cee297292319334e8ee8d5 [INFO] running `Command { std: "docker" "start" "-a" "d337bf162c7778bd570dbb3ee2d07abeddf11ec361cee297292319334e8ee8d5", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling bumpalo v3.20.2 [INFO] [stderr] Compiling ic-wasm-bindgen v0.2.87 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.117 [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: `panic` is ambiguous [INFO] [stdout] --> src/lib.rs:1020:13 [INFO] [stdout] | [INFO] [stdout] 1020 | debug_assert!(self.idx >= JSIDX_OFFSET, "free of stack slot {}", self.idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use std::prelude::v1::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `crate::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:31:12 [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #147319 [INFO] [stdout] = note: `#[warn(ambiguous_panic_imports)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [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: direct cast of function item into an integer [INFO] [stdout] --> src/convert/closures.rs:59:47 [INFO] [stdout] | [INFO] [stdout] 59 | inform($invoke::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / stack_closures! { [INFO] [stdout] 124 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 125 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 126 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 132 | | (8 invoke8 invoke8_mut 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... [INFO] [stdout] 133 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 59 | inform($invoke::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/convert/closures.rs:113:51 [INFO] [stdout] | [INFO] [stdout] 113 | inform($invoke_mut::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / stack_closures! { [INFO] [stdout] 124 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 125 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 126 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 132 | | (8 invoke8 invoke8_mut 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... [INFO] [stdout] 133 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 113 | inform($invoke_mut::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/convert/closures.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | inform(invoke1_ref:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 182 | inform(invoke1_ref:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/convert/closures.rs:237:40 [INFO] [stdout] | [INFO] [stdout] 237 | inform(invoke1_mut_ref:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 237 | inform(invoke1_mut_ref:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:340:82 [INFO] [stdout] | [INFO] [stdout] 340 | super::__wbindgen_describe_closure(a as u32, b as u32, describe:: as u32) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 340 | super::__wbindgen_describe_closure(a as u32, b as u32, describe:: as *const () as u32) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:597:46 [INFO] [stdout] | [INFO] [stdout] 597 | inform(invoke::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [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] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 597 | inform(invoke::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:615:47 [INFO] [stdout] | [INFO] [stdout] 615 | inform(destroy::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [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] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 615 | inform(destroy::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:655:46 [INFO] [stdout] | [INFO] [stdout] 655 | inform(invoke::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [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] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 655 | inform(invoke::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:669:47 [INFO] [stdout] | [INFO] [stdout] 669 | inform(destroy::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [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] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 669 | inform(destroy::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:790:31 [INFO] [stdout] | [INFO] [stdout] 790 | inform(invoke:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 790 | inform(invoke:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:801:32 [INFO] [stdout] | [INFO] [stdout] 801 | inform(destroy:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 801 | inform(destroy:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:837:31 [INFO] [stdout] | [INFO] [stdout] 837 | inform(invoke:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 837 | inform(invoke:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:848:32 [INFO] [stdout] | [INFO] [stdout] 848 | inform(destroy:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 848 | inform(destroy:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [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 6.75s [INFO] running `Command { std: "docker" "inspect" "d337bf162c7778bd570dbb3ee2d07abeddf11ec361cee297292319334e8ee8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d337bf162c7778bd570dbb3ee2d07abeddf11ec361cee297292319334e8ee8d5", kill_on_drop: false }` [INFO] [stdout] d337bf162c7778bd570dbb3ee2d07abeddf11ec361cee297292319334e8ee8d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8009c1e9285d76e678c99c5808189eed71cc9fca234d09e11e107472834cbec1 [INFO] running `Command { std: "docker" "start" "-a" "8009c1e9285d76e678c99c5808189eed71cc9fca234d09e11e107472834cbec1", kill_on_drop: false }` [INFO] [stdout] warning: `panic` is ambiguous [INFO] [stdout] --> src/lib.rs:1020:13 [INFO] [stdout] | [INFO] [stdout] 1020 | debug_assert!(self.idx >= JSIDX_OFFSET, "free of stack slot {}", self.idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use std::prelude::v1::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `crate::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:31:12 [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #147319 [INFO] [stdout] = note: `#[warn(ambiguous_panic_imports)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [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: direct cast of function item into an integer [INFO] [stdout] --> src/convert/closures.rs:59:47 [INFO] [stdout] | [INFO] [stdout] 59 | inform($invoke::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / stack_closures! { [INFO] [stdout] 124 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 125 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 126 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 132 | | (8 invoke8 invoke8_mut 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... [INFO] [stdout] 133 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 59 | inform($invoke::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/convert/closures.rs:113:51 [INFO] [stdout] | [INFO] [stdout] 113 | inform($invoke_mut::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / stack_closures! { [INFO] [stdout] 124 | | (0 invoke0 invoke0_mut) [INFO] [stdout] 125 | | (1 invoke1 invoke1_mut A a1 a2 a3 a4) [INFO] [stdout] 126 | | (2 invoke2 invoke2_mut A a1 a2 a3 a4 B b1 b2 b3 b4) [INFO] [stdout] ... | [INFO] [stdout] 132 | | (8 invoke8 invoke8_mut 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... [INFO] [stdout] 133 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stack_closures` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 113 | inform($invoke_mut::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/convert/closures.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | inform(invoke1_ref:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 182 | inform(invoke1_ref:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/convert/closures.rs:237:40 [INFO] [stdout] | [INFO] [stdout] 237 | inform(invoke1_mut_ref:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 237 | inform(invoke1_mut_ref:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:340:82 [INFO] [stdout] | [INFO] [stdout] 340 | super::__wbindgen_describe_closure(a as u32, b as u32, describe:: as u32) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 340 | super::__wbindgen_describe_closure(a as u32, b as u32, describe:: as *const () as u32) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:597:46 [INFO] [stdout] | [INFO] [stdout] 597 | inform(invoke::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [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] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 597 | inform(invoke::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:615:47 [INFO] [stdout] | [INFO] [stdout] 615 | inform(destroy::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [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] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 615 | inform(destroy::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:655:46 [INFO] [stdout] | [INFO] [stdout] 655 | inform(invoke::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [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] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 655 | inform(invoke::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:669:47 [INFO] [stdout] | [INFO] [stdout] 669 | inform(destroy::<$($var,)* R> as u32); [INFO] [stdout] | ^^^^^^ [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] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 669 | inform(destroy::<$($var,)* R> as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:790:31 [INFO] [stdout] | [INFO] [stdout] 790 | inform(invoke:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 790 | inform(invoke:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:801:32 [INFO] [stdout] | [INFO] [stdout] 801 | inform(destroy:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 801 | inform(destroy:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:837:31 [INFO] [stdout] | [INFO] [stdout] 837 | inform(invoke:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 837 | inform(invoke:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/closure.rs:848:32 [INFO] [stdout] | [INFO] [stdout] 848 | inform(destroy:: as u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 848 | inform(destroy:: as *const () as u32); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic-wasm-bindgen v0.2.87 (/opt/rustwide/workdir) [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] [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[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/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/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/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/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/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: 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[E0433]: cannot find module or crate `wasm_bindgen` in this scope [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/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[E0433]: cannot find type `JsValue` in this scope [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[E0425]: 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[E0425]: 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[E0425]: 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] 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 2026-03-21; consider upgrading it if it is out of date [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] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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] [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/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] [stderr] error: could not compile `ic-wasm-bindgen` (test "must_use") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ic-wasm-bindgen` (test "std-crate-no-std-dep") due to 7 previous errors [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 `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] [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] running `Command { std: "docker" "inspect" "8009c1e9285d76e678c99c5808189eed71cc9fca234d09e11e107472834cbec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8009c1e9285d76e678c99c5808189eed71cc9fca234d09e11e107472834cbec1", kill_on_drop: false }` [INFO] [stdout] 8009c1e9285d76e678c99c5808189eed71cc9fca234d09e11e107472834cbec1