[INFO] fetching crate product-os-command-control 0.0.25... [INFO] testing product-os-command-control-0.0.25 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate product-os-command-control 0.0.25 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate product-os-command-control 0.0.25 [INFO] finished tweaking crates.io crate product-os-command-control 0.0.25 [INFO] tweaked toml for crates.io crate product-os-command-control 0.0.25 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate product-os-command-control 0.0.25 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate product-os-command-control 0.0.25 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40e813fd1b850bdf4fe93722cf1af45f53a1da36128ab77519039f4566cba7ba [INFO] running `Command { std: "docker" "start" "-a" "40e813fd1b850bdf4fe93722cf1af45f53a1da36128ab77519039f4566cba7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40e813fd1b850bdf4fe93722cf1af45f53a1da36128ab77519039f4566cba7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e813fd1b850bdf4fe93722cf1af45f53a1da36128ab77519039f4566cba7ba", kill_on_drop: false }` [INFO] [stdout] 40e813fd1b850bdf4fe93722cf1af45f53a1da36128ab77519039f4566cba7ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a52700522b1544302a83f877d7ab648ce39a8d6351fa4e585d96080889d0362 [INFO] running `Command { std: "docker" "start" "-a" "4a52700522b1544302a83f877d7ab648ce39a8d6351fa4e585d96080889d0362", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling core-error v0.0.1-rc4 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling async-compression v0.4.25 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling product-os-http v0.0.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling product-os-http-body v0.0.23 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_html_form v0.2.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ioslice v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling fiat-crypto v0.3.0 [INFO] [stderr] Compiling jwt-compact v0.8.0 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling product-os-async-executor v0.0.17 [INFO] [stderr] Compiling product-os-random v0.0.27 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling product-os-urlencoding v0.0.1 [INFO] [stderr] Compiling product-os-request v0.0.48 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling product-os-net v0.0.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_with v3.13.0 [INFO] [stderr] Compiling dns-lookup v2.0.4 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling product-os-openapi v0.0.4 [INFO] [stderr] Compiling axum-extra v0.10.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling product-os-router v0.0.35 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling product-os-capabilities v0.0.24 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling machine-uid v0.5.3 [INFO] [stderr] Compiling psutil v3.3.0 [INFO] [stderr] Compiling product-os-monitoring v0.0.3 [INFO] [stderr] Compiling cron v0.14.0 [INFO] [stderr] Compiling orion v0.17.11 [INFO] [stderr] Compiling product-os-security v0.0.61 [INFO] [stderr] Compiling product-os-utilities v0.0.23 [INFO] [stderr] Compiling product-os-connector v0.0.25 [INFO] [stderr] Compiling product-os-configuration v0.0.38 [INFO] [stderr] Compiling product-os-store v0.0.32 [INFO] [stderr] Compiling product-os-command-control v0.0.25 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::Bytes; [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::Value` [INFO] [stdout] --> src/registry.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BodyType` [INFO] [stdout] --> src/commands.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use product_os_request::{BodyType, ProductOSClient, ProductOSResponse}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/commands.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/lib.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use parking_lot::{ Mutex, MutexGuard }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RelationalKind`, `RelationalStore`, and `Stores` [INFO] [stdout] --> src/lib.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 15 | use product_os_configuration::{KeyValueKind, KeyValueStore, RelationalKind, RelationalStore, Stores}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/lib.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{ Deserialize, Serialize }; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::TryFromIntError` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::num::TryFromIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:498:14 [INFO] [stdout] | [INFO] [stdout] 498 | Some(mut controller) => { [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: enum `Protocol` is never used [INFO] [stdout] --> src/registry.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Protocol { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 25s [INFO] running `Command { std: "docker" "inspect" "4a52700522b1544302a83f877d7ab648ce39a8d6351fa4e585d96080889d0362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a52700522b1544302a83f877d7ab648ce39a8d6351fa4e585d96080889d0362", kill_on_drop: false }` [INFO] [stdout] 4a52700522b1544302a83f877d7ab648ce39a8d6351fa4e585d96080889d0362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b953abb738c2672bd9467d5c6fabb7d481611264340b11c3cd6820beb5e07f3 [INFO] running `Command { std: "docker" "start" "-a" "2b953abb738c2672bd9467d5c6fabb7d481611264340b11c3cd6820beb5e07f3", kill_on_drop: false }` [INFO] [stderr] Compiling product-os-command-control v0.0.25 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::Bytes; [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::Value` [INFO] [stdout] --> src/registry.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BodyType` [INFO] [stdout] --> src/commands.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use product_os_request::{BodyType, ProductOSClient, ProductOSResponse}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/commands.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/lib.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use parking_lot::{ Mutex, MutexGuard }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RelationalKind`, `RelationalStore`, and `Stores` [INFO] [stdout] --> src/lib.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 15 | use product_os_configuration::{KeyValueKind, KeyValueStore, RelationalKind, RelationalStore, Stores}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/lib.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{ Deserialize, Serialize }; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::TryFromIntError` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::num::TryFromIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:498:14 [INFO] [stdout] | [INFO] [stdout] 498 | Some(mut controller) => { [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: enum `Protocol` is never used [INFO] [stdout] --> src/registry.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Protocol { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::Bytes; [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::Value` [INFO] [stdout] --> src/registry.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BodyType` [INFO] [stdout] --> src/commands.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use product_os_request::{BodyType, ProductOSClient, ProductOSResponse}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/commands.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/lib.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use parking_lot::{ Mutex, MutexGuard }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RelationalKind`, `RelationalStore`, and `Stores` [INFO] [stdout] --> src/lib.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 15 | use product_os_configuration::{KeyValueKind, KeyValueStore, RelationalKind, RelationalStore, Stores}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/lib.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{ Deserialize, Serialize }; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::TryFromIntError` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::num::TryFromIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:498:14 [INFO] [stdout] | [INFO] [stdout] 498 | Some(mut controller) => { [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: enum `Protocol` is never used [INFO] [stdout] --> src/registry.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Protocol { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.24s [INFO] running `Command { std: "docker" "inspect" "2b953abb738c2672bd9467d5c6fabb7d481611264340b11c3cd6820beb5e07f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b953abb738c2672bd9467d5c6fabb7d481611264340b11c3cd6820beb5e07f3", kill_on_drop: false }` [INFO] [stdout] 2b953abb738c2672bd9467d5c6fabb7d481611264340b11c3cd6820beb5e07f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 72917372d466775a9f5655594ef5d0fcb3efc675dbb22e1923956e569f773463 [INFO] running `Command { std: "docker" "start" "-a" "72917372d466775a9f5655594ef5d0fcb3efc675dbb22e1923956e569f773463", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `bytes::Bytes` [INFO] [stderr] --> src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use bytes::Bytes; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/registry.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BodyType` [INFO] [stderr] --> src/commands.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use product_os_request::{BodyType, ProductOSClient, ProductOSResponse}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/commands.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MutexGuard` [INFO] [stderr] --> src/lib.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | use parking_lot::{ Mutex, MutexGuard }; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RelationalKind`, `RelationalStore`, and `Stores` [INFO] [stderr] --> src/lib.rs:15:61 [INFO] [stderr] | [INFO] [stderr] 15 | use product_os_configuration::{KeyValueKind, KeyValueStore, RelationalKind, RelationalStore, Stores}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/lib.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | use serde::{ Deserialize, Serialize }; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::num::TryFromIntError` [INFO] [stderr] --> src/lib.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use std::num::TryFromIntError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:498:14 [INFO] [stderr] | [INFO] [stderr] 498 | Some(mut controller) => { [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: enum `Protocol` is never used [INFO] [stderr] --> src/registry.rs:19:6 [INFO] [stderr] | [INFO] [stderr] 19 | enum Protocol { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `product-os-command-control` (lib) generated 10 warnings (run `cargo fix --lib -p product-os-command-control` to apply 9 suggestions) [INFO] [stderr] warning: `product-os-command-control` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/product_os_command_control-ca2cfa27027e9b6d) [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 product_os_command_control [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" "72917372d466775a9f5655594ef5d0fcb3efc675dbb22e1923956e569f773463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72917372d466775a9f5655594ef5d0fcb3efc675dbb22e1923956e569f773463", kill_on_drop: false }` [INFO] [stdout] 72917372d466775a9f5655594ef5d0fcb3efc675dbb22e1923956e569f773463