[INFO] cloning repository https://github.com/rohitas-git/rust_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohitas-git/rust_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohitas-git%2Frust_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohitas-git%2Frust_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfdede3443cf898fb90065c3a563636ab16b883f [INFO] testing rohitas-git/rust_cli against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohitas-git%2Frust_cli" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rohitas-git/rust_cli [INFO] finished tweaking git repo https://github.com/rohitas-git/rust_cli [INFO] tweaked toml for git repo https://github.com/rohitas-git/rust_cli written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rohitas-git/rust_cli on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rohitas-git/rust_cli 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing rohitas-git/rust_cli against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohitas-git%2Frust_cli" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rohitas-git/rust_cli [INFO] finished tweaking git repo https://github.com/rohitas-git/rust_cli [INFO] tweaked toml for git repo https://github.com/rohitas-git/rust_cli written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rohitas-git/rust_cli on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rohitas-git/rust_cli 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates-tree v1.0.5 [INFO] [stderr] Downloaded termtree v0.2.4 [INFO] [stderr] Downloaded predicates-core v1.0.3 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded assert_fs v1.0.7 [INFO] [stderr] Downloaded predicates v2.1.1 [INFO] [stderr] Downloaded ignore v0.4.18 [INFO] [stderr] Downloaded assert_cmd v2.0.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.37 [INFO] [stderr] Downloaded globset v0.4.8 [INFO] [stderr] Downloaded clap v3.1.15 [INFO] [stderr] Downloaded bstr v0.2.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 375849e3c3e061a30f89e74933cc2f58bc633600817f5706adcdff27191120f3 [INFO] running `Command { std: "docker" "start" "-a" "375849e3c3e061a30f89e74933cc2f58bc633600817f5706adcdff27191120f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "375849e3c3e061a30f89e74933cc2f58bc633600817f5706adcdff27191120f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "375849e3c3e061a30f89e74933cc2f58bc633600817f5706adcdff27191120f3", kill_on_drop: false }` [INFO] [stdout] 375849e3c3e061a30f89e74933cc2f58bc633600817f5706adcdff27191120f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e0d9e4549389af115490f346beded0d4ff01a67d9930e8e39c08f8139e4025d [INFO] running `Command { std: "docker" "start" "-a" "4e0d9e4549389af115490f346beded0d4ff01a67d9930e8e39c08f8139e4025d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling clap v3.1.15 [INFO] [stderr] Compiling grrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result, Error}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 1 + extern crate anyhow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::Parser; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 1 + extern crate clap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/lib.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[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[E0599]: no method named `with_context` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 46 | / std::fs::read_to_string(&args.path) [INFO] [stdout] 47 | | .with_context(|| format!("could not read file `{}`", args.path.display())) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | |_____| [INFO] [stdout] | [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 `grrs` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4e0d9e4549389af115490f346beded0d4ff01a67d9930e8e39c08f8139e4025d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e0d9e4549389af115490f346beded0d4ff01a67d9930e8e39c08f8139e4025d", kill_on_drop: false }` [INFO] [stdout] 4e0d9e4549389af115490f346beded0d4ff01a67d9930e8e39c08f8139e4025d