[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] c475ceec5493b3d8863d3b4d1b4ec537d2925b45 [INFO] checking emskeirik/rust-story against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femskeirik%2Frust-story" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emskeirik/rust-story on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-4/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dce1da68ef02bc34199f2049875a6a7f877103d4ed68b5453947f6d4391592b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7dce1da68ef02bc34199f2049875a6a7f877103d4ed68b5453947f6d4391592b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dce1da68ef02bc34199f2049875a6a7f877103d4ed68b5453947f6d4391592b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dce1da68ef02bc34199f2049875a6a7f877103d4ed68b5453947f6d4391592b", kill_on_drop: false }` [INFO] [stdout] 7dce1da68ef02bc34199f2049875a6a7f877103d4ed68b5453947f6d4391592b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 695e66bdcbe14d2afaddc2bcc28a494ec3a4dcfb8e6e7f8f2c624e509d592d61 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "695e66bdcbe14d2afaddc2bcc28a494ec3a4dcfb8e6e7f8f2c624e509d592d61", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.19 [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: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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:9 [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: unused variable: `cave_ent` [INFO] [stdout] --> src/main.rs:2119:9 [INFO] [stdout] | [INFO] [stdout] 2119 | 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] = 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:9 [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] [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] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/entity.rs:433:9 [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:9 [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:9 [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:9 [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:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut deserialized_entity = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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:9 [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: unused variable: `cave_ent` [INFO] [stdout] --> src/main.rs:2119:9 [INFO] [stdout] | [INFO] [stdout] 2119 | 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] = 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:9 [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] [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] [INFO] [stdout] warning: value assigned to `deserialized_entity` is never read [INFO] [stdout] --> src/entity.rs:433:9 [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:9 [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:9 [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:9 [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: 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2109:9 [INFO] [stdout] | [INFO] [stdout] 2109 | 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:2119:9 [INFO] [stdout] | [INFO] [stdout] 2119 | 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2109:9 [INFO] [stdout] | [INFO] [stdout] 2109 | 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:2119:9 [INFO] [stdout] | [INFO] [stdout] 2119 | 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 is never used: `save_spell` [INFO] [stdout] --> src/spells.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn save_spell (spell: &Vec ) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_spell` [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 is never used: `fireball` [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 is never used: `soulcrush` [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 is never used: `focusbody` [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 is never used: `cure` [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 is never used: `miasma` [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 is never used: `fierceslash` [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 is never used: `save_entity` [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 is never used: `load_entity` [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 is never used: `save_item` [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 is never used: `load_item` [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 is never used: `save_eq` [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 is never used: `load_eq` [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 is never used: `save_ceq` [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 is never used: `load_ceq` [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: function is never used: `encounter` [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/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: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_spell` [INFO] [stdout] --> src/spells.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn save_spell (spell: &Vec ) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_spell` [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 is never used: `fireball` [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 is never used: `soulcrush` [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 is never used: `focusbody` [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 is never used: `cure` [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 is never used: `miasma` [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 is never used: `fierceslash` [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 is never used: `save_entity` [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 is never used: `load_entity` [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 is never used: `save_item` [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 is never used: `load_item` [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 is never used: `save_eq` [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 is never used: `load_eq` [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 is never used: `save_ceq` [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 is never used: `load_ceq` [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: function is never used: `encounter` [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/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: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.60s [INFO] running `Command { std: "docker" "inspect" "695e66bdcbe14d2afaddc2bcc28a494ec3a4dcfb8e6e7f8f2c624e509d592d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "695e66bdcbe14d2afaddc2bcc28a494ec3a4dcfb8e6e7f8f2c624e509d592d61", kill_on_drop: false }` [INFO] [stdout] 695e66bdcbe14d2afaddc2bcc28a494ec3a4dcfb8e6e7f8f2c624e509d592d61