[INFO] fetching crate upv-cli 0.4.2... [INFO] checking upv-cli-0.4.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate upv-cli 0.4.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate upv-cli 0.4.2 [INFO] finished tweaking crates.io crate upv-cli 0.4.2 [INFO] tweaked toml for crates.io crate upv-cli 0.4.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate upv-cli 0.4.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate upv-cli 0.4.2 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_complete v4.5.52 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03387c1689ca2c4d07d5bfa9328c3cefaca1798d80e59ac4829ed8a04b09de62 [INFO] running `Command { std: "docker" "start" "-a" "03387c1689ca2c4d07d5bfa9328c3cefaca1798d80e59ac4829ed8a04b09de62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03387c1689ca2c4d07d5bfa9328c3cefaca1798d80e59ac4829ed8a04b09de62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03387c1689ca2c4d07d5bfa9328c3cefaca1798d80e59ac4829ed8a04b09de62", kill_on_drop: false }` [INFO] [stdout] 03387c1689ca2c4d07d5bfa9328c3cefaca1798d80e59ac4829ed8a04b09de62 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e830792643eb014d37bc9a625cc18ec991ec6676cfa009c43872209c5111e5a0 [INFO] running `Command { std: "docker" "start" "-a" "e830792643eb014d37bc9a625cc18ec991ec6676cfa009c43872209c5111e5a0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Checking clap_complete v4.5.52 [INFO] [stderr] Checking upv-cli v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `process` [INFO] [stdout] --> src/main.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{io, process}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EXIT_PROGRAM_ERROR`, `EXIT_SUCCESS`, and `UpvError` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use error::{UpvError, EXIT_SUCCESS, EXIT_PROGRAM_ERROR}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process` [INFO] [stdout] --> src/main.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{io, process}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EXIT_PROGRAM_ERROR`, `EXIT_SUCCESS`, and `UpvError` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use error::{UpvError, EXIT_SUCCESS, EXIT_PROGRAM_ERROR}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DriveManager` is never constructed [INFO] [stdout] --> src/drive.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct DriveManager; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `mount`, `open_drive`, `unmount`, and `status` are never used [INFO] [stdout] --> src/drive.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl DriveManager { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 26 | /// Mounts the UPV Personal Network Drive (Disco W) to a specified drive letter [INFO] [stdout] 27 | pub fn mount(username: &str, domain: &UPVDomain, password: Option<&str>, drive: char, open_explorer: bool) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn open_drive(drive: char, check_if_exists: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn unmount(drive: char, force: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn status() -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EAP_CONFIG_XML` is never used [INFO] [stdout] --> src/vpn.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const EAP_CONFIG_XML: &str = include_str!("../resources/UPV_Config.xml"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VpnManager` is never constructed [INFO] [stdout] --> src/vpn.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct VpnManager; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/vpn.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl VpnManager { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | fn get_upv_connections() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn delete_connection(name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn create(name: &str, auto_connect: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn purge(force: bool, except_names: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn connect(name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn disconnect() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn delete(name: &str, force: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn list() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn status() -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIT_SUCCESS` is never used [INFO] [stdout] --> src/error.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const EXIT_SUCCESS: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIT_PROGRAM_ERROR` is never used [INFO] [stdout] --> src/error.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const EXIT_PROGRAM_ERROR: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIT_UPV_VPN_ERROR` is never used [INFO] [stdout] --> src/error.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const EXIT_UPV_VPN_ERROR: i32 = 11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIT_UPV_DRIVE_ERROR` is never used [INFO] [stdout] --> src/error.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const EXIT_UPV_DRIVE_ERROR: i32 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIT_UPV_DRIVE_IN_USE_ERROR` is never used [INFO] [stdout] --> src/error.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const EXIT_UPV_DRIVE_IN_USE_ERROR: i32 = 13; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpvError` is never constructed [INFO] [stdout] --> src/error.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UpvError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/error.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl UpvError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(message: impl Into, exit_code: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DriveManager` is never constructed [INFO] [stdout] --> src/drive.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct DriveManager; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `mount`, `open_drive`, `unmount`, and `status` are never used [INFO] [stdout] --> src/drive.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl DriveManager { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 26 | /// Mounts the UPV Personal Network Drive (Disco W) to a specified drive letter [INFO] [stdout] 27 | pub fn mount(username: &str, domain: &UPVDomain, password: Option<&str>, drive: char, open_explorer: bool) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn open_drive(drive: char, check_if_exists: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn unmount(drive: char, force: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn status() -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EAP_CONFIG_XML` is never used [INFO] [stdout] --> src/vpn.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const EAP_CONFIG_XML: &str = include_str!("../resources/UPV_Config.xml"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VpnManager` is never constructed [INFO] [stdout] --> src/vpn.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct VpnManager; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/vpn.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl VpnManager { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | fn get_upv_connections() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn delete_connection(name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn create(name: &str, auto_connect: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn purge(force: bool, except_names: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn connect(name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn disconnect() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn delete(name: &str, force: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn list() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn status() -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIT_SUCCESS` is never used [INFO] [stdout] --> src/error.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const EXIT_SUCCESS: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIT_PROGRAM_ERROR` is never used [INFO] [stdout] --> src/error.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const EXIT_PROGRAM_ERROR: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIT_UPV_VPN_ERROR` is never used [INFO] [stdout] --> src/error.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const EXIT_UPV_VPN_ERROR: i32 = 11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIT_UPV_DRIVE_ERROR` is never used [INFO] [stdout] --> src/error.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const EXIT_UPV_DRIVE_ERROR: i32 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIT_UPV_DRIVE_IN_USE_ERROR` is never used [INFO] [stdout] --> src/error.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const EXIT_UPV_DRIVE_IN_USE_ERROR: i32 = 13; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpvError` is never constructed [INFO] [stdout] --> src/error.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UpvError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/error.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl UpvError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(message: impl Into, exit_code: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.49s [INFO] running `Command { std: "docker" "inspect" "e830792643eb014d37bc9a625cc18ec991ec6676cfa009c43872209c5111e5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e830792643eb014d37bc9a625cc18ec991ec6676cfa009c43872209c5111e5a0", kill_on_drop: false }` [INFO] [stdout] e830792643eb014d37bc9a625cc18ec991ec6676cfa009c43872209c5111e5a0