[INFO] cloning repository https://github.com/Agiel/term-jrpg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Agiel/term-jrpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAgiel%2Fterm-jrpg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAgiel%2Fterm-jrpg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cb765a22b508ad22a6da05b57c49fd1439a0bff [INFO] building Agiel/term-jrpg against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAgiel%2Fterm-jrpg" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Agiel/term-jrpg [INFO] finished tweaking git repo https://github.com/Agiel/term-jrpg [INFO] tweaked toml for git repo https://github.com/Agiel/term-jrpg written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Agiel/term-jrpg on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Agiel/term-jrpg 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hecs-macros v0.10.0 [INFO] [stderr] Downloaded redox_syscall v0.5.16 [INFO] [stderr] Downloaded hecs v0.10.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c024b3397355bad1612fbd076bab6a9ac13bc40867650b1db7f4da28f3deee9c [INFO] running `Command { std: "docker" "start" "-a" "c024b3397355bad1612fbd076bab6a9ac13bc40867650b1db7f4da28f3deee9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c024b3397355bad1612fbd076bab6a9ac13bc40867650b1db7f4da28f3deee9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c024b3397355bad1612fbd076bab6a9ac13bc40867650b1db7f4da28f3deee9c", kill_on_drop: false }` [INFO] [stdout] c024b3397355bad1612fbd076bab6a9ac13bc40867650b1db7f4da28f3deee9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19a7fc393045550493eff8176c5530288d1d01dff4bca73ca70bdc4fe6f169a8 [INFO] running `Command { std: "docker" "start" "-a" "19a7fc393045550493eff8176c5530288d1d01dff4bca73ca70bdc4fe6f169a8", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling hecs-macros v0.10.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling hecs v0.10.5 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling term-jrpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Debuffs` [INFO] [stdout] --> src/app/skills.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | BuffStacks, Dead, DebuffStacks, Debuffs, Health, Hostile, Job, LOG, Name, Party, Stats, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/app.rs:660:38 [INFO] [stdout] | [INFO] [stdout] 660 | ... _ => !unimplemented!(), [INFO] [stdout] | ^---------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app/skills.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 597 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/app/skills.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 444 | Effect::Damage(effect_damage, effect_target) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 558 | Effect::Buff(buff, effect_target) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 576 | Effect::Debuff(debuff, effect_target) => { [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 584 | Effect::Conditional(test, effects) => { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 597 | _ => (), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 760 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/app.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 614 | GameState::Combat => match self.current_screen { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 758 | GameState::Menu => (), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 759 | GameState::Overworld => (), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 760 | _ => (), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Menu` is never constructed [INFO] [stdout] --> src/app.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 57 | Menu, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `evade` is never read [INFO] [stdout] --> src/app.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Stats { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | pub evade: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` 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 `Netrunner` and `Clairvoyant` are never constructed [INFO] [stdout] --> src/app.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub enum Job { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 130 | Netrunner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | Clairvoyant { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Job` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tick` is never used [INFO] [stdout] --> src/app.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 205 | impl BuffStacks { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Friendly` and `Enemy` are never constructed [INFO] [stdout] --> src/app.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 411 | pub enum Advantage { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 412 | Friendly, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 413 | Enemy, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Prev` and `Next` are never constructed [INFO] [stdout] --> src/app.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 417 | pub enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 422 | Prev, [INFO] [stdout] | ^^^^ [INFO] [stdout] 423 | Next, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Frozen`, `Contagious`, `Zapped`, `Slow`, and `Confused` are never constructed [INFO] [stdout] --> src/app/skills.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum Debuff { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 53 | Burning { stacks: u8, duration: u8 }, [INFO] [stdout] 54 | Frozen { amount: u8 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | Contagious { duration: u8 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 56 | Zapped { duration: u8 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | Stunned { duration: u8 }, [INFO] [stdout] 58 | Slow { duration: u8 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Confused { duration: u8 }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Debuff` 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 `duration` is never read [INFO] [stdout] --> src/app/skills.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | Shell { duration: u8 }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Buff` 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 `Haste` and `Regen` are never constructed [INFO] [stdout] --> src/app/skills.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum Buff { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 64 | Haste { duration: u8 }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | Shell { duration: u8 }, [INFO] [stdout] 66 | Regen { amount: u32, duration: u8 }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Buff` 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 `AllFriendly` and `All` are never constructed [INFO] [stdout] --> src/app/skills.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 72 | enum PrimaryTarget { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 77 | AllFriendly, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 78 | Any, [INFO] [stdout] 79 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimaryTarget` 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 `Friendly` and `All` are never constructed [INFO] [stdout] --> src/app/skills.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 83 | enum EffectTarget { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 87 | Friendly, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EffectTarget` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `crit` is never used [INFO] [stdout] --> src/app/skills.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 143 | impl DamageBuilder { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | fn crit(mut self, crit: f32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Drain` and `Conditional` are never constructed [INFO] [stdout] --> src/app/skills.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 205 | enum Effect { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 210 | Drain(Job), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 211 | Conditional(TestFn, Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Effect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_lines(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_lines(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | / world.insert_one( [INFO] [stdout] 530 | | rat, [INFO] [stdout] 531 | | DebuffStacks(vec![Debuff::Burning { [INFO] [stdout] 532 | | stacks: 3, [INFO] [stdout] 533 | | duration: 2, [INFO] [stdout] 534 | | }]), [INFO] [stdout] 535 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 529 | let _ = world.insert_one( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.95s [INFO] running `Command { std: "docker" "inspect" "19a7fc393045550493eff8176c5530288d1d01dff4bca73ca70bdc4fe6f169a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19a7fc393045550493eff8176c5530288d1d01dff4bca73ca70bdc4fe6f169a8", kill_on_drop: false }` [INFO] [stdout] 19a7fc393045550493eff8176c5530288d1d01dff4bca73ca70bdc4fe6f169a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1c8f2d229a7c1e365d7eaf8e9fc581e0d071060349c7c59dc9a86c0f66c51eb [INFO] running `Command { std: "docker" "start" "-a" "a1c8f2d229a7c1e365d7eaf8e9fc581e0d071060349c7c59dc9a86c0f66c51eb", kill_on_drop: false }` [INFO] [stderr] Compiling term-jrpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Debuffs` [INFO] [stdout] --> src/app/skills.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | BuffStacks, Dead, DebuffStacks, Debuffs, Health, Hostile, Job, LOG, Name, Party, Stats, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/app.rs:660:38 [INFO] [stdout] | [INFO] [stdout] 660 | ... _ => !unimplemented!(), [INFO] [stdout] | ^---------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app/skills.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 597 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/app/skills.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 444 | Effect::Damage(effect_damage, effect_target) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 558 | Effect::Buff(buff, effect_target) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 576 | Effect::Debuff(debuff, effect_target) => { [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 584 | Effect::Conditional(test, effects) => { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 597 | _ => (), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 760 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/app.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 614 | GameState::Combat => match self.current_screen { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 758 | GameState::Menu => (), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 759 | GameState::Overworld => (), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 760 | _ => (), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Menu` is never constructed [INFO] [stdout] --> src/app.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 57 | Menu, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `evade` is never read [INFO] [stdout] --> src/app.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Stats { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | pub evade: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` 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 `Netrunner` and `Clairvoyant` are never constructed [INFO] [stdout] --> src/app.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub enum Job { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 130 | Netrunner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | Clairvoyant { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Job` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tick` is never used [INFO] [stdout] --> src/app.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 205 | impl BuffStacks { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Friendly` and `Enemy` are never constructed [INFO] [stdout] --> src/app.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 411 | pub enum Advantage { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 412 | Friendly, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 413 | Enemy, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Prev` and `Next` are never constructed [INFO] [stdout] --> src/app.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 417 | pub enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 422 | Prev, [INFO] [stdout] | ^^^^ [INFO] [stdout] 423 | Next, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Frozen`, `Contagious`, `Zapped`, `Slow`, and `Confused` are never constructed [INFO] [stdout] --> src/app/skills.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum Debuff { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 53 | Burning { stacks: u8, duration: u8 }, [INFO] [stdout] 54 | Frozen { amount: u8 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | Contagious { duration: u8 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 56 | Zapped { duration: u8 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | Stunned { duration: u8 }, [INFO] [stdout] 58 | Slow { duration: u8 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Confused { duration: u8 }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Debuff` 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 `duration` is never read [INFO] [stdout] --> src/app/skills.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | Shell { duration: u8 }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Buff` 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 `Haste` and `Regen` are never constructed [INFO] [stdout] --> src/app/skills.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum Buff { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 64 | Haste { duration: u8 }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | Shell { duration: u8 }, [INFO] [stdout] 66 | Regen { amount: u32, duration: u8 }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Buff` 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 `AllFriendly` and `All` are never constructed [INFO] [stdout] --> src/app/skills.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 72 | enum PrimaryTarget { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 77 | AllFriendly, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 78 | Any, [INFO] [stdout] 79 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimaryTarget` 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 `Friendly` and `All` are never constructed [INFO] [stdout] --> src/app/skills.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 83 | enum EffectTarget { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 87 | Friendly, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EffectTarget` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `crit` is never used [INFO] [stdout] --> src/app/skills.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 143 | impl DamageBuilder { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | fn crit(mut self, crit: f32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Drain` and `Conditional` are never constructed [INFO] [stdout] --> src/app/skills.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 205 | enum Effect { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 210 | Drain(Job), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 211 | Conditional(TestFn, Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Effect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_lines(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_lines(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 529 | / world.insert_one( [INFO] [stdout] 530 | | rat, [INFO] [stdout] 531 | | DebuffStacks(vec![Debuff::Burning { [INFO] [stdout] 532 | | stacks: 3, [INFO] [stdout] 533 | | duration: 2, [INFO] [stdout] 534 | | }]), [INFO] [stdout] 535 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 529 | let _ = world.insert_one( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "a1c8f2d229a7c1e365d7eaf8e9fc581e0d071060349c7c59dc9a86c0f66c51eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1c8f2d229a7c1e365d7eaf8e9fc581e0d071060349c7c59dc9a86c0f66c51eb", kill_on_drop: false }` [INFO] [stdout] a1c8f2d229a7c1e365d7eaf8e9fc581e0d071060349c7c59dc9a86c0f66c51eb