[INFO] cloning repository https://github.com/peredwardsson/rpg_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peredwardsson/rpg_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperedwardsson%2Frpg_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperedwardsson%2Frpg_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78271818ff6ed06a7cee33ea0f43467f2952664d [INFO] testing peredwardsson/rpg_rust against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperedwardsson%2Frpg_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/peredwardsson/rpg_rust [INFO] finished tweaking git repo https://github.com/peredwardsson/rpg_rust [INFO] tweaked toml for git repo https://github.com/peredwardsson/rpg_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/peredwardsson/rpg_rust on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/peredwardsson/rpg_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tuple_utils v0.3.0 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded shred-derive v0.6.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded mopa v0.2.2 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded noise v0.6.0 [INFO] [stderr] Downloaded shred v0.10.2 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded hashbrown v0.7.2 [INFO] [stderr] Downloaded hibitset v0.6.3 [INFO] [stderr] Downloaded aho-corasick v0.7.13 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded sdl2 v0.34.2 [INFO] [stderr] Downloaded atom v0.3.5 [INFO] [stderr] Downloaded specs-derive v0.4.1 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded log v0.4.11 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded smallvec v1.4.1 [INFO] [stderr] Downloaded enum_primitive v0.1.1 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded num-rational v0.1.42 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded shrev v1.1.1 [INFO] [stderr] Downloaded image v0.18.0 [INFO] [stderr] Downloaded memoffset v0.5.5 [INFO] [stderr] Downloaded tynm v0.1.4 [INFO] [stderr] Downloaded ahash v0.3.8 [INFO] [stderr] Downloaded specs v0.16.1 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded sdl2-sys v0.34.2 [INFO] [stderr] Downloaded syn v1.0.38 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6729ebf9a2c573042c5a8c2e6576704ac33daffbdf2645255d0ea855337b61b2 [INFO] running `Command { std: "docker" "start" "-a" "6729ebf9a2c573042c5a8c2e6576704ac33daffbdf2645255d0ea855337b61b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6729ebf9a2c573042c5a8c2e6576704ac33daffbdf2645255d0ea855337b61b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6729ebf9a2c573042c5a8c2e6576704ac33daffbdf2645255d0ea855337b61b2", kill_on_drop: false }` [INFO] [stdout] 6729ebf9a2c573042c5a8c2e6576704ac33daffbdf2645255d0ea855337b61b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14df67571222d24d32243280b07564614360b026baa6a671908dcc9c0ec3829f [INFO] running `Command { std: "docker" "start" "-a" "14df67571222d24d32243280b07564614360b026baa6a671908dcc9c0ec3829f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tynm v0.1.4 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling shred-derive v0.6.2 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling noise v0.6.0 [INFO] [stderr] Compiling sdl-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/components/interactable_objects.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/components/interactable_objects.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `fs::File` [INFO] [stdout] --> src/components.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fmt::Debug, collections::VecDeque, fs::File, io::{self, Read}}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Lines` [INFO] [stdout] --> src/components.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | use io::{Lines, BufRead, BufReader}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/components.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Dialogue_Single_item` should have an upper camel case name [INFO] [stdout] --> src/components.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Dialogue_Single_item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DialogueSingleItem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/components.rs:119:40 [INFO] [stdout] | [INFO] [stdout] 119 | InteractableType::Chest => (chest(&self)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - InteractableType::Chest => (chest(&self)), [INFO] [stdout] 119 + InteractableType::Chest => chest(&self), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/components.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | InteractableType::Pickup => (pickup(&self)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - InteractableType::Pickup => (pickup(&self)), [INFO] [stdout] 120 + InteractableType::Pickup => pickup(&self), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/components.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | InteractableType::DestroyedOnUse => (destroyed_on_use(&self)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - InteractableType::DestroyedOnUse => (destroyed_on_use(&self)), [INFO] [stdout] 121 + InteractableType::DestroyedOnUse => destroyed_on_use(&self), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/components.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | InteractableType::Character => ( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 123 | | //character(&self) [INFO] [stdout] 124 | | Ok(()) [INFO] [stdout] | | ________________^______^ [INFO] [stdout] | ||________________| [INFO] [stdout] | | [INFO] [stdout] 125 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - InteractableType::Character => ( [INFO] [stdout] 123 - //character(&self) [INFO] [stdout] 124 - Ok(()) [INFO] [stdout] 122 + InteractableType::Character => Ok(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/components.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | InteractableType::Lever => (lever(&self)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 - InteractableType::Lever => (lever(&self)), [INFO] [stdout] 126 + InteractableType::Lever => lever(&self), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Dialogue_Helper` should have an upper camel case name [INFO] [stdout] --> src/components.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct Dialogue_Helper { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DialogueHelper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/physics.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | Direction::Right => (pos.0.offset(vel.speed, 0)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - Direction::Right => (pos.0.offset(vel.speed, 0)), [INFO] [stdout] 36 + Direction::Right => pos.0.offset(vel.speed, 0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/physics.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | Direction::Left => (pos.0.offset(-vel.speed, 0)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - Direction::Left => (pos.0.offset(-vel.speed, 0)), [INFO] [stdout] 37 + Direction::Left => pos.0.offset(-vel.speed, 0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/physics.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | Direction::Down => (pos.0.offset(0, vel.speed)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - Direction::Down => (pos.0.offset(0, vel.speed)), [INFO] [stdout] 38 + Direction::Down => pos.0.offset(0, vel.speed), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/physics.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | Direction::Up => (pos.0.offset(0,-vel.speed)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - Direction::Up => (pos.0.offset(0,-vel.speed)), [INFO] [stdout] 39 + Direction::Up => pos.0.offset(0,-vel.speed), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thegame` [INFO] [stdout] --> src/components/interactable_objects.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn character (_obj: &Interactable, thegame: &mut Gamestate, dialogue: &mut Dialogue) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thegame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/components/interactable_objects.rs:28:65 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn character (_obj: &Interactable, thegame: &mut Gamestate, dialogue: &mut Dialogue) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `small_dialogue_sprite` [INFO] [stdout] --> src/main.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | let small_dialogue_sprite = Sprite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_small_dialogue_sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `medium_dialogue_sprite` [INFO] [stdout] --> src/main.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | let medium_dialogue_sprite = Sprite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium_dialogue_sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `large_dialogue_sprite` [INFO] [stdout] --> src/main.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | let large_dialogue_sprite = Sprite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_large_dialogue_sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:310:22 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn load_dialogue(world: &mut World) -> Result<(), String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | let mut dialogue_list: VecDeque = VecDeque::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | let mut previous_dialogue_text = Dialogue_Helper{text: String::from(" "), width: 0, height: 0}; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Collisions` is never constructed [INFO] [stdout] --> src/collisions.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Collisions; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Medium` and `Large` are never constructed [INFO] [stdout] --> src/components.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Size3 { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 15 | Small, [INFO] [stdout] 16 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Large, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Size3` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sprite` and `show` are never read [INFO] [stdout] --> src/components.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Dialogue { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 30 | pub sprite: Sprite, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub dialogue_file: String, [INFO] [stdout] 32 | pub show: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dialogue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `speaker_name` and `background_size` are never read [INFO] [stdout] --> src/components.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Dialogue_Single_item { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 37 | pub speaker_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub dialogue_text: String, [INFO] [stdout] 39 | pub background_size: Size3, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dialogue_Single_item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `character` is never used [INFO] [stdout] --> src/components/interactable_objects.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn character (_obj: &Interactable, thegame: &mut Gamestate, dialogue: &mut Dialogue) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/components.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | / match (*self).interaction_type { [INFO] [stdout] 119 | | InteractableType::Chest => (chest(&self)), [INFO] [stdout] 120 | | InteractableType::Pickup => (pickup(&self)), [INFO] [stdout] 121 | | InteractableType::DestroyedOnUse => (destroyed_on_use(&self)), [INFO] [stdout] ... | [INFO] [stdout] 126 | | InteractableType::Lever => (lever(&self)), [INFO] [stdout] 127 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = match (*self).interaction_type { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustclxAkyP/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libnoise-bed5ff22b05b92f0,librand-d3fe8d45d286c4c6,librand_core-58e3b04297c8ff94,librand_core-58088e8d40a7624a,libimage-09c9c850beabb4ca,libscoped_threadpool-eccf4b0a1abdb7ff,libgif-fbb7e49a8159e509,libcolor_quant-ca3eb57cee066eb1,liblzw-5b850c9ee8e5b713,libjpeg_decoder-b646852912f97e70,libpng-b82e14b4961b8260,libdeflate-9762791460330d68,libinflate-4df45b7422381fb5,libadler32-9c6d43af6a3312a2,libenum_primitive-e7913dcfd1f6430e,libnum_traits-34b7ea79173c9ab6,libnum_rational-a68b646e04fc3be5,libnum_iter-3e40871dac7bbabc,libnum_integer-4c228d5d9250d9a7,libnum_traits-e3e700ecc39cd6b9,libbyteorder-ee81d598f0c1999b,libregex-fe36e4441dee2234,libthread_local-8347741560b04854,libregex_syntax-3cbd823a9bf3d392,libaho_corasick-d604bba12c64d7cf,librand-3f1aab0055c4e572,librand_chacha-1a0d6e4d2903bdb0,libppv_lite86-d542407ccae736d4,librand_core-67e540ad368a33be,libgetrandom-a9250e5055563507,libspecs-1ed643fb95c3ff69,liblog-cf6daabce5673aa4,libtuple_utils-bcd0bdbdcf7235aa,libshrev-47bf94bfb7bb3c92,libshred-463e407c4d5955a7,libtynm-1205b6eef014617b,libnom-45f12e2206641613,libmemchr-6a2e33f5f351ea2d,libmopa-e20fe5dcdce74912,libarrayvec-25d13e22ba3ded3e,libsmallvec-0b74319b0fbf0cae,libhashbrown-6e7d662fb92de878,libahash-81fa2c151c245c94,libhibitset-b6b1ebafc1061f96,librayon-93384e2c28894998,librayon_core-a58082b69b7dca49,libnum_cpus-307bb5491092e319,libcrossbeam_deque-7e07cfe163a34dd6,libcrossbeam_epoch-f768dcbbfb5e4073,libscopeguard-47bb29cb00f6f525,libmemoffset-8f6c546af36b8742,libcrossbeam_queue-5d788a80f6a6b6f9,libcrossbeam_utils-fd207fca12c8c6f7,libmaybe_uninit-253784727312d43d,libcfg_if-169cba77d4038b7f,libeither-12cb31ef90f54a8e,libatom-923d4c0dfedbed51,libsdl2-a2fb330f37e544d4,libsdl2_sys-f66d30c40ee4648a,libbitflags-82a27a1543e32507,liblazy_static-7d7e4d59d48eac89,liblibc-ce4bc87f2d697c21}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lSDL2_ttf" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustclxAkyP/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sdl_test-18e4abf14ac10cd3" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_image [INFO] [stdout] rust-lld: error: unable to find library -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl-test` (bin "sdl-test") due to 1 previous error; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "14df67571222d24d32243280b07564614360b026baa6a671908dcc9c0ec3829f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14df67571222d24d32243280b07564614360b026baa6a671908dcc9c0ec3829f", kill_on_drop: false }` [INFO] [stdout] 14df67571222d24d32243280b07564614360b026baa6a671908dcc9c0ec3829f