[INFO] cloning repository https://github.com/RazorBest/whatsapp-akd-monitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RazorBest/whatsapp-akd-monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRazorBest%2Fwhatsapp-akd-monitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRazorBest%2Fwhatsapp-akd-monitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6d49aac8b38025d2cdcb8c64683ec044bb160e5 [INFO] testing RazorBest/whatsapp-akd-monitor against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRazorBest%2Fwhatsapp-akd-monitor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RazorBest/whatsapp-akd-monitor [INFO] finished tweaking git repo https://github.com/RazorBest/whatsapp-akd-monitor [INFO] tweaked toml for git repo https://github.com/RazorBest/whatsapp-akd-monitor written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RazorBest/whatsapp-akd-monitor on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RazorBest/whatsapp-akd-monitor 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/markbt/plexi.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded queues v1.1.0 [INFO] [stderr] Downloaded protobuf-codegen v3.7.2 [INFO] [stderr] Downloaded protobuf-support v3.7.2 [INFO] [stderr] Downloaded akd_core v0.11.0 [INFO] [stderr] Downloaded akd v0.11.0 [INFO] [stderr] Downloaded protobuf-parse v3.7.2 [INFO] [stderr] Downloaded protobuf v3.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d887308ca3a226a32b993634a1d775ff09a6d53c6b586d2c885693ffb333abd [INFO] running `Command { std: "docker" "start" "-a" "7d887308ca3a226a32b993634a1d775ff09a6d53c6b586d2c885693ffb333abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d887308ca3a226a32b993634a1d775ff09a6d53c6b586d2c885693ffb333abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d887308ca3a226a32b993634a1d775ff09a6d53c6b586d2c885693ffb333abd", kill_on_drop: false }` [INFO] [stdout] 7d887308ca3a226a32b993634a1d775ff09a6d53c6b586d2c885693ffb333abd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 342b203ee982ffa49aa69e3c8ba15425d71097e92cde2f1d473fe6b12e38a729 [INFO] running `Command { std: "docker" "start" "-a" "342b203ee982ffa49aa69e3c8ba15425d71097e92cde2f1d473fe6b12e38a729", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling queues v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling blake3 v1.8.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling plexi-core v0.1.2 (https://github.com/markbt/plexi.git?rev=9d459b7fb26101e5c9c2489c220cbae03d1d7afe#9d459b7f) [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling utoipa v4.2.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling akd_core v0.11.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling akd v0.11.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling akd_monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 508 | / return Ok(EpochComputedStats { [INFO] [stdout] 509 | | new_inserted_nodes_count: new_elems.len() as u64, [INFO] [stdout] 510 | | inserted_nodes_count: proof.inserted.len() as u64, [INFO] [stdout] 511 | | old_nodes_count: proof.unchanged_nodes.len() as u64, [INFO] [stdout] 512 | | }); [INFO] [stdout] | |______- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 515 | let mut azks_db = AzksDb::new::().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epoch` [INFO] [stdout] --> src/main.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | async fn process_azks(epoch: u64, prev_hash: [u8; 32], curr_hash: [u8; 32], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_hash` [INFO] [stdout] --> src/main.rs:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | async fn process_azks(epoch: u64, prev_hash: [u8; 32], curr_hash: [u8; 32], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_hash` [INFO] [stdout] --> src/main.rs:421:56 [INFO] [stdout] | [INFO] [stdout] 421 | async fn process_azks(epoch: u64, prev_hash: [u8; 32], curr_hash: [u8; 32], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_key` [INFO] [stdout] --> src/main.rs:494:27 [INFO] [stdout] | [INFO] [stdout] 494 | Some(&found_key) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_name` [INFO] [stdout] --> src/main.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let blob_name = AuditBlobName::try_from(key_id.as_str()).map_err(|_e| "Failed building blob")?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG_FILE` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const LOG_FILE: &str = "history_logs.txt"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp` and `epoch` are never read [INFO] [stdout] --> src/main.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 142 | struct AuditInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 143 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 144 | epoch: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuditInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `new_inserted_nodes_count`, `inserted_nodes_count`, and `old_nodes_count` are never read [INFO] [stdout] --> src/main.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 309 | struct EpochComputedStats { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 310 | new_inserted_nodes_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 311 | inserted_nodes_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 312 | old_nodes_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `computed` and `audit_info` are never read [INFO] [stdout] --> src/main.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 315 | struct EpochStats { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 316 | computed: EpochComputedStats, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 317 | audit_info: AuditInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_tree_hashes` is never used [INFO] [stdout] --> src/main.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | async fn check_tree_hashes(azks_db: &AzksDb, proof: SingleAppendOnlyProof) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "342b203ee982ffa49aa69e3c8ba15425d71097e92cde2f1d473fe6b12e38a729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "342b203ee982ffa49aa69e3c8ba15425d71097e92cde2f1d473fe6b12e38a729", kill_on_drop: false }` [INFO] [stdout] 342b203ee982ffa49aa69e3c8ba15425d71097e92cde2f1d473fe6b12e38a729 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46349554c0ce3713d4fc0a87b4e96d1a62e2ed12c663075e557826f522877cb9 [INFO] running `Command { std: "docker" "start" "-a" "46349554c0ce3713d4fc0a87b4e96d1a62e2ed12c663075e557826f522877cb9", kill_on_drop: false }` [INFO] [stderr] Compiling akd_monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 508 | / return Ok(EpochComputedStats { [INFO] [stdout] 509 | | new_inserted_nodes_count: new_elems.len() as u64, [INFO] [stdout] 510 | | inserted_nodes_count: proof.inserted.len() as u64, [INFO] [stdout] 511 | | old_nodes_count: proof.unchanged_nodes.len() as u64, [INFO] [stdout] 512 | | }); [INFO] [stdout] | |______- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 515 | let mut azks_db = AzksDb::new::().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epoch` [INFO] [stdout] --> src/main.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | async fn process_azks(epoch: u64, prev_hash: [u8; 32], curr_hash: [u8; 32], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_hash` [INFO] [stdout] --> src/main.rs:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | async fn process_azks(epoch: u64, prev_hash: [u8; 32], curr_hash: [u8; 32], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_hash` [INFO] [stdout] --> src/main.rs:421:56 [INFO] [stdout] | [INFO] [stdout] 421 | async fn process_azks(epoch: u64, prev_hash: [u8; 32], curr_hash: [u8; 32], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_key` [INFO] [stdout] --> src/main.rs:494:27 [INFO] [stdout] | [INFO] [stdout] 494 | Some(&found_key) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_name` [INFO] [stdout] --> src/main.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let blob_name = AuditBlobName::try_from(key_id.as_str()).map_err(|_e| "Failed building blob")?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG_FILE` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const LOG_FILE: &str = "history_logs.txt"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp` and `epoch` are never read [INFO] [stdout] --> src/main.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 142 | struct AuditInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 143 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 144 | epoch: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuditInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `new_inserted_nodes_count`, `inserted_nodes_count`, and `old_nodes_count` are never read [INFO] [stdout] --> src/main.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 309 | struct EpochComputedStats { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 310 | new_inserted_nodes_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 311 | inserted_nodes_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 312 | old_nodes_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `computed` and `audit_info` are never read [INFO] [stdout] --> src/main.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 315 | struct EpochStats { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 316 | computed: EpochComputedStats, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 317 | audit_info: AuditInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_tree_hashes` is never used [INFO] [stdout] --> src/main.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | async fn check_tree_hashes(azks_db: &AzksDb, proof: SingleAppendOnlyProof) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "46349554c0ce3713d4fc0a87b4e96d1a62e2ed12c663075e557826f522877cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46349554c0ce3713d4fc0a87b4e96d1a62e2ed12c663075e557826f522877cb9", kill_on_drop: false }` [INFO] [stdout] 46349554c0ce3713d4fc0a87b4e96d1a62e2ed12c663075e557826f522877cb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 329385d17af0937d7c5c810a681006e39c6d9d5f09ebb17e29ae02e7a6f26b7f [INFO] running `Command { std: "docker" "start" "-a" "329385d17af0937d7c5c810a681006e39c6d9d5f09ebb17e29ae02e7a6f26b7f", kill_on_drop: false }` [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:515:5 [INFO] [stderr] | [INFO] [stderr] 508 | / return Ok(EpochComputedStats { [INFO] [stderr] 509 | | new_inserted_nodes_count: new_elems.len() as u64, [INFO] [stderr] 510 | | inserted_nodes_count: proof.inserted.len() as u64, [INFO] [stderr] 511 | | old_nodes_count: proof.unchanged_nodes.len() as u64, [INFO] [stderr] 512 | | }); [INFO] [stderr] | |______- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 515 | let mut azks_db = AzksDb::new::().await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `epoch` [INFO] [stderr] --> src/main.rs:421:23 [INFO] [stderr] | [INFO] [stderr] 421 | async fn process_azks(epoch: u64, prev_hash: [u8; 32], curr_hash: [u8; 32], [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prev_hash` [INFO] [stderr] --> src/main.rs:421:35 [INFO] [stderr] | [INFO] [stderr] 421 | async fn process_azks(epoch: u64, prev_hash: [u8; 32], curr_hash: [u8; 32], [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_hash` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `curr_hash` [INFO] [stderr] --> src/main.rs:421:56 [INFO] [stderr] | [INFO] [stderr] 421 | async fn process_azks(epoch: u64, prev_hash: [u8; 32], curr_hash: [u8; 32], [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_hash` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `found_key` [INFO] [stderr] --> src/main.rs:494:27 [INFO] [stderr] | [INFO] [stderr] 494 | Some(&found_key) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blob_name` [INFO] [stderr] --> src/main.rs:205:13 [INFO] [stderr] | [INFO] [stderr] 205 | let blob_name = AuditBlobName::try_from(key_id.as_str()).map_err(|_e| "Failed building blob")?; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_name` [INFO] [stderr] [INFO] [stderr] warning: constant `LOG_FILE` is never used [INFO] [stderr] --> src/main.rs:27:7 [INFO] [stderr] | [INFO] [stderr] 27 | const LOG_FILE: &str = "history_logs.txt"; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `timestamp` and `epoch` are never read [INFO] [stderr] --> src/main.rs:143:5 [INFO] [stderr] | [INFO] [stderr] 142 | struct AuditInfo { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 143 | timestamp: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 144 | epoch: u64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AuditInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `new_inserted_nodes_count`, `inserted_nodes_count`, and `old_nodes_count` are never read [INFO] [stderr] --> src/main.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 309 | struct EpochComputedStats { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 310 | new_inserted_nodes_count: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 311 | inserted_nodes_count: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 312 | old_nodes_count: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `computed` and `audit_info` are never read [INFO] [stderr] --> src/main.rs:316:5 [INFO] [stderr] | [INFO] [stderr] 315 | struct EpochStats { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 316 | computed: EpochComputedStats, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 317 | audit_info: AuditInfo, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_tree_hashes` is never used [INFO] [stderr] --> src/main.rs:320:10 [INFO] [stderr] | [INFO] [stderr] 320 | async fn check_tree_hashes(azks_db: &AzksDb, proof: SingleAppendOnlyProof) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `akd_monitor` (bin "akd_monitor" test) generated 11 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/akd_monitor-964a7b31d6f9ba0e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "329385d17af0937d7c5c810a681006e39c6d9d5f09ebb17e29ae02e7a6f26b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329385d17af0937d7c5c810a681006e39c6d9d5f09ebb17e29ae02e7a6f26b7f", kill_on_drop: false }` [INFO] [stdout] 329385d17af0937d7c5c810a681006e39c6d9d5f09ebb17e29ae02e7a6f26b7f