[INFO] cloning repository https://github.com/DazKins/RustGLFW [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DazKins/RustGLFW" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDazKins%2FRustGLFW", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDazKins%2FRustGLFW'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b010068beae86d03056b302ef47092bb8cbf8b4 [INFO] testing DazKins/RustGLFW against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDazKins%2FRustGLFW" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DazKins/RustGLFW on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DazKins/RustGLFW [INFO] finished tweaking git repo https://github.com/DazKins/RustGLFW [INFO] tweaked toml for git repo https://github.com/DazKins/RustGLFW written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/DazKins/RustGLFW already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/bjz/glfw-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded xml-rs v0.8.1 [INFO] [stderr] Downloaded glfw-sys v3.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5183b2c2ffba15617d20088cfbefca55b5da7ef055f9898982a7a97174ad056b [INFO] running `Command { std: "docker" "start" "-a" "5183b2c2ffba15617d20088cfbefca55b5da7ef055f9898982a7a97174ad056b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5183b2c2ffba15617d20088cfbefca55b5da7ef055f9898982a7a97174ad056b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5183b2c2ffba15617d20088cfbefca55b5da7ef055f9898982a7a97174ad056b", kill_on_drop: false }` [INFO] [stdout] 5183b2c2ffba15617d20088cfbefca55b5da7ef055f9898982a7a97174ad056b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6973899087bcba59c70aaddbc83ebb7130eb4daae7642c99134a0c96f812e09a [INFO] running `Command { std: "docker" "start" "-a" "6973899087bcba59c70aaddbc83ebb7130eb4daae7642c99134a0c96f812e09a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling xml-rs v0.8.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling glfw v0.37.0 (https://github.com/bjz/glfw-rs.git#c43f9b50) [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> engine/src/shader.rs:79:100 [INFO] [stdout] | [INFO] [stdout] 79 | let location = gl::GetUniformLocation(self.program_id, CString::new(location).unwrap().as_ptr()); [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_craft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `World` [INFO] [stdout] --> src/game/world/chunk/chunk.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::world::{Block, block::{BLOCK_GRASS, BLOCK_AIR}, World}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_state` [INFO] [stdout] --> src/game/world/chunk/chunk.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn tick(&mut self, input_state: &InputState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_block` [INFO] [stdout] --> src/game/world/world.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_block(&self, block_coordinate: BlockCoordinate) -> Block { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ChunkBlockCoordinate` [INFO] [stdout] --> src/game/world/chunk/chunk.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ChunkBlockCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/world/chunk/chunk.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(x: u32, y: u32, z: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_block` [INFO] [stdout] --> src/game/world/chunk/chunk.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_block(&self, chunk_block_coordinate: ChunkBlockCoordinate) -> Block { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BlockCoordinate` [INFO] [stdout] --> src/game/world/block/block.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct BlockCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/world/block/block.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn new(x: i32, y: i32, z: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_chunk_coordinate` [INFO] [stdout] --> src/game/world/block/block.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn to_chunk_coordinate(&self) -> ChunkCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_chunk_block_coordinate` [INFO] [stdout] --> src/game/world/block/block.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn to_chunk_block_coordinate(&self) -> ChunkBlockCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.95s [INFO] running `Command { std: "docker" "inspect" "6973899087bcba59c70aaddbc83ebb7130eb4daae7642c99134a0c96f812e09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6973899087bcba59c70aaddbc83ebb7130eb4daae7642c99134a0c96f812e09a", kill_on_drop: false }` [INFO] [stdout] 6973899087bcba59c70aaddbc83ebb7130eb4daae7642c99134a0c96f812e09a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5536fa290a72bcb82eba7572d2ba3ecea2e12eaa68b6a2eea04d3f98b4fb7793 [INFO] running `Command { std: "docker" "start" "-a" "5536fa290a72bcb82eba7572d2ba3ecea2e12eaa68b6a2eea04d3f98b4fb7793", kill_on_drop: false }` [INFO] [stderr] Compiling rust_craft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> engine/src/shader.rs:79:100 [INFO] [stdout] | [INFO] [stdout] 79 | let location = gl::GetUniformLocation(self.program_id, CString::new(location).unwrap().as_ptr()); [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `World` [INFO] [stdout] --> src/game/world/chunk/chunk.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::world::{Block, block::{BLOCK_GRASS, BLOCK_AIR}, World}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_state` [INFO] [stdout] --> src/game/world/chunk/chunk.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn tick(&mut self, input_state: &InputState) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_block` [INFO] [stdout] --> src/game/world/world.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_block(&self, block_coordinate: BlockCoordinate) -> Block { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ChunkBlockCoordinate` [INFO] [stdout] --> src/game/world/chunk/chunk.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ChunkBlockCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/world/chunk/chunk.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(x: u32, y: u32, z: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_block` [INFO] [stdout] --> src/game/world/chunk/chunk.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_block(&self, chunk_block_coordinate: ChunkBlockCoordinate) -> Block { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BlockCoordinate` [INFO] [stdout] --> src/game/world/block/block.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct BlockCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/world/block/block.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn new(x: i32, y: i32, z: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_chunk_coordinate` [INFO] [stdout] --> src/game/world/block/block.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn to_chunk_coordinate(&self) -> ChunkCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_chunk_block_coordinate` [INFO] [stdout] --> src/game/world/block/block.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn to_chunk_block_coordinate(&self) -> ChunkBlockCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "5536fa290a72bcb82eba7572d2ba3ecea2e12eaa68b6a2eea04d3f98b4fb7793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5536fa290a72bcb82eba7572d2ba3ecea2e12eaa68b6a2eea04d3f98b4fb7793", kill_on_drop: false }` [INFO] [stdout] 5536fa290a72bcb82eba7572d2ba3ecea2e12eaa68b6a2eea04d3f98b4fb7793 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fa48bc59e583564b3509efee374d1bdb0edbebb02176d5edef0b2cc0336e5437 [INFO] running `Command { std: "docker" "start" "-a" "fa48bc59e583564b3509efee374d1bdb0edbebb02176d5edef0b2cc0336e5437", kill_on_drop: false }` [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> engine/src/shader.rs:79:100 [INFO] [stderr] | [INFO] [stderr] 79 | let location = gl::GetUniformLocation(self.program_id, CString::new(location).unwrap().as_ptr()); [INFO] [stderr] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: `engine` (lib) generated 1 warning [INFO] [stderr] warning: unused import: `World` [INFO] [stderr] --> src/game/world/chunk/chunk.rs:4:66 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::game::world::{Block, block::{BLOCK_GRASS, BLOCK_AIR}, World}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input_state` [INFO] [stderr] --> src/game/world/chunk/chunk.rs:73:28 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn tick(&mut self, input_state: &InputState) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_block` [INFO] [stderr] --> src/game/world/world.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn get_block(&self, block_coordinate: BlockCoordinate) -> Block { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ChunkBlockCoordinate` [INFO] [stderr] --> src/game/world/chunk/chunk.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct ChunkBlockCoordinate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/game/world/chunk/chunk.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn new(x: u32, y: u32, z: u32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_block` [INFO] [stderr] --> src/game/world/chunk/chunk.rs:144:12 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn get_block(&self, chunk_block_coordinate: ChunkBlockCoordinate) -> Block { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `BlockCoordinate` [INFO] [stderr] --> src/game/world/block/block.rs:265:12 [INFO] [stderr] | [INFO] [stderr] 265 | pub struct BlockCoordinate { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/game/world/block/block.rs:272:12 [INFO] [stderr] | [INFO] [stderr] 272 | pub fn new(x: i32, y: i32, z: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_chunk_coordinate` [INFO] [stderr] --> src/game/world/block/block.rs:278:12 [INFO] [stderr] | [INFO] [stderr] 278 | pub fn to_chunk_coordinate(&self) -> ChunkCoordinate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_chunk_block_coordinate` [INFO] [stderr] --> src/game/world/block/block.rs:285:12 [INFO] [stderr] | [INFO] [stderr] 285 | pub fn to_chunk_block_coordinate(&self) -> ChunkBlockCoordinate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_craft` (bin "rust_craft" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_craft-97f6dff0bd1f40e9) [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" "fa48bc59e583564b3509efee374d1bdb0edbebb02176d5edef0b2cc0336e5437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa48bc59e583564b3509efee374d1bdb0edbebb02176d5edef0b2cc0336e5437", kill_on_drop: false }` [INFO] [stdout] fa48bc59e583564b3509efee374d1bdb0edbebb02176d5edef0b2cc0336e5437