[INFO] fetching crate rust-network-scanner 2.0.0... [INFO] testing rust-network-scanner-2.0.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rust-network-scanner 2.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rust-network-scanner 2.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rust-network-scanner 2.0.0 [INFO] tweaked toml for crates.io crate rust-network-scanner 2.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-network-scanner 2.0.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-network-scanner 2.0.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18baeef0e16e716d088b7741d067a838edc77b9d151867d09c27fb572a58c461 [INFO] running `Command { std: "docker" "start" "-a" "18baeef0e16e716d088b7741d067a838edc77b9d151867d09c27fb572a58c461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18baeef0e16e716d088b7741d067a838edc77b9d151867d09c27fb572a58c461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18baeef0e16e716d088b7741d067a838edc77b9d151867d09c27fb572a58c461", kill_on_drop: false }` [INFO] [stdout] 18baeef0e16e716d088b7741d067a838edc77b9d151867d09c27fb572a58c461 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75935327a3f28d90eceec66c0f346de75f61e94e5740dc33dea1e059b9be7a06 [INFO] running `Command { std: "docker" "start" "-a" "75935327a3f28d90eceec66c0f346de75f61e94e5740dc33dea1e059b9be7a06", 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.177 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling resolv-conf v0.7.6 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [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 serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling rust-network-scanner v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `services` [INFO] [stdout] --> src/compliance.rs:246:92 [INFO] [stdout] | [INFO] [stdout] 246 | fn check_encryption_required(&self, result: &mut ComplianceResult, open_ports: &[u16], services: &HashMap) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_services` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.83s [INFO] running `Command { std: "docker" "inspect" "75935327a3f28d90eceec66c0f346de75f61e94e5740dc33dea1e059b9be7a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75935327a3f28d90eceec66c0f346de75f61e94e5740dc33dea1e059b9be7a06", kill_on_drop: false }` [INFO] [stdout] 75935327a3f28d90eceec66c0f346de75f61e94e5740dc33dea1e059b9be7a06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17896224091c6d229d8a6a3346e597bc0ff895f4902ee5ced0d1d150a75124e9 [INFO] running `Command { std: "docker" "start" "-a" "17896224091c6d229d8a6a3346e597bc0ff895f4902ee5ced0d1d150a75124e9", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling rust-network-scanner v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `services` [INFO] [stdout] --> src/compliance.rs:246:92 [INFO] [stdout] | [INFO] [stdout] 246 | fn check_encryption_required(&self, result: &mut ComplianceResult, open_ports: &[u16], services: &HashMap) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_services` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `services` [INFO] [stdout] --> src/compliance.rs:246:92 [INFO] [stdout] | [INFO] [stdout] 246 | fn check_encryption_required(&self, result: &mut ComplianceResult, open_ports: &[u16], services: &HashMap) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_services` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.16s [INFO] running `Command { std: "docker" "inspect" "17896224091c6d229d8a6a3346e597bc0ff895f4902ee5ced0d1d150a75124e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17896224091c6d229d8a6a3346e597bc0ff895f4902ee5ced0d1d150a75124e9", kill_on_drop: false }` [INFO] [stdout] 17896224091c6d229d8a6a3346e597bc0ff895f4902ee5ced0d1d150a75124e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7bfb23beef262be08442baebd4ee4749b533a6d848140ba7f8487a8ccaf9d035 [INFO] running `Command { std: "docker" "start" "-a" "7bfb23beef262be08442baebd4ee4749b533a6d848140ba7f8487a8ccaf9d035", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `services` [INFO] [stderr] --> src/compliance.rs:246:92 [INFO] [stderr] | [INFO] [stderr] 246 | fn check_encryption_required(&self, result: &mut ComplianceResult, open_ports: &[u16], services: &HashMap) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_services` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-network-scanner` (lib) generated 1 warning (run `cargo fix --lib -p rust-network-scanner` to apply 1 suggestion) [INFO] [stderr] warning: `rust-network-scanner` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_network_scanner-c059bdb9ea95b15a) [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test compliance::tests::test_cis_benchmark_scan ... ok [INFO] [stdout] test compliance::tests::test_failed_checks ... ok [INFO] [stdout] test compliance::tests::test_pci_dss_scan_pass ... ok [INFO] [stdout] test os_fingerprint::tests::test_reliability ... ok [INFO] [stdout] test os_fingerprint::tests::test_os_name ... ok [INFO] [stdout] test os_fingerprint::tests::test_ttl_detection ... ok [INFO] [stdout] test compliance::tests::test_pci_dss_scan_fail ... ok [INFO] [stdout] test service_detection::tests::test_http_detection ... ok [INFO] [stdout] test os_fingerprint::tests::test_banner_detection ... ok [INFO] [stdout] test service_detection::tests::test_ssh_detection ... ok [INFO] [stdout] test service_detection::tests::test_no_vulnerability ... ok [INFO] [stdout] test service_detection::tests::test_vulnerability_check ... ok [INFO] [stdout] test tests::test_cidr_parsing ... ok [INFO] [stdout] test tests::test_json_export ... ok [INFO] [stdout] test tests::test_scan_result_summary ... ok [INFO] [stdout] test tests::test_host_ip_generation ... ok [INFO] [stdout] test tests::test_scanner_config_defaults ... ok [INFO] [stdout] test vulnerability::tests::test_cve_severity_from_cvss ... ok [INFO] [stdout] test os_fingerprint::tests::test_combined_detection ... ok [INFO] [stdout] test tests::test_invalid_port_range ... ok [INFO] [stdout] test tests::test_scan_result_high_risk_ports ... ok [INFO] [stdout] test tests::test_port_risk_assessment ... ok [INFO] [stdout] test tests::test_service_detection ... ok [INFO] [stdout] test vulnerability::tests::test_report_summary ... ok [INFO] [stdout] test tests::test_scan_single_port ... ok [INFO] [stdout] test tests::test_scanner_with_custom_config ... ok [INFO] [stdout] test service_detection::tests::test_mysql_detection ... ok [INFO] [stdout] test vulnerability::tests::test_version_extraction ... ok [INFO] [stdout] test tests::test_scan_duration_calculation ... ok [INFO] [stdout] test vulnerability::tests::test_vulnerability_scan ... ok [INFO] [stdout] test compliance::tests::test_compliance_result_summary ... ok [INFO] [stdout] test vulnerability::tests::test_database_lookup ... ok [INFO] [stdout] test vulnerability::tests::test_report_generation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_network_scanner [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" "7bfb23beef262be08442baebd4ee4749b533a6d848140ba7f8487a8ccaf9d035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bfb23beef262be08442baebd4ee4749b533a6d848140ba7f8487a8ccaf9d035", kill_on_drop: false }` [INFO] [stdout] 7bfb23beef262be08442baebd4ee4749b533a6d848140ba7f8487a8ccaf9d035