[INFO] cloning repository https://github.com/hojinahn4234/enum_tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hojinahn4234/enum_tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhojinahn4234%2Fenum_tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhojinahn4234%2Fenum_tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbcb779829fa356e7b1fa694d3e7736cc51dc737 [INFO] checking hojinahn4234/enum_tutorial against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhojinahn4234%2Fenum_tutorial" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hojinahn4234/enum_tutorial [INFO] finished tweaking git repo https://github.com/hojinahn4234/enum_tutorial [INFO] tweaked toml for git repo https://github.com/hojinahn4234/enum_tutorial written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hojinahn4234/enum_tutorial on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hojinahn4234/enum_tutorial 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "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-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a787b7210e477f147f18256e229eda4ab2e6928fe9154bf582791dd42cb0bf6 [INFO] running `Command { std: "docker" "start" "-a" "8a787b7210e477f147f18256e229eda4ab2e6928fe9154bf582791dd42cb0bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a787b7210e477f147f18256e229eda4ab2e6928fe9154bf582791dd42cb0bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a787b7210e477f147f18256e229eda4ab2e6928fe9154bf582791dd42cb0bf6", kill_on_drop: false }` [INFO] [stdout] 8a787b7210e477f147f18256e229eda4ab2e6928fe9154bf582791dd42cb0bf6 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16f4abe184a977b309b0cd52ead2a64ca3df67c2d90ae29a696ce9cb60b6632b [INFO] running `Command { std: "docker" "start" "-a" "16f4abe184a977b309b0cd52ead2a64ca3df67c2d90ae29a696ce9cb60b6632b", kill_on_drop: false }` [INFO] [stderr] Checking enum_tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let six = plus_one(five); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let none = plus_one(None); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let six = plus_one(five); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let none = plus_one(None); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_spaces` [INFO] [stdout] --> src/main.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | fn move_player(num_spaces: u8) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_spaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_spaces` [INFO] [stdout] --> src/main.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | fn move_player(num_spaces: u8) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_spaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nickel` and `Dime` are never constructed [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 2 | Penny, [INFO] [stdout] 3 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Gangwon`, `Chungcheong`, `Gyeongsang`, `Jeolla`, and `Jeju` are never constructed [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum KrState { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 10 | Gyeonggi, [INFO] [stdout] 11 | Gangwon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | Chungcheong, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | Gyeongsang, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | Jeolla, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | Jeju, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KrState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coin_not_quarter` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn coin_not_quarter(coin: Coin) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nickel` and `Dime` are never constructed [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 2 | Penny, [INFO] [stdout] 3 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Gangwon`, `Chungcheong`, `Gyeongsang`, `Jeolla`, and `Jeju` are never constructed [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum KrState { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 10 | Gyeonggi, [INFO] [stdout] 11 | Gangwon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | Chungcheong, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | Gyeongsang, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | Jeolla, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | Jeju, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KrState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coin_not_quarter` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn coin_not_quarter(coin: Coin) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] running `Command { std: "docker" "inspect" "16f4abe184a977b309b0cd52ead2a64ca3df67c2d90ae29a696ce9cb60b6632b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16f4abe184a977b309b0cd52ead2a64ca3df67c2d90ae29a696ce9cb60b6632b", kill_on_drop: false }` [INFO] [stdout] 16f4abe184a977b309b0cd52ead2a64ca3df67c2d90ae29a696ce9cb60b6632b