[INFO] cloning repository https://github.com/chirag0303/Rust-basics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chirag0303/Rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchirag0303%2FRust-basics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchirag0303%2FRust-basics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ea27bbc64557cdc9c4640e3a429d11d1761c7d54
[INFO] checking chirag0303/Rust-basics/ea27bbc64557cdc9c4640e3a429d11d1761c7d54 against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchirag0303%2FRust-basics" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chirag0303/Rust-basics
[INFO] finished tweaking git repo https://github.com/chirag0303/Rust-basics
[INFO] tweaked toml for git repo https://github.com/chirag0303/Rust-basics written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chirag0303/Rust-basics on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chirag0303/Rust-basics 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking chirag0303/Rust-basics/ea27bbc64557cdc9c4640e3a429d11d1761c7d54 against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchirag0303%2FRust-basics" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chirag0303/Rust-basics
[INFO] finished tweaking git repo https://github.com/chirag0303/Rust-basics
[INFO] tweaked toml for git repo https://github.com/chirag0303/Rust-basics written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chirag0303/Rust-basics on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chirag0303/Rust-basics 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "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-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c01dcabaa61a154d50b25d73359f932be59e4b5ee3f680d2b00c0a98995f8724
[INFO] running `Command { std: "docker" "start" "c01dcabaa61a154d50b25d73359f932be59e4b5ee3f680d2b00c0a98995f8724", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c01dcabaa61a154d50b25d73359f932be59e4b5ee3f680d2b00c0a98995f8724", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c01dcabaa61a154d50b25d73359f932be59e4b5ee3f680d2b00c0a98995f8724" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c01dcabaa61a154d50b25d73359f932be59e4b5ee3f680d2b00c0a98995f8724", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c01dcabaa61a154d50b25d73359f932be59e4b5ee3f680d2b00c0a98995f8724" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking hello_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0601]: `main` function not found in crate `loops`
[INFO] [stdout]   --> examples/loops.rs:15:2
[INFO] [stdout]    |
[INFO] [stdout] 15 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `examples/loops.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]  --> examples/vector.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::num::ParseIntError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_rust` (example "loops") due to 1 previous error; 1 warning emitted
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> examples/borrowing.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let s3 = s; // here, ownership is transferred
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> examples/vector.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let v: Vec<i8> = Vec::new(); // an empty Vector
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]   --> examples/loops.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     for j in 0..n {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `black`
[INFO] [stdout]   --> examples/hashmap.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let black: &mut i32 = scores.entry("black".to_string()).or_insert(400); // if black not found then create with default value
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_black`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> examples/enum.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let x: Option<i32> = Some(1); // Option can be used to check presence of a value if it presnt -> Some() if not -> None.
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> examples/enum.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let x: Option<i32> = None; // Can be used in when accessing the elements of an array
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> examples/enum.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let x: Result<i32, String> = Ok(10);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> examples/enum.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let x: Result<i32, String> = Err("Error in parsing".to_string());
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Play` is never constructed
[INFO] [stdout]  --> examples/enum.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum Command {
[INFO] [stdout]   |      ------- variant in this enum
[INFO] [stdout] 4 |     Play,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `printFoo` in module `my`
[INFO] [stdout]   --> examples/modules.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     my::printFoo();
[INFO] [stdout]    |         ^^^^^^^^ not found in `my`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  3 + use crate::my::a::printFoo;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `printFoo`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 51 -     my::printFoo();
[INFO] [stdout] 51 +     printFoo();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_rust` (example "modules") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "c01dcabaa61a154d50b25d73359f932be59e4b5ee3f680d2b00c0a98995f8724", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c01dcabaa61a154d50b25d73359f932be59e4b5ee3f680d2b00c0a98995f8724", kill_on_drop: false }`
[INFO] [stdout] c01dcabaa61a154d50b25d73359f932be59e4b5ee3f680d2b00c0a98995f8724
