[INFO] cloning repository https://github.com/SlashScreen/RBQuest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SlashScreen/RBQuest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSlashScreen%2FRBQuest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSlashScreen%2FRBQuest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43460fa17cbc1dc9f33ed33ed7da0abef0c20396 [INFO] testing SlashScreen/RBQuest against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSlashScreen%2FRBQuest" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SlashScreen/RBQuest on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SlashScreen/RBQuest [INFO] finished tweaking git repo https://github.com/SlashScreen/RBQuest [INFO] tweaked toml for git repo https://github.com/SlashScreen/RBQuest written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SlashScreen/RBQuest 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rb-sys v0.9.67 [INFO] [stderr] Downloaded wayland-egl v0.29.5 [INFO] [stderr] Downloaded ndk-glue v0.5.2 [INFO] [stderr] Downloaded magnus-macros v0.4.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded rb-sys-env v0.1.2 [INFO] [stderr] Downloaded rb-sys-build v0.9.67 [INFO] [stderr] Downloaded slotmap v0.4.3 [INFO] [stderr] Downloaded toml_edit v0.19.5 [INFO] [stderr] Downloaded magnus v0.5.1 [INFO] [stderr] Downloaded earcutr v0.2.0 [INFO] [stderr] Downloaded speedy2d v1.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e36b7935dbc55a44ea0373acb6e1dbfd2555356ed8db7f13133086627ce8a11c [INFO] running `Command { std: "docker" "start" "-a" "e36b7935dbc55a44ea0373acb6e1dbfd2555356ed8db7f13133086627ce8a11c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e36b7935dbc55a44ea0373acb6e1dbfd2555356ed8db7f13133086627ce8a11c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e36b7935dbc55a44ea0373acb6e1dbfd2555356ed8db7f13133086627ce8a11c", kill_on_drop: false }` [INFO] [stdout] e36b7935dbc55a44ea0373acb6e1dbfd2555356ed8db7f13133086627ce8a11c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dae413ef1a79a23a52a729d3ce63b42552206d0c994a55ffb924db4ba266baeb [INFO] running `Command { std: "docker" "start" "-a" "dae413ef1a79a23a52a729d3ce63b42552206d0c994a55ffb924db4ba266baeb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling clang-sys v1.6.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.7 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rb-sys-env v0.1.2 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling magnus v0.5.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling earcutr v0.2.0 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling magnus-macros v0.4.0 [INFO] [stderr] Compiling rb-sys-build v0.9.67 [INFO] [stderr] Compiling rb-sys v0.9.67 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling speedy2d v1.11.0 [INFO] [stderr] Compiling rbquest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `embed` and `require` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use magnus::{embed, eval, require}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `block`, `define_module`, and `function` [INFO] [stdout] --> src/core/character.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | block, block::Proc, class, define_class, define_module, function, method, prelude::*, Error, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/core/input_value.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use magnus::{value, RArray, Value, QFALSE, QTRUE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attr`, `Object`, `function`, `init`, `module`, and `wrap` [INFO] [stdout] --> src/core/position.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | class, define_class, function, init, method, module, prelude::*, rb_sys::AsRawValue, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 5 | typed_data, wrap, Attr, Class, Error, Module, Object, TypedData, [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `define_module`, `function`, `method`, and `prelude::*` [INFO] [stdout] --> src/core/room.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use magnus::{class, define_class, define_module, function, method, prelude::*, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/core/position.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | class, define_class, function, init, method, module, prelude::*, rb_sys::AsRawValue, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Class` [INFO] [stdout] --> src/core/position.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | typed_data, wrap, Attr, Class, Error, Module, Object, TypedData, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/core/room.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let class = define_class("Room", class::object())?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/gui/window.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | fn on_draw(&mut self, helper: &mut WindowHelper<()>, graphics: &mut speedy2d::Graphics2D) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_image` and `on_input` are never used [INFO] [stdout] --> src/core/character.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Character { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_image(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn on_input(&self, event: Symbol, val: InputValue) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `on_input` are never used [INFO] [stdout] --> src/core/character.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl MutCharacter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 98 | pub fn new(id: &str, pos: Position, sprite: Box<[u8]>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn on_input(&self, event: Symbol, val: InputValue) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/core/entity.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub pos: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/entity.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Entity { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputValue` is never used [INFO] [stdout] --> src/core/input_value.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum InputValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_rarray` is never used [INFO] [stdout] --> src/core/input_value.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl InputValue { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 10 | pub fn into_rarray(&self) -> RArray { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/core/room.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn init() -> Result<(), magnus::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/core/game.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Game{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_character` is never used [INFO] [stdout] --> src/core/game.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Game{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 9 | pub fn add_character(&mut self, id:String, ch:Character){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core/character.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | self.room = Some(room_id.clone().to_string()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "dae413ef1a79a23a52a729d3ce63b42552206d0c994a55ffb924db4ba266baeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dae413ef1a79a23a52a729d3ce63b42552206d0c994a55ffb924db4ba266baeb", kill_on_drop: false }` [INFO] [stdout] dae413ef1a79a23a52a729d3ce63b42552206d0c994a55ffb924db4ba266baeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6a37b90ac8da2376b627ed7e9b7657869ca28bcdbfaf2dd2a33f8d997b557ef [INFO] running `Command { std: "docker" "start" "-a" "d6a37b90ac8da2376b627ed7e9b7657869ca28bcdbfaf2dd2a33f8d997b557ef", kill_on_drop: false }` [INFO] [stderr] Compiling rbquest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `embed` and `require` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use magnus::{embed, eval, require}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `block`, `define_module`, and `function` [INFO] [stdout] --> src/core/character.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | block, block::Proc, class, define_class, define_module, function, method, prelude::*, Error, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/core/input_value.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use magnus::{value, RArray, Value, QFALSE, QTRUE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attr`, `Object`, `function`, `init`, `module`, and `wrap` [INFO] [stdout] --> src/core/position.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | class, define_class, function, init, method, module, prelude::*, rb_sys::AsRawValue, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 5 | typed_data, wrap, Attr, Class, Error, Module, Object, TypedData, [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `define_module`, `function`, `method`, and `prelude::*` [INFO] [stdout] --> src/core/room.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use magnus::{class, define_class, define_module, function, method, prelude::*, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/core/position.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | class, define_class, function, init, method, module, prelude::*, rb_sys::AsRawValue, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Class` [INFO] [stdout] --> src/core/position.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | typed_data, wrap, Attr, Class, Error, Module, Object, TypedData, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/core/room.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let class = define_class("Room", class::object())?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/gui/window.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | fn on_draw(&mut self, helper: &mut WindowHelper<()>, graphics: &mut speedy2d::Graphics2D) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_image` and `on_input` are never used [INFO] [stdout] --> src/core/character.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Character { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_image(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn on_input(&self, event: Symbol, val: InputValue) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `on_input` are never used [INFO] [stdout] --> src/core/character.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl MutCharacter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 98 | pub fn new(id: &str, pos: Position, sprite: Box<[u8]>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn on_input(&self, event: Symbol, val: InputValue) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/core/entity.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub pos: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/entity.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Entity { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputValue` is never used [INFO] [stdout] --> src/core/input_value.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum InputValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_rarray` is never used [INFO] [stdout] --> src/core/input_value.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl InputValue { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 10 | pub fn into_rarray(&self) -> RArray { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/core/room.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn init() -> Result<(), magnus::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/core/game.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Game{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_character` is never used [INFO] [stdout] --> src/core/game.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Game{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 9 | pub fn add_character(&mut self, id:String, ch:Character){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core/character.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | self.room = Some(room_id.clone().to_string()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "d6a37b90ac8da2376b627ed7e9b7657869ca28bcdbfaf2dd2a33f8d997b557ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6a37b90ac8da2376b627ed7e9b7657869ca28bcdbfaf2dd2a33f8d997b557ef", kill_on_drop: false }` [INFO] [stdout] d6a37b90ac8da2376b627ed7e9b7657869ca28bcdbfaf2dd2a33f8d997b557ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c823d488b94139b36253a0615aa592539c332942a35d47c9655834fb931f613 [INFO] running `Command { std: "docker" "start" "-a" "9c823d488b94139b36253a0615aa592539c332942a35d47c9655834fb931f613", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `embed` and `require` [INFO] [stderr] --> src/main.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use magnus::{embed, eval, require}; [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `block`, `define_module`, and `function` [INFO] [stderr] --> src/core/character.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | block, block::Proc, class, define_class, define_module, function, method, prelude::*, Error, [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `value` [INFO] [stderr] --> src/core/input_value.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use magnus::{value, RArray, Value, QFALSE, QTRUE}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Attr`, `Object`, `function`, `init`, `module`, and `wrap` [INFO] [stderr] --> src/core/position.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | class, define_class, function, init, method, module, prelude::*, rb_sys::AsRawValue, [INFO] [stderr] | ^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stderr] 5 | typed_data, wrap, Attr, Class, Error, Module, Object, TypedData, [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `define_module`, `function`, `method`, and `prelude::*` [INFO] [stderr] --> src/core/room.rs:2:35 [INFO] [stderr] | [INFO] [stderr] 2 | use magnus::{class, define_class, define_module, function, method, prelude::*, Error}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude` [INFO] [stderr] --> src/core/position.rs:4:58 [INFO] [stderr] | [INFO] [stderr] 4 | class, define_class, function, init, method, module, prelude::*, rb_sys::AsRawValue, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Class` [INFO] [stderr] --> src/core/position.rs:5:29 [INFO] [stderr] | [INFO] [stderr] 5 | typed_data, wrap, Attr, Class, Error, Module, Object, TypedData, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `class` [INFO] [stderr] --> src/core/room.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let class = define_class("Room", class::object())?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/gui/window.rs:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | fn on_draw(&mut self, helper: &mut WindowHelper<()>, graphics: &mut speedy2d::Graphics2D) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: methods `get_image` and `on_input` are never used [INFO] [stderr] --> src/core/character.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Character { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn get_image(&self) -> &[u8] { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn on_input(&self, event: Symbol, val: InputValue) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `on_input` are never used [INFO] [stderr] --> src/core/character.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 97 | impl MutCharacter { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 98 | pub fn new(id: &str, pos: Position, sprite: Box<[u8]>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | pub fn on_input(&self, event: Symbol, val: InputValue) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `pos` is never read [INFO] [stderr] --> src/core/entity.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Entity { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 6 | pub pos: Position, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/core/entity.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Entity { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 10 | pub fn new(x: f64, y: f64, z: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `InputValue` is never used [INFO] [stderr] --> src/core/input_value.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | pub enum InputValue { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `into_rarray` is never used [INFO] [stderr] --> src/core/input_value.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl InputValue { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 10 | pub fn into_rarray(&self) -> RArray { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init` is never used [INFO] [stderr] --> src/core/room.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn init() -> Result<(), magnus::Error> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Game` is never constructed [INFO] [stderr] --> src/core/game.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Game{ [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `add_character` is never used [INFO] [stderr] --> src/core/game.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl Game{ [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] 9 | pub fn add_character(&mut self, id:String, ch:Character){ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/core/character.rs:36:33 [INFO] [stderr] | [INFO] [stderr] 36 | self.room = Some(room_id.clone().to_string()) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rbquest` (bin "rbquest" test) generated 19 warnings (run `cargo fix --bin "rbquest" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rbquest-34582d40d45c8bd8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c823d488b94139b36253a0615aa592539c332942a35d47c9655834fb931f613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c823d488b94139b36253a0615aa592539c332942a35d47c9655834fb931f613", kill_on_drop: false }` [INFO] [stdout] 9c823d488b94139b36253a0615aa592539c332942a35d47c9655834fb931f613