[INFO] cloning repository https://github.com/laomeifun/majiang_core
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laomeifun/majiang_core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaomeifun%2Fmajiang_core", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaomeifun%2Fmajiang_core'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ead042d3fa93e04bd003115bc617a7d231847f18
[INFO] testing laomeifun/majiang_core against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaomeifun%2Fmajiang_core" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/laomeifun/majiang_core
[INFO] finished tweaking git repo https://github.com/laomeifun/majiang_core
[INFO] tweaked toml for git repo https://github.com/laomeifun/majiang_core written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/laomeifun/majiang_core on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/laomeifun/majiang_core 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.dev.warnings
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cd1f3048f1fa553fdc4a54d6bc4d42e2a19328405ab01af6b7f9446d24ba0d52
[INFO] running `Command { std: "docker" "start" "-a" "cd1f3048f1fa553fdc4a54d6bc4d42e2a19328405ab01af6b7f9446d24ba0d52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cd1f3048f1fa553fdc4a54d6bc4d42e2a19328405ab01af6b7f9446d24ba0d52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd1f3048f1fa553fdc4a54d6bc4d42e2a19328405ab01af6b7f9446d24ba0d52", kill_on_drop: false }`
[INFO] [stdout] cd1f3048f1fa553fdc4a54d6bc4d42e2a19328405ab01af6b7f9446d24ba0d52
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dbcc05b36b3c654b25786328f42f8a7edf080942db6415142a7ae162033505c3
[INFO] running `Command { std: "docker" "start" "-a" "dbcc05b36b3c654b25786328f42f8a7edf080942db6415142a7ae162033505c3", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.dev.warnings
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling strum_macros v0.27.1
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling majiang_core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `uradora_indicators`
[INFO] [stdout]   --> src/wall/dead_wall.rs:71:55
[INFO] [stdout]    |
[INFO] [stdout] 71 |             DeadWallConfig::Riichi { dora_indicators, uradora_indicators } => {
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `uradora_indicators: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.92s
[INFO] running `Command { std: "docker" "inspect" "dbcc05b36b3c654b25786328f42f8a7edf080942db6415142a7ae162033505c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbcc05b36b3c654b25786328f42f8a7edf080942db6415142a7ae162033505c3", kill_on_drop: false }`
[INFO] [stdout] dbcc05b36b3c654b25786328f42f8a7edf080942db6415142a7ae162033505c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ba9e26ff11d630c672ad2aa4151a42e6e735a852db4c2dfff4082d637cfbb03
[INFO] running `Command { std: "docker" "start" "-a" "5ba9e26ff11d630c672ad2aa4151a42e6e735a852db4c2dfff4082d637cfbb03", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.dev.warnings
[INFO] [stderr]    Compiling majiang_core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `uradora_indicators`
[INFO] [stdout]   --> src/wall/dead_wall.rs:71:55
[INFO] [stdout]    |
[INFO] [stdout] 71 |             DeadWallConfig::Riichi { dora_indicators, uradora_indicators } => {
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `uradora_indicators: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uradora_indicators`
[INFO] [stdout]   --> src/wall/dead_wall.rs:71:55
[INFO] [stdout]    |
[INFO] [stdout] 71 |             DeadWallConfig::Riichi { dora_indicators, uradora_indicators } => {
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `uradora_indicators: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.19s
[INFO] running `Command { std: "docker" "inspect" "5ba9e26ff11d630c672ad2aa4151a42e6e735a852db4c2dfff4082d637cfbb03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ba9e26ff11d630c672ad2aa4151a42e6e735a852db4c2dfff4082d637cfbb03", kill_on_drop: false }`
[INFO] [stdout] 5ba9e26ff11d630c672ad2aa4151a42e6e735a852db4c2dfff4082d637cfbb03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0c2032a0d497b062a8163959c53c5d52734eeccdbd8479a5a96ea3982a367afb
[INFO] running `Command { std: "docker" "start" "-a" "0c2032a0d497b062a8163959c53c5d52734eeccdbd8479a5a96ea3982a367afb", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.dev.warnings
[INFO] [stderr] warning: unused variable: `uradora_indicators`
[INFO] [stderr]   --> src/wall/dead_wall.rs:71:55
[INFO] [stderr]    |
[INFO] [stderr] 71 |             DeadWallConfig::Riichi { dora_indicators, uradora_indicators } => {
[INFO] [stderr]    |                                                       ^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `uradora_indicators: _`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `majiang_core` (lib) generated 1 warning (run `cargo fix --lib -p majiang_core` to apply 1 suggestion)
[INFO] [stderr] warning: `majiang_core` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/majiang_core-8b84789a29d827f3)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-c65da3cb11d9cf08)
[INFO] [stdout] 
[INFO] [stdout] running 53 tests
[INFO] [stdout] test meld::test_meld_creation::test_create_chi ... ok
[INFO] [stdout] test meld::test_meld_creation::test_create_added_kan ... ok
[INFO] [stdout] test meld::test_meld_creation::test_create_closed_kan ... ok
[INFO] [stdout] test meld::test_meld_creation::test_create_invalid_meld_wrong_source_count ... ok
[INFO] [stdout] test meld::test_meld_creation::test_create_invalid_meld_wrong_tile_count ... ok
[INFO] [stdout] test meld::test_meld_creation::test_create_open_kan ... ok
[INFO] [stdout] test meld::test_meld_creation::test_create_pon ... ok
[INFO] [stdout] test meld::test_meld_operations::test_can_form_chi ... ok
[INFO] [stdout] test meld::test_meld_operations::test_can_form_kan ... ok
[INFO] [stdout] test meld::test_meld_operations::test_get_kan_tile_count ... ok
[INFO] [stdout] test meld::test_meld_operations::test_get_kan_tiles ... ok
[INFO] [stdout] test meld::test_meld_operations::test_get_key_tile ... ok
[INFO] [stdout] test meld::test_meld_operations::test_get_possible_chi_combinations ... ok
[INFO] [stdout] test meld::test_meld_operations::test_sort_pon_unchanged ... ok
[INFO] [stdout] test meld::test_meld_operations::test_sort_chi_tiles ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_invalid_chi_non_sequential ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_invalid_chi_different_suits ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_invalid_closed_kan ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_invalid_chi_with_honor ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_invalid_kan_wrong_count ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_invalid_kan_different_tiles ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_valid_added_kan ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_invalid_pon ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_valid_chi ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_valid_closed_kan ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_valid_pon_honor ... ok
[INFO] [stdout] test tile::test_create::test_create_valid_suit_tiles ... ok
[INFO] [stdout] test tile::test_create::test_create_invalid_suit_tiles ... ok
[INFO] [stdout] test tile::test_create::test_red_tiles ... ok
[INFO] [stdout] test tile::test_create::test_tile_id_conversion ... ok
[INFO] [stdout] test tile::test_create::test_tile_display ... ok
[INFO] [stdout] test tile::test_create::test_tile_type_checks ... ok
[INFO] [stdout] test tile::test_serialization::test_single_tile_id_conversion ... ok
[INFO] [stdout] test tile::test_serialization::test_tiles_batch_conversion ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_valid_pon ... ok
[INFO] [stdout] test meld::test_meld_operations::test_can_form_pon ... ok
[INFO] [stdout] test wall::test_basic::test_dealing_tiles ... ok
[INFO] [stdout] test wall::test_basic::test_wall_error_handling ... ok
[INFO] [stdout] test wall::test_basic::test_game_state_constraints ... ok
[INFO] [stdout] test wall::test_config::test_wall_configurations ... ok
[INFO] [stdout] test wall::test_config::test_flower_tiles_usage ... ok
[INFO] [stdout] test wall::test_basic::test_wall_creation ... ok
[INFO] [stdout] test wall::test_basic::test_different_rule_walls ... ok
[INFO] [stdout] test wall::test_basic::test_wall_seed_determinism ... ok
[INFO] [stdout] test wall::test_config::test_dora_system_usage ... ok
[INFO] [stdout] test wall::test_config::test_reproducible_wall ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_valid_open_kan ... ok
[INFO] [stdout] test wall::test_deadwall::test_flower_replacement ... ok
[INFO] [stdout] test wall::test_deadwall::test_riichi_dora_and_uradora ... ok
[INFO] [stdout] test wall::test_deadwall::test_mcr_deadwall ... ok
[INFO] [stdout] test wall::test_deadwall::test_no_deadwall ... ok
[INFO] [stdout] test wall::test_deadwall::test_riichi_deadwall ... ok
[INFO] [stdout] test tile::test_serialization::test_tile_data_conversion ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 53 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests majiang_core
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test src/errors.rs - errors::MajiangError (line 36) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::validate_pon (line 118) ... ok
[INFO] [stdout] test src/meld/mod.rs - meld::doc (line 72) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::can_form_pon (line 399) ... ok
[INFO] [stdout] test src/errors.rs - errors::MajiangResult (line 185) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::get_kan_tile_count (line 565) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::validate_chi (line 38) ... ok
[INFO] [stdout] test src/meld/types.rs - meld::types::Meld::new (line 117) ... ok
[INFO] [stdout] test src/tile/serialization.rs - tile::serialization::tiles_to_ids (line 178) ... FAILED
[INFO] [stdout] test src/meld/utils.rs - meld::utils::can_form_chi (line 314) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::validate_kan (line 176) ... ok
[INFO] [stdout] test src/tile/serialization.rs - tile::serialization::ids_to_tiles (line 195) ... FAILED
[INFO] [stdout] test src/tile/serialization.rs - tile::serialization::from_data (line 158) ... FAILED
[INFO] [stdout] test src/meld/utils.rs - meld::utils::get_possible_chi_combinations (line 485) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::get_kan_tiles (line 603) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::sort_tiles_in_meld (line 244) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::can_form_kan (line 439) ... ok
[INFO] [stdout] test src/tile/types.rs - tile::types::Tile (line 122) ... FAILED
[INFO] [stdout] test src/tile/serialization.rs - tile::serialization::to_id (line 26) ... FAILED
[INFO] [stdout] test src/meld/mod.rs - meld::doc (line 48) ... ok
[INFO] [stdout] test src/tile/serialization.rs - tile::serialization::from_id (line 40) ... FAILED
[INFO] [stdout] test src/tile/serialization.rs - tile::serialization::to_data (line 75) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/tile/serialization.rs - tile::serialization::tiles_to_ids (line 178) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tile`
[INFO] [stdout]  --> src/tile/serialization.rs:180:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Tile::Suit(Suit::Character, 1),
[INFO] [stdout]   |     ^^^^ use of undeclared type `Tile`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Tile;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suit`
[INFO] [stdout]  --> src/tile/serialization.rs:180:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Tile::Suit(Suit::Character, 1),
[INFO] [stdout]   |                ^^^^ use of undeclared type `Suit`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Suit;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tile`
[INFO] [stdout]  --> src/tile/serialization.rs:181:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Tile::Suit(Suit::Character, 2),
[INFO] [stdout]   |     ^^^^ use of undeclared type `Tile`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Tile;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suit`
[INFO] [stdout]  --> src/tile/serialization.rs:181:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Tile::Suit(Suit::Character, 2),
[INFO] [stdout]   |                ^^^^ use of undeclared type `Suit`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Suit;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tile`
[INFO] [stdout]  --> src/tile/serialization.rs:182:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Tile::Wind(Wind::East),
[INFO] [stdout]   |     ^^^^ use of undeclared type `Tile`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Tile;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wind`
[INFO] [stdout]  --> src/tile/serialization.rs:182:16
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Tile::Wind(Wind::East),
[INFO] [stdout]   |                ^^^^ use of undeclared type `Wind`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Wind;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `tiles_to_ids` in this scope
[INFO] [stdout]  --> src/tile/serialization.rs:184:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | let ids = tiles_to_ids(&tiles);
[INFO] [stdout]   |           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::tiles_to_ids;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tile/serialization.rs - tile::serialization::ids_to_tiles (line 195) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `ids_to_tiles` in this scope
[INFO] [stdout]  --> src/tile/serialization.rs:197:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | let tiles = ids_to_tiles(&ids);
[INFO] [stdout]   |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::ids_to_tiles;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tile/serialization.rs - tile::serialization::from_data (line 158) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TileData` in this scope
[INFO] [stdout]  --> src/tile/serialization.rs:159:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let data = TileData {
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::TileData;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_data` in this scope
[INFO] [stdout]  --> src/tile/serialization.rs:165:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | if let Some(tile) = from_data(&data) {
[INFO] [stdout]   |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::from_data;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tile/types.rs - tile::types::Tile (line 122) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tile`
[INFO] [stdout]  --> src/tile/types.rs:123:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let man5 = Tile::Suit(Suit::Character, 5);
[INFO] [stdout]   |            ^^^^ use of undeclared type `Tile`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Tile;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suit`
[INFO] [stdout]  --> src/tile/types.rs:123:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | let man5 = Tile::Suit(Suit::Character, 5);
[INFO] [stdout]   |                       ^^^^ use of undeclared type `Suit`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Suit;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tile`
[INFO] [stdout]  --> src/tile/types.rs:124:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let east = Tile::Wind(Wind::East);
[INFO] [stdout]   |            ^^^^ use of undeclared type `Tile`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Tile;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wind`
[INFO] [stdout]  --> src/tile/types.rs:124:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | let east = Tile::Wind(Wind::East);
[INFO] [stdout]   |                       ^^^^ use of undeclared type `Wind`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Wind;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tile`
[INFO] [stdout]  --> src/tile/types.rs:125:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | let red_dragon = Tile::Dragon(Dragon::Red);
[INFO] [stdout]   |                  ^^^^ use of undeclared type `Tile`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Tile;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dragon`
[INFO] [stdout]  --> src/tile/types.rs:125:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | let red_dragon = Tile::Dragon(Dragon::Red);
[INFO] [stdout]   |                               ^^^^^^ use of undeclared type `Dragon`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Dragon;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tile/serialization.rs - tile::serialization::to_id (line 26) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tile`
[INFO] [stdout]  --> src/tile/serialization.rs:27:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let tile = Tile::Suit(Suit::Character, 5); // 五万
[INFO] [stdout]   |            ^^^^ use of undeclared type `Tile`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Tile;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suit`
[INFO] [stdout]  --> src/tile/serialization.rs:27:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | let tile = Tile::Suit(Suit::Character, 5); // 五万
[INFO] [stdout]   |                       ^^^^ use of undeclared type `Suit`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Suit;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_id` in this scope
[INFO] [stdout]  --> src/tile/serialization.rs:28:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | let id = to_id(&tile);
[INFO] [stdout]   |          ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::to_id;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tile/serialization.rs - tile::serialization::from_id (line 40) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `from_id` in this scope
[INFO] [stdout]  --> src/tile/serialization.rs:42:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | if let Some(tile) = from_id(id) {
[INFO] [stdout]   |                     ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::from_id;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tile/serialization.rs - tile::serialization::to_data (line 75) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tile`
[INFO] [stdout]  --> src/tile/serialization.rs:76:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let tile = Tile::Wind(Wind::East);
[INFO] [stdout]   |            ^^^^ use of undeclared type `Tile`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Tile;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wind`
[INFO] [stdout]  --> src/tile/serialization.rs:76:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | let tile = Tile::Wind(Wind::East);
[INFO] [stdout]   |                       ^^^^ use of undeclared type `Wind`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::Wind;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `to_data` in this scope
[INFO] [stdout]  --> src/tile/serialization.rs:77:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let data = to_data(&tile);
[INFO] [stdout]   |            ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use majiang_core::tile::to_data;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/tile/serialization.rs - tile::serialization::from_data (line 158)
[INFO] [stdout]     src/tile/serialization.rs - tile::serialization::from_id (line 40)
[INFO] [stdout]     src/tile/serialization.rs - tile::serialization::ids_to_tiles (line 195)
[INFO] [stdout]     src/tile/serialization.rs - tile::serialization::tiles_to_ids (line 178)
[INFO] [stdout]     src/tile/serialization.rs - tile::serialization::to_data (line 75)
[INFO] [stdout]     src/tile/serialization.rs - tile::serialization::to_id (line 26)
[INFO] [stdout]     src/tile/types.rs - tile::types::Tile (line 122)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 15 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.34s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0c2032a0d497b062a8163959c53c5d52734eeccdbd8479a5a96ea3982a367afb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c2032a0d497b062a8163959c53c5d52734eeccdbd8479a5a96ea3982a367afb", kill_on_drop: false }`
[INFO] [stdout] 0c2032a0d497b062a8163959c53c5d52734eeccdbd8479a5a96ea3982a367afb
