[INFO] cloning repository https://github.com/2002-harshit/learning_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2002-harshit/learning_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2002-harshit%2Flearning_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2002-harshit%2Flearning_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc29ec2bf61bcb97216cd0b5740788fcdd13b0fe
[INFO] checking 2002-harshit/learning_rust against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2002-harshit%2Flearning_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/2002-harshit/learning_rust
[INFO] finished tweaking git repo https://github.com/2002-harshit/learning_rust
[INFO] tweaked toml for git repo https://github.com/2002-harshit/learning_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/2002-harshit/learning_rust on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/2002-harshit/learning_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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 155d05a5f2135754a79f1009339a5554427837ee25f596a53858ee99f32216ea
[INFO] running `Command { std: "docker" "start" "-a" "155d05a5f2135754a79f1009339a5554427837ee25f596a53858ee99f32216ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "155d05a5f2135754a79f1009339a5554427837ee25f596a53858ee99f32216ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "155d05a5f2135754a79f1009339a5554427837ee25f596a53858ee99f32216ea", kill_on_drop: false }`
[INFO] [stdout] 155d05a5f2135754a79f1009339a5554427837ee25f596a53858ee99f32216ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e8948ab3c82171fe19c124b5f111855ca7781995c0d2e60c7e1a70701ebea590
[INFO] running `Command { std: "docker" "start" "-a" "e8948ab3c82171fe19c124b5f111855ca7781995c0d2e60c7e1a70701ebea590", kill_on_drop: false }`
[INFO] [stderr]     Checking proj v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `test`
[INFO] [stdout]   --> src/main.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub mod test;
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `test`, create file "src/test.rs" or "src/test/mod.rs"
[INFO] [stdout]    = note: if there is a `mod test` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `test`
[INFO] [stdout]   --> src/main.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub mod test;
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `test`, create file "src/test.rs" or "src/test/mod.rs"
[INFO] [stdout]    = note: if there is a `mod test` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/all_about_lifetimes.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |         if (*element < *min) {
[INFO] [stdout]    |            ^               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -         if (*element < *min) {
[INFO] [stdout] 52 +         if *element < *min {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cell`
[INFO] [stdout]   --> src/structs_2.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     cell::{Cell, RefCell},
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/all_about_lifetimes.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |         if (*element < *min) {
[INFO] [stdout]    |            ^               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -         if (*element < *min) {
[INFO] [stdout] 52 +         if *element < *min {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cell`
[INFO] [stdout]   --> src/structs_2.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     cell::{Cell, RefCell},
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/all_about_refs.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let mut v = vec![5, 3, 9];
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/all_about_refs.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let mut v = vec![5, 3, 9];
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]   --> src/ref_patterns.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn func(acc: &Account) {
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/ref_patterns.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 ref name, language, ..
[INFO] [stdout]    |                 ^^^^^^^^-
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: try removing the field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `language`
[INFO] [stdout]   --> src/ref_patterns.rs:71:27
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 ref name, language, ..
[INFO] [stdout]    |                           ^^^^^^^^-
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           help: try removing the field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/all_about_refs.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let mut v = vec![5, 3, 9];
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/structs_2.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let r = ref_cell.borrow(); //* a shared ref */
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]   --> src/structs_2.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let w = ref_cell.borrow_mut(); //*a  mut ref*/
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/all_about_refs.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let mut v = vec![5, 3, 9];
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]   --> src/ref_patterns.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn func(acc: &Account) {
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/ref_patterns.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 ref name, language, ..
[INFO] [stdout]    |                 ^^^^^^^^-
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: try removing the field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `language`
[INFO] [stdout]   --> src/ref_patterns.rs:71:27
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 ref name, language, ..
[INFO] [stdout]    |                           ^^^^^^^^-
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           help: try removing the field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/structs_2.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let r = ref_cell.borrow(); //* a shared ref */
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]   --> src/structs_2.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let w = ref_cell.borrow_mut(); //*a  mut ref*/
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `proj` (bin "proj") due to 1 previous error; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `proj` (bin "proj" test) due to 1 previous error; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e8948ab3c82171fe19c124b5f111855ca7781995c0d2e60c7e1a70701ebea590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8948ab3c82171fe19c124b5f111855ca7781995c0d2e60c7e1a70701ebea590", kill_on_drop: false }`
[INFO] [stdout] e8948ab3c82171fe19c124b5f111855ca7781995c0d2e60c7e1a70701ebea590
