[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 try#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2002-harshit%2Flearning_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/2002-harshit/learning_rust on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-5-tc2/source/Cargo.toml
[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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cdcf7e3a1ae48b1e7f2240797f723259e83f2fed61ba0c2b24d32a3acedd0dac
[INFO] running `Command { std: "docker" "start" "-a" "cdcf7e3a1ae48b1e7f2240797f723259e83f2fed61ba0c2b24d32a3acedd0dac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cdcf7e3a1ae48b1e7f2240797f723259e83f2fed61ba0c2b24d32a3acedd0dac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cdcf7e3a1ae48b1e7f2240797f723259e83f2fed61ba0c2b24d32a3acedd0dac", kill_on_drop: false }`
[INFO] [stdout] cdcf7e3a1ae48b1e7f2240797f723259e83f2fed61ba0c2b24d32a3acedd0dac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8fa897a50fd97f9ff093e2577c910bc15792b2a705e097c85bbcf80aca536c67
[INFO] running `Command { std: "docker" "start" "-a" "8fa897a50fd97f9ff093e2577c910bc15792b2a705e097c85bbcf80aca536c67", 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: `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: `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: 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: `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: 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] For more information about this error, try `rustc --explain E0583`.
[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" test) 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") due to 1 previous error; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8fa897a50fd97f9ff093e2577c910bc15792b2a705e097c85bbcf80aca536c67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fa897a50fd97f9ff093e2577c910bc15792b2a705e097c85bbcf80aca536c67", kill_on_drop: false }`
[INFO] [stdout] 8fa897a50fd97f9ff093e2577c910bc15792b2a705e097c85bbcf80aca536c67
