[INFO] fetching crate solana_fender 0.4.2... [INFO] checking solana_fender-0.4.2 against master#9bfa31f632912180dc742809bcc51a97f2d7079d for pr-140151 [INFO] extracting crate solana_fender 0.4.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate solana_fender 0.4.2 on toolchain 9bfa31f632912180dc742809bcc51a97f2d7079d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate solana_fender 0.4.2 [INFO] finished tweaking crates.io crate solana_fender 0.4.2 [INFO] tweaked toml for crates.io crate solana_fender 0.4.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate solana_fender 0.4.2 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" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f8c6d025dff88e030a6f4e0fdcfa7a5ae2b6114ef8eaf9063603d97c4c7117b [INFO] running `Command { std: "docker" "start" "-a" "3f8c6d025dff88e030a6f4e0fdcfa7a5ae2b6114ef8eaf9063603d97c4c7117b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f8c6d025dff88e030a6f4e0fdcfa7a5ae2b6114ef8eaf9063603d97c4c7117b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8c6d025dff88e030a6f4e0fdcfa7a5ae2b6114ef8eaf9063603d97c4c7117b", kill_on_drop: false }` [INFO] [stdout] 3f8c6d025dff88e030a6f4e0fdcfa7a5ae2b6114ef8eaf9063603d97c4c7117b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e58a1017f029a7314ded2b059ec834c2e38d8f7de49cdd0d7086a8ba6d15df18 [INFO] running `Command { std: "docker" "start" "-a" "e58a1017f029a7314ded2b059ec834c2e38d8f7de49cdd0d7086a8ba6d15df18", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.30 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking quote v1.0.38 [INFO] [stderr] Checking syn v2.0.98 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Checking clap v4.5.30 [INFO] [stderr] Checking anchor-syn v0.29.0 [INFO] [stderr] Checking solana_fender v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/models/mod.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Program { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn from_file(file_path: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarkdownDocument` is never constructed [INFO] [stdout] --> src/models/markdown.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MarkdownDocument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarkdownSection` is never constructed [INFO] [stdout] --> src/models/markdown.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MarkdownSection { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarkdownTable` is never constructed [INFO] [stdout] --> src/models/markdown.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MarkdownTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_section`, `to_string`, and `save_to_file` are never used [INFO] [stdout] --> src/models/markdown.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl MarkdownDocument { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 26 | /// Create a new markdown document with a title [INFO] [stdout] 27 | pub fn new(title: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn add_section(&mut self, section: MarkdownSection) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn save_to_file(&self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_content`, `add_code_block`, `add_subsection`, and `to_string` are never used [INFO] [stdout] --> src/models/markdown.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MarkdownSection { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 59 | /// Create a new markdown section with a heading [INFO] [stdout] 60 | pub fn new(heading: &str, level: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn add_content(&mut self, content: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn add_code_block(&mut self, code: &str, language: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn add_subsection(&mut self, subsection: MarkdownSection) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_row`, and `to_string` are never used [INFO] [stdout] --> src/models/markdown.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl MarkdownTable { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 108 | /// Create a new markdown table with headers [INFO] [stdout] 109 | pub fn new(headers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn add_row(&mut self, row: Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_analysis_report` is never used [INFO] [stdout] --> src/models/markdown.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn create_analysis_report( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Finding` is never constructed [INFO] [stdout] --> src/models/markdown.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct Finding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/markdown.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl Finding { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 270 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/models/mod.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Program { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn from_file(file_path: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarkdownDocument` is never constructed [INFO] [stdout] --> src/models/markdown.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MarkdownDocument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarkdownSection` is never constructed [INFO] [stdout] --> src/models/markdown.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MarkdownSection { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarkdownTable` is never constructed [INFO] [stdout] --> src/models/markdown.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MarkdownTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_section`, `to_string`, and `save_to_file` are never used [INFO] [stdout] --> src/models/markdown.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl MarkdownDocument { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 26 | /// Create a new markdown document with a title [INFO] [stdout] 27 | pub fn new(title: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn add_section(&mut self, section: MarkdownSection) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn save_to_file(&self, path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_content`, `add_code_block`, `add_subsection`, and `to_string` are never used [INFO] [stdout] --> src/models/markdown.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl MarkdownSection { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 59 | /// Create a new markdown section with a heading [INFO] [stdout] 60 | pub fn new(heading: &str, level: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn add_content(&mut self, content: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn add_code_block(&mut self, code: &str, language: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn add_subsection(&mut self, subsection: MarkdownSection) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_row`, and `to_string` are never used [INFO] [stdout] --> src/models/markdown.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl MarkdownTable { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 108 | /// Create a new markdown table with headers [INFO] [stdout] 109 | pub fn new(headers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn add_row(&mut self, row: Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_analysis_report` is never used [INFO] [stdout] --> src/models/markdown.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn create_analysis_report( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Finding` is never constructed [INFO] [stdout] --> src/models/markdown.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct Finding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/markdown.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl Finding { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 270 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.15s [INFO] running `Command { std: "docker" "inspect" "e58a1017f029a7314ded2b059ec834c2e38d8f7de49cdd0d7086a8ba6d15df18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e58a1017f029a7314ded2b059ec834c2e38d8f7de49cdd0d7086a8ba6d15df18", kill_on_drop: false }` [INFO] [stdout] e58a1017f029a7314ded2b059ec834c2e38d8f7de49cdd0d7086a8ba6d15df18