[INFO] cloning repository https://github.com/marksg07/rust-proj [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marksg07/rust-proj" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarksg07%2Frust-proj", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarksg07%2Frust-proj'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73e8e485adbb2f2ede518f551ff14adfb223754d [INFO] testing marksg07/rust-proj against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarksg07%2Frust-proj" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marksg07/rust-proj on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marksg07/rust-proj [INFO] finished tweaking git repo https://github.com/marksg07/rust-proj [INFO] tweaked toml for git repo https://github.com/marksg07/rust-proj written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/marksg07/rust-proj already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab3e82d562e58a13714a134cb3ed774cc62ec660697548e67920a5c445ffa393 [INFO] running `Command { std: "docker" "start" "-a" "ab3e82d562e58a13714a134cb3ed774cc62ec660697548e67920a5c445ffa393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab3e82d562e58a13714a134cb3ed774cc62ec660697548e67920a5c445ffa393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab3e82d562e58a13714a134cb3ed774cc62ec660697548e67920a5c445ffa393", kill_on_drop: false }` [INFO] [stdout] ab3e82d562e58a13714a134cb3ed774cc62ec660697548e67920a5c445ffa393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72f2032ded262703d6bc67f75bff242a8f0305e2afd3a03a64834b7a2c74ff20 [INFO] running `Command { std: "docker" "start" "-a" "72f2032ded262703d6bc67f75bff242a8f0305e2afd3a03a64834b7a2c74ff20", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling version-compare v0.0.11 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling sw-composite v0.7.14 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling cmake v0.1.46 [INFO] [stderr] Compiling cfg-expr v0.8.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling minifb v0.20.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.9.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling servo-freetype-sys v4.0.3 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling png v0.17.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling lyon_geom v0.15.3 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling font-kit v0.7.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling raqote v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling system-deps v3.2.0 [INFO] [stderr] Compiling glib-macros v0.14.1 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling glib-sys v0.14.0 [INFO] [stderr] Compiling gobject-sys v0.14.0 [INFO] [stderr] Compiling cairo-sys-rs v0.14.9 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling glib v0.14.8 [INFO] [stderr] Compiling cairo-rs v0.14.9 [INFO] [stderr] Compiling my-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `make` [INFO] [stdout] --> src/graph.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn make(el: Vec>) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `my_project` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use my_project; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/raqote_example.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MouseMode`, `ScaleMode`, `Scale`, `WindowOptions`, `Window` [INFO] [stdout] --> src/chess.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use minifb::{MouseMode, Window, WindowOptions, ScaleMode, Scale}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> src/chess.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use cairo::{ ImageSurface, Format, Context }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::family_name::FamilyName` [INFO] [stdout] --> src/chess.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use font_kit::family_name::FamilyName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::properties::Properties` [INFO] [stdout] --> src/chess.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use font_kit::properties::Properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::source::SystemSource` [INFO] [stdout] --> src/chess.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use font_kit::source::SystemSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::io::Reader as ImageReader` [INFO] [stdout] --> src/chess.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::imageops::FilterType` [INFO] [stdout] --> src/chess.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use image::imageops::FilterType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/net_chess.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowOptions` [INFO] [stdout] --> src/net_chess.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use minifb::{MouseMode, MouseButton, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> src/net_chess.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use cairo::{ ImageSurface, Format, Context }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MouseButton`, `MouseMode` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use minifb::{MouseMode, MouseButton, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use cairo::{ ImageSurface, Format, Context }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/net_chess.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 307 | / loop { [INFO] [stdout] 308 | | run_state = run_state.next()?; [INFO] [stdout] 309 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 310 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/net_chess.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 325 | / loop { [INFO] [stdout] 326 | | run_state = run_state.next()?; [INFO] [stdout] 327 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 328 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/raqote_example.rs:25:46 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_next_legal_click(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> chess::BoardPosition { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/raqote_example.rs:25:74 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_next_legal_click(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> chess::BoardPosition { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/chess.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | fn draw(&self, dt: &mut Context, position: ScreenPosition) -> Result<(), Box> {Ok(())} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/chess.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | fn draw(&self, dt: &mut Context, position: ScreenPosition) -> Result<(), Box> {Ok(())} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ONE_MILLI` [INFO] [stdout] --> src/raqote_example.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const ONE_MILLI : time::Duration = time::Duration::from_millis(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/raqote_example.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const WIDTH: usize = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/raqote_example.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const HEIGHT: usize = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `click_to_board` [INFO] [stdout] --> src/raqote_example.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn click_to_board(pos: chess::ScreenPosition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_next_legal_click` [INFO] [stdout] --> src/raqote_example.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_next_legal_click(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> chess::BoardPosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/raqote_example.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn draw(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/raqote_example.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Knight` [INFO] [stdout] --> src/chess.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Piece` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(PartialEq, Eq, Hash, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bishop` [INFO] [stdout] --> src/chess.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Piece` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(PartialEq, Eq, Hash, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rook` [INFO] [stdout] --> src/chess.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Piece` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(PartialEq, Eq, Hash, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Queen` [INFO] [stdout] --> src/chess.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | Queen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Piece` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(PartialEq, Eq, Hash, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `King` [INFO] [stdout] --> src/chess.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | King [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Piece` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(PartialEq, Eq, Hash, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/chess.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BoardSquare` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(PartialEq, Eq, Hash, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/chess.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chess.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(path: &str, width: f64, height: f64) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `black_can_castle_left` [INFO] [stdout] --> src/chess.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | black_can_castle_left: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `white_can_castle_left` [INFO] [stdout] --> src/chess.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | white_can_castle_left: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `black_can_castle_right` [INFO] [stdout] --> src/chess.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | black_can_castle_right: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `white_can_castle_right` [INFO] [stdout] --> src/chess.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | white_can_castle_right: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `en_passant_square` [INFO] [stdout] --> src/chess.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | en_passant_square: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/chess.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chess.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `piece_iterator` [INFO] [stdout] --> src/chess.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn piece_iterator<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_legal` [INFO] [stdout] --> src/chess.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn is_legal(&self, from_pos: BoardPosition, to_pos: BoardPosition) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_square_attacked` [INFO] [stdout] --> src/chess.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | fn is_square_attacked(&self, pos: BoardPosition, attacker: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_rook_move` [INFO] [stdout] --> src/chess.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | fn is_valid_rook_move(&self, from_pos: BoardPosition, to_pos: BoardPosition) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_bishop_move` [INFO] [stdout] --> src/chess.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | fn is_valid_bishop_move(&self, from_pos: BoardPosition, to_pos: BoardPosition) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_attacking_movement_ok` [INFO] [stdout] --> src/chess.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | fn is_attacking_movement_ok(&self, from_pos: BoardPosition, to_pos: BoardPosition, pretend_occupied: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_legal_start` [INFO] [stdout] --> src/chess.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn is_legal_start(&self, pos: BoardPosition) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_move` [INFO] [stdout] --> src/chess.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn do_move(&mut self, from_pos: BoardPosition, to_pos: BoardPosition) -> () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_checkmate` [INFO] [stdout] --> src/chess.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn is_checkmate(&mut self, attacker: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `c_to_sq` [INFO] [stdout] --> src/chess.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn c_to_sq(c: char) -> BoardSquare { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `default_state` [INFO] [stdout] --> src/chess.rs:401:1 [INFO] [stdout] | [INFO] [stdout] 401 | / const default_state: &str = "\ [INFO] [stdout] 402 | | rnbqkbnr\ [INFO] [stdout] 403 | | pppppppp\ [INFO] [stdout] 404 | | ........\ [INFO] [stdout] ... | [INFO] [stdout] 408 | | PPPPPPPP\ [INFO] [stdout] 409 | | RNBQKBNR"; [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `base_dir` [INFO] [stdout] --> src/chess.rs:411:1 [INFO] [stdout] | [INFO] [stdout] 411 | const base_dir: &str = "/Users/gabriel.marks/my-project/images/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `piece_imagepaths` [INFO] [stdout] --> src/chess.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | / const piece_imagepaths: [(char, &str); 12] = [ [INFO] [stdout] 414 | | ('p', "blackpawn.png"), [INFO] [stdout] 415 | | ('r', "blackrook.png"), [INFO] [stdout] 416 | | ('b', "blackbishop.png"), [INFO] [stdout] ... | [INFO] [stdout] 425 | | ('K', "whiteking.png"), [INFO] [stdout] 426 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chess.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn new(width: f64, height: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setup_new_game` [INFO] [stdout] --> src/chess.rs:447:12 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn setup_new_game(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setup_set_game` [INFO] [stdout] --> src/chess.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn setup_set_game(&mut self, state: &str, turn: Color, bcl: bool, bcr: bool, wcl: bool, wcr: bool, eps: Option) ->... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_checkmated` [INFO] [stdout] --> src/chess.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn is_checkmated(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_server` [INFO] [stdout] --> src/net_chess.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn run_server(board: chess::Board, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_client` [INFO] [stdout] --> src/net_chess.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn run_client(board: chess::Board, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `default_state` should have an upper case name [INFO] [stdout] --> src/chess.rs:401:7 [INFO] [stdout] | [INFO] [stdout] 401 | const default_state: &str = "\ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `DEFAULT_STATE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `base_dir` should have an upper case name [INFO] [stdout] --> src/chess.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 411 | const base_dir: &str = "/Users/gabriel.marks/my-project/images/"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `BASE_DIR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `piece_imagepaths` should have an upper case name [INFO] [stdout] --> src/chess.rs:413:7 [INFO] [stdout] | [INFO] [stdout] 413 | const piece_imagepaths: [(char, &str); 12] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PIECE_IMAGEPATHS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `light_color` should have an upper case name [INFO] [stdout] --> src/chess.rs:471:7 [INFO] [stdout] | [INFO] [stdout] 471 | const light_color: (f64, f64, f64) = (180.0 / 255.0, 175.0 / 255.0, 165.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `LIGHT_COLOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `dark_color` should have an upper case name [INFO] [stdout] --> src/chess.rs:472:7 [INFO] [stdout] | [INFO] [stdout] 472 | const dark_color: (f64, f64, f64) = (145.0 / 255.0, 140.0 / 255.0, 125.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `DARK_COLOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `highlight_color` should have an upper case name [INFO] [stdout] --> src/chess.rs:473:7 [INFO] [stdout] | [INFO] [stdout] 473 | const highlight_color: (f64, f64, f64) = (180.0 / 255.0, 80.0 / 255.0, 80.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HIGHLIGHT_COLOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 02s [INFO] running `Command { std: "docker" "inspect" "72f2032ded262703d6bc67f75bff242a8f0305e2afd3a03a64834b7a2c74ff20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f2032ded262703d6bc67f75bff242a8f0305e2afd3a03a64834b7a2c74ff20", kill_on_drop: false }` [INFO] [stdout] 72f2032ded262703d6bc67f75bff242a8f0305e2afd3a03a64834b7a2c74ff20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dadce8c28078f438c24c1b153201ded19749ebe7433bc664528f61fee857ac4f [INFO] running `Command { std: "docker" "start" "-a" "dadce8c28078f438c24c1b153201ded19749ebe7433bc664528f61fee857ac4f", kill_on_drop: false }` [INFO] [stderr] Compiling my-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `make` [INFO] [stdout] --> src/graph.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn make(el: Vec>) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `my_project` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use my_project; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/raqote_example.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MouseMode`, `ScaleMode`, `Scale`, `WindowOptions`, `Window` [INFO] [stdout] --> src/chess.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use minifb::{MouseMode, Window, WindowOptions, ScaleMode, Scale}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> src/chess.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use cairo::{ ImageSurface, Format, Context }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::family_name::FamilyName` [INFO] [stdout] --> src/chess.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use font_kit::family_name::FamilyName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::properties::Properties` [INFO] [stdout] --> src/chess.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use font_kit::properties::Properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `font_kit::source::SystemSource` [INFO] [stdout] --> src/chess.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use font_kit::source::SystemSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::io::Reader as ImageReader` [INFO] [stdout] --> src/chess.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::imageops::FilterType` [INFO] [stdout] --> src/chess.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use image::imageops::FilterType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/net_chess.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowOptions` [INFO] [stdout] --> src/net_chess.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use minifb::{MouseMode, MouseButton, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> src/net_chess.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use cairo::{ ImageSurface, Format, Context }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MouseButton`, `MouseMode` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use minifb::{MouseMode, MouseButton, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use cairo::{ ImageSurface, Format, Context }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/net_chess.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 307 | / loop { [INFO] [stdout] 308 | | run_state = run_state.next()?; [INFO] [stdout] 309 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 310 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/net_chess.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 325 | / loop { [INFO] [stdout] 326 | | run_state = run_state.next()?; [INFO] [stdout] 327 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 328 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/raqote_example.rs:25:46 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_next_legal_click(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> chess::BoardPosition { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/raqote_example.rs:25:74 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_next_legal_click(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> chess::BoardPosition { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/chess.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | fn draw(&self, dt: &mut Context, position: ScreenPosition) -> Result<(), Box> {Ok(())} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/chess.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | fn draw(&self, dt: &mut Context, position: ScreenPosition) -> Result<(), Box> {Ok(())} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ONE_MILLI` [INFO] [stdout] --> src/raqote_example.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const ONE_MILLI : time::Duration = time::Duration::from_millis(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/raqote_example.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const WIDTH: usize = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/raqote_example.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const HEIGHT: usize = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `click_to_board` [INFO] [stdout] --> src/raqote_example.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn click_to_board(pos: chess::ScreenPosition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_next_legal_click` [INFO] [stdout] --> src/raqote_example.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_next_legal_click(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> chess::BoardPosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/raqote_example.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn draw(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/raqote_example.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/chess.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `default_state` [INFO] [stdout] --> src/chess.rs:401:1 [INFO] [stdout] | [INFO] [stdout] 401 | / const default_state: &str = "\ [INFO] [stdout] 402 | | rnbqkbnr\ [INFO] [stdout] 403 | | pppppppp\ [INFO] [stdout] 404 | | ........\ [INFO] [stdout] ... | [INFO] [stdout] 408 | | PPPPPPPP\ [INFO] [stdout] 409 | | RNBQKBNR"; [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setup_new_game` [INFO] [stdout] --> src/chess.rs:447:12 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn setup_new_game(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_server` [INFO] [stdout] --> src/net_chess.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn run_server(board: chess::Board, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_client` [INFO] [stdout] --> src/net_chess.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn run_client(board: chess::Board, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `default_state` should have an upper case name [INFO] [stdout] --> src/chess.rs:401:7 [INFO] [stdout] | [INFO] [stdout] 401 | const default_state: &str = "\ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `DEFAULT_STATE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `base_dir` should have an upper case name [INFO] [stdout] --> src/chess.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 411 | const base_dir: &str = "/Users/gabriel.marks/my-project/images/"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `BASE_DIR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `piece_imagepaths` should have an upper case name [INFO] [stdout] --> src/chess.rs:413:7 [INFO] [stdout] | [INFO] [stdout] 413 | const piece_imagepaths: [(char, &str); 12] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PIECE_IMAGEPATHS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `light_color` should have an upper case name [INFO] [stdout] --> src/chess.rs:471:7 [INFO] [stdout] | [INFO] [stdout] 471 | const light_color: (f64, f64, f64) = (180.0 / 255.0, 175.0 / 255.0, 165.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `LIGHT_COLOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `dark_color` should have an upper case name [INFO] [stdout] --> src/chess.rs:472:7 [INFO] [stdout] | [INFO] [stdout] 472 | const dark_color: (f64, f64, f64) = (145.0 / 255.0, 140.0 / 255.0, 125.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `DARK_COLOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `highlight_color` should have an upper case name [INFO] [stdout] --> src/chess.rs:473:7 [INFO] [stdout] | [INFO] [stdout] 473 | const highlight_color: (f64, f64, f64) = (180.0 / 255.0, 80.0 / 255.0, 80.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HIGHLIGHT_COLOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.68s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/my_project-d400e9714648b77f) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/my_project-5e03848e2a6789a8) [INFO] running `Command { std: "docker" "inspect" "dadce8c28078f438c24c1b153201ded19749ebe7433bc664528f61fee857ac4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dadce8c28078f438c24c1b153201ded19749ebe7433bc664528f61fee857ac4f", kill_on_drop: false }` [INFO] [stdout] dadce8c28078f438c24c1b153201ded19749ebe7433bc664528f61fee857ac4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d6e93b41c13ad3bd9ba113d404a4adf4b03b1768e98c44dc2f65cf1a536288fe [INFO] running `Command { std: "docker" "start" "-a" "d6e93b41c13ad3bd9ba113d404a4adf4b03b1768e98c44dc2f65cf1a536288fe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `make` [INFO] [stderr] --> src/graph.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 76 | fn make(el: Vec>) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `my-project` (lib) generated 1 warning [INFO] [stderr] warning: unused import: `my_project` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use my_project; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `thread` [INFO] [stderr] --> src/raqote_example.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{thread, time}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MouseMode`, `ScaleMode`, `Scale`, `WindowOptions`, `Window` [INFO] [stderr] --> src/chess.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use minifb::{MouseMode, Window, WindowOptions, ScaleMode, Scale}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Format` [INFO] [stderr] --> src/chess.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | use cairo::{ ImageSurface, Format, Context }; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `font_kit::family_name::FamilyName` [INFO] [stderr] --> src/chess.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use font_kit::family_name::FamilyName; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `font_kit::properties::Properties` [INFO] [stderr] --> src/chess.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use font_kit::properties::Properties; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `font_kit::source::SystemSource` [INFO] [stderr] --> src/chess.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use font_kit::source::SystemSource; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::io::Reader as ImageReader` [INFO] [stderr] --> src/chess.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use image::io::Reader as ImageReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::imageops::FilterType` [INFO] [stderr] --> src/chess.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use image::imageops::FilterType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::from_utf8` [INFO] [stderr] --> src/net_chess.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::str::from_utf8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `WindowOptions` [INFO] [stderr] --> src/net_chess.rs:3:46 [INFO] [stderr] | [INFO] [stderr] 3 | use minifb::{MouseMode, MouseButton, Window, WindowOptions}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Format` [INFO] [stderr] --> src/net_chess.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | use cairo::{ ImageSurface, Format, Context }; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MouseButton`, `MouseMode` [INFO] [stderr] --> src/main.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | use minifb::{MouseMode, MouseButton, Window, WindowOptions}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/main.rs:8:36 [INFO] [stderr] | [INFO] [stderr] 8 | use cairo::{ ImageSurface, Format, Context }; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/net_chess.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 307 | / loop { [INFO] [stderr] 308 | | run_state = run_state.next()?; [INFO] [stderr] 309 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 310 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/net_chess.rs:328:5 [INFO] [stderr] | [INFO] [stderr] 325 | / loop { [INFO] [stderr] 326 | | run_state = run_state.next()?; [INFO] [stderr] 327 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 328 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `surface` [INFO] [stderr] --> src/raqote_example.rs:25:46 [INFO] [stderr] | [INFO] [stderr] 25 | fn get_next_legal_click(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> chess::BoardPosition { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `board` [INFO] [stderr] --> src/raqote_example.rs:25:74 [INFO] [stderr] | [INFO] [stderr] 25 | fn get_next_legal_click(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> chess::BoardPosition { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dt` [INFO] [stderr] --> src/chess.rs:28:20 [INFO] [stderr] | [INFO] [stderr] 28 | fn draw(&self, dt: &mut Context, position: ScreenPosition) -> Result<(), Box> {Ok(())} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `position` [INFO] [stderr] --> src/chess.rs:28:38 [INFO] [stderr] | [INFO] [stderr] 28 | fn draw(&self, dt: &mut Context, position: ScreenPosition) -> Result<(), Box> {Ok(())} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ONE_MILLI` [INFO] [stderr] --> src/raqote_example.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | const ONE_MILLI : time::Duration = time::Duration::from_millis(20); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `WIDTH` [INFO] [stderr] --> src/raqote_example.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | const WIDTH: usize = 400; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `HEIGHT` [INFO] [stderr] --> src/raqote_example.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | const HEIGHT: usize = 400; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `click_to_board` [INFO] [stderr] --> src/raqote_example.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn click_to_board(pos: chess::ScreenPosition) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_next_legal_click` [INFO] [stderr] --> src/raqote_example.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn get_next_legal_click(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> chess::BoardPosition { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `draw` [INFO] [stderr] --> src/raqote_example.rs:42:4 [INFO] [stderr] | [INFO] [stderr] 42 | fn draw(window: &mut Window, surface: &mut ImageSurface, board: &chess::Board) -> Result<(), Box> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `main` [INFO] [stderr] --> src/raqote_example.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `data` [INFO] [stderr] --> src/chess.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | data: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `default_state` [INFO] [stderr] --> src/chess.rs:401:1 [INFO] [stderr] | [INFO] [stderr] 401 | / const default_state: &str = "\ [INFO] [stderr] 402 | | rnbqkbnr\ [INFO] [stderr] 403 | | pppppppp\ [INFO] [stderr] 404 | | ........\ [INFO] [stderr] ... | [INFO] [stderr] 408 | | PPPPPPPP\ [INFO] [stderr] 409 | | RNBQKBNR"; [INFO] [stderr] | |__________^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `setup_new_game` [INFO] [stderr] --> src/chess.rs:447:12 [INFO] [stderr] | [INFO] [stderr] 447 | pub fn setup_new_game(&mut self) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_server` [INFO] [stderr] --> src/net_chess.rs:293:8 [INFO] [stderr] | [INFO] [stderr] 293 | pub fn run_server(board: chess::Board, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_client` [INFO] [stderr] --> src/net_chess.rs:313:8 [INFO] [stderr] | [INFO] [stderr] 313 | pub fn run_client(board: chess::Board, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `default_state` should have an upper case name [INFO] [stderr] --> src/chess.rs:401:7 [INFO] [stderr] | [INFO] [stderr] 401 | const default_state: &str = "\ [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `DEFAULT_STATE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `base_dir` should have an upper case name [INFO] [stderr] --> src/chess.rs:411:7 [INFO] [stderr] | [INFO] [stderr] 411 | const base_dir: &str = "/Users/gabriel.marks/my-project/images/"; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `BASE_DIR` [INFO] [stderr] [INFO] [stderr] warning: constant `piece_imagepaths` should have an upper case name [INFO] [stderr] --> src/chess.rs:413:7 [INFO] [stderr] | [INFO] [stderr] 413 | const piece_imagepaths: [(char, &str); 12] = [ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PIECE_IMAGEPATHS` [INFO] [stderr] [INFO] [stderr] warning: constant `light_color` should have an upper case name [INFO] [stderr] --> src/chess.rs:471:7 [INFO] [stderr] | [INFO] [stderr] 471 | const light_color: (f64, f64, f64) = (180.0 / 255.0, 175.0 / 255.0, 165.0 / 255.0); [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `LIGHT_COLOR` [INFO] [stderr] [INFO] [stderr] warning: constant `dark_color` should have an upper case name [INFO] [stderr] --> src/chess.rs:472:7 [INFO] [stderr] | [INFO] [stderr] 472 | const dark_color: (f64, f64, f64) = (145.0 / 255.0, 140.0 / 255.0, 125.0 / 255.0); [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `DARK_COLOR` [INFO] [stderr] [INFO] [stderr] warning: constant `highlight_color` should have an upper case name [INFO] [stderr] --> src/chess.rs:473:7 [INFO] [stderr] | [INFO] [stderr] 473 | const highlight_color: (f64, f64, f64) = (180.0 / 255.0, 80.0 / 255.0, 80.0 / 255.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HIGHLIGHT_COLOR` [INFO] [stderr] [INFO] [stderr] warning: `my-project` (bin "my-project" test) generated 38 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/my_project-d400e9714648b77f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_sieve ... ok [INFO] [stdout] test graph::tests::test_elg ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/my_project-5e03848e2a6789a8) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test net_chess::chess::tests::test_checkmate ... FAILED [INFO] [stdout] test raqote_example::chess::tests::test_checkmate ... FAILED [INFO] [stdout] test raqote_example::net_chess::chess::tests::test_checkmate ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- net_chess::chess::tests::test_checkmate stdout ---- [INFO] [stdout] thread 'net_chess::chess::tests::test_checkmate' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/chess.rs:441:126 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5647304d577d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5647304d577d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5647304d577d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5647304d577d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5647304f818c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5647304d2131 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5647304d74c5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5647304d74c5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5647304d74c5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5647304d71b4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5647304d7a12 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5647304d78f7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5647304d5c34 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5647304d7629 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5647304493e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5647304494d3 - core::result::unwrap_failed::h6bc7b183ec719494 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1785:5 [INFO] [stdout] 16: 0x564730457fb5 - core::result::Result::unwrap::hdbfa7ca345334dff [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1078:23 [INFO] [stdout] 17: 0x564730452202 - my_project::net_chess::chess::Board::new::h77635a331ca950f8 [INFO] [stdout] at /opt/rustwide/workdir/src/chess.rs:441:48 [INFO] [stdout] 18: 0x564730454aaa - my_project::net_chess::chess::tests::test_checkmate::h7c9b1d8fc8a8dd19 [INFO] [stdout] at /opt/rustwide/workdir/src/chess.rs:520:25 [INFO] [stdout] 19: 0x564730454a6e - my_project::net_chess::chess::tests::test_checkmate::{{closure}}::hdc3e8c49f3a2336e [INFO] [stdout] at /opt/rustwide/workdir/src/chess.rs:519:5 [INFO] [stdout] 20: 0x5647304649be - core::ops::function::FnOnce::call_once::h27f55971a0832ba0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x56473049f153 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x56473049f153 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 23: 0x56473049df09 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 24: 0x56473049df09 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x56473049df09 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x56473049df09 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x56473049df09 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x56473049df09 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 29: 0x56473049df09 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 30: 0x56473046a0be - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 31: 0x56473046a0be - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x56473046f628 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x56473046f628 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x56473046f628 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x56473046f628 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x56473046f628 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x56473046f628 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x56473046f628 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5647304dc323 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5647304dc323 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x5647304dc323 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f179f1b8609 - start_thread [INFO] [stdout] 43: 0x7f179ef8e163 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- raqote_example::chess::tests::test_checkmate stdout ---- [INFO] [stdout] thread 'raqote_example::chess::tests::test_checkmate' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/chess.rs:441:126 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5647304d577d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5647304d577d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5647304d577d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5647304d577d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5647304f818c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5647304d2131 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5647304d74c5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5647304d74c5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5647304d74c5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5647304d71b4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5647304d7a12 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5647304d78f7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5647304d5c34 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5647304d7629 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5647304493e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5647304494d3 - core::result::unwrap_failed::h6bc7b183ec719494 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1785:5 [INFO] [stdout] 16: 0x564730457ef5 - core::result::Result::unwrap::ha7562c4774721ade [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1078:23 [INFO] [stdout] 17: 0x564730462512 - my_project::raqote_example::chess::Board::new::he212a1ce145f8718 [INFO] [stdout] at /opt/rustwide/workdir/src/chess.rs:441:48 [INFO] [stdout] 18: 0x564730468c0a - my_project::raqote_example::chess::tests::test_checkmate::he03451736c8ab000 [INFO] [stdout] at /opt/rustwide/workdir/src/chess.rs:520:25 [INFO] [stdout] 19: 0x564730468bce - my_project::raqote_example::chess::tests::test_checkmate::{{closure}}::h404291fce73964e7 [INFO] [stdout] at /opt/rustwide/workdir/src/chess.rs:519:5 [INFO] [stdout] 20: 0x564730464b1e - core::ops::function::FnOnce::call_once::h693c0ef8b1d627c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x56473049f153 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x56473049f153 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 23: 0x56473049df09 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 24: 0x56473049df09 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x56473049df09 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x56473049df09 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x56473049df09 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x56473049df09 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 29: 0x56473049df09 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 30: 0x56473046a0be - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 31: 0x56473046a0be - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x56473046f628 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x56473046f628 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x56473046f628 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x56473046f628 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x56473046f628 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x56473046f628 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x56473046f628 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5647304dc323 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5647304dc323 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x5647304dc323 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f179f1b8609 - start_thread [INFO] [stdout] 43: 0x7f179ef8e163 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- raqote_example::net_chess::chess::tests::test_checkmate stdout ---- [INFO] [stdout] thread 'raqote_example::net_chess::chess::tests::test_checkmate' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/chess.rs:441:126 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5647304d577d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5647304d577d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5647304d577d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5647304d577d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5647304f818c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5647304d2131 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5647304d74c5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5647304d74c5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5647304d74c5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5647304d71b4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5647304d7a12 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5647304d78f7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5647304d5c34 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5647304d7629 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5647304493e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5647304494d3 - core::result::unwrap_failed::h6bc7b183ec719494 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1785:5 [INFO] [stdout] 16: 0x564730457e35 - core::result::Result::unwrap::h642520ee34875bea [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1078:23 [INFO] [stdout] 17: 0x56473045ccf2 - my_project::raqote_example::net_chess::chess::Board::new::h7cf22a4438a1c36d [INFO] [stdout] at /opt/rustwide/workdir/src/chess.rs:441:48 [INFO] [stdout] 18: 0x56473045439a - my_project::raqote_example::net_chess::chess::tests::test_checkmate::h7f649708d80f06ce [INFO] [stdout] at /opt/rustwide/workdir/src/chess.rs:520:25 [INFO] [stdout] 19: 0x56473045435e - my_project::raqote_example::net_chess::chess::tests::test_checkmate::{{closure}}::h27461751a04a81a8 [INFO] [stdout] at /opt/rustwide/workdir/src/chess.rs:519:5 [INFO] [stdout] 20: 0x564730464cce - core::ops::function::FnOnce::call_once::he8addf42384f7dd7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x56473049f153 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x56473049f153 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 23: 0x56473049df09 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 24: 0x56473049df09 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x56473049df09 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x56473049df09 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x56473049df09 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x56473049df09 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 29: 0x56473049df09 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 30: 0x56473046a0be - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 31: 0x56473046a0be - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x56473046f628 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x56473046f628 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x56473046f628 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x56473046f628 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x56473046f628 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x56473046f628 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x56473046f628 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5647304dc323 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5647304dc323 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x5647304dc323 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f179f1b8609 - start_thread [INFO] [stdout] 43: 0x7f179ef8e163 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] net_chess::chess::tests::test_checkmate [INFO] [stdout] raqote_example::chess::tests::test_checkmate [INFO] [stdout] raqote_example::net_chess::chess::tests::test_checkmate [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin my-project' [INFO] running `Command { std: "docker" "inspect" "d6e93b41c13ad3bd9ba113d404a4adf4b03b1768e98c44dc2f65cf1a536288fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6e93b41c13ad3bd9ba113d404a4adf4b03b1768e98c44dc2f65cf1a536288fe", kill_on_drop: false }` [INFO] [stdout] d6e93b41c13ad3bd9ba113d404a4adf4b03b1768e98c44dc2f65cf1a536288fe