[INFO] cloning repository https://github.com/emskeirik/rust-story [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emskeirik/rust-story" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femskeirik%2Frust-story", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femskeirik%2Frust-story'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d575a97152fda251e8dde676bc840dac8089b8e [INFO] checking emskeirik/rust-story against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femskeirik%2Frust-story" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emskeirik/rust-story on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emskeirik/rust-story [INFO] finished tweaking git repo https://github.com/emskeirik/rust-story [INFO] tweaked toml for git repo https://github.com/emskeirik/rust-story written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/emskeirik/rust-story 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded json_pretty v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9eee5c5b22092c156fa4e0c7b46151c93ee04e8d70efed911435655ad46deaf [INFO] running `Command { std: "docker" "start" "-a" "d9eee5c5b22092c156fa4e0c7b46151c93ee04e8d70efed911435655ad46deaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9eee5c5b22092c156fa4e0c7b46151c93ee04e8d70efed911435655ad46deaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9eee5c5b22092c156fa4e0c7b46151c93ee04e8d70efed911435655ad46deaf", kill_on_drop: false }` [INFO] [stdout] d9eee5c5b22092c156fa4e0c7b46151c93ee04e8d70efed911435655ad46deaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 225c09d2e96d56c3b9df673dad745ff1ab7eb75c9725b66be6b889b81ecfe9b3 [INFO] running `Command { std: "docker" "start" "-a" "225c09d2e96d56c3b9df673dad745ff1ab7eb75c9725b66be6b889b81ecfe9b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking json_pretty v0.1.2 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking rust-story v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:1449:37 [INFO] [stdout] | [INFO] [stdout] 1449 | spells::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1449 - spells::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] 1449 + spells::Base::Health => actor.health+actor.healthmod - actor.curhealth, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:1449:37 [INFO] [stdout] | [INFO] [stdout] 1449 | spells::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1449 - spells::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] 1449 + spells::Base::Health => actor.health+actor.healthmod - actor.curhealth, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:1750:32 [INFO] [stdout] | [INFO] [stdout] 1750 | items::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1750 - items::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] 1750 + items::Base::Health => actor.health+actor.healthmod - actor.curhealth, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:1750:32 [INFO] [stdout] | [INFO] [stdout] 1750 | items::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1750 - items::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] 1750 + items::Base::Health => actor.health+actor.healthmod - actor.curhealth, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_spell` is never read [INFO] [stdout] --> src/spells.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut deserialized_spell = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spell` [INFO] [stdout] --> src/spells.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn load_spell (spell: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_spell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_spell` is never read [INFO] [stdout] --> src/spells.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut deserialized_spell = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spell` [INFO] [stdout] --> src/spells.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn load_spell (spell: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_spell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/entity.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/entity.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_item` is never read [INFO] [stdout] --> src/items.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut deserialized_item = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/items.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn load_item (item: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_item` is never read [INFO] [stdout] --> src/items.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut deserialized_item = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/items.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn load_item (item: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_eq` is never read [INFO] [stdout] --> src/equip.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut deserialized_eq = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> src/equip.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn load_eq (eq: &mut Vec) -> Vec { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_eq` is never read [INFO] [stdout] --> src/equip.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut deserialized_eq = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> src/equip.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn load_ceq (eq: &mut Equipment, sub: &str) -> Equipment { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_eq` is never read [INFO] [stdout] --> src/equip.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut deserialized_eq = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> src/equip.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn load_eq (eq: &mut Vec) -> Vec { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_eq` is never read [INFO] [stdout] --> src/equip.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut deserialized_eq = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> src/equip.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn load_ceq (eq: &mut Equipment, sub: &str) -> Equipment { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:757:9 [INFO] [stdout] | [INFO] [stdout] 757 | let mut en_comp2 = enemylist[0].2.clone(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:757:9 [INFO] [stdout] | [INFO] [stdout] 757 | let mut en_comp2 = enemylist[0].2.clone(); [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: unused variable: `cave_ent` [INFO] [stdout] --> src/main.rs:2130:13 [INFO] [stdout] | [INFO] [stdout] 2130 | let mut cave_ent = vec![goblin.clone(), troll.clone()]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cave_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2120:9 [INFO] [stdout] | [INFO] [stdout] 2120 | let mut troll = ( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2130:9 [INFO] [stdout] | [INFO] [stdout] 2130 | let mut cave_ent = vec![goblin.clone(), troll.clone()]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encounter` is never used [INFO] [stdout] --> src/main.rs:751:4 [INFO] [stdout] | [INFO] [stdout] 751 | fn encounter (playerstatus: &mut entity::Entity, spelllist: &Vec, eqlist: &[equip::Equipment], itemlist: &mut Vec src/spells.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn save_spell (spell: &Vec ) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_spell` is never used [INFO] [stdout] --> src/spells.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn load_spell (spell: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fireball` is never used [INFO] [stdout] --> src/spells.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn fireball () -> Spell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soulcrush` is never used [INFO] [stdout] --> src/spells.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn soulcrush () -> Spell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `focusbody` is never used [INFO] [stdout] --> src/spells.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn focusbody () -> Spell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cure` is never used [INFO] [stdout] --> src/spells.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn cure () -> Spell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `miasma` is never used [INFO] [stdout] --> src/spells.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn miasma () -> Spell { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fierceslash` is never used [INFO] [stdout] --> src/spells.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn fierceslash () -> Spell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_entity` is never used [INFO] [stdout] --> src/entity.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn save_entity (entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_entity` is never used [INFO] [stdout] --> src/entity.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn load_entity (entity: &mut Entity) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_item` is never used [INFO] [stdout] --> src/items.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn save_item (item: &Vec ) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_item` is never used [INFO] [stdout] --> src/items.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn load_item (item: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_eq` is never used [INFO] [stdout] --> src/equip.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn save_eq (eq: &Vec ) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_eq` is never used [INFO] [stdout] --> src/equip.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn load_eq (eq: &mut Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_ceq` is never used [INFO] [stdout] --> src/equip.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn save_ceq (eq: &Equipment, sub: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_ceq` is never used [INFO] [stdout] --> src/equip.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn load_ceq (eq: &mut Equipment, sub: &str) -> Equipment { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Amount` should have a snake case name [INFO] [stdout] --> src/items.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn smoothstone (Amount: i32) -> Item { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Amount` should have a snake case name [INFO] [stdout] --> src/items.rs:300:24 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn medicinal_leaf (Amount: i32) -> Item { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cave_ent` [INFO] [stdout] --> src/main.rs:2130:13 [INFO] [stdout] | [INFO] [stdout] 2130 | let mut cave_ent = vec![goblin.clone(), troll.clone()]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cave_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2120:9 [INFO] [stdout] | [INFO] [stdout] 2120 | let mut troll = ( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2130:9 [INFO] [stdout] | [INFO] [stdout] 2130 | let mut cave_ent = vec![goblin.clone(), troll.clone()]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encounter` is never used [INFO] [stdout] --> src/main.rs:751:4 [INFO] [stdout] | [INFO] [stdout] 751 | fn encounter (playerstatus: &mut entity::Entity, spelllist: &Vec, eqlist: &[equip::Equipment], itemlist: &mut Vec src/spells.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn save_spell (spell: &Vec ) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_spell` is never used [INFO] [stdout] --> src/spells.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn load_spell (spell: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fireball` is never used [INFO] [stdout] --> src/spells.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn fireball () -> Spell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soulcrush` is never used [INFO] [stdout] --> src/spells.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn soulcrush () -> Spell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `focusbody` is never used [INFO] [stdout] --> src/spells.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn focusbody () -> Spell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cure` is never used [INFO] [stdout] --> src/spells.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn cure () -> Spell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `miasma` is never used [INFO] [stdout] --> src/spells.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn miasma () -> Spell { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fierceslash` is never used [INFO] [stdout] --> src/spells.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn fierceslash () -> Spell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_entity` is never used [INFO] [stdout] --> src/entity.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn save_entity (entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_entity` is never used [INFO] [stdout] --> src/entity.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn load_entity (entity: &mut Entity) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_item` is never used [INFO] [stdout] --> src/items.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn save_item (item: &Vec ) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_item` is never used [INFO] [stdout] --> src/items.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn load_item (item: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_eq` is never used [INFO] [stdout] --> src/equip.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn save_eq (eq: &Vec ) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_eq` is never used [INFO] [stdout] --> src/equip.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn load_eq (eq: &mut Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_ceq` is never used [INFO] [stdout] --> src/equip.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn save_ceq (eq: &Equipment, sub: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_ceq` is never used [INFO] [stdout] --> src/equip.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn load_ceq (eq: &mut Equipment, sub: &str) -> Equipment { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Amount` should have a snake case name [INFO] [stdout] --> src/items.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn smoothstone (Amount: i32) -> Item { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Amount` should have a snake case name [INFO] [stdout] --> src/items.rs:300:24 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn medicinal_leaf (Amount: i32) -> Item { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.55s [INFO] running `Command { std: "docker" "inspect" "225c09d2e96d56c3b9df673dad745ff1ab7eb75c9725b66be6b889b81ecfe9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225c09d2e96d56c3b9df673dad745ff1ab7eb75c9725b66be6b889b81ecfe9b3", kill_on_drop: false }` [INFO] [stdout] 225c09d2e96d56c3b9df673dad745ff1ab7eb75c9725b66be6b889b81ecfe9b3 [INFO] checking emskeirik/rust-story against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femskeirik%2Frust-story" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emskeirik/rust-story on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emskeirik/rust-story [INFO] finished tweaking git repo https://github.com/emskeirik/rust-story [INFO] tweaked toml for git repo https://github.com/emskeirik/rust-story written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/emskeirik/rust-story 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddf36e0ee07bd1694be232c077af0f40b80df5b5dab1164faf5ff01e94bb48b7 [INFO] running `Command { std: "docker" "start" "-a" "ddf36e0ee07bd1694be232c077af0f40b80df5b5dab1164faf5ff01e94bb48b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddf36e0ee07bd1694be232c077af0f40b80df5b5dab1164faf5ff01e94bb48b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddf36e0ee07bd1694be232c077af0f40b80df5b5dab1164faf5ff01e94bb48b7", kill_on_drop: false }` [INFO] [stdout] ddf36e0ee07bd1694be232c077af0f40b80df5b5dab1164faf5ff01e94bb48b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccbf20e6e1bceda58ef5f95dbff798c53dbf058993fab4db0cee327ed18b79cf [INFO] running `Command { std: "docker" "start" "-a" "ccbf20e6e1bceda58ef5f95dbff798c53dbf058993fab4db0cee327ed18b79cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking json_pretty v0.1.2 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking rust-story v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:1449:37 [INFO] [stdout] | [INFO] [stdout] 1449 | spells::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1449 - spells::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] 1449 + spells::Base::Health => actor.health+actor.healthmod - actor.curhealth, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:1750:32 [INFO] [stdout] | [INFO] [stdout] 1750 | items::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1750 - items::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] 1750 + items::Base::Health => actor.health+actor.healthmod - actor.curhealth, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:1449:37 [INFO] [stdout] | [INFO] [stdout] 1449 | spells::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1449 - spells::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] 1449 + spells::Base::Health => actor.health+actor.healthmod - actor.curhealth, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:1750:32 [INFO] [stdout] | [INFO] [stdout] 1750 | items::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1750 - items::Base::Health => (actor.health+actor.healthmod - actor.curhealth), [INFO] [stdout] 1750 + items::Base::Health => actor.health+actor.healthmod - actor.curhealth, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_spell` is never read [INFO] [stdout] --> src/spells.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut deserialized_spell = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spell` [INFO] [stdout] --> src/spells.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn load_spell (spell: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_spell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_spell` is never read [INFO] [stdout] --> src/spells.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut deserialized_spell = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spell` [INFO] [stdout] --> src/spells.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn load_spell (spell: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_spell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/entity.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/entity.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_item` is never read [INFO] [stdout] --> src/items.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut deserialized_item = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/items.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn load_item (item: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_item` is never read [INFO] [stdout] --> src/items.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut deserialized_item = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/items.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn load_item (item: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_eq` is never read [INFO] [stdout] --> src/equip.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut deserialized_eq = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> src/equip.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn load_eq (eq: &mut Vec) -> Vec { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_eq` is never read [INFO] [stdout] --> src/equip.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut deserialized_eq = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> src/equip.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn load_ceq (eq: &mut Equipment, sub: &str) -> Equipment { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_eq` is never read [INFO] [stdout] --> src/equip.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut deserialized_eq = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> src/equip.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn load_eq (eq: &mut Vec) -> Vec { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_eq` is never read [INFO] [stdout] --> src/equip.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut deserialized_eq = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> src/equip.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn load_ceq (eq: &mut Equipment, sub: &str) -> Equipment { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:757:9 [INFO] [stdout] | [INFO] [stdout] 757 | let mut en_comp2 = enemylist[0].2.clone(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:757:9 [INFO] [stdout] | [INFO] [stdout] 757 | let mut en_comp2 = enemylist[0].2.clone(); [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: unused variable: `cave_ent` [INFO] [stdout] --> src/main.rs:2130:13 [INFO] [stdout] | [INFO] [stdout] 2130 | let mut cave_ent = vec![goblin.clone(), troll.clone()]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cave_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2120:9 [INFO] [stdout] | [INFO] [stdout] 2120 | let mut troll = ( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2130:9 [INFO] [stdout] | [INFO] [stdout] 2130 | let mut cave_ent = vec![goblin.clone(), troll.clone()]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encounter` is never used [INFO] [stdout] --> src/main.rs:751:4 [INFO] [stdout] | [INFO] [stdout] 751 | fn encounter (playerstatus: &mut entity::Entity, spelllist: &Vec, eqlist: &[equip::Equipment], itemlist: &mut Vec src/spells.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn save_spell (spell: &Vec ) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_spell` is never used [INFO] [stdout] --> src/spells.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn load_spell (spell: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fireball` is never used [INFO] [stdout] --> src/spells.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn fireball () -> Spell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soulcrush` is never used [INFO] [stdout] --> src/spells.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn soulcrush () -> Spell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `focusbody` is never used [INFO] [stdout] --> src/spells.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn focusbody () -> Spell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cure` is never used [INFO] [stdout] --> src/spells.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn cure () -> Spell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `miasma` is never used [INFO] [stdout] --> src/spells.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn miasma () -> Spell { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fierceslash` is never used [INFO] [stdout] --> src/spells.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn fierceslash () -> Spell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_entity` is never used [INFO] [stdout] --> src/entity.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn save_entity (entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_entity` is never used [INFO] [stdout] --> src/entity.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn load_entity (entity: &mut Entity) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_item` is never used [INFO] [stdout] --> src/items.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn save_item (item: &Vec ) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_item` is never used [INFO] [stdout] --> src/items.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn load_item (item: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_eq` is never used [INFO] [stdout] --> src/equip.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn save_eq (eq: &Vec ) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_eq` is never used [INFO] [stdout] --> src/equip.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn load_eq (eq: &mut Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_ceq` is never used [INFO] [stdout] --> src/equip.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn save_ceq (eq: &Equipment, sub: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_ceq` is never used [INFO] [stdout] --> src/equip.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn load_ceq (eq: &mut Equipment, sub: &str) -> Equipment { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cave_ent` [INFO] [stdout] --> src/main.rs:2130:13 [INFO] [stdout] | [INFO] [stdout] 2130 | let mut cave_ent = vec![goblin.clone(), troll.clone()]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cave_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Amount` should have a snake case name [INFO] [stdout] --> src/items.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn smoothstone (Amount: i32) -> Item { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Amount` should have a snake case name [INFO] [stdout] --> src/items.rs:300:24 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn medicinal_leaf (Amount: i32) -> Item { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2120:9 [INFO] [stdout] | [INFO] [stdout] 2120 | let mut troll = ( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2130:9 [INFO] [stdout] | [INFO] [stdout] 2130 | let mut cave_ent = vec![goblin.clone(), troll.clone()]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/equip.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/equip.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encounter` is never used [INFO] [stdout] --> src/main.rs:751:4 [INFO] [stdout] | [INFO] [stdout] 751 | fn encounter (playerstatus: &mut entity::Entity, spelllist: &Vec, eqlist: &[equip::Equipment], itemlist: &mut Vec src/spells.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn save_spell (spell: &Vec ) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_spell` is never used [INFO] [stdout] --> src/spells.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn load_spell (spell: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fireball` is never used [INFO] [stdout] --> src/spells.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn fireball () -> Spell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soulcrush` is never used [INFO] [stdout] --> src/spells.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn soulcrush () -> Spell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `focusbody` is never used [INFO] [stdout] --> src/spells.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn focusbody () -> Spell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cure` is never used [INFO] [stdout] --> src/spells.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn cure () -> Spell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `miasma` is never used [INFO] [stdout] --> src/spells.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn miasma () -> Spell { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fierceslash` is never used [INFO] [stdout] --> src/spells.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn fierceslash () -> Spell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_entity` is never used [INFO] [stdout] --> src/entity.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn save_entity (entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_entity` is never used [INFO] [stdout] --> src/entity.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn load_entity (entity: &mut Entity) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_item` is never used [INFO] [stdout] --> src/items.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn save_item (item: &Vec ) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_item` is never used [INFO] [stdout] --> src/items.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn load_item (item: &mut Vec ) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_eq` is never used [INFO] [stdout] --> src/equip.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn save_eq (eq: &Vec ) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_eq` is never used [INFO] [stdout] --> src/equip.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn load_eq (eq: &mut Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_ceq` is never used [INFO] [stdout] --> src/equip.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn save_ceq (eq: &Equipment, sub: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_ceq` is never used [INFO] [stdout] --> src/equip.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn load_ceq (eq: &mut Equipment, sub: &str) -> Equipment { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spells.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Serialize, Deserialize, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/items.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Amount` should have a snake case name [INFO] [stdout] --> src/items.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn smoothstone (Amount: i32) -> Item { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Amount` should have a snake case name [INFO] [stdout] --> src/items.rs:300:24 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn medicinal_leaf (Amount: i32) -> Item { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/equip.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/equip.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-story` (bin "rust-story" test) due to 24 previous errors; 36 warnings emitted [INFO] [stdout] error: aborting due to 23 previous errors; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-story` (bin "rust-story") due to 24 previous errors; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ccbf20e6e1bceda58ef5f95dbff798c53dbf058993fab4db0cee327ed18b79cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccbf20e6e1bceda58ef5f95dbff798c53dbf058993fab4db0cee327ed18b79cf", kill_on_drop: false }` [INFO] [stdout] ccbf20e6e1bceda58ef5f95dbff798c53dbf058993fab4db0cee327ed18b79cf