[INFO] cloning repository https://github.com/rlane/wasmer-bug-repro
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rlane/wasmer-bug-repro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlane%2Fwasmer-bug-repro", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlane%2Fwasmer-bug-repro'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fae99c41ad06c7e6e114bdad59bb63a17404b0c2
[INFO] testing rlane/wasmer-bug-repro/fae99c41ad06c7e6e114bdad59bb63a17404b0c2 against 1.83.0 for beta-1.84.0-4-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlane%2Fwasmer-bug-repro" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rlane/wasmer-bug-repro on toolchain 1.83.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rlane/wasmer-bug-repro
[INFO] finished tweaking git repo https://github.com/rlane/wasmer-bug-repro
[INFO] tweaked toml for git repo https://github.com/rlane/wasmer-bug-repro written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/rlane/wasmer-bug-repro already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wat v1.0.77
[INFO] [stderr]   Downloaded wasmer-compiler v4.2.2
[INFO] [stderr]   Downloaded wasmer-derive v4.2.2
[INFO] [stderr]   Downloaded wasm-encoder v0.35.0
[INFO] [stderr]   Downloaded wasmer-types v4.2.2
[INFO] [stderr]   Downloaded wasmer-vm v4.2.2
[INFO] [stderr]   Downloaded wasmer v4.2.2
[INFO] [stderr]   Downloaded wast v66.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31cd0428260c6fb1e6aa90455677d93a7bbd91678189723b4b677570e9c12854
[INFO] running `Command { std: "docker" "start" "-a" "31cd0428260c6fb1e6aa90455677d93a7bbd91678189723b4b677570e9c12854", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31cd0428260c6fb1e6aa90455677d93a7bbd91678189723b4b677570e9c12854", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31cd0428260c6fb1e6aa90455677d93a7bbd91678189723b4b677570e9c12854", kill_on_drop: false }`
[INFO] [stdout] 31cd0428260c6fb1e6aa90455677d93a7bbd91678189723b4b677570e9c12854
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5fed430ce9bddd2e58eae217e4acb4df1373ab5488737ececf41a3539bbbd075
[INFO] running `Command { std: "docker" "start" "-a" "5fed430ce9bddd2e58eae217e4acb4df1373ab5488737ececf41a3539bbbd075", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.87
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling bumpalo v3.13.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling bytecheck v0.6.11
[INFO] [stderr]    Compiling wasm-bindgen v0.2.87
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling rend v0.4.1
[INFO] [stderr]    Compiling simdutf8 v0.1.4
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling rkyv v0.7.42
[INFO] [stderr]    Compiling thiserror v1.0.43
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling target-lexicon v0.12.12
[INFO] [stderr]    Compiling quote v1.0.31
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling syn v2.0.26
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling corosensei v0.1.4
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling gimli v0.27.3
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling seahash v4.1.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling backtrace v0.3.68
[INFO] [stderr]    Compiling object v0.31.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling more-asserts v0.2.2
[INFO] [stderr]    Compiling hashbrown v0.14.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling region v3.0.0
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling wasm-encoder v0.35.0
[INFO] [stderr]    Compiling memmap2 v0.6.2
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling self_cell v1.0.1
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.37
[INFO] [stderr]    Compiling shared-buffer v0.1.3
[INFO] [stderr]    Compiling addr2line v0.20.0
[INFO] [stderr]    Compiling wast v66.0.2
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.87
[INFO] [stderr]    Compiling darling_core v0.20.3
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.87
[INFO] [stderr]    Compiling thiserror-impl v1.0.43
[INFO] [stderr]    Compiling ptr_meta_derive v0.1.4
[INFO] [stderr]    Compiling bytecheck_derive v0.6.11
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.87
[INFO] [stderr]    Compiling darling_macro v0.20.3
[INFO] [stderr]    Compiling rkyv_derive v0.7.42
[INFO] [stderr]    Compiling enum-iterator-derive v0.7.0
[INFO] [stderr]    Compiling ptr_meta v0.1.4
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling wasmer-derive v4.2.2
[INFO] [stderr]    Compiling enum-iterator v0.7.0
[INFO] [stderr]    Compiling darling v0.20.3
[INFO] [stderr]    Compiling enumset_derive v0.8.1
[INFO] [stderr]    Compiling js-sys v0.3.64
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.7
[INFO] [stderr]    Compiling enumset v1.1.3
[INFO] [stderr]    Compiling wat v1.0.77
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.37
[INFO] [stderr]    Compiling web-sys v0.3.64
[INFO] [stderr]    Compiling wasm-bindgen-test v0.3.37
[INFO] [stderr]    Compiling wasmer-types v4.2.2
[INFO] [stderr]    Compiling wasmer-vm v4.2.2
[INFO] [stderr]    Compiling wasmer-compiler v4.2.2
[INFO] [stderr]    Compiling wasmer v4.2.2
[INFO] [stdout] error: `crate_type` within an `#![cfg_attr]` attribute is forbidden
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasmer-4.2.2/src/lib.rs:29:29
[INFO] [stdout]    |
[INFO] [stdout] 29 | #![cfg_attr(feature = "js", crate_type = "cdylib")]
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: The `js` feature must be enabled only for the `wasm32` target (either `wasm32-unknown-unknown` or `wasm32-wasi`).
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasmer-4.2.2/src/lib.rs:425:1
[INFO] [stdout]     |
[INFO] [stdout] 425 | / compile_error!(
[INFO] [stdout] 426 | |     "The `js` feature must be enabled only for the `wasm32` target (either `wasm32-unknown-unknown` or `wasm32-wasi`)."
[INFO] [stdout] 427 | | );
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `wasm_bindgen_downcast`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasmer-4.2.2/src/js/trap.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use wasm_bindgen_downcast::DowncastJS;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `wasm_bindgen_downcast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasmer-4.2.2/src/js/vm.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `serde`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasmer-4.2.2/src/js/vm.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 |     #[serde(rename = "byteLength")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `downcast_js` found for struct `trap::Trap` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasmer-4.2.2/src/js/trap.rs:81:26
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Trap {
[INFO] [stdout]    | --------------- function or associated item `downcast_js` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |         let trap = Trap::downcast_js(original).unwrap_or_else(|o| Trap {
[INFO] [stdout]    |                          ^^^^^^^^^^^ function or associated item not found in `trap::Trap`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `trap::Trap`, consider using `trap::Trap::user` which returns `trap::Trap`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasmer-4.2.2/src/js/trap.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn user(error: Box<dyn Error + Send + Sync>) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is a method `downcast` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasmer-4.2.2/src/js/trap.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn downcast<T: Error + 'static>(self) -> Result<T, Self> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_wasm_bindgen`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasmer-4.2.2/src/js/vm.rs:49:40
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let dummy: DummyBuffer = match serde_wasm_bindgen::from_value(self.memory.buffer()) {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `serde_wasm_bindgen`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let dummy: DummyBuffer = match wasm_bindgen::from_value(self.memory.buffer()) {
[INFO] [stdout]    |                                        ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasmer` (lib) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "5fed430ce9bddd2e58eae217e4acb4df1373ab5488737ececf41a3539bbbd075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fed430ce9bddd2e58eae217e4acb4df1373ab5488737ececf41a3539bbbd075", kill_on_drop: false }`
[INFO] [stdout] 5fed430ce9bddd2e58eae217e4acb4df1373ab5488737ececf41a3539bbbd075
