[INFO] cloning repository https://github.com/sajjanjyothi/secure-update-client
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sajjanjyothi/secure-update-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsajjanjyothi%2Fsecure-update-client", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsajjanjyothi%2Fsecure-update-client'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 624321ea5df2581df995d0aa2c9bfd7c96863bb6
[INFO] checking sajjanjyothi/secure-update-client/624321ea5df2581df995d0aa2c9bfd7c96863bb6 against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsajjanjyothi%2Fsecure-update-client" "/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/sajjanjyothi/secure-update-client
[INFO] finished tweaking git repo https://github.com/sajjanjyothi/secure-update-client
[INFO] tweaked toml for git repo https://github.com/sajjanjyothi/secure-update-client written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sajjanjyothi/secure-update-client on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sajjanjyothi/secure-update-client 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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustls-pki-types v1.10.0
[INFO] [stderr]   Downloaded sysinfo v0.32.0
[INFO] [stderr]   Downloaded anstyle v1.0.9
[INFO] [stderr]   Downloaded anstream v0.6.17
[INFO] [stderr]   Downloaded hyper v1.5.0
[INFO] [stderr]   Downloaded rustls v0.23.15
[INFO] [stderr]   Downloaded tokio v1.41.0
[INFO] [stderr]   Downloaded openssl-src v300.4.0+3.4.0
[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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 377c4ce50894a6fb94f95c053f83a658fa9445216e08eb9fdad4c25fd76affb4
[INFO] running `Command { std: "docker" "start" "-a" "377c4ce50894a6fb94f95c053f83a658fa9445216e08eb9fdad4c25fd76affb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "377c4ce50894a6fb94f95c053f83a658fa9445216e08eb9fdad4c25fd76affb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "377c4ce50894a6fb94f95c053f83a658fa9445216e08eb9fdad4c25fd76affb4", kill_on_drop: false }`
[INFO] [stdout] 377c4ce50894a6fb94f95c053f83a658fa9445216e08eb9fdad4c25fd76affb4
[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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3629d7fe941d815060c051b7b800c895563a49601390d7dc2b8a5ea39ff5b4b9
[INFO] running `Command { std: "docker" "start" "-a" "3629d7fe941d815060c051b7b800c895563a49601390d7dc2b8a5ea39ff5b4b9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking hashbrown v0.15.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling serde v1.0.213
[INFO] [stderr]     Checking anstyle v1.0.9
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking regex-automata v0.4.8
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking unicode-bidi v0.3.17
[INFO] [stderr]     Checking anstream v0.6.17
[INFO] [stderr]    Compiling anyhow v1.0.91
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]     Checking rustls-pki-types v1.10.0
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking ipnet v2.10.1
[INFO] [stderr]     Checking clap_builder v4.5.20
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]    Compiling openssl-src v300.4.0+3.4.0
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.1
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking sysinfo v0.32.0
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking env_filter v0.1.2
[INFO] [stderr]     Checking env_logger v0.11.5
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.213
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]     Checking tokio v1.41.0
[INFO] [stderr]     Checking clap v4.5.20
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking h2 v0.4.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v1.5.0
[INFO] [stderr]     Checking hyper-util v0.1.9
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.8
[INFO] [stderr]     Checking secure-updater v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/firmware_checker/firmware_checker.rs:60:32
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let encoded_data = base64::encode(health_data);
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/firmware_checker/firmware_checker.rs:60:32
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let encoded_data = base64::encode(health_data);
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/firmware_checker/firmware_checker.rs:116:35
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let signature_bytes = base64::decode(signature)?;
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/firmware_checker/firmware_checker.rs:116:35
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let signature_bytes = base64::decode(signature)?;
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/firmware_checker/firmware_checker.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut request = ImageRequest {
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/firmware_checker/firmware_checker.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut request = ImageRequest {
[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: unreachable expression
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | /     loop {
[INFO] [stdout] 26 | |         interval.tick().await;
[INFO] [stdout] 27 | |         check_firmware(args.updater_url.clone(),args.device_id.clone()).await?;
[INFO] [stdout] 28 | |     }  
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 29 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | /     loop {
[INFO] [stdout] 26 | |         interval.tick().await;
[INFO] [stdout] 27 | |         check_firmware(args.updater_url.clone(),args.device_id.clone()).await?;
[INFO] [stdout] 28 | |     }  
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 29 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/firmware_checker/firmware_checker.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         Err(e) => error!("Firmware signature is invalid, not ok to do update")
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/firmware_checker/firmware_checker.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         Err(e) => error!("Firmware signature is invalid, not ok to do update")
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `deviceID` should have a snake case name
[INFO] [stdout]   --> src/firmware_checker/firmware_checker.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     deviceID: String
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `device_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `deviceID` should have a snake case name
[INFO] [stdout]   --> src/firmware_checker/firmware_checker.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     deviceID: String
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `device_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 13s
[INFO] running `Command { std: "docker" "inspect" "3629d7fe941d815060c051b7b800c895563a49601390d7dc2b8a5ea39ff5b4b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3629d7fe941d815060c051b7b800c895563a49601390d7dc2b8a5ea39ff5b4b9", kill_on_drop: false }`
[INFO] [stdout] 3629d7fe941d815060c051b7b800c895563a49601390d7dc2b8a5ea39ff5b4b9
