[INFO] cloning repository https://github.com/Brain777777/office-counts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Brain777777/office-counts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrain777777%2Foffice-counts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrain777777%2Foffice-counts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e163847bd126c0eaf372b4ac99780201179827e9 [INFO] checking Brain777777/office-counts 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%2FBrain777777%2Foffice-counts" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Brain777777/office-counts [INFO] finished tweaking git repo https://github.com/Brain777777/office-counts [INFO] tweaked toml for git repo https://github.com/Brain777777/office-counts written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Brain777777/office-counts 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/Brain777777/office-counts 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ed14919ef0d7f64eb7522ef4bd9a672a854e2a458ad95c3f0f5b73315e1c9606 [INFO] running `Command { std: "docker" "start" "-a" "ed14919ef0d7f64eb7522ef4bd9a672a854e2a458ad95c3f0f5b73315e1c9606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed14919ef0d7f64eb7522ef4bd9a672a854e2a458ad95c3f0f5b73315e1c9606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed14919ef0d7f64eb7522ef4bd9a672a854e2a458ad95c3f0f5b73315e1c9606", kill_on_drop: false }` [INFO] [stdout] ed14919ef0d7f64eb7522ef4bd9a672a854e2a458ad95c3f0f5b73315e1c9606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6972edd6474be19586d2243f4c9840008e04ae525a3b541d71c2868a1aeaa13c [INFO] running `Command { std: "docker" "start" "-a" "6972edd6474be19586d2243f4c9840008e04ae525a3b541d71c2868a1aeaa13c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking encoding_rs v0.7.2 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking msdos_time v0.1.6 [INFO] [stderr] Checking zip v0.2.8 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking quick-xml v0.9.4 [INFO] [stderr] Checking dotext v0.1.1 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking counts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: ControlFlow, office_type::OfficeType> [INFO] [stdout] --> src/counts.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let doc_type = OfficeType::from_str(ext)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `counts` (lib test) due to 4 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/counts.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let doc_type = OfficeType::from_str(ext)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/office_type.rs:15:53 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 16 | | Ok(match s { [INFO] [stdout] 17 | | "doc" => OfficeType::Doc, [INFO] [stdout] 18 | | "docx" => OfficeType::Docx, [INFO] [stdout] ... | [INFO] [stdout] 22 | | }) [INFO] [stdout] 23 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/office_type.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / Ok(match s { [INFO] [stdout] 17 | | "doc" => OfficeType::Doc, [INFO] [stdout] 18 | | "docx" => OfficeType::Docx, [INFO] [stdout] 19 | | "txt" => OfficeType::Txt, [INFO] [stdout] 20 | | "xlsx" => OfficeType::Xlsx, [INFO] [stdout] 21 | | _ => OfficeType::Other, [INFO] [stdout] 22 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, office_type::OfficeType> [INFO] [stdout] --> src/counts.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let doc_type = OfficeType::from_str(ext)?; [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/counts.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let doc_type = OfficeType::from_str(ext)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/office_type.rs:15:53 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 16 | | Ok(match s { [INFO] [stdout] 17 | | "doc" => OfficeType::Doc, [INFO] [stdout] 18 | | "docx" => OfficeType::Docx, [INFO] [stdout] ... | [INFO] [stdout] 22 | | }) [INFO] [stdout] 23 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/office_type.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / Ok(match s { [INFO] [stdout] 17 | | "doc" => OfficeType::Doc, [INFO] [stdout] 18 | | "docx" => OfficeType::Docx, [INFO] [stdout] 19 | | "txt" => OfficeType::Txt, [INFO] [stdout] 20 | | "xlsx" => OfficeType::Xlsx, [INFO] [stdout] 21 | | _ => OfficeType::Other, [INFO] [stdout] 22 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `counts` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "6972edd6474be19586d2243f4c9840008e04ae525a3b541d71c2868a1aeaa13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6972edd6474be19586d2243f4c9840008e04ae525a3b541d71c2868a1aeaa13c", kill_on_drop: false }` [INFO] [stdout] 6972edd6474be19586d2243f4c9840008e04ae525a3b541d71c2868a1aeaa13c