[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 try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaomeifun%2Fmajiang_core" "/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/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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/laomeifun/majiang_core on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d7b9b0c82f7399a789854c622f873987eabc9eeebc424fa6066a244c6774d5e
[INFO] running `Command { std: "docker" "start" "-a" "8d7b9b0c82f7399a789854c622f873987eabc9eeebc424fa6066a244c6774d5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d7b9b0c82f7399a789854c622f873987eabc9eeebc424fa6066a244c6774d5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d7b9b0c82f7399a789854c622f873987eabc9eeebc424fa6066a244c6774d5e", kill_on_drop: false }`
[INFO] [stdout] 8d7b9b0c82f7399a789854c622f873987eabc9eeebc424fa6066a244c6774d5e
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e2bbc4f104a0ee149375bb979c8747e86027b5b31738a85d8be1ac882bd7334
[INFO] running `Command { std: "docker" "start" "-a" "0e2bbc4f104a0ee149375bb979c8747e86027b5b31738a85d8be1ac882bd7334", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.dev.warnings
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling zerocopy v0.8.24
[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 ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling strum_macros v0.27.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[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 14.37s
[INFO] running `Command { std: "docker" "inspect" "0e2bbc4f104a0ee149375bb979c8747e86027b5b31738a85d8be1ac882bd7334", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e2bbc4f104a0ee149375bb979c8747e86027b5b31738a85d8be1ac882bd7334", kill_on_drop: false }`
[INFO] [stdout] 0e2bbc4f104a0ee149375bb979c8747e86027b5b31738a85d8be1ac882bd7334
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c164126d37bdd4bc63221069fc3dee9566ff5eb1e52313866c3e99e6086e2aa7
[INFO] running `Command { std: "docker" "start" "-a" "c164126d37bdd4bc63221069fc3dee9566ff5eb1e52313866c3e99e6086e2aa7", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.dev.warnings
[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]    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 `test` profile [unoptimized + debuginfo] target(s) in 1.38s
[INFO] running `Command { std: "docker" "inspect" "c164126d37bdd4bc63221069fc3dee9566ff5eb1e52313866c3e99e6086e2aa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c164126d37bdd4bc63221069fc3dee9566ff5eb1e52313866c3e99e6086e2aa7", kill_on_drop: false }`
[INFO] [stdout] c164126d37bdd4bc63221069fc3dee9566ff5eb1e52313866c3e99e6086e2aa7
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fcb6c5eb61860fc9f5228aa449223dba3d199730831026f4f6b1d933c47ca941
[INFO] running `Command { std: "docker" "start" "-a" "fcb6c5eb61860fc9f5228aa449223dba3d199730831026f4f6b1d933c47ca941", 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.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/majiang_core-06656a02cfc23c0d)
[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-3df7bbc88707098d)
[INFO] [stdout] 
[INFO] [stdout] running 53 tests
[INFO] [stdout] test meld::test_meld_creation::test_create_added_kan ... ok
[INFO] [stdout] test meld::test_meld_creation::test_create_chi ... 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_closed_kan ... ok
[INFO] [stdout] test meld::test_meld_creation::test_create_invalid_meld_wrong_source_count ... ok
[INFO] [stdout] test meld::test_meld_operations::test_can_form_kan ... ok
[INFO] [stdout] test meld::test_meld_operations::test_can_form_pon ... ok
[INFO] [stdout] test meld::test_meld_operations::test_get_key_tile ... ok
[INFO] [stdout] test meld::test_meld_creation::test_create_open_kan ... ok
[INFO] [stdout] test meld::test_meld_operations::test_get_possible_chi_combinations ... ok
[INFO] [stdout] test meld::test_meld_creation::test_create_pon ... ok
[INFO] [stdout] test meld::test_meld_operations::test_sort_chi_tiles ... ok
[INFO] [stdout] test meld::test_meld_operations::test_sort_pon_unchanged ... ok
[INFO] [stdout] test meld::test_meld_operations::test_can_form_chi ... 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_validation::test_validate_invalid_chi_with_honor ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_invalid_closed_kan ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_invalid_pon ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_valid_added_kan ... 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_invalid_chi_different_suits ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_invalid_chi_non_sequential ... ok
[INFO] [stdout] test meld::test_meld_validation::test_validate_valid_pon ... 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_pon_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_valid_open_kan ... ok
[INFO] [stdout] test tile::test_create::test_create_invalid_suit_tiles ... ok
[INFO] [stdout] test tile::test_create::test_tile_display ... ok
[INFO] [stdout] test tile::test_create::test_tile_id_conversion ... ok
[INFO] [stdout] test tile::test_serialization::test_tile_data_conversion ... ok
[INFO] [stdout] test tile::test_serialization::test_tiles_batch_conversion ... ok
[INFO] [stdout] test tile::test_create::test_create_valid_suit_tiles ... ok
[INFO] [stdout] test tile::test_create::test_red_tiles ... 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 wall::test_basic::test_dealing_tiles ... ok
[INFO] [stdout] test wall::test_basic::test_game_state_constraints ... ok
[INFO] [stdout] test wall::test_basic::test_wall_creation ... ok
[INFO] [stdout] test wall::test_basic::test_wall_error_handling ... 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_flower_tiles_usage ... ok
[INFO] [stdout] test wall::test_basic::test_different_rule_walls ... ok
[INFO] [stdout] test wall::test_deadwall::test_mcr_deadwall ... ok
[INFO] [stdout] test wall::test_deadwall::test_flower_replacement ... ok
[INFO] [stdout] test wall::test_config::test_wall_configurations ... ok
[INFO] [stdout] test wall::test_config::test_reproducible_wall ... ok
[INFO] [stdout] test wall::test_deadwall::test_riichi_deadwall ... ok
[INFO] [stdout] test wall::test_deadwall::test_no_deadwall ... ok
[INFO] [stdout] test wall::test_deadwall::test_riichi_dora_and_uradora ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 53 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests majiang_core
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test src/meld/utils.rs - meld::utils::can_form_pon (line 399) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::can_form_kan (line 439) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::can_form_chi (line 314) ... ok
[INFO] [stdout] test src/meld/types.rs - meld::types::Meld::new (line 117) ... ok
[INFO] [stdout] test src/errors.rs - errors::MajiangResult (line 185) ... ok
[INFO] [stdout] test src/meld/mod.rs - meld::doc (line 72) ... ok
[INFO] [stdout] test src/meld/mod.rs - meld::doc (line 48) ... ok
[INFO] [stdout] test src/errors.rs - errors::MajiangError (line 36) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::get_kan_tile_count (line 565) ... ok
[INFO] [stdout] test src/tile/serialization.rs - tile::serialization::from_data (line 158) ... FAILED
[INFO] [stdout] test src/meld/utils.rs - meld::utils::validate_chi (line 38) ... ok
[INFO] [stdout] test src/tile/serialization.rs - tile::serialization::ids_to_tiles (line 195) ... FAILED
[INFO] [stdout] test src/meld/utils.rs - meld::utils::validate_kan (line 176) ... ok
[INFO] [stdout] test src/tile/serialization.rs - tile::serialization::from_id (line 40) ... FAILED
[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::get_possible_chi_combinations (line 485) ... 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::validate_pon (line 118) ... ok
[INFO] [stdout] test src/meld/utils.rs - meld::utils::get_kan_tiles (line 603) ... ok
[INFO] [stdout] test src/tile/serialization.rs - tile::serialization::to_data (line 75) ... FAILED
[INFO] [stdout] test src/tile/serialization.rs - tile::serialization::to_id (line 26) ... FAILED
[INFO] [stdout] test src/tile/types.rs - tile::types::Tile (line 122) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 159 | let data = TileData {
[INFO] [stdout]     |            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 158 + 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] 165 | 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] 158 + 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/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] 197 | 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] 195 + 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_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] 42 | 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] 40 + 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::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] 180 |     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] 178 + 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] 180 |     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] 178 + 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] 181 |     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] 178 + 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] 181 |     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] 178 + 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] 182 |     Tile::Wind(Wind::East),
[INFO] [stdout]     |     ^^^^ use of undeclared type `Tile`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 178 + 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] 182 |     Tile::Wind(Wind::East),
[INFO] [stdout]     |                ^^^^ use of undeclared type `Wind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 178 + 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] 184 | 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] 178 + 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::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] 76 | 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] 75 + 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] 76 | 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] 75 + 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] 77 | 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] 75 + 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] ---- 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] 27 | 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] 26 + 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] 27 | 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] 26 + 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] 28 | 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] 26 + 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/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] 123 | 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] 122 + 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] 123 | 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] 122 + 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] 124 | 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] 122 + 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] 124 | 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] 122 + 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] 125 | 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] 122 + 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] 125 | 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] 122 + 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] 
[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.37s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "fcb6c5eb61860fc9f5228aa449223dba3d199730831026f4f6b1d933c47ca941", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fcb6c5eb61860fc9f5228aa449223dba3d199730831026f4f6b1d933c47ca941", kill_on_drop: false }`
[INFO] [stdout] fcb6c5eb61860fc9f5228aa449223dba3d199730831026f4f6b1d933c47ca941
