[INFO] cloning repository https://github.com/bm424/rocco [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bm424/rocco" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbm424%2Frocco", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbm424%2Frocco'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9454e6f7a85340fc80464036801d22fee2c08d32 [INFO] checking bm424/rocco 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%2Fbm424%2Frocco" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bm424/rocco [INFO] finished tweaking git repo https://github.com/bm424/rocco [INFO] tweaked toml for git repo https://github.com/bm424/rocco written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bm424/rocco 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/bm424/rocco 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1dcc75de4c2645b881e8737eb478cd28f05810a53a6c574a97ee8a01b6536a55 [INFO] running `Command { std: "docker" "start" "-a" "1dcc75de4c2645b881e8737eb478cd28f05810a53a6c574a97ee8a01b6536a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dcc75de4c2645b881e8737eb478cd28f05810a53a6c574a97ee8a01b6536a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dcc75de4c2645b881e8737eb478cd28f05810a53a6c574a97ee8a01b6536a55", kill_on_drop: false }` [INFO] [stdout] 1dcc75de4c2645b881e8737eb478cd28f05810a53a6c574a97ee8a01b6536a55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b82d0ad299d6c9244bcbb9e9ec99ae213b09db1d9ea8473893007d0730532fe4 [INFO] running `Command { std: "docker" "start" "-a" "b82d0ad299d6c9244bcbb9e9ec99ae213b09db1d9ea8473893007d0730532fe4", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking quick-xml v0.38.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking plist v1.7.4 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking rocco v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use serde::de; [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: `serde::de` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | FailedToWriteFile(&'static str), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RoccoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 104 - FailedToWriteFile(&'static str), [INFO] [stdout] 104 + FailedToWriteFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | FailedToReadFileContents(PathBuf), [INFO] [stdout] | ------------------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RoccoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 106 - FailedToReadFileContents(PathBuf), [INFO] [stdout] 106 + FailedToReadFileContents(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FailedToHandleFileName` is never constructed [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 99 | enum RoccoError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 105 | FailedToHandleFileName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RoccoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:213:37 [INFO] [stdout] | [INFO] [stdout] 213 | let destination_file_path = PathBuf::from_str(&args.template_name).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | FailedToWriteFile(&'static str), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RoccoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 104 - FailedToWriteFile(&'static str), [INFO] [stdout] 104 + FailedToWriteFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | FailedToReadFileContents(PathBuf), [INFO] [stdout] | ------------------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RoccoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 106 - FailedToReadFileContents(PathBuf), [INFO] [stdout] 106 + FailedToReadFileContents(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FailedToHandleFileName` is never constructed [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 99 | enum RoccoError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 105 | FailedToHandleFileName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RoccoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocco` (bin "rocco") due to 1 previous error; 4 warnings emitted [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/main.rs:213:37 [INFO] [stdout] | [INFO] [stdout] 213 | let destination_file_path = PathBuf::from_str(&args.template_name).unwrap(); [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 `rocco` (bin "rocco" test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b82d0ad299d6c9244bcbb9e9ec99ae213b09db1d9ea8473893007d0730532fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b82d0ad299d6c9244bcbb9e9ec99ae213b09db1d9ea8473893007d0730532fe4", kill_on_drop: false }` [INFO] [stdout] b82d0ad299d6c9244bcbb9e9ec99ae213b09db1d9ea8473893007d0730532fe4