[INFO] fetching crate polkavm-linker 0.29.0... [INFO] testing polkavm-linker-0.29.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate polkavm-linker 0.29.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate polkavm-linker 0.29.0 [INFO] finished tweaking crates.io crate polkavm-linker 0.29.0 [INFO] tweaked toml for crates.io crate polkavm-linker 0.29.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate polkavm-linker 0.29.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate polkavm-linker 0.29.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 020bcbcba89e8492565f79e46f85ea08cf600b8278062da5a4160d5ed4caf693 [INFO] running `Command { std: "docker" "start" "-a" "020bcbcba89e8492565f79e46f85ea08cf600b8278062da5a4160d5ed4caf693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "020bcbcba89e8492565f79e46f85ea08cf600b8278062da5a4160d5ed4caf693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "020bcbcba89e8492565f79e46f85ea08cf600b8278062da5a4160d5ed4caf693", kill_on_drop: false }` [INFO] [stdout] 020bcbcba89e8492565f79e46f85ea08cf600b8278062da5a4160d5ed4caf693 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 395e701c87528d32d101d9e91700af32cdf4b856ca2562ffb1c2894486449ca2 [INFO] running `Command { std: "docker" "start" "-a" "395e701c87528d32d101d9e91700af32cdf4b856ca2562ffb1c2894486449ca2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling polkavm-common v0.29.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling regalloc2 v0.9.3 [INFO] [stderr] Compiling object v0.36.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling polkavm-linker v0.29.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/elf.rs:479:28 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn section_by_name(&self, name: &str) -> impl ExactSizeIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same 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: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 479 | pub fn section_by_name(&self, name: &str) -> impl ExactSizeIterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fast_range_map.rs:447:19 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn remove(&mut self, key: Range) -> RemoveIter [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] 447 | pub fn remove(&mut self, key: Range) -> RemoveIter<'_, V> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program_from_elf.rs:10010:24 [INFO] [stdout] | [INFO] [stdout] 10010 | fn simplify_path(path: &str) -> Cow { [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] 10010 | fn simplify_path(path: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reader_wrapper.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn list(&self) -> core::cell::Ref<[u64]> { [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] 30 | pub fn list(&self) -> core::cell::Ref<'_, [u64]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.18s [INFO] running `Command { std: "docker" "inspect" "395e701c87528d32d101d9e91700af32cdf4b856ca2562ffb1c2894486449ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395e701c87528d32d101d9e91700af32cdf4b856ca2562ffb1c2894486449ca2", kill_on_drop: false }` [INFO] [stdout] 395e701c87528d32d101d9e91700af32cdf4b856ca2562ffb1c2894486449ca2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d695070cd0888a310366af2e81b931d459e8c585c638aa06867c0493b6d17c7b [INFO] running `Command { std: "docker" "start" "-a" "d695070cd0888a310366af2e81b931d459e8c585c638aa06867c0493b6d17c7b", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling regalloc2 v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling polkavm-linker v0.29.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.3.1 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/elf.rs:479:28 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn section_by_name(&self, name: &str) -> impl ExactSizeIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same 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: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 479 | pub fn section_by_name(&self, name: &str) -> impl ExactSizeIterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fast_range_map.rs:447:19 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn remove(&mut self, key: Range) -> RemoveIter [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] 447 | pub fn remove(&mut self, key: Range) -> RemoveIter<'_, V> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program_from_elf.rs:10010:24 [INFO] [stdout] | [INFO] [stdout] 10010 | fn simplify_path(path: &str) -> Cow { [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] 10010 | fn simplify_path(path: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reader_wrapper.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn list(&self) -> core::cell::Ref<[u64]> { [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] 30 | pub fn list(&self) -> core::cell::Ref<'_, [u64]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5574:9 [INFO] [stdout] | [INFO] [stdout] 5574 | use polkavm::Reg; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm_disassembler` [INFO] [stdout] --> src/program_from_elf.rs:5851:36 [INFO] [stdout] | [INFO] [stdout] 5851 | let mut disassembler = polkavm_disassembler::Disassembler::new(&blob, polkavm_disassembler::DisassemblyFormat::Guest).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `polkavm_disassembler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm_disassembler`, use `cargo add polkavm_disassembler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm_disassembler` [INFO] [stdout] --> src/program_from_elf.rs:5851:83 [INFO] [stdout] | [INFO] [stdout] 5851 | let mut disassembler = polkavm_disassembler::Disassembler::new(&blob, polkavm_disassembler::DisassemblyFormat::Guest).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `polkavm_disassembler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm_disassembler`, use `cargo add polkavm_disassembler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5859:37 [INFO] [stdout] | [INFO] [stdout] 5859 | config.set_backend(Some(polkavm::BackendKind::Interpreter)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5860:26 [INFO] [stdout] | [INFO] [stdout] 5860 | let engine = polkavm::Engine::new(&config).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5861:37 [INFO] [stdout] | [INFO] [stdout] 5861 | let mut module_config = polkavm::ModuleConfig::default(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5862:49 [INFO] [stdout] | [INFO] [stdout] 5862 | module_config.set_gas_metering(Some(polkavm::GasMeteringKind::Sync)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5863:26 [INFO] [stdout] | [INFO] [stdout] 5863 | let module = polkavm::Module::from_blob(&engine, &module_config, blob).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5963:44 [INFO] [stdout] | [INFO] [stdout] 5963 | assert!(matches!(i.run().unwrap(), polkavm::InterruptKind::Finished)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5858:30 [INFO] [stdout] | [INFO] [stdout] 5858 | let mut config = polkavm::Config::from_env().unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5573 + use crate::Config; [INFO] [stdout] | [INFO] [stdout] 5573 + use proptest::test_runner::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5858 - let mut config = polkavm::Config::from_env().unwrap(); [INFO] [stdout] 5858 + let mut config = Config::from_env().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5866:30 [INFO] [stdout] | [INFO] [stdout] 5866 | instance.set_reg(polkavm::Reg::RA, polkavm::RETURN_TO_HOST); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5573 + use crate::program_from_elf::Reg; [INFO] [stdout] | [INFO] [stdout] 5573 + use crate::program_from_elf::program::Reg; [INFO] [stdout] | [INFO] [stdout] 5573 + use crate::riscv::Reg; [INFO] [stdout] | [INFO] [stdout] 5573 + use polkavm_common::program::Reg; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5866 - instance.set_reg(polkavm::Reg::RA, polkavm::RETURN_TO_HOST); [INFO] [stdout] 5866 + instance.set_reg(Reg::RA, polkavm::RETURN_TO_HOST); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5679:78 [INFO] [stdout] | [INFO] [stdout] 5679 | let target = *program_counter_to_section_target.get(&polkavm::ProgramCounter(target)).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5708:83 [INFO] [stdout] | [INFO] [stdout] 5708 | let target_true = *program_counter_to_section_target.get(&polkavm::ProgramCounter(target)).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5866:48 [INFO] [stdout] | [INFO] [stdout] 5866 | instance.set_reg(polkavm::Reg::RA, polkavm::RETURN_TO_HOST); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5587:19 [INFO] [stdout] | [INFO] [stdout] 5587 | instance: polkavm::RawInstance, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5967:53 [INFO] [stdout] | [INFO] [stdout] 5967 | move |a: &mut polkavm::RawInstance, b: &mut polkavm::RawInstance| { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5967:23 [INFO] [stdout] | [INFO] [stdout] 5967 | move |a: &mut polkavm::RawInstance, b: &mut polkavm::RawInstance| { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5966:118 [INFO] [stdout] | [INFO] [stdout] 5966 | fn expect_regs(regs: impl IntoIterator + Clone) -> impl FnMut(&mut polkavm::RawInstance, &mut polkavm::RawInstance) { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5875:38 [INFO] [stdout] | [INFO] [stdout] 5875 | mut run: impl FnMut(&mut polkavm::RawInstance), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5876:40 [INFO] [stdout] | [INFO] [stdout] 5876 | mut check: impl FnMut(&mut polkavm::RawInstance, &mut polkavm::RawInstance), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5876:67 [INFO] [stdout] | [INFO] [stdout] 5876 | mut check: impl FnMut(&mut polkavm::RawInstance, &mut polkavm::RawInstance), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5953:34 [INFO] [stdout] | [INFO] [stdout] 5953 | run: impl FnMut(&mut polkavm::RawInstance), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5954:36 [INFO] [stdout] | [INFO] [stdout] 5954 | check: impl FnMut(&mut polkavm::RawInstance, &mut polkavm::RawInstance), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5954:63 [INFO] [stdout] | [INFO] [stdout] 5954 | check: impl FnMut(&mut polkavm::RawInstance, &mut polkavm::RawInstance), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5962:32 [INFO] [stdout] | [INFO] [stdout] 5962 | fn expect_finished(i: &mut polkavm::RawInstance) { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] --> src/program_from_elf.rs:5966:91 [INFO] [stdout] | [INFO] [stdout] 5966 | fn expect_regs(regs: impl IntoIterator + Clone) -> impl FnMut(&mut polkavm::RawInstance, &mut polkavm::RawInstance) { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `polkavm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `polkavm`, use `cargo add polkavm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `polkavm-linker` (lib test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "d695070cd0888a310366af2e81b931d459e8c585c638aa06867c0493b6d17c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d695070cd0888a310366af2e81b931d459e8c585c638aa06867c0493b6d17c7b", kill_on_drop: false }` [INFO] [stdout] d695070cd0888a310366af2e81b931d459e8c585c638aa06867c0493b6d17c7b