[INFO] fetching crate vvm 0.1.0... [INFO] testing vvm-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate vvm 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate vvm 0.1.0 [INFO] finished tweaking crates.io crate vvm 0.1.0 [INFO] tweaked toml for crates.io crate vvm 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vvm 0.1.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 152 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.4.0 (available: v0.8.0) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding hex-literal v0.2.2 (available: v1.0.0) [INFO] [stderr] Adding parking_lot v0.9.0 (available: v0.12.4) [INFO] [stderr] Adding rustc-hex v1.0.0 (available: v2.1.0) [INFO] [stderr] Adding tetsy-keccak-hash v0.4.0 (available: v0.7.1) [INFO] [stderr] Adding tetsy-util-mem v0.3.0 (available: v0.9.1) [INFO] [stderr] Adding vapory-types v0.8.0 (available: v0.11.1) [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 bit-vec v0.4.4 [INFO] [stderr] Downloaded hex-literal-impl v0.2.3 [INFO] [stderr] Downloaded hex-literal v0.2.2 [INFO] [stderr] Downloaded tetsy-rlp v0.4.5 [INFO] [stderr] Downloaded vapbloom v0.8.0 [INFO] [stderr] Downloaded bit-set v0.4.0 [INFO] [stderr] Downloaded vapjson v0.1.0 [INFO] [stderr] Downloaded vapory-types v0.8.0 [INFO] [stderr] Downloaded tetsy-impl-rlp v0.2.0 [INFO] [stderr] Downloaded patricia-trie-vapory v0.1.1 [INFO] [stderr] Downloaded uint-crate v0.8.1 [INFO] [stderr] Downloaded tetsy-trie-db v0.19.2 [INFO] [stderr] Downloaded tetsy-keccak-hash v0.4.0 [INFO] [stderr] Downloaded elastic-array v0.10.3 [INFO] [stderr] Downloaded tetsy-util-mem v0.3.0 [INFO] [stderr] Downloaded tetsy-bytes v0.1.4 [INFO] [stderr] Downloaded tetsy-scale-codec v1.3.0 [INFO] [stderr] Downloaded tetsy-impl-serde v0.2.2 [INFO] [stderr] Downloaded tetsy-primitive-types v0.6.0 [INFO] [stderr] Downloaded rustc-hex v1.0.0 [INFO] [stderr] Downloaded tetsy-fixed-hash v0.5.0 [INFO] [stderr] Downloaded memory-cache v0.1.0 [INFO] [stderr] Downloaded tetsy-plain-hasher v0.2.1 [INFO] [stderr] Downloaded tetsy-keccak-hasher v0.1.1 [INFO] [stderr] Downloaded tetsy-vm v0.1.0 [INFO] [stderr] Downloaded tetsy-impl-codec v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 42db53d351814190286ce0a138665fba5d6501564bd88fe4afe9af266c314597 [INFO] running `Command { std: "docker" "start" "-a" "42db53d351814190286ce0a138665fba5d6501564bd88fe4afe9af266c314597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42db53d351814190286ce0a138665fba5d6501564bd88fe4afe9af266c314597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42db53d351814190286ce0a138665fba5d6501564bd88fe4afe9af266c314597", kill_on_drop: false }` [INFO] [stdout] 42db53d351814190286ce0a138665fba5d6501564bd88fe4afe9af266c314597 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e194fd8f5d0657c5581ef1f6ebf4a936c42afbadd87e192c9db71d1c4b73673b [INFO] running `Command { std: "docker" "start" "-a" "e194fd8f5d0657c5581ef1f6ebf4a936c42afbadd87e192c9db71d1c4b73673b", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling tetsy-rlp v0.4.5 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling tetsy-impl-rlp v0.2.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling uint-crate v0.8.1 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling ahash v0.2.19 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tetsy-hash-db v0.15.3 [INFO] [stderr] Compiling tetsy-plain-hasher v0.2.1 [INFO] [stderr] Compiling lru v0.4.3 [INFO] [stderr] Compiling elastic-array v0.10.3 [INFO] [stderr] Compiling tetsy-bytes v0.1.4 [INFO] [stderr] Compiling rustc-hex v1.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling tetsy-fixed-hash v0.5.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling tetsy-trie-db v0.19.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling tetsy-util-mem-derive v0.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tetsy-scale-codec v1.3.0 [INFO] [stderr] Compiling tetsy-impl-serde v0.2.2 [INFO] [stderr] Compiling vapbloom v0.8.0 [INFO] [stderr] Compiling tetsy-impl-codec v0.4.1 [INFO] [stderr] Compiling tetsy-primitive-types v0.6.0 [INFO] [stderr] Compiling vapory-types v0.8.0 [INFO] [stderr] Compiling tetsy-keccak-hash v0.4.0 [INFO] [stderr] Compiling tetsy-keccak-hasher v0.1.1 [INFO] [stderr] Compiling tetsy-util-mem v0.3.0 [INFO] [stderr] Compiling vapjson v0.1.0 [INFO] [stderr] Compiling patricia-trie-vapory v0.1.1 [INFO] [stderr] Compiling memory-cache v0.1.0 [INFO] [stderr] Compiling tetsy-vm v0.1.0 [INFO] [stderr] Compiling vvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `code_address`, `action_type`, and `params_type` are never read [INFO] [stdout] --> src/interpreter/mod.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 114 | struct InterpreterParams { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 115 | /// Address of currently executed code. [INFO] [stdout] 116 | pub code_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub action_type: ActionType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 138 | /// Param types encoding [INFO] [stdout] 139 | pub params_type: ParamsType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpreterParams` has a derived impl for the trait `Debug`, 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: panic message is not a string literal [INFO] [stdout] --> src/interpreter/mod.rs:627:18 [INFO] [stdout] | [INFO] [stdout] 627 | _ => panic!(format!("Unexpected instruction {:?} in CALL branch.", instruction)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 627 - _ => panic!(format!("Unexpected instruction {:?} in CALL branch.", instruction)) [INFO] [stdout] 627 + _ => panic!("Unexpected instruction {:?} in CALL branch.", instruction) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.45s [INFO] running `Command { std: "docker" "inspect" "e194fd8f5d0657c5581ef1f6ebf4a936c42afbadd87e192c9db71d1c4b73673b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e194fd8f5d0657c5581ef1f6ebf4a936c42afbadd87e192c9db71d1c4b73673b", kill_on_drop: false }` [INFO] [stdout] e194fd8f5d0657c5581ef1f6ebf4a936c42afbadd87e192c9db71d1c4b73673b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5402386dcf53a28ba7b1090b663f17c193f8bcb4024dcfdccb9c24b2849a24ec [INFO] running `Command { std: "docker" "start" "-a" "5402386dcf53a28ba7b1090b663f17c193f8bcb4024dcfdccb9c24b2849a24ec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stdout] warning: fields `code_address`, `action_type`, and `params_type` are never read [INFO] [stdout] --> src/interpreter/mod.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 114 | struct InterpreterParams { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 115 | /// Address of currently executed code. [INFO] [stdout] 116 | pub code_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub action_type: ActionType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 138 | /// Param types encoding [INFO] [stdout] 139 | pub params_type: ParamsType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpreterParams` has a derived impl for the trait `Debug`, 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: panic message is not a string literal [INFO] [stdout] --> src/interpreter/mod.rs:627:18 [INFO] [stdout] | [INFO] [stdout] 627 | _ => panic!(format!("Unexpected instruction {:?} in CALL branch.", instruction)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 627 - _ => panic!(format!("Unexpected instruction {:?} in CALL branch.", instruction)) [INFO] [stdout] 627 + _ => panic!("Unexpected instruction {:?} in CALL branch.", instruction) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling hex-literal-impl v0.2.3 [INFO] [stderr] Compiling hex-literal v0.2.2 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling vvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `factory` [INFO] [stdout] --> src/interpreter/mod.rs:1225:6 [INFO] [stdout] | [INFO] [stdout] 1225 | use factory::Factory; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `crate::factory` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `factory` [INFO] [stdout] --> src/tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use factory::Factory; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `crate::factory` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vm` [INFO] [stdout] --> src/tests.rs:721:3 [INFO] [stdout] | [INFO] [stdout] 721 | vm::Error::BadInstruction { instruction: 0xaf } => (), [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `vm`, use `cargo add vm` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 17 + use crate::tests::tetsy_vm::Error; [INFO] [stdout] | [INFO] [stdout] 17 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 17 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 17 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 721 - vm::Error::BadInstruction { instruction: 0xaf } => (), [INFO] [stdout] 721 + Error::BadInstruction { instruction: 0xaf } => (), [INFO] [stdout] | [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 `vvm` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "5402386dcf53a28ba7b1090b663f17c193f8bcb4024dcfdccb9c24b2849a24ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5402386dcf53a28ba7b1090b663f17c193f8bcb4024dcfdccb9c24b2849a24ec", kill_on_drop: false }` [INFO] [stdout] 5402386dcf53a28ba7b1090b663f17c193f8bcb4024dcfdccb9c24b2849a24ec