[INFO] fetching crate substrate-wasmtime 0.19.0... [INFO] testing substrate-wasmtime-0.19.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate substrate-wasmtime 0.19.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate substrate-wasmtime 0.19.0 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 167 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.3) [INFO] [stderr] Adding wasmparser v0.59.0 (available: v0.239.0) [INFO] [stderr] Adding wasmtime-environ v0.19.0 (available: v37.0.1) [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wat v1.239.0 [INFO] [stderr] Downloaded scroll_derive v0.10.5 [INFO] [stderr] Downloaded zstd-safe v2.0.6+zstd.1.4.7 [INFO] [stderr] Downloaded zstd v0.5.4+zstd.1.4.7 [INFO] [stderr] Downloaded wasm-encoder v0.239.0 [INFO] [stderr] Downloaded scroll v0.10.2 [INFO] [stderr] Downloaded cranelift-frontend v0.66.0 [INFO] [stderr] Downloaded cranelift-native v0.66.0 [INFO] [stderr] Downloaded iter-enum v0.2.7 [INFO] [stderr] Downloaded lightbeam v0.19.0 [INFO] [stderr] Downloaded unsafe-any v0.4.2 [INFO] [stderr] Downloaded wasmtime-environ v0.19.0 [INFO] [stderr] Downloaded capstone v0.6.0 [INFO] [stderr] Downloaded object v0.19.0 [INFO] [stderr] Downloaded wasmtime-profiling v0.19.0 [INFO] [stderr] Downloaded wast v239.0.0 [INFO] [stderr] Downloaded wasmparser v0.57.0 [INFO] [stderr] Downloaded wasmtime-jit v0.19.0 [INFO] [stderr] Downloaded region v2.2.0 [INFO] [stderr] Downloaded wasmparser v0.59.0 [INFO] [stderr] Downloaded dynasmrt v0.5.2 [INFO] [stderr] Downloaded directories v2.0.2 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.66.0 [INFO] [stderr] Downloaded regalloc v0.0.27 [INFO] [stderr] Downloaded more-asserts v0.2.2 [INFO] [stderr] Downloaded zstd-sys v1.4.18+zstd.1.4.7 [INFO] [stderr] Downloaded ittapi-rs v0.1.6 [INFO] [stderr] Downloaded capstone-sys v0.10.0 [INFO] [stderr] Downloaded raw-cpuid v7.0.4 [INFO] [stderr] Downloaded wasmtime-obj v0.19.0 [INFO] [stderr] Downloaded typemap v0.3.3 [INFO] [stderr] Downloaded cranelift-wasm v0.66.0 [INFO] [stderr] Downloaded cranelift-bforest v0.66.0 [INFO] [stderr] Downloaded cranelift-entity v0.66.0 [INFO] [stderr] Downloaded owning_ref v0.4.1 [INFO] [stderr] Downloaded wasmtime-debug v0.19.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.66.0 [INFO] [stderr] Downloaded target-lexicon v0.10.0 [INFO] [stderr] Downloaded wasmtime-runtime v0.19.0 [INFO] [stderr] Downloaded leb128fmt v0.1.0 [INFO] [stderr] Downloaded staticvec v0.10.8 [INFO] [stderr] Downloaded dynasm v0.5.2 [INFO] [stderr] Downloaded cranelift-codegen v0.66.0 [INFO] [stderr] Downloaded wasmparser v0.239.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21fb5661974ddc8e1f02f18c146367ea96271effd93da9585dd61316c7d0d2b6 [INFO] running `Command { std: "docker" "start" "-a" "21fb5661974ddc8e1f02f18c146367ea96271effd93da9585dd61316c7d0d2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21fb5661974ddc8e1f02f18c146367ea96271effd93da9585dd61316c7d0d2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fb5661974ddc8e1f02f18c146367ea96271effd93da9585dd61316c7d0d2b6", kill_on_drop: false }` [INFO] [stdout] 21fb5661974ddc8e1f02f18c146367ea96271effd93da9585dd61316c7d0d2b6 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99a879855f802d246d15388dc2da98b8b51a28805499c14f3688020029506896 [INFO] running `Command { std: "docker" "start" "-a" "99a879855f802d246d15388dc2da98b8b51a28805499c14f3688020029506896", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cranelift-codegen-shared v0.66.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regalloc v0.0.27 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling zstd-safe v2.0.6+zstd.1.4.7 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling wasmparser v0.59.0 [INFO] [stderr] Compiling wasmtime-environ v0.19.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling zstd-sys v1.4.18+zstd.1.4.7 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling more-asserts v0.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling raw-cpuid v7.0.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling file-per-thread-logger v0.1.6 [INFO] [stderr] Compiling wasmtime-runtime v0.19.0 [INFO] [stderr] Compiling wasmparser v0.57.0 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling wasm-encoder v0.239.0 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling cranelift-entity v0.66.0 [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 bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling wast v239.0.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [INFO] [stderr] Compiling wat v1.239.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/caccb4d0368bd918ef6668af8e13834d07040417/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/caccb4d0368bd918ef6668af8e13834d07040417/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" "99a879855f802d246d15388dc2da98b8b51a28805499c14f3688020029506896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99a879855f802d246d15388dc2da98b8b51a28805499c14f3688020029506896", kill_on_drop: false }` [INFO] [stdout] 99a879855f802d246d15388dc2da98b8b51a28805499c14f3688020029506896