[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] building sarayu-namineni/blockchain_rep against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsarayu-namineni%2Fblockchain_rep" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sarayu-namineni/blockchain_rep on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f31ea98a5ed854fd9d6ea08f23d800238ceb5961283a444df1f6c33b434d5be [INFO] running `Command { std: "docker" "start" "-a" "4f31ea98a5ed854fd9d6ea08f23d800238ceb5961283a444df1f6c33b434d5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f31ea98a5ed854fd9d6ea08f23d800238ceb5961283a444df1f6c33b434d5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f31ea98a5ed854fd9d6ea08f23d800238ceb5961283a444df1f6c33b434d5be", kill_on_drop: false }` [INFO] [stdout] 4f31ea98a5ed854fd9d6ea08f23d800238ceb5961283a444df1f6c33b434d5be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d3f0c29ad7229a179c068266fd533fb3da792abf19d1f8df641a00984483bf2 [INFO] running `Command { std: "docker" "start" "-a" "7d3f0c29ad7229a179c068266fd533fb3da792abf19d1f8df641a00984483bf2", 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)]` 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 | ...elf::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 | ...::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: `_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 | ...Output, 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)]` 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: associated items `new`, `add_block`, and `get_block_at_index` are never used [INFO] [stdout] --> src/blockchain/Blockchain.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Blockchain { [INFO] [stdout] | ---------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | fn add_block(&mut self, data: Self::BlockData); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | fn get_block_at_index(_: Self, index: u64) -> BlockPointer; [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 functions `generate`, `encode`, `prove`, and `verify` are never used [INFO] [stdout] --> src/ivc/IVC.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IVC { [INFO] [stdout] | --- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn generate(lambda : Self::SecurityParam) -> Self::PublicParams; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | fn encode(pp : Self::PublicParams, func : Self::Func) -> (Self::ProveKey, Self::VerifyKey); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | 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] | ^^^^^ [INFO] [stdout] 15 | fn verify(vk : Self::VerifyKey, i : Self::Index, z_0 : Self::Output, z_i : Self::Output, pi_i : Self::Proof) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `insert` and `verify` are never used [INFO] [stdout] --> src/merkle_tree/MerkleTree.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait MerkleTree { [INFO] [stdout] | ---------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn insert(rt : Self::Hash, e: Self::Leaf) -> Self::Hash; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | fn verify(rt: Self::Hash, e: Self::Leaf, pi: Self::Proof) -> bool; [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)]` 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.10s [INFO] running `Command { std: "docker" "inspect" "7d3f0c29ad7229a179c068266fd533fb3da792abf19d1f8df641a00984483bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3f0c29ad7229a179c068266fd533fb3da792abf19d1f8df641a00984483bf2", kill_on_drop: false }` [INFO] [stdout] 7d3f0c29ad7229a179c068266fd533fb3da792abf19d1f8df641a00984483bf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d815e4891ebebee455855ed8690d3a4dc1ccfa2ed2c76d4babd83c1aebe6533 [INFO] running `Command { std: "docker" "start" "-a" "3d815e4891ebebee455855ed8690d3a4dc1ccfa2ed2c76d4babd83c1aebe6533", 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blockchain` [INFO] [stdout] --> src/blockchain/BlockchainLLImpl.rs:47:17 [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: 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)]` on by default [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 | ...elf::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 | ...::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: `_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 | ...Output, 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)]` 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: associated functions `insert` and `verify` are never used [INFO] [stdout] --> src/merkle_tree/MerkleTree.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait MerkleTree { [INFO] [stdout] | ---------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn insert(rt : Self::Hash, e: Self::Leaf) -> Self::Hash; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | fn verify(rt: Self::Hash, e: Self::Leaf, pi: Self::Proof) -> bool; [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)]` 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.26s [INFO] running `Command { std: "docker" "inspect" "3d815e4891ebebee455855ed8690d3a4dc1ccfa2ed2c76d4babd83c1aebe6533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d815e4891ebebee455855ed8690d3a4dc1ccfa2ed2c76d4babd83c1aebe6533", kill_on_drop: false }` [INFO] [stdout] 3d815e4891ebebee455855ed8690d3a4dc1ccfa2ed2c76d4babd83c1aebe6533