[INFO] cloning repository https://github.com/knownasilya/moonshot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/knownasilya/moonshot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknownasilya%2Fmoonshot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknownasilya%2Fmoonshot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9bc5ffa65254244b0bc80e8a184bb1e3f9737205 [INFO] testing knownasilya/moonshot 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%2Fknownasilya%2Fmoonshot" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/knownasilya/moonshot 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/knownasilya/moonshot [INFO] finished tweaking git repo https://github.com/knownasilya/moonshot [INFO] tweaked toml for git repo https://github.com/knownasilya/moonshot written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/knownasilya/moonshot 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 56d88e3b36b277c828b4b5d5b9709bd80bdb5de748cee88d30006f3d8dd167cd [INFO] running `Command { std: "docker" "start" "-a" "56d88e3b36b277c828b4b5d5b9709bd80bdb5de748cee88d30006f3d8dd167cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56d88e3b36b277c828b4b5d5b9709bd80bdb5de748cee88d30006f3d8dd167cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56d88e3b36b277c828b4b5d5b9709bd80bdb5de748cee88d30006f3d8dd167cd", kill_on_drop: false }` [INFO] [stdout] 56d88e3b36b277c828b4b5d5b9709bd80bdb5de748cee88d30006f3d8dd167cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] e121a1e7b902a1752415dc7aed7d8a7eb858f1e31de78d27a5df65eb96f7f8c4 [INFO] running `Command { std: "docker" "start" "-a" "e121a1e7b902a1752415dc7aed7d8a7eb858f1e31de78d27a5df65eb96f7f8c4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling wide v0.4.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling libloading v0.6.5 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling ultraviolet v0.4.6 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Compiling bracket-color v0.8.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling object-pool v0.4.4 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling bracket-geometry v0.8.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.1 [INFO] [stderr] Compiling bracket-pathfinding v0.8.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling tynm v0.1.6 [INFO] [stderr] Compiling image v0.23.11 [INFO] [stderr] Compiling bracket-random v0.8.0 [INFO] [stderr] Compiling bracket-noise v0.8.1 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling bracket-terminal v0.8.1 [INFO] [stderr] Compiling bracket-lib v0.8.1 [INFO] [stderr] Compiling rltk v0.8.1 [INFO] [stderr] Compiling moonshot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RGB`, `console` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{console, GameState, Rltk, RGB}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door`, `Position`, `Renderable` [INFO] [stdout] --> src/map.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Door, Position, Rect, Renderable}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `field_of_view` [INFO] [stdout] --> src/moonshot_ai.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{console, field_of_view, Point}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Console` [INFO] [stdout] --> src/gui.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rltk::{Console, Rltk, RGB}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/map.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | '~' => TileType::DeepWater, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/gamelog.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn add(mut self, msg: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_room_to_map` [INFO] [stdout] --> src/map.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | fn apply_room_to_map(&mut self, room: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_horizontal_tunnel` [INFO] [stdout] --> src/map.rs:105:6 [INFO] [stdout] | [INFO] [stdout] 105 | fn apply_horizontal_tunnel(&mut self, x1: i32, x2: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_vertical_tunnel` [INFO] [stdout] --> src/map.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | fn apply_vertical_tunnel(&mut self, y1: i32, y2: i32, x: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_map_rooms_and_corridors` [INFO] [stdout] --> src/map.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn new_map_rooms_and_corridors() -> Map { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_ROOMS` [INFO] [stdout] --> src/map.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | const MAX_ROOMS: i32 = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIN_SIZE` [INFO] [stdout] --> src/map.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | const MIN_SIZE: i32 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_SIZE` [INFO] [stdout] --> src/map.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | const MAX_SIZE: i32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rect.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(x: i32, y: i32, w: i32, h: i32) -> Rect { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersect` [INFO] [stdout] --> src/rect.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn intersect(&self, other: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `center` [INFO] [stdout] --> src/rect.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn center(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.42s [INFO] running `Command { std: "docker" "inspect" "e121a1e7b902a1752415dc7aed7d8a7eb858f1e31de78d27a5df65eb96f7f8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e121a1e7b902a1752415dc7aed7d8a7eb858f1e31de78d27a5df65eb96f7f8c4", kill_on_drop: false }` [INFO] [stdout] e121a1e7b902a1752415dc7aed7d8a7eb858f1e31de78d27a5df65eb96f7f8c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] f192e8cdd223b210cc5e53f708bc3952d7359703e6787ed8e4619ed0c0bfd8ae [INFO] running `Command { std: "docker" "start" "-a" "f192e8cdd223b210cc5e53f708bc3952d7359703e6787ed8e4619ed0c0bfd8ae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling moonshot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RGB`, `console` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{console, GameState, Rltk, RGB}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Door`, `Position`, `Renderable` [INFO] [stdout] --> src/map.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Door, Position, Rect, Renderable}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `field_of_view` [INFO] [stdout] --> src/moonshot_ai.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use rltk::{console, field_of_view, Point}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Console` [INFO] [stdout] --> src/gui.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rltk::{Console, Rltk, RGB}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/map.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | '~' => TileType::DeepWater, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/gamelog.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn add(mut self, msg: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_room_to_map` [INFO] [stdout] --> src/map.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | fn apply_room_to_map(&mut self, room: &Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_horizontal_tunnel` [INFO] [stdout] --> src/map.rs:105:6 [INFO] [stdout] | [INFO] [stdout] 105 | fn apply_horizontal_tunnel(&mut self, x1: i32, x2: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_vertical_tunnel` [INFO] [stdout] --> src/map.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | fn apply_vertical_tunnel(&mut self, y1: i32, y2: i32, x: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_map_rooms_and_corridors` [INFO] [stdout] --> src/map.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn new_map_rooms_and_corridors() -> Map { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_ROOMS` [INFO] [stdout] --> src/map.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | const MAX_ROOMS: i32 = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIN_SIZE` [INFO] [stdout] --> src/map.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | const MIN_SIZE: i32 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_SIZE` [INFO] [stdout] --> src/map.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | const MAX_SIZE: i32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rect.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(x: i32, y: i32, w: i32, h: i32) -> Rect { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersect` [INFO] [stdout] --> src/rect.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn intersect(&self, other: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `center` [INFO] [stdout] --> src/rect.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn center(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.85s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/moonshot-fcd92a48a044075a) [INFO] running `Command { std: "docker" "inspect" "f192e8cdd223b210cc5e53f708bc3952d7359703e6787ed8e4619ed0c0bfd8ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f192e8cdd223b210cc5e53f708bc3952d7359703e6787ed8e4619ed0c0bfd8ae", kill_on_drop: false }` [INFO] [stdout] f192e8cdd223b210cc5e53f708bc3952d7359703e6787ed8e4619ed0c0bfd8ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 06cbdc3ab405685ce1ff37f3215650c3a5a7584de2b3500daced71e90211c5f0 [INFO] running `Command { std: "docker" "start" "-a" "06cbdc3ab405685ce1ff37f3215650c3a5a7584de2b3500daced71e90211c5f0", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `RGB`, `console` [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use rltk::{console, GameState, Rltk, RGB}; [INFO] [stderr] | ^^^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Door`, `Position`, `Renderable` [INFO] [stderr] --> src/map.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{Door, Position, Rect, Renderable}; [INFO] [stderr] | ^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `field_of_view` [INFO] [stderr] --> src/moonshot_ai.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use rltk::{console, field_of_view, Point}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Console` [INFO] [stderr] --> src/gui.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | use rltk::{Console, Rltk, RGB}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/map.rs:37:7 [INFO] [stderr] | [INFO] [stderr] 37 | '~' => TileType::DeepWater, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add` [INFO] [stderr] --> src/gamelog.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn add(mut self, msg: String) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `apply_room_to_map` [INFO] [stderr] --> src/map.rs:96:6 [INFO] [stderr] | [INFO] [stderr] 96 | fn apply_room_to_map(&mut self, room: &Rect) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `apply_horizontal_tunnel` [INFO] [stderr] --> src/map.rs:105:6 [INFO] [stderr] | [INFO] [stderr] 105 | fn apply_horizontal_tunnel(&mut self, x1: i32, x2: i32, y: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `apply_vertical_tunnel` [INFO] [stderr] --> src/map.rs:114:6 [INFO] [stderr] | [INFO] [stderr] 114 | fn apply_vertical_tunnel(&mut self, y1: i32, y2: i32, x: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_map_rooms_and_corridors` [INFO] [stderr] --> src/map.rs:196:10 [INFO] [stderr] | [INFO] [stderr] 196 | pub fn new_map_rooms_and_corridors() -> Map { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MAX_ROOMS` [INFO] [stderr] --> src/map.rs:209:5 [INFO] [stderr] | [INFO] [stderr] 209 | const MAX_ROOMS: i32 = 30; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MIN_SIZE` [INFO] [stderr] --> src/map.rs:210:5 [INFO] [stderr] | [INFO] [stderr] 210 | const MIN_SIZE: i32 = 6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MAX_SIZE` [INFO] [stderr] --> src/map.rs:211:5 [INFO] [stderr] | [INFO] [stderr] 211 | const MAX_SIZE: i32 = 10; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/rect.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new(x: i32, y: i32, w: i32, h: i32) -> Rect { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `intersect` [INFO] [stderr] --> src/rect.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn intersect(&self, other: &Rect) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `center` [INFO] [stderr] --> src/rect.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn center(&self) -> (i32, i32) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `moonshot` (bin "moonshot" test) generated 16 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/moonshot-fcd92a48a044075a) [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" "06cbdc3ab405685ce1ff37f3215650c3a5a7584de2b3500daced71e90211c5f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06cbdc3ab405685ce1ff37f3215650c3a5a7584de2b3500daced71e90211c5f0", kill_on_drop: false }` [INFO] [stdout] 06cbdc3ab405685ce1ff37f3215650c3a5a7584de2b3500daced71e90211c5f0