[INFO] cloning repository https://github.com/index2014/fofa_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/index2014/fofa_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findex2014%2Ffofa_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findex2014%2Ffofa_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d19e362de6d53e48d6bbe5ff66c9c000c8406c8f [INFO] building index2014/fofa_rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findex2014%2Ffofa_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/index2014/fofa_rust [INFO] finished tweaking git repo https://github.com/index2014/fofa_rust [INFO] tweaked toml for git repo https://github.com/index2014/fofa_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/index2014/fofa_rust 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/index2014/fofa_rust 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] Downloading crates ... [INFO] [stderr] Downloaded prettyplease v0.2.19 [INFO] [stderr] Downloaded security-framework v2.10.0 [INFO] [stderr] Downloaded codepage v0.1.1 [INFO] [stderr] Downloaded argparse v0.2.2 [INFO] [stderr] Downloaded xlsxwriter v0.6.0 [INFO] [stderr] Downloaded json v0.12.4 [INFO] [stderr] Downloaded flate2 v1.0.29 [INFO] [stderr] Downloaded calamine v0.24.0 [INFO] [stderr] Downloaded base64 v0.22.0 [INFO] [stderr] Downloaded clang-sys v1.7.0 [INFO] [stderr] Downloaded security-framework-sys v2.10.0 [INFO] [stderr] Downloaded libxlsxwriter-sys v1.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d038793a53b6b2c891843ad707e26ca3be3c2427bd754afd41641c7d13af483 [INFO] running `Command { std: "docker" "start" "-a" "1d038793a53b6b2c891843ad707e26ca3be3c2427bd754afd41641c7d13af483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d038793a53b6b2c891843ad707e26ca3be3c2427bd754afd41641c7d13af483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d038793a53b6b2c891843ad707e26ca3be3c2427bd754afd41641c7d13af483", kill_on_drop: false }` [INFO] [stdout] 1d038793a53b6b2c891843ad707e26ca3be3c2427bd754afd41641c7d13af483 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fabfc524e0c0c8e0ac5e677da86c7ab300c97819b45335f5b44f441e339cf93 [INFO] running `Command { std: "docker" "start" "-a" "8fabfc524e0c0c8e0ac5e677da86c7ab300c97819b45335f5b44f441e339cf93", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling flate2 v1.0.29 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling codepage v0.1.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling libxlsxwriter-sys v1.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling calamine v0.24.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling xlsxwriter v0.6.0 [INFO] [stderr] Compiling fofa v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fofa.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl FofaApiSearch { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 23 | fn new() -> FofaApiSearch { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fofa.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl FofaApiSearch { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 23 | fn new() -> FofaApiSearch { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/fofa.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl FofaClient{ [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_consumed_fpoint(&self, raw_response:&FofaApiSearch) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_required_fpoints(&self, raw_response:&FofaApiSearch) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_size(&self, raw_response:&FofaApiSearch) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_mode(&self, raw_response:&FofaApiSearch) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_query(&self, raw_response:&FofaApiSearch) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_lines(&self, raw_response:&FofaApiSearch, start: usize, end: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_fields_in_range(&self, selected_fields: String, raw_response:&FofaApiSearch) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "8fabfc524e0c0c8e0ac5e677da86c7ab300c97819b45335f5b44f441e339cf93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fabfc524e0c0c8e0ac5e677da86c7ab300c97819b45335f5b44f441e339cf93", kill_on_drop: false }` [INFO] [stdout] 8fabfc524e0c0c8e0ac5e677da86c7ab300c97819b45335f5b44f441e339cf93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eed8682a66a695e8dc03156acf1395056e92bfb66a9aeea1037ca9c4a9b60ad0 [INFO] running `Command { std: "docker" "start" "-a" "eed8682a66a695e8dc03156acf1395056e92bfb66a9aeea1037ca9c4a9b60ad0", kill_on_drop: false }` [INFO] [stderr] Compiling fofa v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fofa.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl FofaApiSearch { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 23 | fn new() -> FofaApiSearch { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fofa.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl FofaApiSearch { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 23 | fn new() -> FofaApiSearch { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/fofa.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl FofaClient{ [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_consumed_fpoint(&self, raw_response:&FofaApiSearch) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_required_fpoints(&self, raw_response:&FofaApiSearch) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_size(&self, raw_response:&FofaApiSearch) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_mode(&self, raw_response:&FofaApiSearch) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_query(&self, raw_response:&FofaApiSearch) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_lines(&self, raw_response:&FofaApiSearch, start: usize, end: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_fields_in_range(&self, selected_fields: String, raw_response:&FofaApiSearch) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fofa.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl FofaApiSearch { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 23 | fn new() -> FofaApiSearch { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "eed8682a66a695e8dc03156acf1395056e92bfb66a9aeea1037ca9c4a9b60ad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed8682a66a695e8dc03156acf1395056e92bfb66a9aeea1037ca9c4a9b60ad0", kill_on_drop: false }` [INFO] [stdout] eed8682a66a695e8dc03156acf1395056e92bfb66a9aeea1037ca9c4a9b60ad0