[INFO] cloning repository https://github.com/itskihaga/tomarapocore-domainlogic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itskihaga/tomarapocore-domainlogic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitskihaga%2Ftomarapocore-domainlogic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitskihaga%2Ftomarapocore-domainlogic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f083f275a06bfc5b14e7fb5bacea36b92f70b117 [INFO] building itskihaga/tomarapocore-domainlogic 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%2Fitskihaga%2Ftomarapocore-domainlogic" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/itskihaga/tomarapocore-domainlogic 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/itskihaga/tomarapocore-domainlogic [INFO] finished tweaking git repo https://github.com/itskihaga/tomarapocore-domainlogic [INFO] tweaked toml for git repo https://github.com/itskihaga/tomarapocore-domainlogic written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/itskihaga/tomarapocore-domainlogic 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] Updating git repository `https://github.com/itskihaga/exprocess-rust.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f2e4245640a9dd9139551329e03bb724ca54a4c9d4e82956cecfce5f0db525fc [INFO] running `Command { std: "docker" "start" "-a" "f2e4245640a9dd9139551329e03bb724ca54a4c9d4e82956cecfce5f0db525fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2e4245640a9dd9139551329e03bb724ca54a4c9d4e82956cecfce5f0db525fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e4245640a9dd9139551329e03bb724ca54a4c9d4e82956cecfce5f0db525fc", kill_on_drop: false }` [INFO] [stdout] f2e4245640a9dd9139551329e03bb724ca54a4c9d4e82956cecfce5f0db525fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 87cefa54f6084555d4c642edfad135026913b480139397518809ac2ec2f725a9 [INFO] running `Command { std: "docker" "start" "-a" "87cefa54f6084555d4c642edfad135026913b480139397518809ac2ec2f725a9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling exprocess v0.1.0 (https://github.com/itskihaga/exprocess-rust.git?tag=v0.0.1#e238f3dc) [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tomarapocore-domainlogic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | fn reducer(mut prev: &mut Self::State, result: &Self::Result) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `character_locations` is never read [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | Night { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 72 | character_locations: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Midnight` is never constructed [INFO] [stdout] --> src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 69 | enum PlayingPhase { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Midnight { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Init` and `SelectRoom` are never constructed [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | enum AppCommand { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 79 | Init { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | SelectRoom(Vec) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `character` and `room` are never read [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | struct SelectRoom { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 87 | pub character: CharacterId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | pub room: RoomId [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectRoom` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `characters` is never read [INFO] [stdout] --> src/models.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 4 | pub characters: Vec [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Board` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `cls`, and `inventory` are never read [INFO] [stdout] --> src/models.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Character { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | pub id: CharacterId, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | pub cls: CharacterClass, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | pub inventory: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Character` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | Ordinary(ordinary::Ordinary) /* 一般人 */, [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Ordinary(()) /* 一般人 */, [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Insane` is never constructed [INFO] [stdout] --> src/models.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum CharacterClass { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Insane /* 発狂した人 */ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/models.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ItemClass` is never used [INFO] [stdout] --> src/models.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum ItemClass { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SkillId` is never used [INFO] [stdout] --> src/models.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type SkillId = usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Skill` is never constructed [INFO] [stdout] --> src/models.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Skill { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Knowledge` is never constructed [INFO] [stdout] --> src/models.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Knowledge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KnowledgeClass` is never used [INFO] [stdout] --> src/models.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum KnowledgeClass { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SecretId` is never used [INFO] [stdout] --> src/models.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub type SecretId = usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Room` is never constructed [INFO] [stdout] --> src/models.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct Room { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RoomClass` is never used [INFO] [stdout] --> src/models.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | pub enum RoomClass { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `directivities` and `helth` are never read [INFO] [stdout] --> src/models.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Ordinary { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 30 | pub directivities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub helth: Helth [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ordinary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Alive`, `Possession`, `Love`, `Hatred`, `Justice`, and `Secret` are never constructed [INFO] [stdout] --> src/models.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Directivity { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 39 | Alive /* 生存 */, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Possession(ItemId) /* アイテムなどの所持 */, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | Love(CharacterId) /* 対象キャラクターが生存しているかどうか */, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | Hatred(CharacterId) /* 対象キャラクターが死亡しているかどうか */, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | Justice /* 正義感 悪巧みを阻止する */, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 44 | Secret(KnowledgeId) /* 秘密を守る */ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directivity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | Alive(HelthAlive), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Helth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 | Alive(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dead` is never constructed [INFO] [stdout] --> src/models.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum Helth { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 49 | Alive(HelthAlive), [INFO] [stdout] 50 | Dead [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Helth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sanity` is never read [INFO] [stdout] --> src/models.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct HelthAlive { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 57 | pub sanity: Sanity [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HelthAlive` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.29s [INFO] running `Command { std: "docker" "inspect" "87cefa54f6084555d4c642edfad135026913b480139397518809ac2ec2f725a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87cefa54f6084555d4c642edfad135026913b480139397518809ac2ec2f725a9", kill_on_drop: false }` [INFO] [stdout] 87cefa54f6084555d4c642edfad135026913b480139397518809ac2ec2f725a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 14cfc514a97b721e0ebeb6622ecbca7ab1dc46976772d5688290d1c9208a66b6 [INFO] running `Command { std: "docker" "start" "-a" "14cfc514a97b721e0ebeb6622ecbca7ab1dc46976772d5688290d1c9208a66b6", kill_on_drop: false }` [INFO] [stderr] Compiling tomarapocore-domainlogic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | fn reducer(mut prev: &mut Self::State, result: &Self::Result) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `character_locations` is never read [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | Night { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 72 | character_locations: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Midnight` is never constructed [INFO] [stdout] --> src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 69 | enum PlayingPhase { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Midnight { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Init` and `SelectRoom` are never constructed [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | enum AppCommand { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 79 | Init { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | SelectRoom(Vec) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `character` and `room` are never read [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | struct SelectRoom { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 87 | pub character: CharacterId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | pub room: RoomId [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectRoom` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `characters` is never read [INFO] [stdout] --> src/models.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 4 | pub characters: Vec [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Board` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `cls`, and `inventory` are never read [INFO] [stdout] --> src/models.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Character { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | pub id: CharacterId, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | pub cls: CharacterClass, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | pub inventory: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Character` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | Ordinary(ordinary::Ordinary) /* 一般人 */, [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Ordinary(()) /* 一般人 */, [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Insane` is never constructed [INFO] [stdout] --> src/models.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum CharacterClass { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Insane /* 発狂した人 */ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/models.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ItemClass` is never used [INFO] [stdout] --> src/models.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum ItemClass { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SkillId` is never used [INFO] [stdout] --> src/models.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type SkillId = usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Skill` is never constructed [INFO] [stdout] --> src/models.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Skill { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Knowledge` is never constructed [INFO] [stdout] --> src/models.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Knowledge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KnowledgeClass` is never used [INFO] [stdout] --> src/models.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum KnowledgeClass { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SecretId` is never used [INFO] [stdout] --> src/models.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | pub type SecretId = usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Room` is never constructed [INFO] [stdout] --> src/models.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct Room { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RoomClass` is never used [INFO] [stdout] --> src/models.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | pub enum RoomClass { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `directivities` and `helth` are never read [INFO] [stdout] --> src/models.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Ordinary { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 30 | pub directivities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub helth: Helth [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ordinary` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Alive`, `Possession`, `Love`, `Hatred`, `Justice`, and `Secret` are never constructed [INFO] [stdout] --> src/models.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Directivity { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 39 | Alive /* 生存 */, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Possession(ItemId) /* アイテムなどの所持 */, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | Love(CharacterId) /* 対象キャラクターが生存しているかどうか */, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | Hatred(CharacterId) /* 対象キャラクターが死亡しているかどうか */, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | Justice /* 正義感 悪巧みを阻止する */, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 44 | Secret(KnowledgeId) /* 秘密を守る */ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directivity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | Alive(HelthAlive), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Helth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 | Alive(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dead` is never constructed [INFO] [stdout] --> src/models.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum Helth { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 49 | Alive(HelthAlive), [INFO] [stdout] 50 | Dead [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Helth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sanity` is never read [INFO] [stdout] --> src/models.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct HelthAlive { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 57 | pub sanity: Sanity [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HelthAlive` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "14cfc514a97b721e0ebeb6622ecbca7ab1dc46976772d5688290d1c9208a66b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14cfc514a97b721e0ebeb6622ecbca7ab1dc46976772d5688290d1c9208a66b6", kill_on_drop: false }` [INFO] [stdout] 14cfc514a97b721e0ebeb6622ecbca7ab1dc46976772d5688290d1c9208a66b6