[INFO] cloning repository https://github.com/codecrack3/files-to-prompt-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codecrack3/files-to-prompt-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodecrack3%2Ffiles-to-prompt-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodecrack3%2Ffiles-to-prompt-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6e665f4a09977d61e0898a1135e2d994fb9e118 [INFO] checking codecrack3/files-to-prompt-rs against master#e23ae72ac7a393961886ea62df065ebb6def7d51 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodecrack3%2Ffiles-to-prompt-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codecrack3/files-to-prompt-rs on toolchain e23ae72ac7a393961886ea62df065ebb6def7d51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codecrack3/files-to-prompt-rs [INFO] finished tweaking git repo https://github.com/codecrack3/files-to-prompt-rs [INFO] tweaked toml for git repo https://github.com/codecrack3/files-to-prompt-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/codecrack3/files-to-prompt-rs 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" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded rust-embed-impl v8.4.0 [INFO] [stderr] Downloaded rust-embed-utils v8.4.0 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded globset v0.4.14 [INFO] [stderr] Downloaded ignore v0.4.22 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.1 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded rust-embed v8.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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 695e6cb247e1724c5f2c790c95ef663efea6d3f08755bf9f967b44b27795a491 [INFO] running `Command { std: "docker" "start" "-a" "695e6cb247e1724c5f2c790c95ef663efea6d3f08755bf9f967b44b27795a491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "695e6cb247e1724c5f2c790c95ef663efea6d3f08755bf9f967b44b27795a491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "695e6cb247e1724c5f2c790c95ef663efea6d3f08755bf9f967b44b27795a491", kill_on_drop: false }` [INFO] [stdout] 695e6cb247e1724c5f2c790c95ef663efea6d3f08755bf9f967b44b27795a491 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 099601fc05388695ff78cdd60180f8eec8afa392040c167a37a0373d6d68592f [INFO] running `Command { std: "docker" "start" "-a" "099601fc05388695ff78cdd60180f8eec8afa392040c167a37a0373d6d68592f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rust-embed-utils v8.4.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling rust-embed-impl v8.4.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rust-embed v8.4.0 [INFO] [stderr] Checking pest v2.7.10 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking files_to_prompt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut file = Assets::get(file.as_ref()).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `output` is assigned to, but never used [INFO] [stdout] --> src/main.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let mut output: Box = Box::new(io::stdout()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_output` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output` is never read [INFO] [stdout] --> src/main.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | output = Box::new(io::BufWriter::new(fs::File::create(&config.output_file)?)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut file = Assets::get(file.as_ref()).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `output` is assigned to, but never used [INFO] [stdout] --> src/main.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let mut output: Box = Box::new(io::stdout()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_output` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output` is never read [INFO] [stdout] --> src/main.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | output = Box::new(io::BufWriter::new(fs::File::create(&config.output_file)?)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_output` is never used [INFO] [stdout] --> src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn write_output( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_output` is never used [INFO] [stdout] --> src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn write_output( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.86s [INFO] running `Command { std: "docker" "inspect" "099601fc05388695ff78cdd60180f8eec8afa392040c167a37a0373d6d68592f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "099601fc05388695ff78cdd60180f8eec8afa392040c167a37a0373d6d68592f", kill_on_drop: false }` [INFO] [stdout] 099601fc05388695ff78cdd60180f8eec8afa392040c167a37a0373d6d68592f