[INFO] cloning repository https://github.com/fankh/openorb-scanner
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fankh/openorb-scanner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffankh%2Fopenorb-scanner", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffankh%2Fopenorb-scanner'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1179561be09fb1d248a8ac6ccc68e0664961dfcb
[INFO] testing fankh/openorb-scanner against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffankh%2Fopenorb-scanner" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fankh/openorb-scanner
[INFO] finished tweaking git repo https://github.com/fankh/openorb-scanner
[INFO] tweaked toml for git repo https://github.com/fankh/openorb-scanner written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fankh/openorb-scanner on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fankh/openorb-scanner 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded winreg v0.52.0
[INFO] [stderr]   Downloaded rusqlite v0.30.0
[INFO] [stderr]   Downloaded pnet_datalink v0.35.0
[INFO] [stderr]   Downloaded pnet_sys v0.35.0
[INFO] [stderr]   Downloaded pnet_base v0.35.0
[INFO] [stderr]   Downloaded ipnetwork v0.20.0
[INFO] [stderr]   Downloaded pnet v0.35.0
[INFO] [stderr]   Downloaded pnet_transport v0.35.0
[INFO] [stderr]   Downloaded pnet_packet v0.35.0
[INFO] [stderr]   Downloaded os_info v3.14.0
[INFO] [stderr]   Downloaded pnet_macros_support v0.35.0
[INFO] [stderr]   Downloaded objc2-user-notifications v0.3.2
[INFO] [stderr]   Downloaded pnet_macros v0.35.0
[INFO] [stderr]   Downloaded objc2-core-location v0.3.2
[INFO] [stderr]   Downloaded objc2-core-data v0.3.2
[INFO] [stderr]   Downloaded objc2-core-image v0.3.2
[INFO] [stderr]   Downloaded objc2-cloud-kit v0.3.2
[INFO] [stderr]   Downloaded dns-lookup v2.1.1
[INFO] [stderr]   Downloaded objc2-core-text v0.3.2
[INFO] [stderr]   Downloaded axum-macros v0.4.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b243ed2de0e7bb2eb633d684d39fc21e3fcaf1050aba233a7c40dce312cd60db
[INFO] running `Command { std: "docker" "start" "-a" "b243ed2de0e7bb2eb633d684d39fc21e3fcaf1050aba233a7c40dce312cd60db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b243ed2de0e7bb2eb633d684d39fc21e3fcaf1050aba233a7c40dce312cd60db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b243ed2de0e7bb2eb633d684d39fc21e3fcaf1050aba233a7c40dce312cd60db", kill_on_drop: false }`
[INFO] [stdout] b243ed2de0e7bb2eb633d684d39fc21e3fcaf1050aba233a7c40dce312cd60db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2027e4ba59baaca319bf684def12b23bcd5c287205495ab2d21c61a6750415aa
[INFO] running `Command { std: "docker" "start" "-a" "2027e4ba59baaca319bf684def12b23bcd5c287205495ab2d21c61a6750415aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling no-std-net v0.6.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling pnet_base v0.35.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling pnet_macros_support v0.35.0
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling pnet v0.35.0
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling csv-core v0.1.13
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling pnet_sys v0.35.0
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling dns-lookup v2.1.1
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling uuid v1.22.0
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling pnet_macros v0.35.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pnet_packet v0.35.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling tower-http v0.5.2
[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 clap v4.6.0
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling ipnetwork v0.20.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling os_info v3.14.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling rusqlite v0.30.0
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling pnet_datalink v0.35.0
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling pnet_transport v0.35.0
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling openorb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/discovery/service.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde_json::json;
[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 imports: `EtherTypes` and `MutableEthernetPacket`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 | use pnet::packet::ethernet::{EtherTypes, MutableEthernetPacket};
[INFO] [stdout]    |                              ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MutableIpv4Packet` and `self`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use pnet::packet::ipv4::{self, MutableIpv4Packet};
[INFO] [stdout]    |                          ^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpPacket`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:13:59
[INFO] [stdout]    |
[INFO] [stdout] 13 | use pnet::packet::tcp::{self, MutableTcpPacket, TcpFlags, TcpPacket};
[INFO] [stdout]    |                                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pnet::packet::Packet`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use pnet::packet::Packet;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransportSender`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |     TransportReceiver, TransportSender,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:20:24
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv4Addr`
[INFO] [stdout]   --> src/discovery/mod.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]   --> src/vulndb/database.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rusqlite::{params, Connection, Transaction};
[INFO] [stdout]    |                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/vulndb/cpe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/vulndb/active_tests.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 | use tracing::{debug, info, warn};
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/vulndb/mod.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub mod active_tests;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/agent/collector.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{debug, warn};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/discovery/syn_scanner.rs:159:22
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let (mut tx, mut rx) = transport_channel(4096, protocol)
[INFO] [stdout]     |                      ----^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/discovery/syn_scanner.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 254 |         let mut tcp_buffer = vec![0u8; 20]; // TCP header without options
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_mac`
[INFO] [stdout]    --> src/discovery/afpacket.rs:315:13
[INFO] [stdout]     |
[INFO] [stdout] 315 |         let source_mac = Self::get_mac(&ifname)?;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_mac`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]     --> src/vulndb/database.rs:1118:13
[INFO] [stdout]      |
[INFO] [stdout] 1118 |         let source = Connection::open(source_path)?;
[INFO] [stdout]      |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `confidence_level`
[INFO] [stdout]     --> src/vulndb/database.rs:1680:21
[INFO] [stdout]      |
[INFO] [stdout] 1680 |                 let confidence_level: Option<String> = row.get(9)?;
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confidence_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Probe` is never constructed
[INFO] [stdout]   --> src/discovery/service.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct Probe {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `normalize_version` is never used
[INFO] [stdout]    --> src/vulndb/database.rs:772:8
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl CveDatabase {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 772 |     fn normalize_version(&self, version: &str) -> (u32, u32, u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/agent/mod.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct InventoryResponse {
[INFO] [stdout]    |        ----------------- field in this struct
[INFO] [stdout] 58 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InventoryResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ParsedVersion`
[INFO] [stdout]   --> src/main.rs:10:81
[INFO] [stdout]    |
[INFO] [stdout] 10 | use openorb::discovery::{NetworkDiscovery, PortScanner, ScanMethod, SynScanner, ParsedVersion};
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "2027e4ba59baaca319bf684def12b23bcd5c287205495ab2d21c61a6750415aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2027e4ba59baaca319bf684def12b23bcd5c287205495ab2d21c61a6750415aa", kill_on_drop: false }`
[INFO] [stdout] 2027e4ba59baaca319bf684def12b23bcd5c287205495ab2d21c61a6750415aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1627e3f67052f79b2b84604efd96ad04d3bf99b1a24eefcac992c0e557b02db5
[INFO] running `Command { std: "docker" "start" "-a" "1627e3f67052f79b2b84604efd96ad04d3bf99b1a24eefcac992c0e557b02db5", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/discovery/service.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde_json::json;
[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 imports: `EtherTypes` and `MutableEthernetPacket`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 | use pnet::packet::ethernet::{EtherTypes, MutableEthernetPacket};
[INFO] [stdout]    |                              ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MutableIpv4Packet` and `self`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use pnet::packet::ipv4::{self, MutableIpv4Packet};
[INFO] [stdout]    |                          ^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpPacket`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:13:59
[INFO] [stdout]    |
[INFO] [stdout] 13 | use pnet::packet::tcp::{self, MutableTcpPacket, TcpFlags, TcpPacket};
[INFO] [stdout]    |                                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pnet::packet::Packet`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use pnet::packet::Packet;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransportSender`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |     TransportReceiver, TransportSender,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:20:24
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv4Addr`
[INFO] [stdout]   --> src/discovery/mod.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]   --> src/vulndb/database.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rusqlite::{params, Connection, Transaction};
[INFO] [stdout]    |                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/vulndb/cpe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/vulndb/active_tests.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 | use tracing::{debug, info, warn};
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/vulndb/mod.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub mod active_tests;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/agent/collector.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{debug, warn};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/discovery/syn_scanner.rs:159:22
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let (mut tx, mut rx) = transport_channel(4096, protocol)
[INFO] [stdout]     |                      ----^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling openorb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/discovery/syn_scanner.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 254 |         let mut tcp_buffer = vec![0u8; 20]; // TCP header without options
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_mac`
[INFO] [stdout]    --> src/discovery/afpacket.rs:315:13
[INFO] [stdout]     |
[INFO] [stdout] 315 |         let source_mac = Self::get_mac(&ifname)?;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_mac`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]     --> src/vulndb/database.rs:1118:13
[INFO] [stdout]      |
[INFO] [stdout] 1118 |         let source = Connection::open(source_path)?;
[INFO] [stdout]      |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `confidence_level`
[INFO] [stdout]     --> src/vulndb/database.rs:1680:21
[INFO] [stdout]      |
[INFO] [stdout] 1680 |                 let confidence_level: Option<String> = row.get(9)?;
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confidence_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Probe` is never constructed
[INFO] [stdout]   --> src/discovery/service.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct Probe {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `normalize_version` is never used
[INFO] [stdout]    --> src/vulndb/database.rs:772:8
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl CveDatabase {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 772 |     fn normalize_version(&self, version: &str) -> (u32, u32, u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/agent/mod.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct InventoryResponse {
[INFO] [stdout]    |        ----------------- field in this struct
[INFO] [stdout] 58 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InventoryResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ParsedVersion`
[INFO] [stdout]   --> src/main.rs:10:81
[INFO] [stdout]    |
[INFO] [stdout] 10 | use openorb::discovery::{NetworkDiscovery, PortScanner, ScanMethod, SynScanner, ParsedVersion};
[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: `serde_json::json`
[INFO] [stdout]  --> src/discovery/service.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde_json::json;
[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 imports: `EtherTypes` and `MutableEthernetPacket`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 | use pnet::packet::ethernet::{EtherTypes, MutableEthernetPacket};
[INFO] [stdout]    |                              ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MutableIpv4Packet` and `self`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use pnet::packet::ipv4::{self, MutableIpv4Packet};
[INFO] [stdout]    |                          ^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpPacket`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:13:59
[INFO] [stdout]    |
[INFO] [stdout] 13 | use pnet::packet::tcp::{self, MutableTcpPacket, TcpFlags, TcpPacket};
[INFO] [stdout]    |                                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pnet::packet::Packet`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use pnet::packet::Packet;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransportSender`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |     TransportReceiver, TransportSender,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]   --> src/discovery/syn_scanner.rs:20:24
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ipv4Addr`
[INFO] [stdout]   --> src/discovery/mod.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]   --> src/vulndb/database.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rusqlite::{params, Connection, Transaction};
[INFO] [stdout]    |                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/vulndb/cpe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/vulndb/active_tests.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 | use tracing::{debug, info, warn};
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/agent/collector.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{debug, warn};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/discovery/syn_scanner.rs:159:22
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let (mut tx, mut rx) = transport_channel(4096, protocol)
[INFO] [stdout]     |                      ----^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/discovery/syn_scanner.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 254 |         let mut tcp_buffer = vec![0u8; 20]; // TCP header without options
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_mac`
[INFO] [stdout]    --> src/discovery/afpacket.rs:315:13
[INFO] [stdout]     |
[INFO] [stdout] 315 |         let source_mac = Self::get_mac(&ifname)?;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_mac`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]     --> src/vulndb/database.rs:1118:13
[INFO] [stdout]      |
[INFO] [stdout] 1118 |         let source = Connection::open(source_path)?;
[INFO] [stdout]      |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `confidence_level`
[INFO] [stdout]     --> src/vulndb/database.rs:1680:21
[INFO] [stdout]      |
[INFO] [stdout] 1680 |                 let confidence_level: Option<String> = row.get(9)?;
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confidence_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Probe` is never constructed
[INFO] [stdout]   --> src/discovery/service.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct Probe {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `normalize_version` is never used
[INFO] [stdout]    --> src/vulndb/database.rs:772:8
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl CveDatabase {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 772 |     fn normalize_version(&self, version: &str) -> (u32, u32, u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/agent/mod.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct InventoryResponse {
[INFO] [stdout]    |        ----------------- field in this struct
[INFO] [stdout] 58 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InventoryResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.48s
[INFO] running `Command { std: "docker" "inspect" "1627e3f67052f79b2b84604efd96ad04d3bf99b1a24eefcac992c0e557b02db5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1627e3f67052f79b2b84604efd96ad04d3bf99b1a24eefcac992c0e557b02db5", kill_on_drop: false }`
[INFO] [stdout] 1627e3f67052f79b2b84604efd96ad04d3bf99b1a24eefcac992c0e557b02db5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5046fd215d8206f16702877cba0928f88298fed8783e08aa5cbce28992b58166
[INFO] running `Command { std: "docker" "start" "-a" "5046fd215d8206f16702877cba0928f88298fed8783e08aa5cbce28992b58166", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `serde_json::json`
[INFO] [stderr]  --> src/discovery/service.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use serde_json::json;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `EtherTypes` and `MutableEthernetPacket`
[INFO] [stderr]   --> src/discovery/syn_scanner.rs:10:30
[INFO] [stderr]    |
[INFO] [stderr] 10 | use pnet::packet::ethernet::{EtherTypes, MutableEthernetPacket};
[INFO] [stderr]    |                              ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `MutableIpv4Packet` and `self`
[INFO] [stderr]   --> src/discovery/syn_scanner.rs:12:26
[INFO] [stderr]    |
[INFO] [stderr] 12 | use pnet::packet::ipv4::{self, MutableIpv4Packet};
[INFO] [stderr]    |                          ^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `TcpPacket`
[INFO] [stderr]   --> src/discovery/syn_scanner.rs:13:59
[INFO] [stderr]    |
[INFO] [stderr] 13 | use pnet::packet::tcp::{self, MutableTcpPacket, TcpFlags, TcpPacket};
[INFO] [stderr]    |                                                           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `pnet::packet::Packet`
[INFO] [stderr]   --> src/discovery/syn_scanner.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use pnet::packet::Packet;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `TransportSender`
[INFO] [stderr]   --> src/discovery/syn_scanner.rs:17:24
[INFO] [stderr]    |
[INFO] [stderr] 17 |     TransportReceiver, TransportSender,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HashMap`
[INFO] [stderr]   --> src/discovery/syn_scanner.rs:20:24
[INFO] [stderr]    |
[INFO] [stderr] 20 | use std::collections::{HashMap, HashSet};
[INFO] [stderr]    |                        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Ipv4Addr`
[INFO] [stderr]   --> src/discovery/mod.rs:27:24
[INFO] [stderr]    |
[INFO] [stderr] 27 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stderr]    |                        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Transaction`
[INFO] [stderr]   --> src/vulndb/database.rs:14:36
[INFO] [stderr]    |
[INFO] [stderr] 14 | use rusqlite::{params, Connection, Transaction};
[INFO] [stderr]    |                                    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/vulndb/cpe.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `info`
[INFO] [stderr]   --> src/vulndb/active_tests.rs:17:22
[INFO] [stderr]    |
[INFO] [stderr] 17 | use tracing::{debug, info, warn};
[INFO] [stderr]    |                      ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stderr]   --> src/vulndb/mod.rs:9:1
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub mod active_tests;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `debug`
[INFO] [stderr]  --> src/agent/collector.rs:5:15
[INFO] [stderr]   |
[INFO] [stderr] 5 | use tracing::{debug, warn};
[INFO] [stderr]   |               ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/discovery/syn_scanner.rs:159:22
[INFO] [stderr]     |
[INFO] [stderr] 159 |         let (mut tx, mut rx) = transport_channel(4096, protocol)
[INFO] [stderr]     |                      ----^^
[INFO] [stderr]     |                      |
[INFO] [stderr]     |                      help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/discovery/syn_scanner.rs:254:13
[INFO] [stderr]     |
[INFO] [stderr] 254 |         let mut tcp_buffer = vec![0u8; 20]; // TCP header without options
[INFO] [stderr]     |             ----^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `source_mac`
[INFO] [stderr]    --> src/discovery/afpacket.rs:315:13
[INFO] [stderr]     |
[INFO] [stderr] 315 |         let source_mac = Self::get_mac(&ifname)?;
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_mac`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `source`
[INFO] [stderr]     --> src/vulndb/database.rs:1118:13
[INFO] [stderr]      |
[INFO] [stderr] 1118 |         let source = Connection::open(source_path)?;
[INFO] [stderr]      |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `confidence_level`
[INFO] [stderr]     --> src/vulndb/database.rs:1680:21
[INFO] [stderr]      |
[INFO] [stderr] 1680 |                 let confidence_level: Option<String> = row.get(9)?;
[INFO] [stderr]      |                     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confidence_level`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Probe` is never constructed
[INFO] [stderr]   --> src/discovery/service.rs:23:8
[INFO] [stderr]    |
[INFO] [stderr] 23 | struct Probe {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `normalize_version` is never used
[INFO] [stderr]    --> src/vulndb/database.rs:772:8
[INFO] [stderr]     |
[INFO] [stderr] 216 | impl CveDatabase {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 772 |     fn normalize_version(&self, version: &str) -> (u32, u32, u32) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `status` is never read
[INFO] [stderr]   --> src/agent/mod.rs:58:5
[INFO] [stderr]    |
[INFO] [stderr] 57 | struct InventoryResponse {
[INFO] [stderr]    |        ----------------- field in this struct
[INFO] [stderr] 58 |     status: String,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `InventoryResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `info`
[INFO] [stderr]   --> src/vulndb/active_tests.rs:17:22
[INFO] [stderr]    |
[INFO] [stderr] 17 | use tracing::{debug, info, warn};
[INFO] [stderr]    |                      ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `openorb` (lib) generated 20 warnings (run `cargo fix --lib -p openorb` to apply 17 suggestions)
[INFO] [stderr] warning: `openorb` (lib test) generated 20 warnings (19 duplicates) (run `cargo fix --lib -p openorb --tests` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `ParsedVersion`
[INFO] [stderr]   --> src/main.rs:10:81
[INFO] [stderr]    |
[INFO] [stderr] 10 | use openorb::discovery::{NetworkDiscovery, PortScanner, ScanMethod, SynScanner, ParsedVersion};
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `openorb` (bin "openorb" test) generated 1 warning (run `cargo fix --bin "openorb" -p openorb --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openorb-2d5085fbfad630fe)
[INFO] [stdout] 
[INFO] [stdout] running 62 tests
[INFO] [stdout] test discovery::afpacket::tests::test_ip_checksum ... ok
[INFO] [stdout] test discovery::afpacket::tests::test_build_syn_packet ... ok
[INFO] [stdout] test discovery::afpacket::tests::test_default_config ... ok
[INFO] [stdout] test discovery::afpacket::tests::test_ring_index_wraps ... ok
[INFO] [stdout] test discovery::syn_scanner::tests::test_config_default ... ok
[INFO] [stdout] test discovery::syn_scanner::tests::test_scan_method_parse ... ok
[INFO] [stdout] test discovery::afpacket::tests::test_parse_syn_response_rst ... ok
[INFO] [stdout] test discovery::scanner::tests::test_scanner_creation ... ok
[INFO] [stdout] test vulndb::active_tests::tests::test_config_builders ... ok
[INFO] [stdout] test vulndb::active_tests::tests::test_config_defaults ... ok
[INFO] [stdout] test vulndb::active_tests::tests::test_config_from_json ... ok
[INFO] [stdout] test vulndb::active_tests::tests::test_config_from_yaml ... ok
[INFO] [stdout] test vulndb::active_tests::tests::test_config_from_toml ... ok
[INFO] [stdout] test discovery::afpacket::tests::test_kernel_struct_sizes ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_parse_22 ... ok
[INFO] [stdout] test vulndb::active_tests::tests::test_risk_levels ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_matches_exact ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_parse_invalid ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_matches_wildcard ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_no_match_different_product ... ok
[INFO] [stdout] test discovery::afpacket::tests::test_block_desc_field_offsets ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_part_from_char ... ok
[INFO] [stdout] test vulndb::active_tests::tests::test_risk_parse ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_parse_23_with_update ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_parse_23 ... ok
[INFO] [stdout] test vulndb::active_tests::tests::test_parse_builtin_yaml ... ok
[INFO] [stdout] test vulndb::active_tests::tests::test_runner_list_tests ... ok
[INFO] [stdout] test discovery::afpacket::tests::test_parse_syn_response_synack ... ok
[INFO] [stdout] test vulndb::active_tests::tests::test_runner_get_test ... ok
[INFO] [stdout] test vulndb::active_tests::tests::test_runner_with_config ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_to_uri ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_version_prefix_match ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_match_version_including ... ok
[INFO] [stdout] test discovery::scanner::tests::test_localhost_scan ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_exim ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_postfix ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_cpe_match_version_affected ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_postgresql ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_apache ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_match_field_case_insensitive ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_match_field_wildcard ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_match_field_na ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_mysql ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_semantic_version_ordering ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_semantic_version_basic_compare ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_iis ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_semantic_version_parse ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_mariadb ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_semantic_version_with_pre ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_semantic_version_pre_release_ordering ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_nginx ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_no_match ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_from_product_version ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_dropbear ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_lighttpd ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_proftpd ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_from_banner ... ok
[INFO] [stdout] test vulndb::scanner::tests::test_extract_product ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_ssh ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_openssl ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_redis ... ok
[INFO] [stdout] test vulndb::cpe::tests::test_dictionary_vsftpd ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 62 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/openorb-6e4085b54a47f0cb)
[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] [stderr]      Running unittests src/bin/agent.rs (/opt/rustwide/target/debug/deps/openorb_agent-40f7b47248745f31)
[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] [stderr]    Doc-tests openorb
[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" "5046fd215d8206f16702877cba0928f88298fed8783e08aa5cbce28992b58166", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5046fd215d8206f16702877cba0928f88298fed8783e08aa5cbce28992b58166", kill_on_drop: false }`
[INFO] [stdout] 5046fd215d8206f16702877cba0928f88298fed8783e08aa5cbce28992b58166
