[INFO] cloning repository https://github.com/johanyim/mahjong-engine
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johanyim/mahjong-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanyim%2Fmahjong-engine"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanyim%2Fmahjong-engine'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 3d9531920c0eec1adfde77555ff567d594b2f10e
[INFO] testing johanyim/mahjong-engine against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanyim%2Fmahjong-engine" "/workspace/builds/worker-6-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/johanyim/mahjong-engine
[INFO] finished tweaking git repo https://github.com/johanyim/mahjong-engine
[INFO] tweaked toml for git repo https://github.com/johanyim/mahjong-engine written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/johanyim/mahjong-engine on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/johanyim/mahjong-engine already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 17ca3bd6c8c0b4d29ee13469f441fa262641ea8eb479c2342286c5546e0a03f7
[INFO] running `"docker" "start" "17ca3bd6c8c0b4d29ee13469f441fa262641ea8eb479c2342286c5546e0a03f7"`
[INFO] running `"docker" "inspect" "17ca3bd6c8c0b4d29ee13469f441fa262641ea8eb479c2342286c5546e0a03f7"`
[INFO] running `"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" "17ca3bd6c8c0b4d29ee13469f441fa262641ea8eb479c2342286c5546e0a03f7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "17ca3bd6c8c0b4d29ee13469f441fa262641ea8eb479c2342286c5546e0a03f7"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "17ca3bd6c8c0b4d29ee13469f441fa262641ea8eb479c2342286c5546e0a03f7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling rand v0.10.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling mahjong v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/tile.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/tile.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/hand.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/tile.rs:28:27
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]    --> src/tile.rs:161:22
[INFO] [stdout]     |
[INFO] [stdout] 161 |         if let (Some(first), Some(second)) = (first, second) {
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]    --> src/tile.rs:161:35
[INFO] [stdout]     |
[INFO] [stdout] 161 |         if let (Some(first), Some(second)) = (first, second) {
[INFO] [stdout]     |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn set(s: &str) -> Set {
[INFO] [stdout]    |        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hand1`
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let hand1 = hand::WinningHand {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hand1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set` is never used
[INFO] [stdout]   --> src/main.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn set(s: &str) -> Set {
[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 `tiles`, `sets`, and `flowers` are never read
[INFO] [stdout]   --> src/hand.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Hand {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 19 |     tiles: ArrayVec<Tile, 14>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     sets: ArrayVec<Set, 4>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 21 |     flowers: ArrayVec<Tile, 8>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `wind`, `seat`, and `hand` are never read
[INFO] [stdout]   --> src/hand.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Player {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 25 |     wind: Direction,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     seat: Direction,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     hand: Hand,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `players`, `wind`, and `round` are never read
[INFO] [stdout]   --> src/hand.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Game {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 31 |     players: [Player; 4],
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 32 |     wind: Direction,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 33 |     round: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pong` is never constructed
[INFO] [stdout]   --> src/set.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Pong([Tile; 3]);
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/set.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Pong {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(tiles: [Tile; 3]) -> Result<Self, &'static str> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4.48s
[INFO] running `"docker" "inspect" "17ca3bd6c8c0b4d29ee13469f441fa262641ea8eb479c2342286c5546e0a03f7"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "17ca3bd6c8c0b4d29ee13469f441fa262641ea8eb479c2342286c5546e0a03f7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling mahjong v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `sticks8` in this scope
[INFO] [stdout]    --> src/tile.rs:208:20
[INFO] [stdout]     |
[INFO] [stdout] 208 |         assert_eq!(sticks8, Ok(Tile::Bamboo(8)));
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/tile.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/hand.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/tile.rs:28:27
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]    --> src/tile.rs:161:22
[INFO] [stdout]     |
[INFO] [stdout] 161 |         if let (Some(first), Some(second)) = (first, second) {
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]    --> src/tile.rs:161:35
[INFO] [stdout]     |
[INFO] [stdout] 161 |         if let (Some(first), Some(second)) = (first, second) {
[INFO] [stdout]     |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn set(s: &str) -> Set {
[INFO] [stdout]    |        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hand1`
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let hand1 = hand::WinningHand {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hand1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mahjong` (bin "mahjong" test) due to 1 previous error; 7 warnings emitted
[INFO] running `"docker" "inspect" "17ca3bd6c8c0b4d29ee13469f441fa262641ea8eb479c2342286c5546e0a03f7"`
[INFO] running `"docker" "rm" "-f" "17ca3bd6c8c0b4d29ee13469f441fa262641ea8eb479c2342286c5546e0a03f7"`
[INFO] [stdout] 17ca3bd6c8c0b4d29ee13469f441fa262641ea8eb479c2342286c5546e0a03f7
