[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] c3e15367f4f1d16bf1f5762f8509a770803e9352 [INFO] checking codecrack3/files-to-prompt-rs against try#2278ef25f90817c20d6dd0d2da58a990eb6f53cb for pr-145108-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodecrack3%2Ffiles-to-prompt-rs" "/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/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codecrack3/files-to-prompt-rs on toolchain 2278ef25f90817c20d6dd0d2da58a990eb6f53cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c634f2fd68dbe4a4bda39823964bbc08e8202c9aad163592d32ff6ee399217b [INFO] running `Command { std: "docker" "start" "-a" "5c634f2fd68dbe4a4bda39823964bbc08e8202c9aad163592d32ff6ee399217b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c634f2fd68dbe4a4bda39823964bbc08e8202c9aad163592d32ff6ee399217b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c634f2fd68dbe4a4bda39823964bbc08e8202c9aad163592d32ff6ee399217b", kill_on_drop: false }` [INFO] [stdout] 5c634f2fd68dbe4a4bda39823964bbc08e8202c9aad163592d32ff6ee399217b [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 711d4b6647d1b9d49bbfa814efd86f44c1f98466f7fd40f2c1d2b650d478242e [INFO] running `Command { std: "docker" "start" "-a" "711d4b6647d1b9d49bbfa814efd86f44c1f98466f7fd40f2c1d2b650d478242e", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling rust-embed-utils v8.4.0 [INFO] [stderr] Compiling rust-embed-impl v8.4.0 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rust-embed v8.4.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking files_to_prompt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/main.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[folder = "templates/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(RustEmbed)] [INFO] [stdout] 18 | struct Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::arg` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::arg; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/main.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[folder = "templates/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(RustEmbed)] [INFO] [stdout] 18 | struct Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::arg` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::arg; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `Assets` in the current scope [INFO] [stdout] --> src/main.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 17 | struct Assets; [INFO] [stdout] | ------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 168 | for file in Assets::iter() { [INFO] [stdout] | ^^^^ function or associated item not found in `Assets` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `bitflags::traits::Flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `Assets` in the current scope [INFO] [stdout] --> src/main.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 17 | struct Assets; [INFO] [stdout] | ------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 168 | for file in Assets::iter() { [INFO] [stdout] | ^^^^ function or associated item not found in `Assets` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `bitflags::traits::Flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | if let Some(file_name) = file.as_ref().split('.').next() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | if let Some(file_name) = file.as_ref().split('.').next() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `Assets` in the current scope [INFO] [stdout] --> src/main.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 17 | struct Assets; [INFO] [stdout] | ------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 197 | for file in Assets::iter() { [INFO] [stdout] | ^^^^ function or associated item not found in `Assets` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `bitflags::traits::Flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:198:34 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(file_name) = file.as_ref().split('.').next() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `Assets` in the current scope [INFO] [stdout] --> src/main.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 17 | struct Assets; [INFO] [stdout] | ------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 197 | for file in Assets::iter() { [INFO] [stdout] | ^^^^ function or associated item not found in `Assets` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `bitflags::traits::Flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:198:34 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(file_name) = file.as_ref().split('.').next() { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Assets` in the current scope [INFO] [stdout] --> src/main.rs:200:41 [INFO] [stdout] | [INFO] [stdout] 17 | struct Assets; [INFO] [stdout] | ------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 200 | let file_data = Assets::get(file.as_ref()) [INFO] [stdout] | ^^^ function or associated item not found in `Assets` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Assets` in the current scope [INFO] [stdout] --> src/main.rs:200:41 [INFO] [stdout] | [INFO] [stdout] 17 | struct Assets; [INFO] [stdout] | ------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 200 | let file_data = Assets::get(file.as_ref()) [INFO] [stdout] | ^^^ function or associated item not found in `Assets` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `files_to_prompt` (bin "files_to_prompt" test) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `files_to_prompt` (bin "files_to_prompt") due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "711d4b6647d1b9d49bbfa814efd86f44c1f98466f7fd40f2c1d2b650d478242e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "711d4b6647d1b9d49bbfa814efd86f44c1f98466f7fd40f2c1d2b650d478242e", kill_on_drop: false }` [INFO] [stdout] 711d4b6647d1b9d49bbfa814efd86f44c1f98466f7fd40f2c1d2b650d478242e