[INFO] fetching crate wasmer-emscripten-near 1.0.1... [INFO] testing wasmer-emscripten-near-1.0.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wasmer-emscripten-near 1.0.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate wasmer-emscripten-near 1.0.1 [INFO] finished tweaking crates.io crate wasmer-emscripten-near 1.0.1 [INFO] tweaked toml for crates.io crate wasmer-emscripten-near 1.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmer-emscripten-near 1.0.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding wasmer-near v1.0.1 (available: v2.4.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded target-lexicon v0.11.2 [INFO] [stderr] Downloaded wasmer-near v1.0.1 [INFO] [stderr] Downloaded wasmer-types-near v1.0.1 [INFO] [stderr] Downloaded wasmer-engine-near v1.0.1 [INFO] [stderr] Downloaded wasmer_enumset v1.0.1 [INFO] [stderr] Downloaded wasmer-vm-near v1.0.1 [INFO] [stderr] Downloaded raw-cpuid v7.0.4 [INFO] [stderr] Downloaded memmap2 v0.2.3 [INFO] [stderr] Downloaded region v2.2.0 [INFO] [stderr] Downloaded wasmer_enumset_derive v0.5.0 [INFO] [stderr] Downloaded wasmer-derive-near v1.0.1 [INFO] [stderr] Downloaded cranelift-entity v0.68.0 [INFO] [stderr] Downloaded wasmer-compiler-near v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbff555951f7880478bcb2d084ab4c7c9f9669ad8639f6a5365b9f1785c37d4f [INFO] running `Command { std: "docker" "start" "-a" "cbff555951f7880478bcb2d084ab4c7c9f9669ad8639f6a5365b9f1785c37d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbff555951f7880478bcb2d084ab4c7c9f9669ad8639f6a5365b9f1785c37d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbff555951f7880478bcb2d084ab4c7c9f9669ad8639f6a5365b9f1785c37d4f", kill_on_drop: false }` [INFO] [stdout] cbff555951f7880478bcb2d084ab4c7c9f9669ad8639f6a5365b9f1785c37d4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09dd58af61ac5cf55c98bf364ba0c4777fe36bc7e2eb89f4b61366736bc17592 [INFO] running `Command { std: "docker" "start" "-a" "09dd58af61ac5cf55c98bf364ba0c4777fe36bc7e2eb89f4b61366736bc17592", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling wasmer-vm-near v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling target-lexicon v0.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling more-asserts v0.2.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling raw-cpuid v7.0.4 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling memmap2 v0.2.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling cranelift-entity v0.68.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling wasmer-types-near v1.0.1 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling wasmer-derive-near v1.0.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling wasmer_enumset_derive v0.5.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling wasmer_enumset v1.0.1 [INFO] [stderr] Compiling wasmer-compiler-near v1.0.1 [INFO] [stderr] Compiling wasmer-engine-near v1.0.1 [INFO] [stderr] Compiling wasmer-near v1.0.1 [INFO] [stderr] Compiling wasmer-emscripten-near v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/env/unix/mod.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/env/unix/mod.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | let mut pg = prev_guest.deref_mut(ctx.memory(0)).unwrap().get_mut(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | unused_mut, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/env/unix/mod.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | let mut current_guest_node = current_guest_node_ptr [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/syscalls/unix.rs:687:17 [INFO] [stdout] | [INFO] [stdout] 687 | let mut address_mut = unsafe { address.deref_mut(ctx.memory(0)).unwrap().get_mut() }; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/env/mod.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn get_emscripten_data(ctx: &EmEnv) -> MutexGuard { [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] 56 | pub(crate) fn get_emscripten_data(ctx: &EmEnv) -> MutexGuard<'_, EmscriptenData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-emscripten-near` (lib) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "09dd58af61ac5cf55c98bf364ba0c4777fe36bc7e2eb89f4b61366736bc17592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09dd58af61ac5cf55c98bf364ba0c4777fe36bc7e2eb89f4b61366736bc17592", kill_on_drop: false }` [INFO] [stdout] 09dd58af61ac5cf55c98bf364ba0c4777fe36bc7e2eb89f4b61366736bc17592