[INFO] fetching crate rs_merkle 1.4.1... [INFO] checking rs_merkle-1.4.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate rs_merkle 1.4.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rs_merkle 1.4.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rs_merkle 1.4.1 [INFO] finished tweaking crates.io crate rs_merkle 1.4.1 [INFO] tweaked toml for crates.io crate rs_merkle 1.4.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5b954a53c6c40e06ef2e7c89790d832abe1c64a7372a1d82003b668fda41c50 [INFO] running `Command { std: "docker" "start" "-a" "b5b954a53c6c40e06ef2e7c89790d832abe1c64a7372a1d82003b668fda41c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5b954a53c6c40e06ef2e7c89790d832abe1c64a7372a1d82003b668fda41c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5b954a53c6c40e06ef2e7c89790d832abe1c64a7372a1d82003b668fda41c50", kill_on_drop: false }` [INFO] [stdout] b5b954a53c6c40e06ef2e7c89790d832abe1c64a7372a1d82003b668fda41c50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b05a65ff3952358f6a46ff587e8abd92993c7d3d73ae37a6e56fcdc6121f3c57 [INFO] running `Command { std: "docker" "start" "-a" "b05a65ff3952358f6a46ff587e8abd92993c7d3d73ae37a6e56fcdc6121f3c57", kill_on_drop: false }` [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rs_merkle v1.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/hasher.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/merkle_proof.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `TryFrom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 8 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::borrow::ToOwned` [INFO] [stdout] --> src/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use alloc::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> src/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/prelude.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub use core::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::iter::FromIterator` [INFO] [stdout] --> src/prelude.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/proof_serializers/direct_hashes_order.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{prelude::*, Error, Hasher, MerkleProof, MerkleProofSerializer}; [INFO] [stdout] | ---------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/proof_serializers/reverse_hashes_order.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{prelude::*, Error, Hasher, MerkleProof, MerkleProofSerializer}; [INFO] [stdout] | ---------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/hasher.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/merkle_proof.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `TryFrom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 8 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> src/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/proof_serializers/direct_hashes_order.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{prelude::*, Error, Hasher, MerkleProof, MerkleProofSerializer}; [INFO] [stdout] | ---------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/proof_serializers/reverse_hashes_order.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{prelude::*, Error, Hasher, MerkleProof, MerkleProofSerializer}; [INFO] [stdout] | ---------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> tests/merkle_tree_test.rs:70:41 [INFO] [stdout] | [INFO] [stdout] 70 | use rs_merkle::{algorithms::Sha256, Error, Hasher, MerkleTree}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common` [INFO] [stdout] --> tests/merkle_tree_test.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | use crate::common; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> tests/merkle_proof_test.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use rs_merkle::{algorithms::Sha256, Error, Hasher, MerkleTree}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common` [INFO] [stdout] --> tests/merkle_proof_test.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | use crate::common; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `leaf_values` is never read [INFO] [stdout] --> tests/common.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | pub leaf_values: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `leaf_values` is never read [INFO] [stdout] --> tests/common.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TestData48 { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 14 | pub leaf_values: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combine` is never used [INFO] [stdout] --> tests/common.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn combine(active: Vec, rest: Vec, mut combinations: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combinations` is never used [INFO] [stdout] --> tests/common.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn combinations(vec: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProofTestCases` is never constructed [INFO] [stdout] --> tests/common.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct ProofTestCases { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProofTestCases` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MerkleProofTestCase` is never constructed [INFO] [stdout] --> tests/common.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct MerkleProofTestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkleProofTestCase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl MerkleProofTestCase { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 86 | fn new(leaf_hashes_to_prove: Vec<[u8; 32]>, leaf_indices_to_prove: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_proof_test_cases` is never used [INFO] [stdout] --> tests/common.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn setup_proof_test_cases() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_root` [INFO] [stdout] --> tests/merkle_proof_test.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let expected_root = test_data.expected_root_hex.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestData48` is never constructed [INFO] [stdout] --> tests/common.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TestData48 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_sha384` is never used [INFO] [stdout] --> tests/common.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn setup_sha384() -> TestData48 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "b05a65ff3952358f6a46ff587e8abd92993c7d3d73ae37a6e56fcdc6121f3c57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b05a65ff3952358f6a46ff587e8abd92993c7d3d73ae37a6e56fcdc6121f3c57", kill_on_drop: false }` [INFO] [stdout] b05a65ff3952358f6a46ff587e8abd92993c7d3d73ae37a6e56fcdc6121f3c57 [INFO] checking rs_merkle-1.4.1 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate rs_merkle 1.4.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rs_merkle 1.4.1 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rs_merkle 1.4.1 [INFO] finished tweaking crates.io crate rs_merkle 1.4.1 [INFO] tweaked toml for crates.io crate rs_merkle 1.4.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f98327e6564b973f1795cfd8c02ecfd5fc61c3d376bd0f87621c43709031d4e [INFO] running `Command { std: "docker" "start" "-a" "2f98327e6564b973f1795cfd8c02ecfd5fc61c3d376bd0f87621c43709031d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f98327e6564b973f1795cfd8c02ecfd5fc61c3d376bd0f87621c43709031d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f98327e6564b973f1795cfd8c02ecfd5fc61c3d376bd0f87621c43709031d4e", kill_on_drop: false }` [INFO] [stdout] 2f98327e6564b973f1795cfd8c02ecfd5fc61c3d376bd0f87621c43709031d4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f872c0662bcc3391d1f2a674666a3e95f523af2de2a5b726ab81b747f219004b [INFO] running `Command { std: "docker" "start" "-a" "f872c0662bcc3391d1f2a674666a3e95f523af2de2a5b726ab81b747f219004b", kill_on_drop: false }` [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rs_merkle v1.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/hasher.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/merkle_proof.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `TryFrom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 8 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::borrow::ToOwned` [INFO] [stdout] --> src/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use alloc::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> src/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/prelude.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub use core::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::iter::FromIterator` [INFO] [stdout] --> src/prelude.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use core::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/proof_serializers/direct_hashes_order.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{prelude::*, Error, Hasher, MerkleProof, MerkleProofSerializer}; [INFO] [stdout] | ---------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/proof_serializers/reverse_hashes_order.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{prelude::*, Error, Hasher, MerkleProof, MerkleProofSerializer}; [INFO] [stdout] | ---------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/hasher.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/merkle_proof.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `TryFrom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 8 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> src/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/proof_serializers/direct_hashes_order.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{prelude::*, Error, Hasher, MerkleProof, MerkleProofSerializer}; [INFO] [stdout] | ---------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/proof_serializers/reverse_hashes_order.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{prelude::*, Error, Hasher, MerkleProof, MerkleProofSerializer}; [INFO] [stdout] | ---------- the item `TryFrom` is already imported here [INFO] [stdout] 2 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> tests/merkle_proof_test.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use rs_merkle::{algorithms::Sha256, Error, Hasher, MerkleTree}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common` [INFO] [stdout] --> tests/merkle_proof_test.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | use crate::common; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> tests/merkle_tree_test.rs:70:41 [INFO] [stdout] | [INFO] [stdout] 70 | use rs_merkle::{algorithms::Sha256, Error, Hasher, MerkleTree}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common` [INFO] [stdout] --> tests/merkle_tree_test.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | use crate::common; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_root` [INFO] [stdout] --> tests/merkle_proof_test.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let expected_root = test_data.expected_root_hex.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestData48` is never constructed [INFO] [stdout] --> tests/common.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TestData48 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_sha384` is never used [INFO] [stdout] --> tests/common.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn setup_sha384() -> TestData48 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `leaf_values` is never read [INFO] [stdout] --> tests/common.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | pub leaf_values: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `leaf_values` is never read [INFO] [stdout] --> tests/common.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TestData48 { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 14 | pub leaf_values: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combine` is never used [INFO] [stdout] --> tests/common.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn combine(active: Vec, rest: Vec, mut combinations: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combinations` is never used [INFO] [stdout] --> tests/common.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn combinations(vec: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProofTestCases` is never constructed [INFO] [stdout] --> tests/common.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct ProofTestCases { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProofTestCases` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MerkleProofTestCase` is never constructed [INFO] [stdout] --> tests/common.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct MerkleProofTestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkleProofTestCase` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/common.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl MerkleProofTestCase { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 86 | fn new(leaf_hashes_to_prove: Vec<[u8; 32]>, leaf_indices_to_prove: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_proof_test_cases` is never used [INFO] [stdout] --> tests/common.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn setup_proof_test_cases() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "f872c0662bcc3391d1f2a674666a3e95f523af2de2a5b726ab81b747f219004b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f872c0662bcc3391d1f2a674666a3e95f523af2de2a5b726ab81b747f219004b", kill_on_drop: false }` [INFO] [stdout] f872c0662bcc3391d1f2a674666a3e95f523af2de2a5b726ab81b747f219004b