[INFO] cloning repository https://github.com/royspekreijse/projector-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/royspekreijse/projector-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyspekreijse%2Fprojector-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyspekreijse%2Fprojector-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b6ea976d97d2824decf89f40e5aeffdee4177be [INFO] checking royspekreijse/projector-rust against master#2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf for pr-128725 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyspekreijse%2Fprojector-rust" "/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/royspekreijse/projector-rust on toolchain 2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/royspekreijse/projector-rust [INFO] finished tweaking git repo https://github.com/royspekreijse/projector-rust [INFO] tweaked toml for git repo https://github.com/royspekreijse/projector-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/royspekreijse/projector-rust 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" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking royspekreijse/projector-rust against try#9c7f973c4f483238f1484927772d0446e5686cc0 for pr-128725 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyspekreijse%2Fprojector-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/royspekreijse/projector-rust on toolchain 9c7f973c4f483238f1484927772d0446e5686cc0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/royspekreijse/projector-rust [INFO] finished tweaking git repo https://github.com/royspekreijse/projector-rust [INFO] tweaked toml for git repo https://github.com/royspekreijse/projector-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/royspekreijse/projector-rust 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" "+9c7f973c4f483238f1484927772d0446e5686cc0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39f88e46d469d213dcc8abf8b9144854b22aec1da3a006a5b0d9d53a02e8c1ab [INFO] running `Command { std: "docker" "start" "-a" "39f88e46d469d213dcc8abf8b9144854b22aec1da3a006a5b0d9d53a02e8c1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39f88e46d469d213dcc8abf8b9144854b22aec1da3a006a5b0d9d53a02e8c1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f88e46d469d213dcc8abf8b9144854b22aec1da3a006a5b0d9d53a02e8c1ab", kill_on_drop: false }` [INFO] [stdout] 39f88e46d469d213dcc8abf8b9144854b22aec1da3a006a5b0d9d53a02e8c1ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42b8fd5a6c7742ac069160f8fd477572fe2ac493a117a5686b7b1f6ab211097b [INFO] running `Command { std: "docker" "start" "-a" "42b8fd5a6c7742ac069160f8fd477572fe2ac493a117a5686b7b1f6ab211097b", kill_on_drop: false }` [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Result, anyhow, Context}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/opts.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::Parser; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/projector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/projector.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Result, anyhow, Context}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/config.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `collection_macros` [INFO] [stdout] --> src/projector.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | use collection_macros::hashmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `collection_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/opts.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::Parser; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/projector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/projector.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/opts.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[clap()] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/opts.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[clap()] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/opts.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[clap(short = 'c', long = "config")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/opts.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[clap(short = 'c', long = "config")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/opts.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[clap(short = 'p', long = "pwd")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/opts.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[clap(short = 'p', long = "pwd")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `context` found for enum `Result` in the current scope [INFO] [stdout] --> src/config.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 85 | let loc = std::env::var("XDG_CONFIG_HOME") [INFO] [stdout] | _______________- [INFO] [stdout] 86 | | .context("unable to get XDG_CONFIG_HOME")?; [INFO] [stdout] | | -^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `context` found for enum `Result` in the current scope [INFO] [stdout] --> src/config.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 101 | return Ok(std::env::current_dir().context("errored getting current_dir")?); [INFO] [stdout] | ^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `context` found for enum `Result` in the current scope [INFO] [stdout] --> src/config.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 85 | let loc = std::env::var("XDG_CONFIG_HOME") [INFO] [stdout] | _______________- [INFO] [stdout] 86 | | .context("unable to get XDG_CONFIG_HOME")?; [INFO] [stdout] | | -^^^^^^^ method not found in `Result` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/projector.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | let contents = serde_json::to_string(&self.data)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/projector.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | let data = serde_json::from_str(&contents); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `context` found for enum `Result` in the current scope [INFO] [stdout] --> src/config.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 101 | return Ok(std::env::current_dir().context("errored getting current_dir")?); [INFO] [stdout] | ^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/projector.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | let contents = serde_json::to_string(&self.data)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/projector.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | let data = serde_json::from_str(&contents); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "42b8fd5a6c7742ac069160f8fd477572fe2ac493a117a5686b7b1f6ab211097b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42b8fd5a6c7742ac069160f8fd477572fe2ac493a117a5686b7b1f6ab211097b", kill_on_drop: false }` [INFO] [stdout] 42b8fd5a6c7742ac069160f8fd477572fe2ac493a117a5686b7b1f6ab211097b