[INFO] cloning repository https://github.com/andcov/create_cpp_app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andcov/create_cpp_app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandcov%2Fcreate_cpp_app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandcov%2Fcreate_cpp_app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 095af19de292fd65a92c0248e5ede1de4d6ff365 [INFO] testing andcov/create_cpp_app/095af19de292fd65a92c0248e5ede1de4d6ff365 against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandcov%2Fcreate_cpp_app" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/andcov/create_cpp_app [INFO] finished tweaking git repo https://github.com/andcov/create_cpp_app [INFO] tweaked toml for git repo https://github.com/andcov/create_cpp_app written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andcov/create_cpp_app on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 83 packages to latest compatible versions [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.60) [INFO] [stderr] Adding git2 v0.13.25 (available: v0.20.4) [INFO] [stderr] Adding termimad v0.5.1 (available: v0.34.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minimad v0.4.3 [INFO] [stderr] Downloaded crossterm_cursor v0.2.6 [INFO] [stderr] Downloaded git2 v0.13.25 [INFO] [stderr] Downloaded termimad v0.5.1 [INFO] [stderr] Downloaded libssh2-sys v0.2.23 [INFO] [stderr] Downloaded libz-sys v1.1.24 [INFO] [stderr] Downloaded libgit2-sys v0.12.26+1.3.0 [INFO] [stderr] Downloaded crossterm_input v0.3.9 [INFO] [stderr] Downloaded crossterm_screen v0.2.5 [INFO] [stderr] Downloaded crossterm_terminal v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8188ec718511a27eecacec99093a140cf4b597709c98a03ed367059a99779f5 [INFO] running `Command { std: "docker" "start" "-a" "a8188ec718511a27eecacec99093a140cf4b597709c98a03ed367059a99779f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8188ec718511a27eecacec99093a140cf4b597709c98a03ed367059a99779f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8188ec718511a27eecacec99093a140cf4b597709c98a03ed367059a99779f5", kill_on_drop: false }` [INFO] [stdout] a8188ec718511a27eecacec99093a140cf4b597709c98a03ed367059a99779f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c23fa1e61c91b319fa677cb367213c67ed580da3a1f6c83e333f5803bf1ae5ae [INFO] running `Command { std: "docker" "start" "-a" "c23fa1e61c91b319fa677cb367213c67ed580da3a1f6c83e333f5803bf1ae5ae", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling crossterm_utils v0.2.4 [INFO] [stderr] Compiling minimad v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossterm_screen v0.2.5 [INFO] [stderr] Compiling crossterm_cursor v0.2.6 [INFO] [stderr] Compiling crossterm_style v0.3.3 [INFO] [stderr] Compiling crossterm_input v0.3.9 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling crossterm_terminal v0.2.6 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling crossterm v0.9.6 [INFO] [stderr] Compiling termimad v0.5.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling libz-sys v1.1.24 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.12.26+1.3.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling git2 v0.13.25 [INFO] [stderr] Compiling create_cpp_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `clap::Clap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Clap; [INFO] [stdout] | ^^^^^^^^^^ no `Clap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[clap(version = "1.0", author = "andco")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[clap(parse(from_os_str))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[clap(long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Opt` in the current scope [INFO] [stdout] --> src/main.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 8 | struct Opt { [INFO] [stdout] | ---------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | let opt = Opt::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Opt` [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] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `create_cpp_app` (bin "create_cpp_app") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "c23fa1e61c91b319fa677cb367213c67ed580da3a1f6c83e333f5803bf1ae5ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c23fa1e61c91b319fa677cb367213c67ed580da3a1f6c83e333f5803bf1ae5ae", kill_on_drop: false }` [INFO] [stdout] c23fa1e61c91b319fa677cb367213c67ed580da3a1f6c83e333f5803bf1ae5ae