[INFO] cloning repository https://github.com/INDAPlus20/oskhen-chess-gui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/INDAPlus20/oskhen-chess-gui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINDAPlus20%2Foskhen-chess-gui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINDAPlus20%2Foskhen-chess-gui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 766f4a541c3c2e2035f71351892b0ec5faf5ea8a [INFO] testing INDAPlus20/oskhen-chess-gui against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINDAPlus20%2Foskhen-chess-gui" "/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/INDAPlus20/oskhen-chess-gui on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/INDAPlus20/oskhen-chess-gui [INFO] finished tweaking git repo https://github.com/INDAPlus20/oskhen-chess-gui [INFO] tweaked toml for git repo https://github.com/INDAPlus20/oskhen-chess-gui written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/INDAPlus20/oskhen-chess-gui 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" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/INDAPlus20/ahanifi-chess.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.17 [INFO] [stderr] Downloaded zip v0.5.8 [INFO] [stderr] Downloaded smart-default v0.5.2 [INFO] [stderr] Downloaded lyon_tessellation v0.13.5 [INFO] [stderr] Downloaded lyon_geom v0.12.7 [INFO] [stderr] Downloaded lyon_path v0.13.2 [INFO] [stderr] Downloaded euclid v0.19.9 [INFO] [stderr] Downloaded euclid_macros v0.1.0 [INFO] [stderr] Downloaded lyon_algorithms v0.13.4 [INFO] [stderr] Downloaded glyph_brush v0.5.4 [INFO] [stderr] Downloaded gfx_window_glutin v0.30.0 [INFO] [stderr] Downloaded lyon v0.13.5 [INFO] [stderr] Downloaded glutin v0.20.1 [INFO] [stderr] Downloaded gilrs-core v0.2.6 [INFO] [stderr] Downloaded libloading v0.6.3 [INFO] [stderr] Downloaded backtrace v0.3.52 [INFO] [stderr] Downloaded sid v0.5.2 [INFO] [stderr] Downloaded gilrs v0.7.4 [INFO] [stderr] Downloaded ggez v0.5.1 [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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4bc89f5c4e7b96f301ad04662b13b034003bf0c726c3e8cd10acd1280ffd06c [INFO] running `Command { std: "docker" "start" "-a" "d4bc89f5c4e7b96f301ad04662b13b034003bf0c726c3e8cd10acd1280ffd06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4bc89f5c4e7b96f301ad04662b13b034003bf0c726c3e8cd10acd1280ffd06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4bc89f5c4e7b96f301ad04662b13b034003bf0c726c3e8cd10acd1280ffd06c", kill_on_drop: false }` [INFO] [stdout] d4bc89f5c4e7b96f301ad04662b13b034003bf0c726c3e8cd10acd1280ffd06c [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb32086fa44365e0facacbf90b6aa9c607dec427d10a032a61ba24b430ddc55c [INFO] running `Command { std: "docker" "start" "-a" "bb32086fa44365e0facacbf90b6aa9c607dec427d10a032a61ba24b430ddc55c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling rustc-demangle v0.1.17 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling backtrace v0.3.52 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling mint v0.5.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling glyph_brush v0.5.4 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling chess v0.1.0 (https://github.com/INDAPlus20/ahanifi-chess.git?branch=main#d03fd178) [INFO] [stderr] Compiling gilrs-core v0.2.6 [INFO] [stderr] Compiling gilrs v0.7.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Compiling glutin v0.20.1 [INFO] [stderr] Compiling gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling rodio v0.9.0 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling zip v0.5.8 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling lyon_algorithms v0.13.4 [INFO] [stderr] Compiling lyon v0.13.5 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Compiling oskhen-chess-gui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chess::pgn` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chess::pgn; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventHandler` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use ggez::event::{EventHandler, KeyCode, KeyMods}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::input::keyboard` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ggez::input::keyboard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:200:50 [INFO] [stdout] | [INFO] [stdout] 200 | graphics::TextFragment::from((text)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 200 - graphics::TextFragment::from((text)) [INFO] [stdout] 200 + graphics::TextFragment::from(text) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:402:41 [INFO] [stdout] | [INFO] [stdout] 402 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:480:34 [INFO] [stdout] | [INFO] [stdout] 480 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/main.rs:480:67 [INFO] [stdout] | [INFO] [stdout] 480 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_letter` is never used [INFO] [stdout] --> src/main.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn to_letter(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `draw` is never used [INFO] [stdout] --> src/main.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn draw(&mut self, ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | graphics::draw(ctx, &background_box, DrawParam::default()); [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | graphics::draw(ctx, &rectangle, (ggez::mint::Point2 { x: 0.0, y: 0.0 },)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | graphics::draw(ctx, &rectangle, (ggez::mint::Point2 { x: 0.0, y: 0.0 },)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | / ... graphics::draw( [INFO] [stdout] 277 | | ... ctx, [INFO] [stdout] 278 | | ... sprite, [INFO] [stdout] 279 | | ... DrawParam::default() [INFO] [stdout] ... | [INFO] [stdout] 284 | | ... .dest(board_position), [INFO] [stdout] 285 | | ... ); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | / graphics::draw( [INFO] [stdout] 292 | | ctx, [INFO] [stdout] 293 | | &state_text, [INFO] [stdout] 294 | | DrawParam::default() [INFO] [stdout] ... | [INFO] [stdout] 299 | | }), [INFO] [stdout] 300 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | / graphics::draw( [INFO] [stdout] 318 | | ctx, [INFO] [stdout] 319 | | &background_box, [INFO] [stdout] 320 | | DrawParam::default().color(Color::new( [INFO] [stdout] ... | [INFO] [stdout] 325 | | )), [INFO] [stdout] 326 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | / graphics::draw( [INFO] [stdout] 341 | | ctx, [INFO] [stdout] 342 | | &replay_box, [INFO] [stdout] 343 | | DrawParam::default() [INFO] [stdout] 344 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | / graphics::draw( [INFO] [stdout] 354 | | ctx, [INFO] [stdout] 355 | | &replay_text, [INFO] [stdout] 356 | | DrawParam::default() [INFO] [stdout] ... | [INFO] [stdout] 361 | | }), [INFO] [stdout] 362 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | / graphics::draw( [INFO] [stdout] 377 | | ctx, [INFO] [stdout] 378 | | sprite, [INFO] [stdout] 379 | | DrawParam::default() [INFO] [stdout] ... | [INFO] [stdout] 388 | | }), [INFO] [stdout] 389 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:561:5 [INFO] [stdout] | [INFO] [stdout] 561 | event::run(contex, event_loop, state); // Run window event loop [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 04s [INFO] running `Command { std: "docker" "inspect" "bb32086fa44365e0facacbf90b6aa9c607dec427d10a032a61ba24b430ddc55c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb32086fa44365e0facacbf90b6aa9c607dec427d10a032a61ba24b430ddc55c", kill_on_drop: false }` [INFO] [stdout] bb32086fa44365e0facacbf90b6aa9c607dec427d10a032a61ba24b430ddc55c [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08536b0f6a62f319d3ebc5439f270ad73d39f2edff1b77e1e0361446c9637622 [INFO] running `Command { std: "docker" "start" "-a" "08536b0f6a62f319d3ebc5439f270ad73d39f2edff1b77e1e0361446c9637622", kill_on_drop: false }` [INFO] [stderr] Compiling oskhen-chess-gui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chess::pgn` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chess::pgn; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventHandler` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use ggez::event::{EventHandler, KeyCode, KeyMods}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::input::keyboard` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ggez::input::keyboard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:200:50 [INFO] [stdout] | [INFO] [stdout] 200 | graphics::TextFragment::from((text)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 200 - graphics::TextFragment::from((text)) [INFO] [stdout] 200 + graphics::TextFragment::from(text) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:402:41 [INFO] [stdout] | [INFO] [stdout] 402 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:480:34 [INFO] [stdout] | [INFO] [stdout] 480 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/main.rs:480:67 [INFO] [stdout] | [INFO] [stdout] 480 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_letter` is never used [INFO] [stdout] --> src/main.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn to_letter(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `draw` is never used [INFO] [stdout] --> src/main.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn draw(&mut self, ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | graphics::draw(ctx, &background_box, DrawParam::default()); [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | graphics::draw(ctx, &rectangle, (ggez::mint::Point2 { x: 0.0, y: 0.0 },)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | graphics::draw(ctx, &rectangle, (ggez::mint::Point2 { x: 0.0, y: 0.0 },)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | / ... graphics::draw( [INFO] [stdout] 277 | | ... ctx, [INFO] [stdout] 278 | | ... sprite, [INFO] [stdout] 279 | | ... DrawParam::default() [INFO] [stdout] ... | [INFO] [stdout] 284 | | ... .dest(board_position), [INFO] [stdout] 285 | | ... ); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | / graphics::draw( [INFO] [stdout] 292 | | ctx, [INFO] [stdout] 293 | | &state_text, [INFO] [stdout] 294 | | DrawParam::default() [INFO] [stdout] ... | [INFO] [stdout] 299 | | }), [INFO] [stdout] 300 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | / graphics::draw( [INFO] [stdout] 318 | | ctx, [INFO] [stdout] 319 | | &background_box, [INFO] [stdout] 320 | | DrawParam::default().color(Color::new( [INFO] [stdout] ... | [INFO] [stdout] 325 | | )), [INFO] [stdout] 326 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | / graphics::draw( [INFO] [stdout] 341 | | ctx, [INFO] [stdout] 342 | | &replay_box, [INFO] [stdout] 343 | | DrawParam::default() [INFO] [stdout] 344 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | / graphics::draw( [INFO] [stdout] 354 | | ctx, [INFO] [stdout] 355 | | &replay_text, [INFO] [stdout] 356 | | DrawParam::default() [INFO] [stdout] ... | [INFO] [stdout] 361 | | }), [INFO] [stdout] 362 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | / graphics::draw( [INFO] [stdout] 377 | | ctx, [INFO] [stdout] 378 | | sprite, [INFO] [stdout] 379 | | DrawParam::default() [INFO] [stdout] ... | [INFO] [stdout] 388 | | }), [INFO] [stdout] 389 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:561:5 [INFO] [stdout] | [INFO] [stdout] 561 | event::run(contex, event_loop, state); // Run window event loop [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "08536b0f6a62f319d3ebc5439f270ad73d39f2edff1b77e1e0361446c9637622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08536b0f6a62f319d3ebc5439f270ad73d39f2edff1b77e1e0361446c9637622", kill_on_drop: false }` [INFO] [stdout] 08536b0f6a62f319d3ebc5439f270ad73d39f2edff1b77e1e0361446c9637622 [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75af12281187b47b493502f179da57846cfbbec80871343c5c808750948ab8d3 [INFO] running `Command { std: "docker" "start" "-a" "75af12281187b47b493502f179da57846cfbbec80871343c5c808750948ab8d3", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `chess::pgn` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use chess::pgn; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `EventHandler` [INFO] [stderr] --> src/main.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | use ggez::event::{EventHandler, KeyCode, KeyMods}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ggez::input::keyboard` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use ggez::input::keyboard; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:200:50 [INFO] [stderr] | [INFO] [stderr] 200 | graphics::TextFragment::from((text)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 200 - graphics::TextFragment::from((text)) [INFO] [stderr] 200 + graphics::TextFragment::from(text) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:402:41 [INFO] [stderr] | [INFO] [stderr] 402 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:480:34 [INFO] [stderr] | [INFO] [stderr] 480 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mods` [INFO] [stderr] --> src/main.rs:480:67 [INFO] [stderr] | [INFO] [stderr] 480 | fn key_down_event(&mut self, ctx: &mut Context, key: KeyCode, mods: KeyMods, _: bool) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stderr] [INFO] [stderr] warning: associated function `to_letter` is never used [INFO] [stderr] --> src/main.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | fn to_letter(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `draw` is never used [INFO] [stderr] --> src/main.rs:117:8 [INFO] [stderr] | [INFO] [stderr] 117 | fn draw(&mut self, ctx: &mut Context) -> GameResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:220:17 [INFO] [stderr] | [INFO] [stderr] 220 | graphics::draw(ctx, &background_box, DrawParam::default()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:244:21 [INFO] [stderr] | [INFO] [stderr] 244 | graphics::draw(ctx, &rectangle, (ggez::mint::Point2 { x: 0.0, y: 0.0 },)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:260:21 [INFO] [stderr] | [INFO] [stderr] 260 | graphics::draw(ctx, &rectangle, (ggez::mint::Point2 { x: 0.0, y: 0.0 },)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:276:29 [INFO] [stderr] | [INFO] [stderr] 276 | / ... graphics::draw( [INFO] [stderr] 277 | | ... ctx, [INFO] [stderr] 278 | | ... sprite, [INFO] [stderr] 279 | | ... DrawParam::default() [INFO] [stderr] ... | [INFO] [stderr] 284 | | ... .dest(board_position), [INFO] [stderr] 285 | | ... ); [INFO] [stderr] | |_______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:291:17 [INFO] [stderr] | [INFO] [stderr] 291 | / graphics::draw( [INFO] [stderr] 292 | | ctx, [INFO] [stderr] 293 | | &state_text, [INFO] [stderr] 294 | | DrawParam::default() [INFO] [stderr] ... | [INFO] [stderr] 299 | | }), [INFO] [stderr] 300 | | ); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:317:17 [INFO] [stderr] | [INFO] [stderr] 317 | / graphics::draw( [INFO] [stderr] 318 | | ctx, [INFO] [stderr] 319 | | &background_box, [INFO] [stderr] 320 | | DrawParam::default().color(Color::new( [INFO] [stderr] ... | [INFO] [stderr] 325 | | )), [INFO] [stderr] 326 | | ); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:340:17 [INFO] [stderr] | [INFO] [stderr] 340 | / graphics::draw( [INFO] [stderr] 341 | | ctx, [INFO] [stderr] 342 | | &replay_box, [INFO] [stderr] 343 | | DrawParam::default() [INFO] [stderr] 344 | | ); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:353:17 [INFO] [stderr] | [INFO] [stderr] 353 | / graphics::draw( [INFO] [stderr] 354 | | ctx, [INFO] [stderr] 355 | | &replay_text, [INFO] [stderr] 356 | | DrawParam::default() [INFO] [stderr] ... | [INFO] [stderr] 361 | | }), [INFO] [stderr] 362 | | ); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:376:25 [INFO] [stderr] | [INFO] [stderr] 376 | / graphics::draw( [INFO] [stderr] 377 | | ctx, [INFO] [stderr] 378 | | sprite, [INFO] [stderr] 379 | | DrawParam::default() [INFO] [stderr] ... | [INFO] [stderr] 388 | | }), [INFO] [stderr] 389 | | ); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:561:5 [INFO] [stderr] | [INFO] [stderr] 561 | event::run(contex, event_loop, state); // Run window event loop [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `oskhen-chess-gui` (bin "oskhen-chess-gui" test) generated 20 warnings (run `cargo fix --bin "oskhen-chess-gui" --tests` to apply 8 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/oskhen_chess_gui-06cc979bd0bd95d9) [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" "75af12281187b47b493502f179da57846cfbbec80871343c5c808750948ab8d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75af12281187b47b493502f179da57846cfbbec80871343c5c808750948ab8d3", kill_on_drop: false }` [INFO] [stdout] 75af12281187b47b493502f179da57846cfbbec80871343c5c808750948ab8d3