[INFO] cloning repository https://github.com/MartisCoding/cargo-mik32 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MartisCoding/cargo-mik32" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMartisCoding%2Fcargo-mik32", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMartisCoding%2Fcargo-mik32'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3563cadd6bbcf4d58bd83257364cde2f9191a99b [INFO] checking MartisCoding/cargo-mik32 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMartisCoding%2Fcargo-mik32" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MartisCoding/cargo-mik32 [INFO] finished tweaking git repo https://github.com/MartisCoding/cargo-mik32 [INFO] tweaked toml for git repo https://github.com/MartisCoding/cargo-mik32 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MartisCoding/cargo-mik32 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MartisCoding/cargo-mik32 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2558a253e99212001f7a9dfc0f013f64282478cae39493aa90f63e6b43ac7650 [INFO] running `Command { std: "docker" "start" "-a" "2558a253e99212001f7a9dfc0f013f64282478cae39493aa90f63e6b43ac7650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2558a253e99212001f7a9dfc0f013f64282478cae39493aa90f63e6b43ac7650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2558a253e99212001f7a9dfc0f013f64282478cae39493aa90f63e6b43ac7650", kill_on_drop: false }` [INFO] [stdout] 2558a253e99212001f7a9dfc0f013f64282478cae39493aa90f63e6b43ac7650 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5fbbcd82ed54dccd269e2a39d09ef159c5c285b75c0884a73bd9c091913e05d [INFO] running `Command { std: "docker" "start" "-a" "f5fbbcd82ed54dccd269e2a39d09ef159c5c285b75c0884a73bd9c091913e05d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking console v0.16.0 [INFO] [stderr] Checking serial2 v0.2.32 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking indicatif v0.18.0 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking filedescriptor v0.8.3 [INFO] [stderr] Checking portable-pty v0.9.0 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking cargo-mik32 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Stdio`, `sleep`, and `time::Duration` [INFO] [stdout] --> src/build_script.rs:1:95 [INFO] [stdout] | [INFO] [stdout] 1 | ...solute, PathBuf}, process::{Command, Stdio}, str::FromStr, thread::{self, sleep}, time::Duration}; [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 imports: `Stdio`, `sleep`, and `time::Duration` [INFO] [stdout] --> src/build_script.rs:1:95 [INFO] [stdout] | [INFO] [stdout] 1 | ...solute, PathBuf}, process::{Command, Stdio}, str::FromStr, thread::{self, sleep}, time::Duration}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build_script.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | let mut stdin = io::stdin(); [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/build_script.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | let mut reader_thread = thread::spawn(move || { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_path` [INFO] [stdout] --> src/build_script.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | let t_path= gdb_target_path.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build_script.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | let mut stdin = io::stdin(); [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/build_script.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | let mut reader_thread = thread::spawn(move || { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o_int_path` [INFO] [stdout] --> src/build_script.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | let o_int_path = openocd_interface.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_int_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_path` [INFO] [stdout] --> src/build_script.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | let t_path= gdb_target_path.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_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: `o_scr_path` [INFO] [stdout] --> src/build_script.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | let o_scr_path = openocd_scripts.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_scr_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o_tar_path` [INFO] [stdout] --> src/build_script.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | let o_tar_path = openocd_target.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_tar_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader_thread` [INFO] [stdout] --> src/build_script.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | let mut reader_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o_int_path` [INFO] [stdout] --> src/build_script.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | let o_int_path = openocd_interface.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_int_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o_scr_path` [INFO] [stdout] --> src/build_script.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | let o_scr_path = openocd_scripts.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_scr_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o_tar_path` [INFO] [stdout] --> src/build_script.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | let o_tar_path = openocd_target.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_tar_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader_thread` [INFO] [stdout] --> src/build_script.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | let mut reader_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/build_script.rs:121:44 [INFO] [stdout] | [INFO] [stdout] 121 | uploader_final_path = Some(PathBuf::from_str(&path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/build_script.rs:121:44 [INFO] [stdout] | [INFO] [stdout] 121 | uploader_final_path = Some(PathBuf::from_str(&path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/build_script.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | PathBuf::from_str(&path).expect("Failed to make PathBuf out of environment variable") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/build_script.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | PathBuf::from_str(&path).expect("Failed to make PathBuf out of environment variable") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/build_script.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | / PathBuf::from_str( [INFO] [stdout] 192 | | &String::from_utf8(which_cmd.stdout) [INFO] [stdout] 193 | | .expect("Failed to make utf-8 string out of stdout of 'which openocd'") [INFO] [stdout] 194 | | ).expect("Failed to make PathBuf out of stdout string") [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/build_script.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | writer.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 346 | let _ = writer.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/build_script.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | / PathBuf::from_str( [INFO] [stdout] 192 | | &String::from_utf8(which_cmd.stdout) [INFO] [stdout] 193 | | .expect("Failed to make utf-8 string out of stdout of 'which openocd'") [INFO] [stdout] 194 | | ).expect("Failed to make PathBuf out of stdout string") [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/build_script.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | writer.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 346 | let _ = writer.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/build_script.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | enable_raw_mode(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 348 | let _ = enable_raw_mode(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/build_script.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | enable_raw_mode(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 348 | let _ = enable_raw_mode(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-mik32` (bin "cargo-mik32" test) due to 3 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-mik32` (bin "cargo-mik32") due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f5fbbcd82ed54dccd269e2a39d09ef159c5c285b75c0884a73bd9c091913e05d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5fbbcd82ed54dccd269e2a39d09ef159c5c285b75c0884a73bd9c091913e05d", kill_on_drop: false }` [INFO] [stdout] f5fbbcd82ed54dccd269e2a39d09ef159c5c285b75c0884a73bd9c091913e05d