[INFO] cloning repository https://github.com/pcapp/rust-cli-book-walkthrough [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pcapp/rust-cli-book-walkthrough" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcapp%2Frust-cli-book-walkthrough", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcapp%2Frust-cli-book-walkthrough'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d87f1c75e4f1ac594fbb1dd2927fedb6b5fe2ddd [INFO] checking pcapp/rust-cli-book-walkthrough against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcapp%2Frust-cli-book-walkthrough" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pcapp/rust-cli-book-walkthrough [INFO] finished tweaking git repo https://github.com/pcapp/rust-cli-book-walkthrough [INFO] tweaked toml for git repo https://github.com/pcapp/rust-cli-book-walkthrough written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pcapp/rust-cli-book-walkthrough on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pcapp/rust-cli-book-walkthrough 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 555a3988ea77b4c2c789743b1b911c455a222270e778b024003946a3fec40f89 [INFO] running `Command { std: "docker" "start" "555a3988ea77b4c2c789743b1b911c455a222270e778b024003946a3fec40f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "555a3988ea77b4c2c789743b1b911c455a222270e778b024003946a3fec40f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "555a3988ea77b4c2c789743b1b911c455a222270e778b024003946a3fec40f89" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "555a3988ea77b4c2c789743b1b911c455a222270e778b024003946a3fec40f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "555a3988ea77b4c2c789743b1b911c455a222270e778b024003946a3fec40f89" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.5 [INFO] [stderr] Checking predicates-core v1.0.10 [INFO] [stderr] Compiling assert_cmd v2.2.2 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Checking cpufeatures v0.3.1 [INFO] [stderr] Checking clap_builder v4.6.6 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking chacha20 v0.10.2 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking predicates-tree v1.0.13 [INFO] [stderr] Checking rand v0.10.2 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Checking clap v4.6.6 [INFO] [stderr] Checking catr v0.1.0 (/opt/rustwide/workdir/crates/catr) [INFO] [stderr] Checking headr v0.1.0 (/opt/rustwide/workdir/crates/headr) [INFO] [stdout] error: cannot find derive macro `Parser` in this scope [INFO] [stdout] --> crates/headr/src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Parser, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` is a trait, not a derive macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.6.6/src/derive.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Parser: FromArgMatches + CommandFactory + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider implementing `Parser` for your type manually [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> crates/headr/src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[arg(short = 'n', long, default_value_t = 10)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arg` and `Command` [INFO] [stdout] --> crates/headr/src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{Arg, Command, Parser}; [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 associated function or constant named `parse` found for struct `Args` in the current scope [INFO] [stdout] --> crates/headr/src/main.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 8 | struct Args { [INFO] [stdout] | ----------- associated function or constant `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | let args = Args::parse(); [INFO] [stdout] | ^^^^^ associated function or constant not found in `Args` [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 `parse`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] candidate #2: `TypedValueParser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `headr` (bin "headr") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "555a3988ea77b4c2c789743b1b911c455a222270e778b024003946a3fec40f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555a3988ea77b4c2c789743b1b911c455a222270e778b024003946a3fec40f89", kill_on_drop: false }` [INFO] [stdout] 555a3988ea77b4c2c789743b1b911c455a222270e778b024003946a3fec40f89