[INFO] fetching crate port-checker 0.3.0... [INFO] testing port-checker-0.3.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate port-checker 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate port-checker 0.3.0 [INFO] finished tweaking crates.io crate port-checker 0.3.0 [INFO] tweaked toml for crates.io crate port-checker 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate port-checker 0.3.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate port-checker 0.3.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.16 [INFO] [stderr] Downloaded tokio v1.47.0 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 861e27bc1a4dab20c7d1b401d6e0cca8befe6b8eea50d1b6f7b03551c159213d [INFO] running `Command { std: "docker" "start" "-a" "861e27bc1a4dab20c7d1b401d6e0cca8befe6b8eea50d1b6f7b03551c159213d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "861e27bc1a4dab20c7d1b401d6e0cca8befe6b8eea50d1b6f7b03551c159213d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "861e27bc1a4dab20c7d1b401d6e0cca8befe6b8eea50d1b6f7b03551c159213d", kill_on_drop: false }` [INFO] [stdout] 861e27bc1a4dab20c7d1b401d6e0cca8befe6b8eea50d1b6f7b03551c159213d [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2eb08294c44ef95600ec355a97c9c4b306cc2460e825843545dff7d7e9e13217 [INFO] running `Command { std: "docker" "start" "-a" "2eb08294c44ef95600ec355a97c9c4b306cc2460e825843545dff7d7e9e13217", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling papergrid v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tabled v0.15.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling port-checker v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/port_manager.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extract_port_from_addr` in this scope [INFO] [stdout] --> src/port_scanner.rs:339:50 [INFO] [stdout] | [INFO] [stdout] 339 | if port.local_addr.contains(&extract_port_from_addr(local_addr)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inode` [INFO] [stdout] --> src/port_scanner.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let inode = fields[9].parse::().unwrap_or(0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 133 | let _inode = fields[9].parse::().unwrap_or(0); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_ATTEMPTS` [INFO] [stdout] | [INFO] [stdout] 133 - let inode = fields[9].parse::().unwrap_or(0); [INFO] [stdout] 133 + let port_manager::PortAllocator::allocate_random::MAX_ATTEMPTS = fields[9].parse::().unwrap_or(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `port-checker` (bin "port-checker") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2eb08294c44ef95600ec355a97c9c4b306cc2460e825843545dff7d7e9e13217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eb08294c44ef95600ec355a97c9c4b306cc2460e825843545dff7d7e9e13217", kill_on_drop: false }` [INFO] [stdout] 2eb08294c44ef95600ec355a97c9c4b306cc2460e825843545dff7d7e9e13217