[INFO] cloning repository https://github.com/suluke/hexagon-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suluke/hexagon-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuluke%2Fhexagon-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuluke%2Fhexagon-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f6cd3bc2df67ba28a545c028597b9d08428c5b4 [INFO] testing suluke/hexagon-rust 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%2Fsuluke%2Fhexagon-rust" "/workspace/builds/worker-68/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-68/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suluke/hexagon-rust 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/suluke/hexagon-rust [INFO] finished tweaking git repo https://github.com/suluke/hexagon-rust [INFO] tweaked toml for git repo https://github.com/suluke/hexagon-rust written to /workspace/builds/worker-68/source/Cargo.toml [INFO] crate git repo https://github.com/suluke/hexagon-rust 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-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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] 8e9e0cb5e02825d31e8d67e15959b840bf0a4f659018631031129be5196acd1e [INFO] running `Command { std: "docker" "start" "-a" "8e9e0cb5e02825d31e8d67e15959b840bf0a4f659018631031129be5196acd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e9e0cb5e02825d31e8d67e15959b840bf0a4f659018631031129be5196acd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9e0cb5e02825d31e8d67e15959b840bf0a4f659018631031129be5196acd1e", kill_on_drop: false }` [INFO] [stdout] 8e9e0cb5e02825d31e8d67e15959b840bf0a4f659018631031129be5196acd1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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] ee99059e76072cee4f2049bbef3ff17ff509a11066c84578f7063535d6b1e96a [INFO] running `Command { std: "docker" "start" "-a" "ee99059e76072cee4f2049bbef3ff17ff509a11066c84578f7063535d6b1e96a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libm v0.2.1 [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 cc v1.0.50 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling instant v0.1.2 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [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 rusttype v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling paste-impl v0.1.10 [INFO] [stderr] Compiling paste v0.1.10 [INFO] [stderr] Compiling simba v0.1.2 [INFO] [stderr] Compiling nalgebra v0.21.0 [INFO] [stderr] Compiling nalgebra-glm v0.7.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.0 [INFO] [stderr] Compiling glutin v0.24.0 [INFO] [stderr] Compiling hexagon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `get_renderer` [INFO] [stdout] --> src/app.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_renderer(&self) -> &Renderer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLASH_DURATION` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const FLASH_DURATION: std::time::Duration = std::time::Duration::from_millis(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GOD_MODE` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const GOD_MODE: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(the_height: f32) -> Obstacle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_obstacle` [INFO] [stdout] --> src/model.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn add_obstacle(&mut self, the_obstacle: Obstacle) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `its_obstacle_speed` [INFO] [stdout] --> src/model.rs:139:3 [INFO] [stdout] | [INFO] [stdout] 139 | its_obstacle_speed: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/model.rs:195:36 [INFO] [stdout] | [INFO] [stdout] 195 | "Target slot out of bounds (${s}/${this.slots.length})", [INFO] [stdout] | ^ ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 195 | "{}", "Target slot out of bounds (${s}/${this.slots.length})", [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/renderer.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | assert!(a_error == gl::NO_ERROR, a_error_msg); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 80 | assert!(a_error == gl::NO_ERROR, "{}", a_error_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee99059e76072cee4f2049bbef3ff17ff509a11066c84578f7063535d6b1e96a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee99059e76072cee4f2049bbef3ff17ff509a11066c84578f7063535d6b1e96a", kill_on_drop: false }` [INFO] [stdout] ee99059e76072cee4f2049bbef3ff17ff509a11066c84578f7063535d6b1e96a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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] 9c7ef6056739b74e74e72e8659a81b88d6c4cc420c76d92183c51d1e4d90d832 [INFO] running `Command { std: "docker" "start" "-a" "9c7ef6056739b74e74e72e8659a81b88d6c4cc420c76d92183c51d1e4d90d832", 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] [stderr] Compiling hexagon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `get_renderer` [INFO] [stdout] --> src/app.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_renderer(&self) -> &Renderer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLASH_DURATION` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const FLASH_DURATION: std::time::Duration = std::time::Duration::from_millis(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GOD_MODE` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const GOD_MODE: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(the_height: f32) -> Obstacle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_obstacle` [INFO] [stdout] --> src/model.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn add_obstacle(&mut self, the_obstacle: Obstacle) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `its_obstacle_speed` [INFO] [stdout] --> src/model.rs:139:3 [INFO] [stdout] | [INFO] [stdout] 139 | its_obstacle_speed: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/model.rs:195:36 [INFO] [stdout] | [INFO] [stdout] 195 | "Target slot out of bounds (${s}/${this.slots.length})", [INFO] [stdout] | ^ ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 195 | "{}", "Target slot out of bounds (${s}/${this.slots.length})", [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/renderer.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | assert!(a_error == gl::NO_ERROR, a_error_msg); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 80 | assert!(a_error == gl::NO_ERROR, "{}", a_error_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.10s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/hexagon-7d2b9aa1a17928fd) [INFO] running `Command { std: "docker" "inspect" "9c7ef6056739b74e74e72e8659a81b88d6c4cc420c76d92183c51d1e4d90d832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c7ef6056739b74e74e72e8659a81b88d6c4cc420c76d92183c51d1e4d90d832", kill_on_drop: false }` [INFO] [stdout] 9c7ef6056739b74e74e72e8659a81b88d6c4cc420c76d92183c51d1e4d90d832 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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] 523846d191f19e93d18bf8a7954537de7fbd26ebc18d7707f09302fd5ad1baec [INFO] running `Command { std: "docker" "start" "-a" "523846d191f19e93d18bf8a7954537de7fbd26ebc18d7707f09302fd5ad1baec", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `get_renderer` [INFO] [stdout] [INFO] [stderr] --> src/app.rs:180:10 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 180 | pub fn get_renderer(&self) -> &Renderer { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FLASH_DURATION` [INFO] [stderr] --> src/constants.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub const FLASH_DURATION: std::time::Duration = std::time::Duration::from_millis(100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `GOD_MODE` [INFO] [stderr] --> src/constants.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub const GOD_MODE: bool = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/model.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(the_height: f32) -> Obstacle { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_obstacle` [INFO] [stderr] --> src/model.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn add_obstacle(&mut self, the_obstacle: Obstacle) -> () { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `its_obstacle_speed` [INFO] [stderr] --> src/model.rs:139:3 [INFO] [stderr] | [INFO] [stderr] 139 | its_obstacle_speed: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/model.rs:195:36 [INFO] [stderr] | [INFO] [stderr] 195 | "Target slot out of bounds (${s}/${this.slots.length})", [INFO] [stderr] | ^ ^ ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 195 | "{}", "Target slot out of bounds (${s}/${this.slots.length})", [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/renderer.rs:80:42 [INFO] [stderr] | [INFO] [stderr] 80 | assert!(a_error == gl::NO_ERROR, a_error_msg); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 80 | assert!(a_error == gl::NO_ERROR, "{}", a_error_msg); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `hexagon` (bin "hexagon" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 28.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hexagon-7d2b9aa1a17928fd) [INFO] running `Command { std: "docker" "inspect" "523846d191f19e93d18bf8a7954537de7fbd26ebc18d7707f09302fd5ad1baec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "523846d191f19e93d18bf8a7954537de7fbd26ebc18d7707f09302fd5ad1baec", kill_on_drop: false }` [INFO] [stdout] 523846d191f19e93d18bf8a7954537de7fbd26ebc18d7707f09302fd5ad1baec