[INFO] cloning repository https://github.com/seaung/Ingram-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seaung/Ingram-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseaung%2FIngram-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseaung%2FIngram-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 183bb66f571a1263e232f17fbb286e81449d549c [INFO] testing seaung/Ingram-rs against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseaung%2FIngram-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/seaung/Ingram-rs [INFO] finished tweaking git repo https://github.com/seaung/Ingram-rs [INFO] tweaked toml for git repo https://github.com/seaung/Ingram-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/seaung/Ingram-rs on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/seaung/Ingram-rs 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 610ae574470b4ec16bc7e55dd712c7e012ee2ff5c2594df743338de4a276e214 [INFO] running `Command { std: "docker" "start" "-a" "610ae574470b4ec16bc7e55dd712c7e012ee2ff5c2594df743338de4a276e214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "610ae574470b4ec16bc7e55dd712c7e012ee2ff5c2594df743338de4a276e214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "610ae574470b4ec16bc7e55dd712c7e012ee2ff5c2594df743338de4a276e214", kill_on_drop: false }` [INFO] [stdout] 610ae574470b4ec16bc7e55dd712c7e012ee2ff5c2594df743338de4a276e214 [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 392ff39068398bab1ad20851eae8367b4469c9fa85ca18edf480619faaae9ffa [INFO] running `Command { std: "docker" "start" "-a" "392ff39068398bab1ad20851eae8367b4469c9fa85ca18edf480619faaae9ffa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling itoa v1.0.16 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.147 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling zmij v0.1.8 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling ryu v1.0.21 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.12.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling jiff v0.2.17 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling scraper v0.19.1 [INFO] [stderr] Compiling cookie_store v0.22.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling ua_generator v0.3.6 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling ingram-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/core.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_target` [INFO] [stdout] --> src/data.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::net::{get_all_ip, get_ip_seg_len, parse_target}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/net.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PocResult` [INFO] [stdout] --> src/pocs/mod.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::poc::{Poc, PocResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_file` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let log_file = Path::new(out_dir).join("log.txt"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `product` and `log` are never read [INFO] [stdout] --> src/config.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub product: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub log: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_done`, `get_found`, and `is_finished` are never used [INFO] [stdout] --> src/data.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Data { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_done(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get_found(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn is_finished(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `receiver` are never read [INFO] [stdout] --> src/data.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct SnapshotPipeline { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 206 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 207 | sender: Arc Result + Send + Sync>, PocResult)>>, [INFO] [stdout] 208 | receiver: Receiver<(Arc Result + Send + Sync>, PocResult)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put` and `get_done` are never used [INFO] [stdout] --> src/data.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl SnapshotPipeline { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn put(&self, exploit_func: Arc Result + Send + Sync>, result: PocResult) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn get_done(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `product` are never used [INFO] [stdout] --> src/poc.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Poc: Send + Sync + 'static { [INFO] [stdout] | --- methods in this trait [INFO] [stdout] 19 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | fn product(&self) -> &str; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasePoc` is never constructed [INFO] [stdout] --> src/pocs/base.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BasePoc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pocs/base.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BasePoc { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 10 | pub fn new(name: &str, product: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_warning` is never used [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn print_warning(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_success` is never used [INFO] [stdout] --> src/utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn print_success(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_info` is never used [INFO] [stdout] --> src/utils.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn print_info(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "392ff39068398bab1ad20851eae8367b4469c9fa85ca18edf480619faaae9ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392ff39068398bab1ad20851eae8367b4469c9fa85ca18edf480619faaae9ffa", kill_on_drop: false }` [INFO] [stdout] 392ff39068398bab1ad20851eae8367b4469c9fa85ca18edf480619faaae9ffa [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 162493549cbe11c6995c7a8139d662296c735c8cf76e279e85f1969b3cd1f3aa [INFO] running `Command { std: "docker" "start" "-a" "162493549cbe11c6995c7a8139d662296c735c8cf76e279e85f1969b3cd1f3aa", kill_on_drop: false }` [INFO] [stderr] Compiling ingram-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/core.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_target` [INFO] [stdout] --> src/data.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::net::{get_all_ip, get_ip_seg_len, parse_target}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/net.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PocResult` [INFO] [stdout] --> src/pocs/mod.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::poc::{Poc, PocResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_file` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let log_file = Path::new(out_dir).join("log.txt"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `product` and `log` are never read [INFO] [stdout] --> src/config.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub product: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub log: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_done`, `get_found`, and `is_finished` are never used [INFO] [stdout] --> src/data.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Data { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_done(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get_found(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn is_finished(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `receiver` are never read [INFO] [stdout] --> src/data.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct SnapshotPipeline { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 206 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 207 | sender: Arc Result + Send + Sync>, PocResult)>>, [INFO] [stdout] 208 | receiver: Receiver<(Arc Result + Send + Sync>, PocResult)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put` and `get_done` are never used [INFO] [stdout] --> src/data.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl SnapshotPipeline { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn put(&self, exploit_func: Arc Result + Send + Sync>, result: PocResult) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn get_done(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `product` are never used [INFO] [stdout] --> src/poc.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Poc: Send + Sync + 'static { [INFO] [stdout] | --- methods in this trait [INFO] [stdout] 19 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | fn product(&self) -> &str; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasePoc` is never constructed [INFO] [stdout] --> src/pocs/base.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BasePoc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pocs/base.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BasePoc { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 10 | pub fn new(name: &str, product: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_warning` is never used [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn print_warning(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_success` is never used [INFO] [stdout] --> src/utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn print_success(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_info` is never used [INFO] [stdout] --> src/utils.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn print_info(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "162493549cbe11c6995c7a8139d662296c735c8cf76e279e85f1969b3cd1f3aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "162493549cbe11c6995c7a8139d662296c735c8cf76e279e85f1969b3cd1f3aa", kill_on_drop: false }` [INFO] [stdout] 162493549cbe11c6995c7a8139d662296c735c8cf76e279e85f1969b3cd1f3aa [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2ec07a93cdddafe8cfe87fd71d80f303f11564423f91df9423691890a19435f4 [INFO] running `Command { std: "docker" "start" "-a" "2ec07a93cdddafe8cfe87fd71d80f303f11564423f91df9423691890a19435f4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/core.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | use log::{error, info}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `parse_target` [INFO] [stderr] --> src/data.rs:2:46 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::net::{get_all_ip, get_ip_seg_len, parse_target}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Context` and `Result` [INFO] [stderr] --> src/net.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PocResult` [INFO] [stderr] --> src/pocs/mod.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::poc::{Poc, PocResult}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `log_file` [INFO] [stderr] --> src/main.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let log_file = Path::new(out_dir).join("log.txt"); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_file` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `product` and `log` are never read [INFO] [stderr] --> src/config.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | pub product: HashSet, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 23 | pub log: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_done`, `get_found`, and `is_finished` are never used [INFO] [stderr] --> src/data.rs:184:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl Data { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 184 | pub fn get_done(&self) -> usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 188 | pub fn get_found(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 200 | pub fn is_finished(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `config` and `receiver` are never read [INFO] [stderr] --> src/data.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 205 | pub struct SnapshotPipeline { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 206 | config: Arc, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 207 | sender: Arc Result + Send + Sync>, PocResult)>>, [INFO] [stderr] 208 | receiver: Receiver<(Arc Result + Send + Sync>, PocResult)>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `put` and `get_done` are never used [INFO] [stderr] --> src/data.rs:259:12 [INFO] [stderr] | [INFO] [stderr] 214 | impl SnapshotPipeline { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 259 | pub fn put(&self, exploit_func: Arc Result + Send + Sync>, result: PocResult) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 264 | pub fn get_done(&self) -> usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `name` and `product` are never used [INFO] [stderr] --> src/poc.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub trait Poc: Send + Sync + 'static { [INFO] [stderr] | --- methods in this trait [INFO] [stderr] 19 | fn name(&self) -> &str; [INFO] [stderr] | ^^^^ [INFO] [stderr] 20 | fn product(&self) -> &str; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BasePoc` is never constructed [INFO] [stderr] --> src/pocs/base.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct BasePoc { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pocs/base.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl BasePoc { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] 10 | pub fn new(name: &str, product: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_warning` is never used [INFO] [stderr] --> src/utils.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn print_warning(msg: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_success` is never used [INFO] [stderr] --> src/utils.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn print_success(msg: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_info` is never used [INFO] [stderr] --> src/utils.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn print_info(msg: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ingram-rs` (bin "ingram-rs" test) generated 15 warnings (run `cargo fix --bin "ingram-rs" -p ingram-rs --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ingram_rs-3d98bf8af65961b4) [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" "2ec07a93cdddafe8cfe87fd71d80f303f11564423f91df9423691890a19435f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec07a93cdddafe8cfe87fd71d80f303f11564423f91df9423691890a19435f4", kill_on_drop: false }` [INFO] [stdout] 2ec07a93cdddafe8cfe87fd71d80f303f11564423f91df9423691890a19435f4