[INFO] cloning repository https://github.com/Dhanraj30/Rust-practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dhanraj30/Rust-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhanraj30%2FRust-practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhanraj30%2FRust-practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2d12b4d3c213412aa9b9a11ffb101edb28a3423b
[INFO] testing Dhanraj30/Rust-practice against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhanraj30%2FRust-practice" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Dhanraj30/Rust-practice
[INFO] finished tweaking git repo https://github.com/Dhanraj30/Rust-practice
[INFO] tweaked toml for git repo https://github.com/Dhanraj30/Rust-practice written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Dhanraj30/Rust-practice on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Dhanraj30/Rust-practice 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 450ac4d0a7689a140c5ab42580a38da912746b7c92cf5c5bdc04bd46644c2b69
[INFO] running `Command { std: "docker" "start" "-a" "450ac4d0a7689a140c5ab42580a38da912746b7c92cf5c5bdc04bd46644c2b69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "450ac4d0a7689a140c5ab42580a38da912746b7c92cf5c5bdc04bd46644c2b69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "450ac4d0a7689a140c5ab42580a38da912746b7c92cf5c5bdc04bd46644c2b69", kill_on_drop: false }`
[INFO] [stdout] 450ac4d0a7689a140c5ab42580a38da912746b7c92cf5c5bdc04bd46644c2b69
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1199de5b841e4053a94e9cbd312c05496a361f591fa115e6fdb48df15eece2b7
[INFO] running `Command { std: "docker" "start" "-a" "1199de5b841e4053a94e9cbd312c05496a361f591fa115e6fdb48df15eece2b7", kill_on_drop: false }`
[INFO] [stderr]    Compiling activities v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `error` and `fmt::write`
[INFO] [stdout]  --> src/bin/result.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{error, fmt::write, fs::File, io::{Write, BufRead, BufReader, ErrorKind}};
[INFO] [stdout]   |           ^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output2`
[INFO] [stdout]   --> src/bin/result.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let output2 = match output2 {
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/bin/result.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 Err(e) => panic!("Cant create file:{:?}",error),
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/a9.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let (x, y) = coord();
[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: variant `Brown` is never constructed
[INFO] [stdout]   --> src/bin/a12.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Color {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 14 |     Brown, 
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `color` should have an upper camel case name
[INFO] [stdout]   --> src/bin/a7.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum color {
[INFO] [stdout]    |      ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Color`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `black` should have an upper camel case name
[INFO] [stdout]   --> src/bin/a7.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     black, 
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `red` should have an upper camel case name
[INFO] [stdout]   --> src/bin/a7.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     red
[INFO] [stdout]    |     ^^^ help: convert the identifier to upper camel case: `Red`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `red` is never constructed
[INFO] [stdout]   --> src/bin/a7.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum color {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 13 |     black, 
[INFO] [stdout] 14 |     red
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/bin/thread.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/bin/thread.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/a18b.rs:98:6
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn authorize(
[INFO] [stdout]    |    --------- implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] ...
[INFO] [stdout] 98 | ) -> Result<AuthorizationStatus, String> {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<AuthorizationStatus, String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<AuthorizationStatus, String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `activities` (bin "a18b") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "1199de5b841e4053a94e9cbd312c05496a361f591fa115e6fdb48df15eece2b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1199de5b841e4053a94e9cbd312c05496a361f591fa115e6fdb48df15eece2b7", kill_on_drop: false }`
[INFO] [stdout] 1199de5b841e4053a94e9cbd312c05496a361f591fa115e6fdb48df15eece2b7
