[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] checking blacpaper/OTA-Embedded-Rust against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblacpaper%2FOTA-Embedded-Rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/blacpaper/OTA-Embedded-Rust on toolchain ad93f57d532978d6739002a21bc66b45ed22f998
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fbf7dee94e55e8bacb6b63c28f904dd9dd7baefffb77c00a5ed5721e4b0a8db7
[INFO] running `Command { std: "docker" "start" "-a" "fbf7dee94e55e8bacb6b63c28f904dd9dd7baefffb77c00a5ed5721e4b0a8db7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fbf7dee94e55e8bacb6b63c28f904dd9dd7baefffb77c00a5ed5721e4b0a8db7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbf7dee94e55e8bacb6b63c28f904dd9dd7baefffb77c00a5ed5721e4b0a8db7", kill_on_drop: false }`
[INFO] [stdout] fbf7dee94e55e8bacb6b63c28f904dd9dd7baefffb77c00a5ed5721e4b0a8db7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e1ea383bcdd9230cae3823626c507a72dc635c4f4d9cb32661ff5c1f837ee99
[INFO] running `Command { std: "docker" "start" "-a" "0e1ea383bcdd9230cae3823626c507a72dc635c4f4d9cb32661ff5c1f837ee99", kill_on_drop: false }`
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerocopy v0.8.38
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling time-macros v0.2.26
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking time v0.3.46
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling regex-lite v0.1.9
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking hashlink v0.10.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]    Compiling v_htmlescape v0.15.8
[INFO] [stderr]     Checking flume v0.11.1
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling parse-size v1.1.0
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking compression-codecs v0.4.36
[INFO] [stderr]     Checking pem v1.1.1
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]     Checking serde_plain v1.0.2
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking bcrypt v0.18.0
[INFO] [stderr]     Checking chrono v0.4.43
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking uuid v1.20.0
[INFO] [stderr]     Checking bsdiff v0.2.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking async-compression v0.4.38
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking tempfile v3.24.0
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling actix-multipart-derive v0.7.0
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking jsonwebtoken v8.3.0
[INFO] [stderr]     Checking sqlx-sqlite v0.8.6
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking actix-http v3.11.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking actix-web v4.12.1
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking actix-files v0.6.9
[INFO] [stderr]     Checking actix-multipart v0.7.2
[INFO] [stderr]     Checking 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 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: 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] [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 57.85s
[INFO] running `Command { std: "docker" "inspect" "0e1ea383bcdd9230cae3823626c507a72dc635c4f4d9cb32661ff5c1f837ee99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e1ea383bcdd9230cae3823626c507a72dc635c4f4d9cb32661ff5c1f837ee99", kill_on_drop: false }`
[INFO] [stdout] 0e1ea383bcdd9230cae3823626c507a72dc635c4f4d9cb32661ff5c1f837ee99
