[INFO] fetching crate wasm-instrument 0.4.0... [INFO] building wasm-instrument-0.4.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate wasm-instrument 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate wasm-instrument 0.4.0 [INFO] finished tweaking crates.io crate wasm-instrument 0.4.0 [INFO] tweaked toml for crates.io crate wasm-instrument 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasm-instrument 0.4.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 140 packages to latest compatible versions [INFO] [stderr] Adding binaryen v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding wasmi v0.20.0 (available: v0.51.1) [INFO] [stderr] Adding wasmparser v0.95.0 (available: v0.239.0) [INFO] [stderr] Adding wasmprinter v0.2.80 (available: v0.239.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmprinter v0.2.80 [INFO] [stderr] Downloaded wasmi_arena v0.1.0 [INFO] [stderr] Downloaded indexmap-nostd v0.4.0 [INFO] [stderr] Downloaded binaryen v0.12.1 [INFO] [stderr] Downloaded cmake v0.1.54 [INFO] [stderr] Downloaded wasmi v0.20.0 [INFO] [stderr] Downloaded wasmi_core v0.5.0 [INFO] [stderr] Downloaded wasmparser-nostd v0.91.0 [INFO] [stderr] Downloaded wasmparser v0.121.2 [INFO] [stderr] Downloaded binaryen-sys v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1fac9f520a3b4a1f7c0b92e1daedf2f2edf2d27c0a84fcc23ae17a26c883cf4 [INFO] running `Command { std: "docker" "start" "-a" "e1fac9f520a3b4a1f7c0b92e1daedf2f2edf2d27c0a84fcc23ae17a26c883cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1fac9f520a3b4a1f7c0b92e1daedf2f2edf2d27c0a84fcc23ae17a26c883cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1fac9f520a3b4a1f7c0b92e1daedf2f2edf2d27c0a84fcc23ae17a26c883cf4", kill_on_drop: false }` [INFO] [stdout] e1fac9f520a3b4a1f7c0b92e1daedf2f2edf2d27c0a84fcc23ae17a26c883cf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cc764b8d662e3b06cb88a556c4bdc3678b162c80ac7f7dd17e2e32b452afe48 [INFO] running `Command { std: "docker" "start" "-a" "4cc764b8d662e3b06cb88a556c4bdc3678b162c80ac7f7dd17e2e32b452afe48", kill_on_drop: false }` [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling wasm-instrument v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/stack_limiter/thunk.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(features = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 1 - #[cfg(not(features = "std"))] [INFO] [stdout] 1 + #[cfg(not(feature = "std"))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/stack_limiter/thunk.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(features = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 8 - #[cfg(features = "std")] [INFO] [stdout] 8 + #[cfg(feature = "std")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/gas_metering/mod.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | for functions in s.functions_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 313 - for functions in s.functions_mut() { [INFO] [stdout] 313 + while let Some(functions) = s.functions_mut() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 313 - for functions in s.functions_mut() { [INFO] [stdout] 313 + if let Some(functions) = s.functions_mut() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.89s [INFO] running `Command { std: "docker" "inspect" "4cc764b8d662e3b06cb88a556c4bdc3678b162c80ac7f7dd17e2e32b452afe48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc764b8d662e3b06cb88a556c4bdc3678b162c80ac7f7dd17e2e32b452afe48", kill_on_drop: false }` [INFO] [stdout] 4cc764b8d662e3b06cb88a556c4bdc3678b162c80ac7f7dd17e2e32b452afe48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec52e366e4248d9cb97059c5fa162ed4b81546d367efc446676f8d49c4a8998d [INFO] running `Command { std: "docker" "start" "-a" "ec52e366e4248d9cb97059c5fa162ed4b81546d367efc446676f8d49c4a8998d", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling wasm-encoder v0.239.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling indexmap-nostd v0.4.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling wasmparser v0.121.2 [INFO] [stderr] Compiling wasmi_core v0.5.0 [INFO] [stderr] Compiling wast v239.0.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wasmparser-nostd v0.91.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling wasmi_arena v0.1.0 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling wasmparser v0.95.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling binaryen-sys v0.12.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/stack_limiter/thunk.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(features = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 1 - #[cfg(not(features = "std"))] [INFO] [stdout] 1 + #[cfg(not(feature = "std"))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/stack_limiter/thunk.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(features = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 8 - #[cfg(features = "std")] [INFO] [stdout] 8 + #[cfg(feature = "std")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/gas_metering/mod.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | for functions in s.functions_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 313 - for functions in s.functions_mut() { [INFO] [stdout] 313 + while let Some(functions) = s.functions_mut() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 313 - for functions in s.functions_mut() { [INFO] [stdout] 313 + if let Some(functions) = s.functions_mut() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmi v0.20.0 [INFO] [stderr] Compiling wasmprinter v0.2.80 [INFO] [stderr] Compiling wat v1.239.0 [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "ec52e366e4248d9cb97059c5fa162ed4b81546d367efc446676f8d49c4a8998d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec52e366e4248d9cb97059c5fa162ed4b81546d367efc446676f8d49c4a8998d", kill_on_drop: false }` [INFO] [stdout] ec52e366e4248d9cb97059c5fa162ed4b81546d367efc446676f8d49c4a8998d