[INFO] fetching crate fofa 0.2.0... [INFO] building fofa-0.2.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate fofa 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate fofa 0.2.0 [INFO] finished tweaking crates.io crate fofa 0.2.0 [INFO] tweaked toml for crates.io crate fofa 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fofa 0.2.0 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 crates.io crate fofa 0.2.0 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 xlsxwriter v0.6.0 [INFO] [stderr] Downloaded codepage v0.1.1 [INFO] [stderr] Downloaded rustls-pki-types v1.5.0 [INFO] [stderr] Downloaded argparse v0.2.2 [INFO] [stderr] Downloaded prettyplease v0.2.19 [INFO] [stderr] Downloaded quick-xml v0.31.0 [INFO] [stderr] Downloaded flate2 v1.0.29 [INFO] [stderr] Downloaded calamine v0.24.0 [INFO] [stderr] Downloaded bindgen v0.65.1 [INFO] [stderr] Downloaded libxlsxwriter-sys v1.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ba26e3f9a0fe8e0d2342bf866ed234384d001e8bf92898560fd2c6bbdc3d212f [INFO] running `Command { std: "docker" "start" "-a" "ba26e3f9a0fe8e0d2342bf866ed234384d001e8bf92898560fd2c6bbdc3d212f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba26e3f9a0fe8e0d2342bf866ed234384d001e8bf92898560fd2c6bbdc3d212f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba26e3f9a0fe8e0d2342bf866ed234384d001e8bf92898560fd2c6bbdc3d212f", kill_on_drop: false }` [INFO] [stdout] ba26e3f9a0fe8e0d2342bf866ed234384d001e8bf92898560fd2c6bbdc3d212f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6abe27ee91e7f0ab5bb92d31692beeb764225d3c4df0fe9362797506296d9f1e [INFO] running `Command { std: "docker" "start" "-a" "6abe27ee91e7f0ab5bb92d31692beeb764225d3c4df0fe9362797506296d9f1e", 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 parking_lot_core v0.9.9 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling tracing v0.1.40 [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 serde v1.0.198 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num_cpus v1.16.0 [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 nom v7.1.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling codepage v0.1.1 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.29 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling chrono v0.4.38 [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 regex v1.10.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [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 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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling calamine v0.24.0 [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.0 (/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 56.83s [INFO] running `Command { std: "docker" "inspect" "6abe27ee91e7f0ab5bb92d31692beeb764225d3c4df0fe9362797506296d9f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6abe27ee91e7f0ab5bb92d31692beeb764225d3c4df0fe9362797506296d9f1e", kill_on_drop: false }` [INFO] [stdout] 6abe27ee91e7f0ab5bb92d31692beeb764225d3c4df0fe9362797506296d9f1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a34271e551fbeda7f6c9cfb57088df8f93bebbb1d9023473a811f882b6288d03 [INFO] running `Command { std: "docker" "start" "-a" "a34271e551fbeda7f6c9cfb57088df8f93bebbb1d9023473a811f882b6288d03", kill_on_drop: false }` [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] Compiling fofa v0.2.0 (/opt/rustwide/workdir) [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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "a34271e551fbeda7f6c9cfb57088df8f93bebbb1d9023473a811f882b6288d03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a34271e551fbeda7f6c9cfb57088df8f93bebbb1d9023473a811f882b6288d03", kill_on_drop: false }` [INFO] [stdout] a34271e551fbeda7f6c9cfb57088df8f93bebbb1d9023473a811f882b6288d03