[INFO] cloning repository https://github.com/ruohki/agent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ruohki/agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruohki%2Fagent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruohki%2Fagent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5f0195fc153e44ed177f4b0f356f437c45fcfb1 [INFO] building ruohki/agent against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruohki%2Fagent" "/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/ruohki/agent [INFO] finished tweaking git repo https://github.com/ruohki/agent [INFO] tweaked toml for git repo https://github.com/ruohki/agent written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ruohki/agent on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ruohki/agent already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] 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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c66fb9c9a115ae6cec02b60525baea7d6cc52a8ccd5d59d4d4d84bc28283286 [INFO] running `Command { std: "docker" "start" "-a" "6c66fb9c9a115ae6cec02b60525baea7d6cc52a8ccd5d59d4d4d84bc28283286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c66fb9c9a115ae6cec02b60525baea7d6cc52a8ccd5d59d4d4d84bc28283286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c66fb9c9a115ae6cec02b60525baea7d6cc52a8ccd5d59d4d4d84bc28283286", kill_on_drop: false }` [INFO] [stdout] 6c66fb9c9a115ae6cec02b60525baea7d6cc52a8ccd5d59d4d4d84bc28283286 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eae70a901e931ec96a8845afda0b33b55cd415bec5f193ca5940b2389bf751ca [INFO] running `Command { std: "docker" "start" "-a" "eae70a901e931ec96a8845afda0b33b55cd415bec5f193ca5940b2389bf751ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling sysinfo v0.30.13 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.27 [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 pkagent v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `success` and `timestamp` are never read [INFO] [stdout] --> src/api.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct AgentReportResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 21 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub timestamp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentReportResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fingerprint`, `key_type`, `comment`, `use_primary_key`, and `assignment_id` are never read [INFO] [stdout] --> src/api.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct KeyAssignment { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 33 | pub username: String, [INFO] [stdout] 34 | pub fingerprint: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub key_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | #[serde(rename = "usePrimaryKey")] [INFO] [stdout] 41 | pub use_primary_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | #[serde(rename = "assignmentId")] [INFO] [stdout] 43 | pub assignment_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyAssignment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success`, `host_id`, `hostname`, and `timestamp` are never read [INFO] [stdout] --> src/api.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct KeyAssignmentsResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 48 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | #[serde(rename = "hostId")] [INFO] [stdout] 50 | pub host_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | pub hostname: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub assignments: Option>, [INFO] [stdout] 53 | pub timestamp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyAssignmentsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/api.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct VersionErrorResponse { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 59 | pub error: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VersionErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `matches_assignment` is never used [INFO] [stdout] --> src/ssh_keys.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl SshKey { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn matches_assignment(&self, assignment: &KeyAssignment) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/update.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GitHubRelease { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitHubRelease` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content_type` is never read [INFO] [stdout] --> src/update.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct GitHubAsset { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitHubAsset` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.59s [INFO] running `Command { std: "docker" "inspect" "eae70a901e931ec96a8845afda0b33b55cd415bec5f193ca5940b2389bf751ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae70a901e931ec96a8845afda0b33b55cd415bec5f193ca5940b2389bf751ca", kill_on_drop: false }` [INFO] [stdout] eae70a901e931ec96a8845afda0b33b55cd415bec5f193ca5940b2389bf751ca [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 922b1cc25965a441edf5d90c5f440c8cbe4c9ffa6093fc1e16ec48b25d5f0b8b [INFO] running `Command { std: "docker" "start" "-a" "922b1cc25965a441edf5d90c5f440c8cbe4c9ffa6093fc1e16ec48b25d5f0b8b", kill_on_drop: false }` [INFO] [stderr] Compiling pkagent v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `success` and `timestamp` are never read [INFO] [stdout] --> src/api.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct AgentReportResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 21 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub timestamp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentReportResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fingerprint`, `key_type`, `comment`, `use_primary_key`, and `assignment_id` are never read [INFO] [stdout] --> src/api.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct KeyAssignment { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 33 | pub username: String, [INFO] [stdout] 34 | pub fingerprint: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub key_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | #[serde(rename = "usePrimaryKey")] [INFO] [stdout] 41 | pub use_primary_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | #[serde(rename = "assignmentId")] [INFO] [stdout] 43 | pub assignment_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyAssignment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success`, `host_id`, `hostname`, and `timestamp` are never read [INFO] [stdout] --> src/api.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct KeyAssignmentsResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 48 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | #[serde(rename = "hostId")] [INFO] [stdout] 50 | pub host_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | pub hostname: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub assignments: Option>, [INFO] [stdout] 53 | pub timestamp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyAssignmentsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/api.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct VersionErrorResponse { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 59 | pub error: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VersionErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `matches_assignment` is never used [INFO] [stdout] --> src/ssh_keys.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl SshKey { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn matches_assignment(&self, assignment: &KeyAssignment) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/update.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GitHubRelease { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitHubRelease` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content_type` is never read [INFO] [stdout] --> src/update.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct GitHubAsset { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitHubAsset` 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 2.52s [INFO] running `Command { std: "docker" "inspect" "922b1cc25965a441edf5d90c5f440c8cbe4c9ffa6093fc1e16ec48b25d5f0b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "922b1cc25965a441edf5d90c5f440c8cbe4c9ffa6093fc1e16ec48b25d5f0b8b", kill_on_drop: false }` [INFO] [stdout] 922b1cc25965a441edf5d90c5f440c8cbe4c9ffa6093fc1e16ec48b25d5f0b8b