[INFO] cloning repository https://github.com/zgershkoff/rchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zgershkoff/rchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzgershkoff%2Frchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzgershkoff%2Frchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0498185670c66c29b2015a82b4327ee6e5b324aa [INFO] testing zgershkoff/rchain against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzgershkoff%2Frchain" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zgershkoff/rchain on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zgershkoff/rchain [INFO] finished tweaking git repo https://github.com/zgershkoff/rchain [INFO] tweaked toml for git repo https://github.com/zgershkoff/rchain written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate git repo https://github.com/zgershkoff/rchain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0375df43bf056c7afd19b311f75722051ffc980151ec80258954bc600c634a38 [INFO] running `Command { std: "docker" "start" "-a" "0375df43bf056c7afd19b311f75722051ffc980151ec80258954bc600c634a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0375df43bf056c7afd19b311f75722051ffc980151ec80258954bc600c634a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0375df43bf056c7afd19b311f75722051ffc980151ec80258954bc600c634a38", kill_on_drop: false }` [INFO] [stdout] 0375df43bf056c7afd19b311f75722051ffc980151ec80258954bc600c634a38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5322cb97ff89a6687cbd18a74394f76fd79fedcafff3788d29bb37d5c69daed [INFO] running `Command { std: "docker" "start" "-a" "b5322cb97ff89a6687cbd18a74394f76fd79fedcafff3788d29bb37d5c69daed", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling blake2 v0.9.1 [INFO] [stderr] Compiling rchain_v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/rchain/mod.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | / /// Warning! This is failable, if the number of blocks [INFO] [stdout] 333 | | /// exceeds a 128-bit integer. [INFO] [stdout] 334 | | /// This example chain is unlikely to have 10^40 transactions. [INFO] [stdout] 335 | | /// (That would take 10^30 years at 10 transactions per sec.) [INFO] [stdout] 336 | | /// For chains that big, it makes more sense to read from [INFO] [stdout] 337 | | /// newest block to oldest, with measures to truncate the [INFO] [stdout] 338 | | /// amount of data required. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] 339 | result.push((u128::try_from(i).unwrap(), transaction)) [INFO] [stdout] | ------------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut res = bc.append_block(genesis); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | res = bc.append_block(block3); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/rchain/mod.rs:428:52 [INFO] [stdout] | [INFO] [stdout] 428 | TransactionData::CreateUserAccount(account) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_transactions` [INFO] [stdout] --> src/rchain/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pending_transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChangeStoreValue` [INFO] [stdout] --> src/rchain/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | ChangeStoreValue { key: String, value: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TransactionData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `store` [INFO] [stdout] --> src/rchain/mod.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | store: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Account` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc_type` [INFO] [stdout] --> src/rchain/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | acc_type: AccountType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Account` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Contract` [INFO] [stdout] --> src/rchain/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | Contract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AccountType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Validator` [INFO] [stdout] --> src/rchain/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / Validator { [INFO] [stdout] 145 | | // Again, enum members in rust may store additional data [INFO] [stdout] 146 | | correctly_validated_blocks: u128, [INFO] [stdout] 147 | | incorrectly_validated_blocks: u128, [INFO] [stdout] 148 | | you_get_the_idea: bool, [INFO] [stdout] 149 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `AccountType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_nonce` [INFO] [stdout] --> src/rchain/mod.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn set_nonce(&mut self, nonce: u128) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.42s [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b5322cb97ff89a6687cbd18a74394f76fd79fedcafff3788d29bb37d5c69daed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5322cb97ff89a6687cbd18a74394f76fd79fedcafff3788d29bb37d5c69daed", kill_on_drop: false }` [INFO] [stdout] b5322cb97ff89a6687cbd18a74394f76fd79fedcafff3788d29bb37d5c69daed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6a3d568ae7ac8784c116081d3cb3714440abe4babbb0f4fcc142c0ebc957d0b [INFO] running `Command { std: "docker" "start" "-a" "e6a3d568ae7ac8784c116081d3cb3714440abe4babbb0f4fcc142c0ebc957d0b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rchain_v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/rchain/mod.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | / /// Warning! This is failable, if the number of blocks [INFO] [stdout] 333 | | /// exceeds a 128-bit integer. [INFO] [stdout] 334 | | /// This example chain is unlikely to have 10^40 transactions. [INFO] [stdout] 335 | | /// (That would take 10^30 years at 10 transactions per sec.) [INFO] [stdout] 336 | | /// For chains that big, it makes more sense to read from [INFO] [stdout] 337 | | /// newest block to oldest, with measures to truncate the [INFO] [stdout] 338 | | /// amount of data required. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] 339 | result.push((u128::try_from(i).unwrap(), transaction)) [INFO] [stdout] | ------------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut res = bc.append_block(genesis); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | res = bc.append_block(block3); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/rchain/mod.rs:428:52 [INFO] [stdout] | [INFO] [stdout] 428 | TransactionData::CreateUserAccount(account) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_transactions` [INFO] [stdout] --> src/rchain/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pending_transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChangeStoreValue` [INFO] [stdout] --> src/rchain/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | ChangeStoreValue { key: String, value: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TransactionData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `store` [INFO] [stdout] --> src/rchain/mod.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | store: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Account` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc_type` [INFO] [stdout] --> src/rchain/mod.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | acc_type: AccountType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Account` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Contract` [INFO] [stdout] --> src/rchain/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | Contract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AccountType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Validator` [INFO] [stdout] --> src/rchain/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / Validator { [INFO] [stdout] 145 | | // Again, enum members in rust may store additional data [INFO] [stdout] 146 | | correctly_validated_blocks: u128, [INFO] [stdout] 147 | | incorrectly_validated_blocks: u128, [INFO] [stdout] 148 | | you_get_the_idea: bool, [INFO] [stdout] 149 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `AccountType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rchain/mod.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_nonce` [INFO] [stdout] --> src/rchain/mod.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn set_nonce(&mut self, nonce: u128) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 30.54s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rchain_v1-8278432d4a070988) [INFO] running `Command { std: "docker" "inspect" "e6a3d568ae7ac8784c116081d3cb3714440abe4babbb0f4fcc142c0ebc957d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a3d568ae7ac8784c116081d3cb3714440abe4babbb0f4fcc142c0ebc957d0b", kill_on_drop: false }` [INFO] [stdout] e6a3d568ae7ac8784c116081d3cb3714440abe4babbb0f4fcc142c0ebc957d0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a04b232657de1083f5ab4b99150551e1036e02a3f27daeb469de0cc6a6382da [INFO] running `Command { std: "docker" "start" "-a" "0a04b232657de1083f5ab4b99150551e1036e02a3f27daeb469de0cc6a6382da", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/rchain/mod.rs:332:21 [INFO] [stderr] | [INFO] [stderr] 332 | / /// Warning! This is failable, if the number of blocks [INFO] [stderr] 333 | | /// exceeds a 128-bit integer. [INFO] [stderr] 334 | | /// This example chain is unlikely to have 10^40 transactions. [INFO] [stderr] 335 | | /// (That would take 10^30 years at 10 transactions per sec.) [INFO] [stderr] 336 | | /// For chains that big, it makes more sense to read from [INFO] [stderr] 337 | | /// newest block to oldest, with measures to truncate the [INFO] [stderr] 338 | | /// amount of data required. [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] 339 | result.push((u128::try_from(i).unwrap(), transaction)) [INFO] [stderr] | ------------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: value assigned to `res` is never read [INFO] [stderr] --> src/main.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let mut res = bc.append_block(genesis); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `res` is never read [INFO] [stderr] --> src/main.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | res = bc.append_block(block3); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `account` [INFO] [stderr] --> src/rchain/mod.rs:428:52 [INFO] [stderr] | [INFO] [stderr] 428 | TransactionData::CreateUserAccount(account) => {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pending_transactions` [INFO] [stderr] --> src/rchain/mod.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | pending_transactions: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/rchain/mod.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ChangeStoreValue` [INFO] [stderr] --> src/rchain/mod.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | ChangeStoreValue { key: String, value: String }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TransactionData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/rchain/mod.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(Clone, Debug, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `store` [INFO] [stderr] --> src/rchain/mod.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | store: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Account` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/rchain/mod.rs:116:10 [INFO] [stderr] | [INFO] [stderr] 116 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `acc_type` [INFO] [stderr] --> src/rchain/mod.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | acc_type: AccountType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Account` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/rchain/mod.rs:116:10 [INFO] [stderr] | [INFO] [stderr] 116 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Contract` [INFO] [stderr] --> src/rchain/mod.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | Contract, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AccountType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/rchain/mod.rs:131:10 [INFO] [stderr] | [INFO] [stderr] 131 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Validator` [INFO] [stderr] --> src/rchain/mod.rs:144:5 [INFO] [stderr] | [INFO] [stderr] 144 | / Validator { [INFO] [stderr] 145 | | // Again, enum members in rust may store additional data [INFO] [stderr] 146 | | correctly_validated_blocks: u128, [INFO] [stderr] 147 | | incorrectly_validated_blocks: u128, [INFO] [stderr] 148 | | you_get_the_idea: bool, [INFO] [stderr] 149 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `AccountType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/rchain/mod.rs:131:10 [INFO] [stderr] | [INFO] [stderr] 131 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_nonce` [INFO] [stderr] --> src/rchain/mod.rs:360:12 [INFO] [stderr] | [INFO] [stderr] 360 | pub fn set_nonce(&mut self, nonce: u128) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rchain_v1` (bin "rchain_v1" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.64s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rchain_v1-8278432d4a070988) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0a04b232657de1083f5ab4b99150551e1036e02a3f27daeb469de0cc6a6382da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a04b232657de1083f5ab4b99150551e1036e02a3f27daeb469de0cc6a6382da", kill_on_drop: false }` [INFO] [stdout] 0a04b232657de1083f5ab4b99150551e1036e02a3f27daeb469de0cc6a6382da