[INFO] cloning repository https://github.com/blacpaper/OTA-Embedded-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blacpaper/OTA-Embedded-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblacpaper%2FOTA-Embedded-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblacpaper%2FOTA-Embedded-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cf9ef99539c9b34a4b01047a95b0ec2f253d8c17
[INFO] testing blacpaper/OTA-Embedded-Rust/cf9ef99539c9b34a4b01047a95b0ec2f253d8c17 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblacpaper%2FOTA-Embedded-Rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/blacpaper/OTA-Embedded-Rust
[INFO] finished tweaking git repo https://github.com/blacpaper/OTA-Embedded-Rust
[INFO] tweaked toml for git repo https://github.com/blacpaper/OTA-Embedded-Rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/blacpaper/OTA-Embedded-Rust 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/blacpaper/OTA-Embedded-Rust 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 simple_asn1 v0.6.3
[INFO] [stderr]   Downloaded bsdiff v0.2.1
[INFO] [stderr]   Downloaded bcrypt v0.18.0
[INFO] [stderr]   Downloaded actix-multipart-derive v0.7.0
[INFO] [stderr]   Downloaded time-macros v0.2.26
[INFO] [stderr]   Downloaded actix-multipart v0.7.2
[INFO] [stderr]   Downloaded async-compression v0.4.38
[INFO] [stderr]   Downloaded actix-files v0.6.9
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.38
[INFO] [stderr]   Downloaded zerocopy v0.8.38
[INFO] [stderr]   Downloaded time v0.3.46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 652355cb0884a23dae89a40d4d7bb514022593bd05196dde260e0dbe072584e4
[INFO] running `Command { std: "docker" "start" "-a" "652355cb0884a23dae89a40d4d7bb514022593bd05196dde260e0dbe072584e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "652355cb0884a23dae89a40d4d7bb514022593bd05196dde260e0dbe072584e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "652355cb0884a23dae89a40d4d7bb514022593bd05196dde260e0dbe072584e4", kill_on_drop: false }`
[INFO] [stdout] 652355cb0884a23dae89a40d4d7bb514022593bd05196dde260e0dbe072584e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1835988a39e0bf88aebb2ff85b255fd5e191ec01abefc10a43d6ca6cebc4e379
[INFO] running `Command { std: "docker" "start" "-a" "1835988a39e0bf88aebb2ff85b255fd5e191ec01abefc10a43d6ca6cebc4e379", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling zerocopy v0.8.38
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling time-macros v0.2.26
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling time v0.3.46
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regex-lite v0.1.9
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling actix-rt v2.11.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling actix-http v3.11.2
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling parse-size v1.1.0
[INFO] [stderr]    Compiling actix-multipart-derive v0.7.0
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling actix-web v4.12.1
[INFO] [stderr]    Compiling compression-codecs v0.4.36
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling serde_plain v1.0.2
[INFO] [stderr]    Compiling http-range v0.1.5
[INFO] [stderr]    Compiling jsonwebtoken v8.3.0
[INFO] [stderr]    Compiling bcrypt v0.18.0
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling async-compression v0.4.38
[INFO] [stderr]    Compiling uuid v1.20.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling bsdiff v0.2.1
[INFO] [stderr]    Compiling actix-multipart v0.7.2
[INFO] [stderr]    Compiling actix-files v0.6.9
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling OTA-Service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `HttpRequest`
[INFO] [stdout]  --> src/handlers/admin.rs:1:47
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpRequest};
[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: `http::header`
[INFO] [stdout]  --> src/handlers/device.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpRequest, http::header};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/handlers/device.rs:134:31
[INFO] [stdout]     |
[INFO] [stdout] 134 |         if let Some((version, path, notes)) = firmware {
[INFO] [stdout]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ADMIN_TOKEN_EXPIRY_HOURS` is never used
[INFO] [stdout]   --> src/jwt.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const ADMIN_TOKEN_EXPIRY_HOURS: i64 = 24;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdminClaims` is never constructed
[INFO] [stdout]   --> src/jwt.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct AdminClaims {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_admin_token` is never used
[INFO] [stdout]   --> src/jwt.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn generate_admin_token(username: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_admin_token` is never used
[INFO] [stdout]   --> src/jwt.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn verify_admin_token(token: &str) -> Result<AdminClaims, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_patch_path` is never used
[INFO] [stdout]   --> src/delta.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn get_patch_path(from_version: &str, to_version: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 58s
[INFO] running `Command { std: "docker" "inspect" "1835988a39e0bf88aebb2ff85b255fd5e191ec01abefc10a43d6ca6cebc4e379", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1835988a39e0bf88aebb2ff85b255fd5e191ec01abefc10a43d6ca6cebc4e379", kill_on_drop: false }`
[INFO] [stdout] 1835988a39e0bf88aebb2ff85b255fd5e191ec01abefc10a43d6ca6cebc4e379
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5afc506eda5700a0e9699e80ba823b7cfdd2492aaa1192e8f6dde9885aa46a70
[INFO] running `Command { std: "docker" "start" "-a" "5afc506eda5700a0e9699e80ba823b7cfdd2492aaa1192e8f6dde9885aa46a70", kill_on_drop: false }`
[INFO] [stderr]    Compiling OTA-Service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `HttpRequest`
[INFO] [stdout]  --> src/handlers/admin.rs:1:47
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpRequest};
[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: `http::header`
[INFO] [stdout]  --> src/handlers/device.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, HttpRequest, http::header};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/handlers/device.rs:134:31
[INFO] [stdout]     |
[INFO] [stdout] 134 |         if let Some((version, path, notes)) = firmware {
[INFO] [stdout]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ADMIN_TOKEN_EXPIRY_HOURS` is never used
[INFO] [stdout]   --> src/jwt.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const ADMIN_TOKEN_EXPIRY_HOURS: i64 = 24;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdminClaims` is never constructed
[INFO] [stdout]   --> src/jwt.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct AdminClaims {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_admin_token` is never used
[INFO] [stdout]   --> src/jwt.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn generate_admin_token(username: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_admin_token` is never used
[INFO] [stdout]   --> src/jwt.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn verify_admin_token(token: &str) -> Result<AdminClaims, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_patch_path` is never used
[INFO] [stdout]   --> src/delta.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn get_patch_path(from_version: &str, to_version: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.17s
[INFO] running `Command { std: "docker" "inspect" "5afc506eda5700a0e9699e80ba823b7cfdd2492aaa1192e8f6dde9885aa46a70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5afc506eda5700a0e9699e80ba823b7cfdd2492aaa1192e8f6dde9885aa46a70", kill_on_drop: false }`
[INFO] [stdout] 5afc506eda5700a0e9699e80ba823b7cfdd2492aaa1192e8f6dde9885aa46a70
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ba0cf9a306afa0684b352d09ae38679e96f62d4efd86dc5d8ce40543a37715cc
[INFO] running `Command { std: "docker" "start" "-a" "ba0cf9a306afa0684b352d09ae38679e96f62d4efd86dc5d8ce40543a37715cc", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `HttpRequest`
[INFO] [stderr]  --> src/handlers/admin.rs:1:47
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::{web, HttpResponse, Responder, HttpRequest};
[INFO] [stderr]   |                                               ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `http::header`
[INFO] [stderr]  --> src/handlers/device.rs:1:60
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::{web, HttpResponse, Responder, HttpRequest, http::header};
[INFO] [stderr]   |                                                            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]    --> src/handlers/device.rs:134:31
[INFO] [stderr]     |
[INFO] [stderr] 134 |         if let Some((version, path, notes)) = firmware {
[INFO] [stderr]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ADMIN_TOKEN_EXPIRY_HOURS` is never used
[INFO] [stderr]   --> src/jwt.rs:12:7
[INFO] [stderr]    |
[INFO] [stderr] 12 | const ADMIN_TOKEN_EXPIRY_HOURS: i64 = 24;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AdminClaims` is never constructed
[INFO] [stderr]   --> src/jwt.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct AdminClaims {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `generate_admin_token` is never used
[INFO] [stderr]   --> src/jwt.rs:87:8
[INFO] [stderr]    |
[INFO] [stderr] 87 | pub fn generate_admin_token(username: &str) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `verify_admin_token` is never used
[INFO] [stderr]   --> src/jwt.rs:99:8
[INFO] [stderr]    |
[INFO] [stderr] 99 | pub fn verify_admin_token(token: &str) -> Result<AdminClaims, String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_patch_path` is never used
[INFO] [stderr]   --> src/delta.rs:17:8
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn get_patch_path(from_version: &str, to_version: &str) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `OTA-Service` (bin "OTA-Service" test) generated 8 warnings (run `cargo fix --bin "OTA-Service" -p OTA-Service --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/OTA_Service-3bada26240ddd0cf)
[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" "ba0cf9a306afa0684b352d09ae38679e96f62d4efd86dc5d8ce40543a37715cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba0cf9a306afa0684b352d09ae38679e96f62d4efd86dc5d8ce40543a37715cc", kill_on_drop: false }`
[INFO] [stdout] ba0cf9a306afa0684b352d09ae38679e96f62d4efd86dc5d8ce40543a37715cc
