[INFO] fetching crate substrate-wasmtime 0.19.0... [INFO] testing substrate-wasmtime-0.19.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate substrate-wasmtime 0.19.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate substrate-wasmtime 0.19.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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.0) [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9929928006f2de7b86f9865c94e003580405a7334921abc06e7892e0974b2fc0 [INFO] running `Command { std: "docker" "start" "-a" "9929928006f2de7b86f9865c94e003580405a7334921abc06e7892e0974b2fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9929928006f2de7b86f9865c94e003580405a7334921abc06e7892e0974b2fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9929928006f2de7b86f9865c94e003580405a7334921abc06e7892e0974b2fc0", kill_on_drop: false }` [INFO] [stdout] 9929928006f2de7b86f9865c94e003580405a7334921abc06e7892e0974b2fc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51a1fa9d51e62c309fb6a675000ef673ea2d29d13f014b7293bb674bd3e1b072 [INFO] running `Command { std: "docker" "start" "-a" "51a1fa9d51e62c309fb6a675000ef673ea2d29d13f014b7293bb674bd3e1b072", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling find-msvc-tools v0.1.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 indexmap v1.9.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regalloc v0.0.27 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling zstd-safe v2.0.6+zstd.1.4.7 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling wasmparser v0.59.0 [INFO] [stderr] Compiling wasmtime-environ v0.19.0 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling more-asserts v0.2.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling wasm-encoder v0.238.0 [INFO] [stderr] Compiling wasmparser v0.57.0 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zstd-sys v1.4.18+zstd.1.4.7 [INFO] [stderr] Compiling wasmtime-runtime v0.19.0 [INFO] [stderr] Compiling raw-cpuid v7.0.4 [INFO] [stderr] Compiling wast v238.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling file-per-thread-logger v0.1.6 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cranelift-entity v0.66.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Compiling cranelift-bforest v0.66.0 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling wat v1.238.0 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [INFO] [stderr] Compiling cranelift-frontend v0.66.0 [INFO] [stderr] Compiling cranelift-native v0.66.0 [INFO] [stderr] Compiling cranelift-wasm v0.66.0 [INFO] [stderr] Compiling zstd v0.5.4+zstd.1.4.7 [INFO] [stderr] Compiling wasmtime-debug v0.19.0 [INFO] [stderr] Compiling wasmtime-profiling v0.19.0 [INFO] [stderr] Compiling wasmtime-obj v0.19.0 [INFO] [stderr] Compiling wasmtime-jit v0.19.0 [INFO] [stderr] Compiling 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: 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)]` (part of `#[warn(unused)]`) 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/b83b707f97d809763b7861afa7638871f3339a33/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/b83b707f97d809763b7861afa7638871f3339a33/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" "51a1fa9d51e62c309fb6a675000ef673ea2d29d13f014b7293bb674bd3e1b072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a1fa9d51e62c309fb6a675000ef673ea2d29d13f014b7293bb674bd3e1b072", kill_on_drop: false }` [INFO] [stdout] 51a1fa9d51e62c309fb6a675000ef673ea2d29d13f014b7293bb674bd3e1b072