[INFO] cloning repository https://github.com/Aaronkala/poikienpeli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aaronkala/poikienpeli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronkala%2Fpoikienpeli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronkala%2Fpoikienpeli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7f6462f2d35dcb07d30b54349e41e6fb43f0d73 [INFO] testing Aaronkala/poikienpeli against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronkala%2Fpoikienpeli" "/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/Aaronkala/poikienpeli on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aaronkala/poikienpeli [INFO] finished tweaking git repo https://github.com/Aaronkala/poikienpeli [INFO] tweaked toml for git repo https://github.com/Aaronkala/poikienpeli written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/Aaronkala/poikienpeli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.72.0 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] daa7997d886a5a3e98ac157c000d8171049c2d8cbb910c75da27af698c6728d3 [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" "daa7997d886a5a3e98ac157c000d8171049c2d8cbb910c75da27af698c6728d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "daa7997d886a5a3e98ac157c000d8171049c2d8cbb910c75da27af698c6728d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daa7997d886a5a3e98ac157c000d8171049c2d8cbb910c75da27af698c6728d3", kill_on_drop: false }` [INFO] [stdout] daa7997d886a5a3e98ac157c000d8171049c2d8cbb910c75da27af698c6728d3 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd10658deff81132fc5262e3efe75d0518f2213f8e9b778b2a940667b22cbf3e [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" "dd10658deff81132fc5262e3efe75d0518f2213f8e9b778b2a940667b22cbf3e", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.8.3 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling png v0.16.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling image v0.23.1 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling pistoncore-window v0.44.0 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling pistoncore-event_loop v0.49.0 [INFO] [stderr] Compiling piston v0.49.0 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.63.0 [INFO] [stderr] Compiling poikienpeli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RenderArgs`, `UpdateArgs` [INFO] [stdout] --> src/main.rs:13:86 [INFO] [stdout] | [INFO] [stdout] 13 | use piston::input::{Button, Key, PressEvent, ReleaseEvent, RenderEvent, UpdateEvent, RenderArgs, UpdateArgs}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(args) = e.update_args() {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/creature/creature.rs:73:65 [INFO] [stdout] | [INFO] [stdout] 73 | fn collides_square_vertical(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/creature/creature.rs:78:79 [INFO] [stdout] | [INFO] [stdout] 78 | fn collides_square_horizontal(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `collides_with_square` [INFO] [stdout] --> src/creature/creature.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn collides_with_square(&mut self, position: &Point, width: f64, height: f64) -> bool { [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: `collides_square_vertical` [INFO] [stdout] --> src/creature/creature.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | fn collides_square_vertical(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `collides_square_horizontal` [INFO] [stdout] --> src/creature/creature.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | fn collides_square_horizontal(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_type_in` [INFO] [stdout] --> src/map/map.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn block_type_in(&mut self, block: Point) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_from_position` [INFO] [stdout] --> src/map/map.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | fn block_from_position(&mut self, position: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/utils.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | fn x(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/utils.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | fn y(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `usizeFromf64` [INFO] [stdout] --> src/utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn usizeFromf64(float: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `usizeFromf64` should have a snake case name [INFO] [stdout] --> src/utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn usizeFromf64(float: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `usize_fromf64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 09s [INFO] running `Command { std: "docker" "inspect" "dd10658deff81132fc5262e3efe75d0518f2213f8e9b778b2a940667b22cbf3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd10658deff81132fc5262e3efe75d0518f2213f8e9b778b2a940667b22cbf3e", kill_on_drop: false }` [INFO] [stdout] dd10658deff81132fc5262e3efe75d0518f2213f8e9b778b2a940667b22cbf3e [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46165815703fdc43de7e8e655b0438a983c10f29af6cad7410b5d7941863ae24 [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" "46165815703fdc43de7e8e655b0438a983c10f29af6cad7410b5d7941863ae24", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling poikienpeli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RenderArgs`, `UpdateArgs` [INFO] [stdout] --> src/main.rs:13:86 [INFO] [stdout] | [INFO] [stdout] 13 | use piston::input::{Button, Key, PressEvent, ReleaseEvent, RenderEvent, UpdateEvent, RenderArgs, UpdateArgs}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(args) = e.update_args() {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/creature/creature.rs:73:65 [INFO] [stdout] | [INFO] [stdout] 73 | fn collides_square_vertical(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/creature/creature.rs:78:79 [INFO] [stdout] | [INFO] [stdout] 78 | fn collides_square_horizontal(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `collides_with_square` [INFO] [stdout] --> src/creature/creature.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn collides_with_square(&mut self, position: &Point, width: f64, height: f64) -> bool { [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: `collides_square_vertical` [INFO] [stdout] --> src/creature/creature.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | fn collides_square_vertical(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `collides_square_horizontal` [INFO] [stdout] --> src/creature/creature.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | fn collides_square_horizontal(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_type_in` [INFO] [stdout] --> src/map/map.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn block_type_in(&mut self, block: Point) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_from_position` [INFO] [stdout] --> src/map/map.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | fn block_from_position(&mut self, position: Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/utils.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | fn x(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/utils.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | fn y(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `usizeFromf64` [INFO] [stdout] --> src/utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn usizeFromf64(float: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `usizeFromf64` should have a snake case name [INFO] [stdout] --> src/utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn usizeFromf64(float: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `usize_fromf64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "46165815703fdc43de7e8e655b0438a983c10f29af6cad7410b5d7941863ae24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46165815703fdc43de7e8e655b0438a983c10f29af6cad7410b5d7941863ae24", kill_on_drop: false }` [INFO] [stdout] 46165815703fdc43de7e8e655b0438a983c10f29af6cad7410b5d7941863ae24 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4905df59ce0fd901e8c59959c0f582e9b511256a8f14e4bd9d22cd68346e1879 [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" "4905df59ce0fd901e8c59959c0f582e9b511256a8f14e4bd9d22cd68346e1879", kill_on_drop: false }` [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 [INFO] [stdout] [INFO] [stderr] warning: unused imports: `RenderArgs`, `UpdateArgs` [INFO] [stderr] --> src/main.rs:13:86 [INFO] [stderr] | [INFO] [stderr] 13 | use piston::input::{Button, Key, PressEvent, ReleaseEvent, RenderEvent, UpdateEvent, RenderArgs, UpdateArgs}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | if let Some(args) = e.update_args() {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> src/creature/creature.rs:73:65 [INFO] [stderr] | [INFO] [stderr] 73 | fn collides_square_vertical(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/creature/creature.rs:78:79 [INFO] [stderr] | [INFO] [stderr] 78 | fn collides_square_horizontal(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `collides_with_square` [INFO] [stderr] --> src/creature/creature.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn collides_with_square(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `collides_square_vertical` [INFO] [stderr] --> src/creature/creature.rs:73:6 [INFO] [stderr] | [INFO] [stderr] 73 | fn collides_square_vertical(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `collides_square_horizontal` [INFO] [stderr] --> src/creature/creature.rs:78:6 [INFO] [stderr] | [INFO] [stderr] 78 | fn collides_square_horizontal(&mut self, position: &Point, width: f64, height: f64) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `block_type_in` [INFO] [stderr] --> src/map/map.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn block_type_in(&mut self, block: Point) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `block_from_position` [INFO] [stderr] --> src/map/map.rs:55:6 [INFO] [stderr] | [INFO] [stderr] 55 | fn block_from_position(&mut self, position: Point) -> Point { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `x` [INFO] [stderr] --> src/utils.rs:7:6 [INFO] [stderr] | [INFO] [stderr] 7 | fn x(&self) -> &T { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `y` [INFO] [stderr] --> src/utils.rs:11:6 [INFO] [stderr] | [INFO] [stderr] 11 | fn y(&self) -> &T { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `usizeFromf64` [INFO] [stderr] --> src/utils.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn usizeFromf64(float: f64) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `usizeFromf64` should have a snake case name [INFO] [stderr] --> src/utils.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn usizeFromf64(float: f64) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `usize_fromf64` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/poikienpeli-5dafd38ccd6077ee [INFO] running `Command { std: "docker" "inspect" "4905df59ce0fd901e8c59959c0f582e9b511256a8f14e4bd9d22cd68346e1879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4905df59ce0fd901e8c59959c0f582e9b511256a8f14e4bd9d22cd68346e1879", kill_on_drop: false }` [INFO] [stdout] 4905df59ce0fd901e8c59959c0f582e9b511256a8f14e4bd9d22cd68346e1879