[INFO] cloning repository https://github.com/levinion/mhw-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/levinion/mhw-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flevinion%2Fmhw-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flevinion%2Fmhw-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80633746020fbd5dd45f9cc3142ac0b757dfbd48 [INFO] checking levinion/mhw-cli 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%2Flevinion%2Fmhw-cli" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/levinion/mhw-cli [INFO] finished tweaking git repo https://github.com/levinion/mhw-cli [INFO] tweaked toml for git repo https://github.com/levinion/mhw-cli written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/levinion/mhw-cli 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/levinion/mhw-cli 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0f81df5c2db6de80440094c42cfa8a544e3a585b2719637695298e7a24908c85 [INFO] running `Command { std: "docker" "start" "-a" "0f81df5c2db6de80440094c42cfa8a544e3a585b2719637695298e7a24908c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f81df5c2db6de80440094c42cfa8a544e3a585b2719637695298e7a24908c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f81df5c2db6de80440094c42cfa8a544e3a585b2719637695298e7a24908c85", kill_on_drop: false }` [INFO] [stdout] 0f81df5c2db6de80440094c42cfa8a544e3a585b2719637695298e7a24908c85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 57df1868a0e19562939dc85003e7f31ca00feef5b6ffe268ebfa4c44a5221fc1 [INFO] running `Command { std: "docker" "start" "-a" "57df1868a0e19562939dc85003e7f31ca00feef5b6ffe268ebfa4c44a5221fc1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking toml_edit v0.22.15 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking vipera v0.1.2 [INFO] [stderr] Checking mhw-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/cfg.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [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 `Mhw` is never constructed [INFO] [stdout] --> src/mhw/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Mhw { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `list`, and `add` are never used [INFO] [stdout] --> src/mhw/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Mhw { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(cfg: Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn init(&mut self, exe_path: String) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn list(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add(&self, path: String) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/mhw/mod.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let root = self.cfg.mod_directory_path.parse::()?; [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/mhw/mod.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let root = self.cfg.mod_directory_path.parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/cfg.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [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 `Mhw` is never constructed [INFO] [stdout] --> src/mhw/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Mhw { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `list`, and `add` are never used [INFO] [stdout] --> src/mhw/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Mhw { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(cfg: Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn init(&mut self, exe_path: String) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn list(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add(&self, path: String) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mhw-cli` (bin "mhw-cli") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/mhw/mod.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let root = self.cfg.mod_directory_path.parse::()?; [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/mhw/mod.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let root = self.cfg.mod_directory_path.parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mhw-cli` (bin "mhw-cli" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57df1868a0e19562939dc85003e7f31ca00feef5b6ffe268ebfa4c44a5221fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57df1868a0e19562939dc85003e7f31ca00feef5b6ffe268ebfa4c44a5221fc1", kill_on_drop: false }` [INFO] [stdout] 57df1868a0e19562939dc85003e7f31ca00feef5b6ffe268ebfa4c44a5221fc1