[INFO] cloning repository https://github.com/Littlefean/autoera-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Littlefean/autoera-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLittlefean%2Fautoera-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLittlefean%2Fautoera-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d89d1942b8e1f980cbbb676edaffffc2129a7e48 [INFO] building Littlefean/autoera-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLittlefean%2Fautoera-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Littlefean/autoera-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Littlefean/autoera-rust [INFO] finished tweaking git repo https://github.com/Littlefean/autoera-rust [INFO] tweaked toml for git repo https://github.com/Littlefean/autoera-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Littlefean/autoera-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 108b93788762d69100ff8f1e960da66a8f82aef00493add89b50d12062cb2bb7 [INFO] running `Command { std: "docker" "start" "-a" "108b93788762d69100ff8f1e960da66a8f82aef00493add89b50d12062cb2bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "108b93788762d69100ff8f1e960da66a8f82aef00493add89b50d12062cb2bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "108b93788762d69100ff8f1e960da66a8f82aef00493add89b50d12062cb2bb7", kill_on_drop: false }` [INFO] [stdout] 108b93788762d69100ff8f1e960da66a8f82aef00493add89b50d12062cb2bb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39d928517bc8400437257293d456cc2d48779e251b01abc3180ed9aa8da2d863 [INFO] running `Command { std: "docker" "start" "-a" "39d928517bc8400437257293d456cc2d48779e251b01abc3180ed9aa8da2d863", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.22.1 [INFO] [stderr] Compiling autoera-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/models/species.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | _ => String::from("❔"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/models/species.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 26 | SpeciesType::Normal => String::from("⭐"), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 27 | SpeciesType::Hydro => String::from("💧"), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 28 | SpeciesType::Flare => String::from("🔥"), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 29 | SpeciesType::Floral => String::from("🌿"), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 33 | _ => String::from("❔"), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Electra`, `Terra`, and `Sky` are never constructed [INFO] [stdout] --> src/models/species.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SpeciesType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Electra = 4, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Terra = 5, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Sky = 6, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpeciesType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emoji` is never used [INFO] [stdout] --> src/models/species.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl SpeciesType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 24 | pub fn emoji(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `defense_current` and `speed_current` are never read [INFO] [stdout] --> src/models/spirit.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Spirit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub defense_current: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub speed_current: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `spirit_beg_max` is never read [INFO] [stdout] --> src/models/user.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub spirit_beg_max: i32, // 背包目前最多可容纳多少个精灵,后续可以通过购买,换取背包容量 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "39d928517bc8400437257293d456cc2d48779e251b01abc3180ed9aa8da2d863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d928517bc8400437257293d456cc2d48779e251b01abc3180ed9aa8da2d863", kill_on_drop: false }` [INFO] [stdout] 39d928517bc8400437257293d456cc2d48779e251b01abc3180ed9aa8da2d863 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a4177a2966b93848f15d2d60f3cb1328de3d8562a6500ce339b4cec1f74e012 [INFO] running `Command { std: "docker" "start" "-a" "6a4177a2966b93848f15d2d60f3cb1328de3d8562a6500ce339b4cec1f74e012", kill_on_drop: false }` [INFO] [stderr] Compiling autoera-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/models/species.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | _ => String::from("❔"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/models/species.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 26 | SpeciesType::Normal => String::from("⭐"), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 27 | SpeciesType::Hydro => String::from("💧"), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 28 | SpeciesType::Flare => String::from("🔥"), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 29 | SpeciesType::Floral => String::from("🌿"), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 33 | _ => String::from("❔"), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Electra`, `Terra`, and `Sky` are never constructed [INFO] [stdout] --> src/models/species.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SpeciesType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Electra = 4, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Terra = 5, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Sky = 6, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpeciesType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emoji` is never used [INFO] [stdout] --> src/models/species.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl SpeciesType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 24 | pub fn emoji(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `defense_current` and `speed_current` are never read [INFO] [stdout] --> src/models/spirit.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Spirit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub defense_current: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub speed_current: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `spirit_beg_max` is never read [INFO] [stdout] --> src/models/user.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub spirit_beg_max: i32, // 背包目前最多可容纳多少个精灵,后续可以通过购买,换取背包容量 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "6a4177a2966b93848f15d2d60f3cb1328de3d8562a6500ce339b4cec1f74e012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a4177a2966b93848f15d2d60f3cb1328de3d8562a6500ce339b4cec1f74e012", kill_on_drop: false }` [INFO] [stdout] 6a4177a2966b93848f15d2d60f3cb1328de3d8562a6500ce339b4cec1f74e012