[INFO] cloning repository https://github.com/yucongxing/rust-learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yucongxing/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyucongxing%2Frust-learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyucongxing%2Frust-learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b119a8abc73cc63a4fe42aea8e48f6d7f465fc35
[INFO] checking yucongxing/rust-learning against 4d7c0cd298ace72490220301fa543d63a154f8ce for pr-164789
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyucongxing%2Frust-learning" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/yucongxing/rust-learning
[INFO] finished tweaking git repo https://github.com/yucongxing/rust-learning
[INFO] tweaked toml for git repo https://github.com/yucongxing/rust-learning written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yucongxing/rust-learning on toolchain 4d7c0cd298ace72490220301fa543d63a154f8ce
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yucongxing/rust-learning 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" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 61c61bf79aeee15d72c6c4eed0c7665454453047b3be268032e8a271d3a68061
[INFO] running `Command { std: "docker" "start" "61c61bf79aeee15d72c6c4eed0c7665454453047b3be268032e8a271d3a68061", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61c61bf79aeee15d72c6c4eed0c7665454453047b3be268032e8a271d3a68061", 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" "61c61bf79aeee15d72c6c4eed0c7665454453047b3be268032e8a271d3a68061" "/opt/rustwide/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61c61bf79aeee15d72c6c4eed0c7665454453047b3be268032e8a271d3a68061", 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" "61c61bf79aeee15d72c6c4eed0c7665454453047b3be268032e8a271d3a68061" "/opt/rustwide/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking ex003-struct v0.1.0 (/opt/rustwide/workdir/exercises/01-basics/ex003-struct)
[INFO] [stderr]     Checking ex004-enum v0.1.0 (/opt/rustwide/workdir/exercises/01-basics/ex004-enum)
[INFO] [stderr]     Checking ex001-hello-world v0.1.0 (/opt/rustwide/workdir/exercises/01-basics/ex001-hello-world)
[INFO] [stderr]     Checking ex002-ownership v0.1.0 (/opt/rustwide/workdir/exercises/01-basics/ex002-ownership)
[INFO] [stdout] warning: unused imports: `arch::naked_asm` and `thread::LocalKey`
[INFO] [stdout]  --> exercises/01-basics/ex004-enum/src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{arch::naked_asm, thread::LocalKey};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `location` should have an upper camel case name
[INFO] [stdout]  --> exercises/01-basics/ex004-enum/src/main.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | enum location {
[INFO] [stdout]   |      ^^^^^^^^ help: convert the identifier to upper camel case: `Location`
[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: unused imports: `arch::naked_asm` and `thread::LocalKey`
[INFO] [stdout]  --> exercises/01-basics/ex004-enum/src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{arch::naked_asm, thread::LocalKey};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `location` should have an upper camel case name
[INFO] [stdout]  --> exercises/01-basics/ex004-enum/src/main.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | enum location {
[INFO] [stdout]   |      ^^^^^^^^ help: convert the identifier to upper camel case: `Location`
[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: unreachable pattern
[INFO] [stdout]   --> exercises/01-basics/ex004-enum/src/main.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         location::Range(_, n) => n,
[INFO] [stdout]    |         --------------------- matches all the relevant values
[INFO] [stdout] 60 |         location::Range(0, _) => 0,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> exercises/01-basics/ex004-enum/src/main.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         location::Range(_, n) => n,
[INFO] [stdout]    |         --------------------- matches all the relevant values
[INFO] [stdout] 60 |         location::Range(0, _) => 0,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]  --> exercises/01-basics/ex004-enum/src/main.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     V4(u8, u8, u8, u8),
[INFO] [stdout]   |     -- ^^  ^^  ^^  ^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `IPAddr` 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] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 5 -     V4(u8, u8, u8, u8),
[INFO] [stdout] 5 +     V4((), (), (), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V6` is never constructed
[INFO] [stdout]  --> exercises/01-basics/ex004-enum/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum IPAddr {
[INFO] [stdout]   |      ------ variant in this enum
[INFO] [stdout] 5 |     V4(u8, u8, u8, u8),
[INFO] [stdout] 6 |     V6(String),
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `IPAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]  --> exercises/01-basics/ex004-enum/src/main.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     V4(u8, u8, u8, u8),
[INFO] [stdout]   |     -- ^^  ^^  ^^  ^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `IPAddr` 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] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 5 -     V4(u8, u8, u8, u8),
[INFO] [stdout] 5 +     V4((), (), (), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V6` is never constructed
[INFO] [stdout]  --> exercises/01-basics/ex004-enum/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum IPAddr {
[INFO] [stdout]   |      ------ variant in this enum
[INFO] [stdout] 5 |     V4(u8, u8, u8, u8),
[INFO] [stdout] 6 |     V6(String),
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `IPAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Point` is never constructed
[INFO] [stdout]   --> exercises/01-basics/ex004-enum/src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum location {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] 10 |     Point(i32),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Point` is never constructed
[INFO] [stdout]   --> exercises/01-basics/ex004-enum/src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum location {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] 10 |     Point(i32),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] running `Command { std: "docker" "inspect" "61c61bf79aeee15d72c6c4eed0c7665454453047b3be268032e8a271d3a68061", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61c61bf79aeee15d72c6c4eed0c7665454453047b3be268032e8a271d3a68061", kill_on_drop: false }`
[INFO] [stdout] 61c61bf79aeee15d72c6c4eed0c7665454453047b3be268032e8a271d3a68061
