[INFO] cloning repository https://github.com/swarnim-deepsource/dummy-rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swarnim-deepsource/dummy-rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswarnim-deepsource%2Fdummy-rust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswarnim-deepsource%2Fdummy-rust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a369844f4d514d809d8b01c7f980426281f40669 [INFO] checking swarnim-deepsource/dummy-rust-test against master#8387315ab3c26a57a1f53a90f188f0bc88514bca for pr-124605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswarnim-deepsource%2Fdummy-rust-test" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swarnim-deepsource/dummy-rust-test on toolchain 8387315ab3c26a57a1f53a90f188f0bc88514bca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8387315ab3c26a57a1f53a90f188f0bc88514bca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swarnim-deepsource/dummy-rust-test [INFO] finished tweaking git repo https://github.com/swarnim-deepsource/dummy-rust-test [INFO] tweaked toml for git repo https://github.com/swarnim-deepsource/dummy-rust-test written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/swarnim-deepsource/dummy-rust-test 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" "+8387315ab3c26a57a1f53a90f188f0bc88514bca" "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 swarnim-deepsource/dummy-rust-test against try#fcc50f77e1a14e407d895972348a0ff09eafc210 for pr-124605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswarnim-deepsource%2Fdummy-rust-test" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swarnim-deepsource/dummy-rust-test on toolchain fcc50f77e1a14e407d895972348a0ff09eafc210 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swarnim-deepsource/dummy-rust-test [INFO] finished tweaking git repo https://github.com/swarnim-deepsource/dummy-rust-test [INFO] tweaked toml for git repo https://github.com/swarnim-deepsource/dummy-rust-test written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/swarnim-deepsource/dummy-rust-test 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" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07f2cfbe8d16bdd46b3117ed32d54c134575353acbf3e0432b3e0bbb92422df2 [INFO] running `Command { std: "docker" "start" "-a" "07f2cfbe8d16bdd46b3117ed32d54c134575353acbf3e0432b3e0bbb92422df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07f2cfbe8d16bdd46b3117ed32d54c134575353acbf3e0432b3e0bbb92422df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f2cfbe8d16bdd46b3117ed32d54c134575353acbf3e0432b3e0bbb92422df2", kill_on_drop: false }` [INFO] [stdout] 07f2cfbe8d16bdd46b3117ed32d54c134575353acbf3e0432b3e0bbb92422df2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0898ea4758d8e5e2b8676f1905e78b69c813067eb8bd0942654fc1127a422874 [INFO] running `Command { std: "docker" "start" "-a" "0898ea4758d8e5e2b8676f1905e78b69c813067eb8bd0942654fc1127a422874", kill_on_drop: false }` [INFO] [stderr] Checking dummy-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Context, Result}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Context, Result}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | let Some(x) = val else { return }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | let Some(x) = val else { return }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | let index: usize = StdioInput.process_input(|mut input| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | // cc = 3 (?, ?) [INFO] [stdout] 51 | str::parse(input.next().context("no input from stdin")??.as_str()).context("parse failed") [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 49 | let index: usize = StdioInput.process_input(|mut input: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | let index: usize = StdioInput.process_input(|mut input| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | // cc = 3 (?, ?) [INFO] [stdout] 51 | str::parse(input.next().context("no input from stdin")??.as_str()).context("parse failed") [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 49 | let index: usize = StdioInput.process_input(|mut input: /* Type */| { [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/main.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | str::parse(input.next().context("no input from stdin")??.as_str()).context("parse failed") [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/main.rs:51:76 [INFO] [stdout] | [INFO] [stdout] 51 | str::parse(input.next().context("no input from stdin")??.as_str()).context("parse failed") [INFO] [stdout] | ^^^^^^^ method not found in `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dummy-rust` (bin "dummy-rust") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dummy-rust` (bin "dummy-rust" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0898ea4758d8e5e2b8676f1905e78b69c813067eb8bd0942654fc1127a422874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0898ea4758d8e5e2b8676f1905e78b69c813067eb8bd0942654fc1127a422874", kill_on_drop: false }` [INFO] [stdout] 0898ea4758d8e5e2b8676f1905e78b69c813067eb8bd0942654fc1127a422874