[INFO] cloning repository https://github.com/elumbantoruan/learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elumbantoruan/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felumbantoruan%2Flearn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felumbantoruan%2Flearn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6610431feac214637f2a6682772c69299c47e37c [INFO] checking elumbantoruan/learn-rust against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felumbantoruan%2Flearn-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elumbantoruan/learn-rust on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elumbantoruan/learn-rust [INFO] finished tweaking git repo https://github.com/elumbantoruan/learn-rust [INFO] tweaked toml for git repo https://github.com/elumbantoruan/learn-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/elumbantoruan/learn-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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da664408e99e3ff0dc6913ea8f50b0f0b07addfdb781f9c2a82b9a6d454a6804 [INFO] running `Command { std: "docker" "start" "-a" "da664408e99e3ff0dc6913ea8f50b0f0b07addfdb781f9c2a82b9a6d454a6804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da664408e99e3ff0dc6913ea8f50b0f0b07addfdb781f9c2a82b9a6d454a6804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da664408e99e3ff0dc6913ea8f50b0f0b07addfdb781f9c2a82b9a6d454a6804", kill_on_drop: false }` [INFO] [stdout] da664408e99e3ff0dc6913ea8f50b0f0b07addfdb781f9c2a82b9a6d454a6804 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9164f875014be6da13698c714bfd891ca353947342ca08a7d5021ad62c44812 [INFO] running `Command { std: "docker" "start" "-a" "c9164f875014be6da13698c714bfd891ca353947342ca08a7d5021ad62c44812", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking ch04-ownership v0.1.0 (/opt/rustwide/workdir/ch04-ownership) [INFO] [stderr] Checking ch05-structs v0.1.0 (/opt/rustwide/workdir/ch05-structs) [INFO] [stderr] Checking ch06-enum-pattern-matching v0.1.0 (/opt/rustwide/workdir/ch06-enum-pattern-matching) [INFO] [stderr] Checking ch03-variables v0.1.0 (/opt/rustwide/workdir/ch03-variables) [INFO] [stderr] Checking ch01-hello-cargo v0.1.0 (/opt/rustwide/workdir/ch01-hello-cargo) [INFO] [stderr] Checking ch07-backyard v0.1.0 (/opt/rustwide/workdir/ch07-backyard) [INFO] [stdout] warning: unused import: `std::sync::OnceState` [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::OnceState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::OnceState` [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::OnceState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | 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)]` 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] 68 - V4(u8, u8, u8, u8), [INFO] [stdout] 68 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - V6(String), [INFO] [stdout] 69 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 76 - Write(String), [INFO] [stdout] 76 + Write(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 74 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | Move { x: i32, y: i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | Write(String), [INFO] [stdout] 77 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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 `California` is never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | enum USState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 88 | California, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `USState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nickel` and `Dime` are never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 93 | Penny, [INFO] [stdout] 94 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | 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)]` 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] 68 - V4(u8, u8, u8, u8), [INFO] [stdout] 68 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - V6(String), [INFO] [stdout] 69 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 76 - Write(String), [INFO] [stdout] 76 + Write(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 74 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | Move { x: i32, y: i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | Write(String), [INFO] [stdout] 77 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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 `California` is never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | enum USState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 88 | California, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `USState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nickel` and `Dime` are never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 93 | Penny, [INFO] [stdout] 94 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ch02-guessing-games v0.1.0 (/opt/rustwide/workdir/ch02-guessing-games) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "c9164f875014be6da13698c714bfd891ca353947342ca08a7d5021ad62c44812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9164f875014be6da13698c714bfd891ca353947342ca08a7d5021ad62c44812", kill_on_drop: false }` [INFO] [stdout] c9164f875014be6da13698c714bfd891ca353947342ca08a7d5021ad62c44812