[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] checking andcov/create_cpp_app/095af19de292fd65a92c0248e5ede1de4d6ff365 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandcov%2Fcreate_cpp_app" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andcov/create_cpp_app on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.18) [INFO] [stderr] Adding clap_lex v0.2.4 (available: v0.7.2) [INFO] [stderr] Adding crossterm v0.9.6 (available: v0.28.1) [INFO] [stderr] Adding crossterm_cursor v0.2.6 (available: v0.4.0) [INFO] [stderr] Adding crossterm_input v0.3.9 (available: v0.5.0) [INFO] [stderr] Adding crossterm_screen v0.2.5 (available: v0.3.2) [INFO] [stderr] Adding crossterm_style v0.3.3 (available: v0.5.2) [INFO] [stderr] Adding crossterm_terminal v0.2.6 (available: v0.3.2) [INFO] [stderr] Adding crossterm_utils v0.2.4 (available: v0.4.0) [INFO] [stderr] Adding crossterm_winapi v0.1.5 (available: v0.9.1) [INFO] [stderr] Adding git2 v0.13.25 (available: v0.19.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding libgit2-sys v0.12.26+1.3.0 (available: v0.17.0+1.8.1) [INFO] [stderr] Adding libssh2-sys v0.2.23 (available: v0.3.0) [INFO] [stderr] Adding minimad v0.4.3 (available: v0.13.1) [INFO] [stderr] Adding os_str_bytes v6.6.1 (available: v7.0.0) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding termimad v0.5.1 (available: v0.30.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm_winapi v0.1.5 [INFO] [stderr] Downloaded crossterm_utils v0.2.4 [INFO] [stderr] Downloaded crossterm_screen v0.2.5 [INFO] [stderr] Downloaded crossterm_cursor v0.2.6 [INFO] [stderr] Downloaded crossterm_style v0.3.3 [INFO] [stderr] Downloaded crossterm_terminal v0.2.6 [INFO] [stderr] Downloaded crossterm v0.9.6 [INFO] [stderr] Downloaded crossterm_input v0.3.9 [INFO] [stderr] Downloaded minimad v0.4.3 [INFO] [stderr] Downloaded termimad v0.5.1 [INFO] [stderr] Downloaded git2 v0.13.25 [INFO] [stderr] Downloaded libz-sys v1.1.20 [INFO] [stderr] Downloaded libgit2-sys v0.12.26+1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22ef9f28f1a688d7ef1c6bbb812604e50ef4e59c607a59ec98c7caea7d6ff2ea [INFO] running `Command { std: "docker" "start" "-a" "22ef9f28f1a688d7ef1c6bbb812604e50ef4e59c607a59ec98c7caea7d6ff2ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22ef9f28f1a688d7ef1c6bbb812604e50ef4e59c607a59ec98c7caea7d6ff2ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ef9f28f1a688d7ef1c6bbb812604e50ef4e59c607a59ec98c7caea7d6ff2ea", kill_on_drop: false }` [INFO] [stdout] 22ef9f28f1a688d7ef1c6bbb812604e50ef4e59c607a59ec98c7caea7d6ff2ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1cd8946e107949ca656494c61e3fe0cb78ae5c530d1991302302c9f08e2e8ee [INFO] running `Command { std: "docker" "start" "-a" "b1cd8946e107949ca656494c61e3fe0cb78ae5c530d1991302302c9f08e2e8ee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking minimad v0.4.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking crossterm_utils v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking crossterm_cursor v0.2.6 [INFO] [stderr] Checking crossterm_screen v0.2.5 [INFO] [stderr] Checking crossterm_style v0.3.3 [INFO] [stderr] Checking crossterm_input v0.3.9 [INFO] [stderr] Checking crossterm_terminal v0.2.6 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Checking crossterm v0.9.6 [INFO] [stderr] Checking termimad v0.5.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.12.26+1.3.0 [INFO] [stderr] Checking git2 v0.13.25 [INFO] [stderr] Checking 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[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: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: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: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: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: 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] 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] error: aborting due to 7 previous errors [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] [stdout] error: aborting due to 7 previous errors [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 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `create_cpp_app` (bin "create_cpp_app" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "b1cd8946e107949ca656494c61e3fe0cb78ae5c530d1991302302c9f08e2e8ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1cd8946e107949ca656494c61e3fe0cb78ae5c530d1991302302c9f08e2e8ee", kill_on_drop: false }` [INFO] [stdout] b1cd8946e107949ca656494c61e3fe0cb78ae5c530d1991302302c9f08e2e8ee