[INFO] cloning repository https://github.com/maxhha/rogue-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxhha/rogue-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxhha%2Frogue-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxhha%2Frogue-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f207bdcf50239a91d0029a05a29f8ebeb791498 [INFO] checking maxhha/rogue-game against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxhha%2Frogue-game" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxhha/rogue-game on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxhha/rogue-game [INFO] finished tweaking git repo https://github.com/maxhha/rogue-game [INFO] tweaked toml for git repo https://github.com/maxhha/rogue-game written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/maxhha/rogue-game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image v0.23.13 [INFO] [stderr] Downloaded bracket-color v0.8.1 [INFO] [stderr] Downloaded wide v0.4.6 [INFO] [stderr] Downloaded bracket-geometry v0.8.1 [INFO] [stderr] Downloaded bracket-algorithm-traits v0.8.1 [INFO] [stderr] Downloaded wasm-timer v0.1.3 [INFO] [stderr] Downloaded bracket-pathfinding v0.8.1 [INFO] [stderr] Downloaded bracket-terminal v0.8.1 [INFO] [stderr] Downloaded object-pool v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b92549be52ae8a138cdd172bff6434749eb39c4e18ed066286a447ebc69ac57c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b92549be52ae8a138cdd172bff6434749eb39c4e18ed066286a447ebc69ac57c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b92549be52ae8a138cdd172bff6434749eb39c4e18ed066286a447ebc69ac57c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b92549be52ae8a138cdd172bff6434749eb39c4e18ed066286a447ebc69ac57c", kill_on_drop: false }` [INFO] [stdout] b92549be52ae8a138cdd172bff6434749eb39c4e18ed066286a447ebc69ac57c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 842998123bb659c76c33bd10059bc7ac6b55f464fbcc4b15ffd1c4ab0711b850 [INFO] running `Command { std: "docker" "start" "-a" "842998123bb659c76c33bd10059bc7ac6b55f464fbcc4b15ffd1c4ab0711b850", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking bytemuck v1.5.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-integer v0.1.42 [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.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking wide v0.4.6 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking ultraviolet v0.4.6 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking bracket-color v0.8.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Checking bracket-geometry v0.8.1 [INFO] [stderr] Checking object-pool v0.4.4 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking bracket-algorithm-traits v0.8.1 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking bracket-pathfinding v0.8.1 [INFO] [stderr] Checking image v0.23.13 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking glutin v0.24.1 [INFO] [stderr] Checking bracket-terminal v0.8.1 [INFO] [stderr] Checking rogue-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Char` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Char(char), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CharColored` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | CharColored(char, color::Rgb), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wall` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Wall, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Field` [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new(width: usize, height: usize) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rand_cave` [INFO] [stdout] --> src/main.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn rand_cave(width: usize, height: usize, k: f32, smooth: usize) -> Field { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill_rand` [INFO] [stdout] --> src/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn fill_rand(&mut self, k: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smooth` [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn smooth(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stretch` [INFO] [stdout] --> src/main.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn stretch(&mut self, x_scale: usize, y_scale: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bounds` [INFO] [stdout] --> src/main.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn set_bounds(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_all` [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn render_all(&self) -> Array2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_with_light` [INFO] [stdout] --> src/main.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn render_with_light(&self, source: (i32, i32), distance: usize) -> Array2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_wall` [INFO] [stdout] --> src/main.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn is_wall(&self, x: i32, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_empty` [INFO] [stdout] --> src/main.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | fn get_empty(&self) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | fn new(pos: (i32, i32), speed: (f64, f64), lifetime: i32) -> BloodEffectPoint { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BloodEffect` [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | struct BloodEffect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn new() -> BloodEffect { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spawn` [INFO] [stdout] --> src/main.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn spawn(&mut self, pos: (i32, i32), speed: (f64, f64), number: usize, power: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/main.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_draw_chars` [INFO] [stdout] --> src/main.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | fn get_draw_chars(&self) -> Vec<(i32, i32, DrawChar)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/main.rs:296:4 [INFO] [stdout] | [INFO] [stdout] 296 | fn draw(dest: &mut Array2, src: &Array2, pos: (usize, usize)) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `frame` [INFO] [stdout] --> src/main.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn frame( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `attack` [INFO] [stdout] --> src/main.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | attack: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `defence` [INFO] [stdout] --> src/main.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | defence: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `luck` [INFO] [stdout] --> src/main.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | luck: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kill_prob` [INFO] [stdout] --> src/main.rs:397:8 [INFO] [stdout] | [INFO] [stdout] 397 | fn kill_prob(&self, enemy: &UnitInfo) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `symbol` [INFO] [stdout] --> src/main.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | symbol: DrawChar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pos` [INFO] [stdout] --> src/main.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | pos: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/main.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | error: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timer` [INFO] [stdout] --> src/main.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | timer: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `step` [INFO] [stdout] --> src/main.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | step: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `step_speed` [INFO] [stdout] --> src/main.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | step_speed: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stay_timer` [INFO] [stdout] --> src/main.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | stay_timer: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `info` [INFO] [stdout] --> src/main.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | info: UnitInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> src/main.rs:415:8 [INFO] [stdout] | [INFO] [stdout] 415 | fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Player` [INFO] [stdout] --> src/main.rs:480:8 [INFO] [stdout] | [INFO] [stdout] 480 | struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `action` [INFO] [stdout] --> src/main.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | fn action( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `game` [INFO] [stdout] --> src/main.rs:524:4 [INFO] [stdout] | [INFO] [stdout] 524 | fn game() -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sleep` [INFO] [stdout] --> src/main.rs:908:4 [INFO] [stdout] | [INFO] [stdout] 908 | fn sleep(millis: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Char` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Char(char), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CharColored` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | CharColored(char, color::Rgb), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wall` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Wall, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Field` [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new(width: usize, height: usize) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rand_cave` [INFO] [stdout] --> src/main.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn rand_cave(width: usize, height: usize, k: f32, smooth: usize) -> Field { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill_rand` [INFO] [stdout] --> src/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn fill_rand(&mut self, k: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smooth` [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn smooth(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stretch` [INFO] [stdout] --> src/main.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn stretch(&mut self, x_scale: usize, y_scale: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bounds` [INFO] [stdout] --> src/main.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn set_bounds(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_all` [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn render_all(&self) -> Array2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_with_light` [INFO] [stdout] --> src/main.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn render_with_light(&self, source: (i32, i32), distance: usize) -> Array2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_wall` [INFO] [stdout] --> src/main.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn is_wall(&self, x: i32, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_empty` [INFO] [stdout] --> src/main.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | fn get_empty(&self) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | fn new(pos: (i32, i32), speed: (f64, f64), lifetime: i32) -> BloodEffectPoint { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BloodEffect` [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | struct BloodEffect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn new() -> BloodEffect { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spawn` [INFO] [stdout] --> src/main.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn spawn(&mut self, pos: (i32, i32), speed: (f64, f64), number: usize, power: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/main.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_draw_chars` [INFO] [stdout] --> src/main.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | fn get_draw_chars(&self) -> Vec<(i32, i32, DrawChar)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/main.rs:296:4 [INFO] [stdout] | [INFO] [stdout] 296 | fn draw(dest: &mut Array2, src: &Array2, pos: (usize, usize)) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `frame` [INFO] [stdout] --> src/main.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn frame( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `attack` [INFO] [stdout] --> src/main.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | attack: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `defence` [INFO] [stdout] --> src/main.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | defence: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `luck` [INFO] [stdout] --> src/main.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | luck: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kill_prob` [INFO] [stdout] --> src/main.rs:397:8 [INFO] [stdout] | [INFO] [stdout] 397 | fn kill_prob(&self, enemy: &UnitInfo) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `symbol` [INFO] [stdout] --> src/main.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | symbol: DrawChar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pos` [INFO] [stdout] --> src/main.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | pos: (i32, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/main.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | error: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timer` [INFO] [stdout] --> src/main.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | timer: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `step` [INFO] [stdout] --> src/main.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | step: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `step_speed` [INFO] [stdout] --> src/main.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | step_speed: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stay_timer` [INFO] [stdout] --> src/main.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | stay_timer: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `info` [INFO] [stdout] --> src/main.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | info: UnitInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process` [INFO] [stdout] --> src/main.rs:415:8 [INFO] [stdout] | [INFO] [stdout] 415 | fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Player` [INFO] [stdout] --> src/main.rs:480:8 [INFO] [stdout] | [INFO] [stdout] 480 | struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `action` [INFO] [stdout] --> src/main.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | fn action( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `game` [INFO] [stdout] --> src/main.rs:524:4 [INFO] [stdout] | [INFO] [stdout] 524 | fn game() -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sleep` [INFO] [stdout] --> src/main.rs:908:4 [INFO] [stdout] | [INFO] [stdout] 908 | fn sleep(millis: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "842998123bb659c76c33bd10059bc7ac6b55f464fbcc4b15ffd1c4ab0711b850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842998123bb659c76c33bd10059bc7ac6b55f464fbcc4b15ffd1c4ab0711b850", kill_on_drop: false }` [INFO] [stdout] 842998123bb659c76c33bd10059bc7ac6b55f464fbcc4b15ffd1c4ab0711b850