[INFO] cloning repository https://github.com/theghostyced/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/theghostyced/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostyced%2Flearning-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostyced%2Flearning-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a5fd7c9aec3fdd25088c157e354c619acff8716b
[INFO] checking theghostyced/learning-rust against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostyced%2Flearning-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/theghostyced/learning-rust
[INFO] finished tweaking git repo https://github.com/theghostyced/learning-rust
[INFO] tweaked toml for git repo https://github.com/theghostyced/learning-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/theghostyced/learning-rust on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/theghostyced/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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dff0f0ecafa95cbdecac046d09f89b08dafb0836c263e7f2187ea2aa2022c8c5
[INFO] running `Command { std: "docker" "start" "-a" "dff0f0ecafa95cbdecac046d09f89b08dafb0836c263e7f2187ea2aa2022c8c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dff0f0ecafa95cbdecac046d09f89b08dafb0836c263e7f2187ea2aa2022c8c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dff0f0ecafa95cbdecac046d09f89b08dafb0836c263e7f2187ea2aa2022c8c5", kill_on_drop: false }`
[INFO] [stdout] dff0f0ecafa95cbdecac046d09f89b08dafb0836c263e7f2187ea2aa2022c8c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c1757674ec1e05c7caf2db9cbbd8abdb59b9503f6e52ea2e8d9e15cd79530fde
[INFO] running `Command { std: "docker" "start" "-a" "c1757674ec1e05c7caf2db9cbbd8abdb59b9503f6e52ea2e8d9e15cd79530fde", kill_on_drop: false }`
[INFO] [stderr]     Checking learning-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `part_1` is never used
[INFO] [stdout]   --> src/bin/a23.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn part_1() -> bool {
[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 `part_2` is never used
[INFO] [stdout]   --> src/bin/a23.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn part_2() -> Option<Access> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `part_3` is never used
[INFO] [stdout]   --> src/bin/a23.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn part_3() -> Access {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Access` is never used
[INFO] [stdout]   --> src/bin/a23.rs:33:6
[INFO] [stdout]    |
[INFO] [stdout] 33 | enum Access {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `maybe_access` is never used
[INFO] [stdout]   --> src/bin/a23.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn maybe_access(name: &str) -> Option<Access> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `root` is never used
[INFO] [stdout]   --> src/bin/a23.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn root() -> Option<Access> {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/bin/a9.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let (x, y) = cartesian_coordinate();
[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: fields `user_id` and `name` are never read
[INFO] [stdout]   --> src/bin/a21.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct User {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 13 |     user_id: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Maintanence`, `Marketing`, `Supervisor`, `Kitchen`, and `Assembly` are never constructed
[INFO] [stdout]  --> src/bin/a18b.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum EmployeeType {
[INFO] [stdout]   |      ------------ variants in this enum
[INFO] [stdout] 3 |     Maintanence,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 4 |     Marketing,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 5 |     Managers,
[INFO] [stdout] 6 |     Supervisor,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 7 |     Kitchen,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     Assembly
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Terminated` is never constructed
[INFO] [stdout]   --> src/bin/a18b.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum EmployeeStatus {
[INFO] [stdout]    |      -------------- variant in this enum
[INFO] [stdout] 12 |   Active,
[INFO] [stdout] 13 |   Terminated
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp` is never used
[INFO] [stdout]   --> src/bin/a22.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn clamp(n: i32, lower: i32, upper: i32) -> i32 {
[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 `div` is never used
[INFO] [stdout]   --> src/bin/a22.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn div(a: i32, b: i32) -> Option<i32> {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `concat` is never used
[INFO] [stdout]   --> src/bin/a22.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn concat(first: &str, second: &str) -> String {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Maintanence`, `Marketing`, `Supervisor`, `Kitchen`, and `Assembly` are never constructed
[INFO] [stdout]  --> src/bin/a18b.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum EmployeeType {
[INFO] [stdout]   |      ------------ variants in this enum
[INFO] [stdout] 3 |     Maintanence,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 4 |     Marketing,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 5 |     Managers,
[INFO] [stdout] 6 |     Supervisor,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 7 |     Kitchen,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     Assembly
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Terminated` is never constructed
[INFO] [stdout]   --> src/bin/a18b.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum EmployeeStatus {
[INFO] [stdout]    |      -------------- variant in this enum
[INFO] [stdout] 12 |   Active,
[INFO] [stdout] 13 |   Terminated
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Black` is never constructed
[INFO] [stdout]  --> src/bin/a12.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Color {
[INFO] [stdout]   |      ----- variant in this enum
[INFO] [stdout] 3 |     Black,
[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 variable: `x`
[INFO] [stdout]  --> src/bin/a9.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let (x, y) = cartesian_coordinate();
[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 `Black` is never constructed
[INFO] [stdout]  --> src/bin/a12.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Color {
[INFO] [stdout]   |      ----- variant in this enum
[INFO] [stdout] 3 |     Black,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id` and `name` are never read
[INFO] [stdout]   --> src/bin/a21.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct User {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 13 |     user_id: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` 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] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.98s
[INFO] running `Command { std: "docker" "inspect" "c1757674ec1e05c7caf2db9cbbd8abdb59b9503f6e52ea2e8d9e15cd79530fde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1757674ec1e05c7caf2db9cbbd8abdb59b9503f6e52ea2e8d9e15cd79530fde", kill_on_drop: false }`
[INFO] [stdout] c1757674ec1e05c7caf2db9cbbd8abdb59b9503f6e52ea2e8d9e15cd79530fde
