[INFO] fetching crate wasm_component_layer 0.1.18... [INFO] testing wasm_component_layer-0.1.18 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate wasm_component_layer 0.1.18 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate wasm_component_layer 0.1.18 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate wasm_component_layer 0.1.18 [INFO] tweaked toml for crates.io crate wasm_component_layer 0.1.18 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasm_component_layer 0.1.18 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] crate crates.io crate wasm_component_layer 0.1.18 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmi_runtime_layer v0.31.0 [INFO] [stderr] Downloaded wasmtime-component-util v18.0.4 [INFO] [stderr] Downloaded wasmtime-types v18.0.4 [INFO] [stderr] Downloaded wasm-metadata v0.10.20 [INFO] [stderr] Downloaded wasm_runtime_layer v0.4.0 [INFO] [stderr] Downloaded indexmap v2.3.0 [INFO] [stderr] Downloaded wasm-encoder v0.39.0 [INFO] [stderr] Downloaded wasmtime-environ v18.0.4 [INFO] [stderr] Downloaded wit-parser v0.13.2 [INFO] [stderr] Downloaded wasmparser v0.119.0 [INFO] [stderr] Downloaded serde_json v1.0.122 [INFO] [stderr] Downloaded wit-component v0.19.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc68d877273afdf2d10473292792ccd315e821d5558a3eefef0c33c9d73effda [INFO] running `Command { std: "docker" "start" "-a" "bc68d877273afdf2d10473292792ccd315e821d5558a3eefef0c33c9d73effda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc68d877273afdf2d10473292792ccd315e821d5558a3eefef0c33c9d73effda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc68d877273afdf2d10473292792ccd315e821d5558a3eefef0c33c9d73effda", kill_on_drop: false }` [INFO] [stdout] bc68d877273afdf2d10473292792ccd315e821d5558a3eefef0c33c9d73effda [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=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] cd698041d5664ec330a0a5d8e4c719e3aeeec1eef4f39fa2e21db0b9b5513ba9 [INFO] running `Command { std: "docker" "start" "-a" "cd698041d5664ec330a0a5d8e4c719e3aeeec1eef4f39fa2e21db0b9b5513ba9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling spdx v0.10.6 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling wasm-encoder v0.41.2 [INFO] [stderr] Compiling wasm-encoder v0.39.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling wasmtime-component-util v18.0.4 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling wasm_runtime_layer v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling wasmparser v0.121.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling wasmparser v0.119.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling cranelift-entity v0.105.4 [INFO] [stderr] Compiling wit-parser v0.13.2 [INFO] [stderr] Compiling wasmprinter v0.2.80 [INFO] [stderr] Compiling wasmtime-types v18.0.4 [INFO] [stderr] Compiling wasm-metadata v0.10.20 [INFO] [stderr] Compiling wit-component v0.19.1 [INFO] [stderr] Compiling wasmtime-environ v18.0.4 [INFO] [stderr] Compiling wasm_component_layer v0.1.18 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary parentheses around closure body [INFO] [stdout] --> src/types.rs:343:37 [INFO] [stdout] | [INFO] [stdout] 343 | .filter(|&(_, x, _val)| (&**x == name.as_ref())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 343 - .filter(|&(_, x, _val)| (&**x == name.as_ref())) [INFO] [stdout] 343 + .filter(|&(_, x, _val)| &**x == name.as_ref()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around closure body [INFO] [stdout] --> src/values.rs:358:37 [INFO] [stdout] | [INFO] [stdout] 358 | .filter(|&(name, _val)| (&**name == field.as_ref())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 358 - .filter(|&(name, _val)| (&**name == field.as_ref())) [INFO] [stdout] 358 + .filter(|&(name, _val)| &**name == field.as_ref()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2091:19 [INFO] [stdout] | [INFO] [stdout] 2091 | fn as_context(&self) -> StoreContext; [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: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2091 | fn as_context(&self) -> StoreContext<'_, Self::UserState, Self::Engine>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2097:23 [INFO] [stdout] | [INFO] [stdout] 2097 | fn as_context_mut(&mut self) -> StoreContextMut; [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] 2097 | fn as_context_mut(&mut self) -> StoreContextMut<'_, Self::UserState, Self::Engine>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2105:19 [INFO] [stdout] | [INFO] [stdout] 2105 | fn as_context(&self) -> StoreContext { [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] 2105 | fn as_context(&self) -> StoreContext<'_, Self::UserState, Self::Engine> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2113:23 [INFO] [stdout] | [INFO] [stdout] 2113 | fn as_context_mut(&mut self) -> StoreContextMut { [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] 2113 | fn as_context_mut(&mut self) -> StoreContextMut<'_, Self::UserState, Self::Engine> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2125:19 [INFO] [stdout] | [INFO] [stdout] 2125 | fn as_context(&self) -> StoreContext { [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] 2125 | fn as_context(&self) -> StoreContext<'_, Self::UserState, Self::Engine> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2135:19 [INFO] [stdout] | [INFO] [stdout] 2135 | fn as_context(&self) -> StoreContext { [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] 2135 | fn as_context(&self) -> StoreContext<'_, Self::UserState, Self::Engine> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2141:23 [INFO] [stdout] | [INFO] [stdout] 2141 | fn as_context_mut(&mut self) -> StoreContextMut { [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] 2141 | fn as_context_mut(&mut self) -> StoreContextMut<'_, Self::UserState, Self::Engine> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2151:19 [INFO] [stdout] | [INFO] [stdout] 2151 | fn as_context(&self) -> StoreContext { [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] 2151 | fn as_context(&self) -> StoreContext<'_, Self::UserState, Self::Engine> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2163:19 [INFO] [stdout] | [INFO] [stdout] 2163 | fn as_context(&self) -> StoreContext { [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] 2163 | fn as_context(&self) -> StoreContext<'_, Self::UserState, Self::Engine> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2171:23 [INFO] [stdout] | [INFO] [stdout] 2171 | fn as_context_mut(&mut self) -> StoreContextMut { [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] 2171 | fn as_context_mut(&mut self) -> StoreContextMut<'_, Self::UserState, Self::Engine> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm_component_layer` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "cd698041d5664ec330a0a5d8e4c719e3aeeec1eef4f39fa2e21db0b9b5513ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd698041d5664ec330a0a5d8e4c719e3aeeec1eef4f39fa2e21db0b9b5513ba9", kill_on_drop: false }` [INFO] [stdout] cd698041d5664ec330a0a5d8e4c719e3aeeec1eef4f39fa2e21db0b9b5513ba9