[INFO] cloning repository https://github.com/iamgabrielsoft/rust_beginners
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamgabrielsoft/rust_beginners" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamgabrielsoft%2Frust_beginners", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamgabrielsoft%2Frust_beginners'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ba63020fc722687cea2aec5b5e80abc646b4d00f
[INFO] checking iamgabrielsoft/rust_beginners against master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamgabrielsoft%2Frust_beginners" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iamgabrielsoft/rust_beginners
[INFO] finished tweaking git repo https://github.com/iamgabrielsoft/rust_beginners
[INFO] tweaked toml for git repo https://github.com/iamgabrielsoft/rust_beginners written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iamgabrielsoft/rust_beginners on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iamgabrielsoft/rust_beginners 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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0a2c9c9872453c18bf4a4444ab3f8a113fa4a1f7c8a61e06a763d3abb727b22d
[INFO] running `Command { std: "docker" "start" "0a2c9c9872453c18bf4a4444ab3f8a113fa4a1f7c8a61e06a763d3abb727b22d", 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" "0a2c9c9872453c18bf4a4444ab3f8a113fa4a1f7c8a61e06a763d3abb727b22d" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a2c9c9872453c18bf4a4444ab3f8a113fa4a1f7c8a61e06a763d3abb727b22d", 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" "0a2c9c9872453c18bf4a4444ab3f8a113fa4a1f7c8a61e06a763d3abb727b22d" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling libc v0.2.117
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rust-beginner-projects v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/rock_paper_scissors.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         return Ordering::Equal; 
[INFO] [stdout]     |         ---------------------- any code following this expression is unreachable
[INFO] [stdout] 120 |
[INFO] [stdout] 121 |         return Ordering::Equal; 
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `c_tally` is assigned to, but never used
[INFO] [stdout]    --> src/rock_paper_scissors.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut c_tally = 0; 
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_c_tally` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `p_tally` is assigned to, but never used
[INFO] [stdout]    --> src/rock_paper_scissors.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let mut p_tally = 0; 
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_p_tally` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c_tally` is never read
[INFO] [stdout]    --> src/rock_paper_scissors.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         c_tally += 1; 
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `p_tally` is never read
[INFO] [stdout]    --> src/rock_paper_scissors.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         p_tally += 1; 
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/rock_paper_scissors.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         return Ordering::Equal; 
[INFO] [stdout]     |         ---------------------- any code following this expression is unreachable
[INFO] [stdout] 120 |
[INFO] [stdout] 121 |         return Ordering::Equal; 
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `c_tally` is assigned to, but never used
[INFO] [stdout]    --> src/rock_paper_scissors.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut c_tally = 0; 
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_c_tally` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `p_tally` is assigned to, but never used
[INFO] [stdout]    --> src/rock_paper_scissors.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let mut p_tally = 0; 
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_p_tally` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c_tally` is never read
[INFO] [stdout]    --> src/rock_paper_scissors.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         c_tally += 1; 
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `p_tally` is never read
[INFO] [stdout]    --> src/rock_paper_scissors.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         p_tally += 1; 
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sing` is never used
[INFO] [stdout]  --> src/bottles.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn sing(bottles: u32)   {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `output_bottles` is never used
[INFO] [stdout]   --> src/bottles.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn output_bottles(bottles: u32) -> String{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Quarter` are never constructed
[INFO] [stdout]  --> src/weightcounter.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum CoinType {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 4 |     Penny, 
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     Nickel, 
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     Dim, 
[INFO] [stdout] 7 |     Quarter
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `weight` should have an upper case name
[INFO] [stdout]   --> src/main.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     const weight: f64 = 45.3; 
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 13 -     const weight: f64 = 45.3; 
[INFO] [stdout] 13 +     const WEIGHT: f64 = 45.3; 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sing` is never used
[INFO] [stdout]  --> src/bottles.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn sing(bottles: u32)   {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `output_bottles` is never used
[INFO] [stdout]   --> src/bottles.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn output_bottles(bottles: u32) -> String{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Quarter` are never constructed
[INFO] [stdout]  --> src/weightcounter.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum CoinType {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 4 |     Penny, 
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     Nickel, 
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     Dim, 
[INFO] [stdout] 7 |     Quarter
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `weight` should have an upper case name
[INFO] [stdout]   --> src/main.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     const weight: f64 = 45.3; 
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 13 -     const weight: f64 = 45.3; 
[INFO] [stdout] 13 +     const WEIGHT: f64 = 45.3; 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.77s
[INFO] running `Command { std: "docker" "inspect" "0a2c9c9872453c18bf4a4444ab3f8a113fa4a1f7c8a61e06a763d3abb727b22d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a2c9c9872453c18bf4a4444ab3f8a113fa4a1f7c8a61e06a763d3abb727b22d", kill_on_drop: false }`
[INFO] [stdout] 0a2c9c9872453c18bf4a4444ab3f8a113fa4a1f7c8a61e06a763d3abb727b22d
