[INFO] fetching crate substrate-wasmtime 0.19.0... [INFO] checking substrate-wasmtime-0.19.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate substrate-wasmtime 0.19.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate substrate-wasmtime 0.19.0 [INFO] finished tweaking crates.io crate substrate-wasmtime 0.19.0 [INFO] tweaked toml for crates.io crate substrate-wasmtime 0.19.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate substrate-wasmtime 0.19.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 174 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.3) [INFO] [stderr] Adding region v2.2.0 (available: v3.0.2) [INFO] [stderr] Adding target-lexicon v0.10.0 (available: v0.13.2) [INFO] [stderr] Adding wasmparser v0.59.0 (available: v0.238.1) [INFO] [stderr] Adding wasmtime-environ v0.19.0 (available: v36.0.2) [INFO] [stderr] Adding wasmtime-jit v0.19.0 (available: v17.0.3) [INFO] [stderr] Adding wasmtime-profiling v0.19.0 (available: v0.29.0) [INFO] [stderr] Adding wasmtime-runtime v0.19.0 (available: v20.0.2) [INFO] [stderr] Adding zstd-sys v1.4.18+zstd.1.4.7 (available: v1.6.3+zstd.1.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bef0958578bec2ba2aa7a1734f3ddfa23e2dcea1f4a25f4561d91d6b20d749ae [INFO] running `Command { std: "docker" "start" "-a" "bef0958578bec2ba2aa7a1734f3ddfa23e2dcea1f4a25f4561d91d6b20d749ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bef0958578bec2ba2aa7a1734f3ddfa23e2dcea1f4a25f4561d91d6b20d749ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef0958578bec2ba2aa7a1734f3ddfa23e2dcea1f4a25f4561d91d6b20d749ae", kill_on_drop: false }` [INFO] [stdout] bef0958578bec2ba2aa7a1734f3ddfa23e2dcea1f4a25f4561d91d6b20d749ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b31d33aa1d50cdfe727585d90b08d8c26ec432e6368525cf19f58ae71489337b [INFO] running `Command { std: "docker" "start" "-a" "b31d33aa1d50cdfe727585d90b08d8c26ec432e6368525cf19f58ae71489337b", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.66.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking regalloc v0.0.27 [INFO] [stderr] Compiling zstd-safe v2.0.6+zstd.1.4.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking cranelift-entity v0.66.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking wasmparser v0.59.0 [INFO] [stderr] Compiling wasmtime-environ v0.19.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking cranelift-bforest v0.66.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking more-asserts v0.2.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling wasm-encoder v0.238.1 [INFO] [stderr] Checking wasmparser v0.57.0 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking leb128fmt v0.1.0 [INFO] [stderr] Checking file-per-thread-logger v0.1.6 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking wast v238.0.1 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Compiling zstd-sys v1.4.18+zstd.1.4.7 [INFO] [stderr] Compiling raw-cpuid v7.0.4 [INFO] [stderr] Compiling wasmtime-runtime v0.19.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [INFO] [stderr] Checking wat v1.238.1 [INFO] [stderr] Checking cranelift-frontend v0.66.0 [INFO] [stderr] Checking cranelift-native v0.66.0 [INFO] [stderr] Checking cranelift-wasm v0.66.0 [INFO] [stderr] Checking zstd v0.5.4+zstd.1.4.7 [INFO] [stderr] Checking wasmtime-debug v0.19.0 [INFO] [stderr] Checking wasmtime-profiling v0.19.0 [INFO] [stderr] Checking wasmtime-obj v0.19.0 [INFO] [stderr] Checking wasmtime-jit v0.19.0 [INFO] [stderr] Checking substrate-wasmtime v0.19.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/instance.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct Instance { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 130 | module: Module, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HostInfoKey` is never constructed [INFO] [stdout] --> src/runtime.rs:839:8 [INFO] [stdout] | [INFO] [stdout] 839 | struct HostInfoKey(VMExternRef); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/frame_info.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | let len = (**allocated).len(); [INFO] [stdout] | ^^----------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [VMFunctionBody]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[VMFunctionBody]` [INFO] [stdout] --> src/frame_info.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | let len = (**allocated).len(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 163 | let len = (&(**allocated)).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/runtime.rs:970:31 [INFO] [stdout] | [INFO] [stdout] 970 | let len = (**func).len(); [INFO] [stdout] | ^^-----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [VMFunctionBody]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[VMFunctionBody]` [INFO] [stdout] --> src/runtime.rs:970:31 [INFO] [stdout] | [INFO] [stdout] 970 | let len = (**func).len(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 970 | let len = (&(**func)).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `substrate-wasmtime` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `module` is never read [INFO] [stdout] --> src/instance.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct Instance { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 130 | module: Module, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HostInfoKey` is never constructed [INFO] [stdout] --> src/runtime.rs:839:8 [INFO] [stdout] | [INFO] [stdout] 839 | struct HostInfoKey(VMExternRef); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/frame_info.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | let len = (**allocated).len(); [INFO] [stdout] | ^^----------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [VMFunctionBody]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[VMFunctionBody]` [INFO] [stdout] --> src/frame_info.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | let len = (**allocated).len(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 163 | let len = (&(**allocated)).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/runtime.rs:970:31 [INFO] [stdout] | [INFO] [stdout] 970 | let len = (**func).len(); [INFO] [stdout] | ^^-----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [VMFunctionBody]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[VMFunctionBody]` [INFO] [stdout] --> src/runtime.rs:970:31 [INFO] [stdout] | [INFO] [stdout] 970 | let len = (**func).len(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 970 | let len = (&(**func)).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `substrate-wasmtime` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b31d33aa1d50cdfe727585d90b08d8c26ec432e6368525cf19f58ae71489337b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b31d33aa1d50cdfe727585d90b08d8c26ec432e6368525cf19f58ae71489337b", kill_on_drop: false }` [INFO] [stdout] b31d33aa1d50cdfe727585d90b08d8c26ec432e6368525cf19f58ae71489337b