[INFO] cloning repository https://github.com/sarayu-namineni/blockchain_rep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sarayu-namineni/blockchain_rep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsarayu-namineni%2Fblockchain_rep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsarayu-namineni%2Fblockchain_rep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 751ee72a7940b9f55f4a1a8f8123a6ff13ad7c91 [INFO] testing sarayu-namineni/blockchain_rep against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsarayu-namineni%2Fblockchain_rep" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sarayu-namineni/blockchain_rep [INFO] finished tweaking git repo https://github.com/sarayu-namineni/blockchain_rep [INFO] tweaked toml for git repo https://github.com/sarayu-namineni/blockchain_rep written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sarayu-namineni/blockchain_rep on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sarayu-namineni/blockchain_rep 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8f842478273dab910da6a840b861c60c914a44ff246135cb4e50b43de4b4e1a [INFO] running `Command { std: "docker" "start" "-a" "f8f842478273dab910da6a840b861c60c914a44ff246135cb4e50b43de4b4e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8f842478273dab910da6a840b861c60c914a44ff246135cb4e50b43de4b4e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f842478273dab910da6a840b861c60c914a44ff246135cb4e50b43de4b4e1a", kill_on_drop: false }` [INFO] [stdout] f8f842478273dab910da6a840b861c60c914a44ff246135cb4e50b43de4b4e1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40d3e02c7357e783c0e3926275856f5d2a1c320fe1108f3ebfc75d1b9469489f [INFO] running `Command { std: "docker" "start" "-a" "40d3e02c7357e783c0e3926275856f5d2a1c320fe1108f3ebfc75d1b9469489f", kill_on_drop: false }` [INFO] [stderr] Compiling blockchain_rep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/blockchain/BlockchainLLImpl.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_block_at_index(_: Self, index: u64) -> BlockPointer { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn generate(lambda : Self::SecurityParam) -> Self::PublicParams { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn encode(pp : Self::PublicParams, func : Self::Func) -> (Self::ProveKey, Self::VerifyKey) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn encode(pp : Self::PublicParams, func : Self::Func) -> (Self::ProveKey, Self::VerifyKey) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | fn prove(pk : Self::ProveKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof... [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn prove(pk : Self::ProveKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_0` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | fn prove(pk : Self::ProveKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:69 [INFO] [stdout] | [INFO] [stdout] 24 | ...::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `omega` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:89 [INFO] [stdout] | [INFO] [stdout] 24 | ...utput, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof) -> Self::Proof { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_omega` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pi_i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:112 [INFO] [stdout] | [INFO] [stdout] 24 | ...put, omega : Self::Witness, pi_i : Self::Proof) -> Self::Proof { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pi_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vk` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_0` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:28:71 [INFO] [stdout] | [INFO] [stdout] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pi_i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:28:91 [INFO] [stdout] | [INFO] [stdout] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pi_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | fn insert(rt : Self::Hash, e: Self::Leaf) -> Self::Hash { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn insert(rt : Self::Hash, e: Self::Leaf) -> Self::Hash { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(rt: Self::Hash, e: Self::Leaf, pi: Self::Proof) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(rt: Self::Hash, e: Self::Leaf, pi: Self::Proof) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pi` [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(rt: Self::Hash, e: Self::Leaf, pi: Self::Proof) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/blockchain/Blockchain.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockPointer` is never used [INFO] [stdout] --> src/blockchain/Blockchain.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum BlockPointer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Blockchain` is never used [INFO] [stdout] --> src/blockchain/Blockchain.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Blockchain { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Hash` is never used [INFO] [stdout] --> src/blockchain/BlockchainLLImpl.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Hash = (); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Epoch` is never used [INFO] [stdout] --> src/blockchain/BlockchainLLImpl.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Epoch = (); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockData` is never constructed [INFO] [stdout] --> src/blockchain/BlockchainLLImpl.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BlockData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockchainLLImpl` is never constructed [INFO] [stdout] --> src/blockchain/BlockchainLLImpl.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BlockchainLLImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IVC` is never used [INFO] [stdout] --> src/ivc/IVC.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IVC { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DummyIVCImpl` is never constructed [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct DummyIVCImpl; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MerkleTree` is never used [INFO] [stdout] --> src/merkle_tree/MerkleTree.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait MerkleTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MerkleTreeImpl` is never constructed [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct MerkleTreeImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Blockchain` should have a snake case name [INFO] [stdout] --> src/blockchain/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Blockchain; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `blockchain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `BlockchainLLImpl` should have a snake case name [INFO] [stdout] --> src/blockchain/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod BlockchainLLImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `blockchain_llimpl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IVC` should have a snake case name [INFO] [stdout] --> src/ivc/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod IVC; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ivc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DummyIVCImpl` should have a snake case name [INFO] [stdout] --> src/ivc/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod DummyIVCImpl; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `dummy_ivcimpl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MerkleTree` should have a snake case name [INFO] [stdout] --> src/merkle_tree/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod MerkleTree; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MerkleTreeImpl` should have a snake case name [INFO] [stdout] --> src/merkle_tree/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod MerkleTreeImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "40d3e02c7357e783c0e3926275856f5d2a1c320fe1108f3ebfc75d1b9469489f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d3e02c7357e783c0e3926275856f5d2a1c320fe1108f3ebfc75d1b9469489f", kill_on_drop: false }` [INFO] [stdout] 40d3e02c7357e783c0e3926275856f5d2a1c320fe1108f3ebfc75d1b9469489f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e97572d4ef979780e7db1eb2a80cbcfcadcf378abffb2c22ce519c63e2dead6 [INFO] running `Command { std: "docker" "start" "-a" "3e97572d4ef979780e7db1eb2a80cbcfcadcf378abffb2c22ce519c63e2dead6", kill_on_drop: false }` [INFO] [stderr] Compiling blockchain_rep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/blockchain/BlockchainLLImpl.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_block_at_index(_: Self, index: u64) -> BlockPointer { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/BlockchainLLImpl.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut blockchain = BlockchainLLImpl::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blockchain` [INFO] [stdout] --> src/blockchain/BlockchainLLImpl.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut blockchain = BlockchainLLImpl::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `added_block` [INFO] [stdout] --> src/blockchain/BlockchainLLImpl.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let added_block = BlockchainLLImpl::get_block_at_index(blockchain, 0); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_added_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn generate(lambda : Self::SecurityParam) -> Self::PublicParams { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn encode(pp : Self::PublicParams, func : Self::Func) -> (Self::ProveKey, Self::VerifyKey) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn encode(pp : Self::PublicParams, func : Self::Func) -> (Self::ProveKey, Self::VerifyKey) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | fn prove(pk : Self::ProveKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof... [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn prove(pk : Self::ProveKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_0` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | fn prove(pk : Self::ProveKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:69 [INFO] [stdout] | [INFO] [stdout] 24 | ...::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `omega` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:89 [INFO] [stdout] | [INFO] [stdout] 24 | ...utput, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof) -> Self::Proof { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_omega` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pi_i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:24:112 [INFO] [stdout] | [INFO] [stdout] 24 | ...put, omega : Self::Witness, pi_i : Self::Proof) -> Self::Proof { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pi_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vk` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_0` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:28:71 [INFO] [stdout] | [INFO] [stdout] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pi_i` [INFO] [stdout] --> src/ivc/DummyIVCImpl.rs:28:91 [INFO] [stdout] | [INFO] [stdout] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pi_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | fn insert(rt : Self::Hash, e: Self::Leaf) -> Self::Hash { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn insert(rt : Self::Hash, e: Self::Leaf) -> Self::Hash { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(rt: Self::Hash, e: Self::Leaf, pi: Self::Proof) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(rt: Self::Hash, e: Self::Leaf, pi: Self::Proof) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pi` [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(rt: Self::Hash, e: Self::Leaf, pi: Self::Proof) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `next` are never read [INFO] [stdout] --> src/blockchain/Blockchain.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 2 | pub data: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | pub next: BlockPointer, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/blockchain/Blockchain.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | Cons(Box>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Cons(Box>), [INFO] [stdout] 8 + Cons(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash` and `epoch` are never read [INFO] [stdout] --> src/blockchain/BlockchainLLImpl.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BlockData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | hash: Hash, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | epoch: Epoch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode` is never used [INFO] [stdout] --> src/ivc/IVC.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IVC { [INFO] [stdout] | --- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn encode(pp : Self::PublicParams, func : Self::Func) -> (Self::ProveKey, Self::VerifyKey); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MerkleTree` is never used [INFO] [stdout] --> src/merkle_tree/MerkleTree.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait MerkleTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MerkleTreeImpl` is never constructed [INFO] [stdout] --> src/merkle_tree/MerkleTreeImpl.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct MerkleTreeImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Blockchain` should have a snake case name [INFO] [stdout] --> src/blockchain/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Blockchain; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `blockchain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `BlockchainLLImpl` should have a snake case name [INFO] [stdout] --> src/blockchain/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod BlockchainLLImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `blockchain_llimpl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IVC` should have a snake case name [INFO] [stdout] --> src/ivc/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod IVC; [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ivc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DummyIVCImpl` should have a snake case name [INFO] [stdout] --> src/ivc/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod DummyIVCImpl; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `dummy_ivcimpl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MerkleTree` should have a snake case name [INFO] [stdout] --> src/merkle_tree/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod MerkleTree; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MerkleTreeImpl` should have a snake case name [INFO] [stdout] --> src/merkle_tree/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod MerkleTreeImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "3e97572d4ef979780e7db1eb2a80cbcfcadcf378abffb2c22ce519c63e2dead6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e97572d4ef979780e7db1eb2a80cbcfcadcf378abffb2c22ce519c63e2dead6", kill_on_drop: false }` [INFO] [stdout] 3e97572d4ef979780e7db1eb2a80cbcfcadcf378abffb2c22ce519c63e2dead6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4c6eed754bc384c331ca5398bb043face17b9e02c43e03d10bfb6a952abe859 [INFO] running `Command { std: "docker" "start" "-a" "e4c6eed754bc384c331ca5398bb043face17b9e02c43e03d10bfb6a952abe859", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/blockchain/BlockchainLLImpl.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | fn get_block_at_index(_: Self, index: u64) -> BlockPointer { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/blockchain/BlockchainLLImpl.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | let mut blockchain = BlockchainLLImpl::new(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blockchain` [INFO] [stderr] --> src/blockchain/BlockchainLLImpl.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | let mut blockchain = BlockchainLLImpl::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `added_block` [INFO] [stderr] --> src/blockchain/BlockchainLLImpl.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | let added_block = BlockchainLLImpl::get_block_at_index(blockchain, 0); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_added_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lambda` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | fn generate(lambda : Self::SecurityParam) -> Self::PublicParams { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pp` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | fn encode(pp : Self::PublicParams, func : Self::Func) -> (Self::ProveKey, Self::VerifyKey) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `func` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:20:37 [INFO] [stderr] | [INFO] [stderr] 20 | fn encode(pp : Self::PublicParams, func : Self::Func) -> (Self::ProveKey, Self::VerifyKey) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pk` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | fn prove(pk : Self::ProveKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof... [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | fn prove(pk : Self::ProveKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof... [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z_0` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:24:49 [INFO] [stderr] | [INFO] [stderr] 24 | fn prove(pk : Self::ProveKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof... [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z_i` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:24:69 [INFO] [stderr] | [INFO] [stderr] 24 | ...::Index, z_0 : Self::Output, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof) -> Self::Proof { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `omega` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:24:89 [INFO] [stderr] | [INFO] [stderr] 24 | ...utput, z_i : Self::Output, omega : Self::Witness, pi_i : Self::Proof) -> Self::Proof { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_omega` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pi_i` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:24:112 [INFO] [stderr] | [INFO] [stderr] 24 | ...put, omega : Self::Witness, pi_i : Self::Proof) -> Self::Proof { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pi_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vk` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_vk` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:28:34 [INFO] [stderr] | [INFO] [stderr] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z_0` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:28:51 [INFO] [stderr] | [INFO] [stderr] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z_i` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:28:71 [INFO] [stderr] | [INFO] [stderr] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_z_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pi_i` [INFO] [stderr] --> src/ivc/DummyIVCImpl.rs:28:91 [INFO] [stderr] | [INFO] [stderr] 28 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pi_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rt` [INFO] [stderr] --> src/merkle_tree/MerkleTreeImpl.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | fn insert(rt : Self::Hash, e: Self::Leaf) -> Self::Hash { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/merkle_tree/MerkleTreeImpl.rs:10:32 [INFO] [stderr] | [INFO] [stderr] 10 | fn insert(rt : Self::Hash, e: Self::Leaf) -> Self::Hash { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rt` [INFO] [stderr] --> src/merkle_tree/MerkleTreeImpl.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | fn verify(rt: Self::Hash, e: Self::Leaf, pi: Self::Proof) -> bool { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/merkle_tree/MerkleTreeImpl.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | fn verify(rt: Self::Hash, e: Self::Leaf, pi: Self::Proof) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pi` [INFO] [stderr] --> src/merkle_tree/MerkleTreeImpl.rs:14:46 [INFO] [stderr] | [INFO] [stderr] 14 | fn verify(rt: Self::Hash, e: Self::Leaf, pi: Self::Proof) -> bool { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_pi` [INFO] [stderr] [INFO] [stderr] warning: fields `data` and `next` are never read [INFO] [stderr] --> src/blockchain/Blockchain.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Block { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 2 | pub data: T, [INFO] [stderr] | ^^^^ [INFO] [stderr] 3 | pub next: BlockPointer, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/blockchain/Blockchain.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | Cons(Box>), [INFO] [stderr] | ---- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 8 - Cons(Box>), [INFO] [stderr] 8 + Cons(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `hash` and `epoch` are never read [INFO] [stderr] --> src/blockchain/BlockchainLLImpl.rs:11:2 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct BlockData { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 11 | hash: Hash, [INFO] [stderr] | ^^^^ [INFO] [stderr] 12 | epoch: Epoch, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `encode` is never used [INFO] [stderr] --> src/ivc/IVC.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 1 | pub trait IVC { [INFO] [stderr] | --- associated function in this trait [INFO] [stderr] ... [INFO] [stderr] 13 | fn encode(pp : Self::PublicParams, func : Self::Func) -> (Self::ProveKey, Self::VerifyKey); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `MerkleTree` is never used [INFO] [stderr] --> src/merkle_tree/MerkleTree.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub trait MerkleTree { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MerkleTreeImpl` is never constructed [INFO] [stderr] --> src/merkle_tree/MerkleTreeImpl.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct MerkleTreeImpl; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: module `Blockchain` should have a snake case name [INFO] [stderr] --> src/blockchain/mod.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub mod Blockchain; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `blockchain` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: module `BlockchainLLImpl` should have a snake case name [INFO] [stderr] --> src/blockchain/mod.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub mod BlockchainLLImpl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `blockchain_llimpl` [INFO] [stderr] [INFO] [stderr] warning: module `IVC` should have a snake case name [INFO] [stderr] --> src/ivc/mod.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub mod IVC; [INFO] [stderr] | ^^^ help: convert the identifier to snake case (notice the capitalization): `ivc` [INFO] [stderr] [INFO] [stderr] warning: module `DummyIVCImpl` should have a snake case name [INFO] [stderr] --> src/ivc/mod.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub mod DummyIVCImpl; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `dummy_ivcimpl` [INFO] [stderr] [INFO] [stderr] warning: module `MerkleTree` should have a snake case name [INFO] [stderr] --> src/merkle_tree/mod.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub mod MerkleTree; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree` [INFO] [stderr] [INFO] [stderr] warning: module `MerkleTreeImpl` should have a snake case name [INFO] [stderr] --> src/merkle_tree/mod.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub mod MerkleTreeImpl; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `merkle_tree_impl` [INFO] [stderr] [INFO] [stderr] warning: `blockchain_rep` (bin "blockchain_rep" test) generated 35 warnings (run `cargo fix --bin "blockchain_rep" -p blockchain_rep --tests` to apply 23 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/blockchain_rep-8876e9e8bc78b4bb) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test blockchain::BlockchainLLImpl::tests::test_new ... ok [INFO] [stdout] test ivc::DummyIVCImpl::tests::test_generate ... ok [INFO] [stdout] test ivc::DummyIVCImpl::tests::test_prove ... ok [INFO] [stdout] test ivc::DummyIVCImpl::tests::test_verify ... ok [INFO] [stdout] test blockchain::BlockchainLLImpl::tests::test_add_and_get_block ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e4c6eed754bc384c331ca5398bb043face17b9e02c43e03d10bfb6a952abe859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c6eed754bc384c331ca5398bb043face17b9e02c43e03d10bfb6a952abe859", kill_on_drop: false }` [INFO] [stdout] e4c6eed754bc384c331ca5398bb043face17b9e02c43e03d10bfb6a952abe859