[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] 0df0618e722252469ef47953960383df42de4d88 [INFO] testing DazKins/RustGLFW 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%2FDazKins%2FRustGLFW" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DazKins/RustGLFW 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/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-7/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] 11e6ec3329231ad289b6feb38f8a7a8e899608e2ebbf195f4412d4aef7611d09 [INFO] running `Command { std: "docker" "start" "-a" "11e6ec3329231ad289b6feb38f8a7a8e899608e2ebbf195f4412d4aef7611d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11e6ec3329231ad289b6feb38f8a7a8e899608e2ebbf195f4412d4aef7611d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e6ec3329231ad289b6feb38f8a7a8e899608e2ebbf195f4412d4aef7611d09", kill_on_drop: false }` [INFO] [stdout] 11e6ec3329231ad289b6feb38f8a7a8e899608e2ebbf195f4412d4aef7611d09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 90d423d35f21538a9b2174ba4a715c34c59bb95a9b21965cee8bd07b998aaad0 [INFO] running `Command { std: "docker" "start" "-a" "90d423d35f21538a9b2174ba4a715c34c59bb95a9b21965cee8bd07b998aaad0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling xml-rs v0.8.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling png v0.12.0 [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 rand_core v0.6.3 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling glfw v0.37.0 (https://github.com/bjz/glfw-rs.git#c43f9b50) [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [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:104:89 [INFO] [stdout] | [INFO] [stdout] 104 | 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: associated function is never used: `get_block` [INFO] [stdout] --> src/game/world/world.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | 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: `BlockCoordinate` [INFO] [stdout] --> src/game/world/block/block.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | 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:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | 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:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | 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:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn to_chunk_block_coordinate(&self) -> ChunkBlockCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "90d423d35f21538a9b2174ba4a715c34c59bb95a9b21965cee8bd07b998aaad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90d423d35f21538a9b2174ba4a715c34c59bb95a9b21965cee8bd07b998aaad0", kill_on_drop: false }` [INFO] [stdout] 90d423d35f21538a9b2174ba4a715c34c59bb95a9b21965cee8bd07b998aaad0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] f79461ff5e06ea9c847e78f7b8dbf61783ec1c9e193a6c8d19275b117260d3f5 [INFO] running `Command { std: "docker" "start" "-a" "f79461ff5e06ea9c847e78f7b8dbf61783ec1c9e193a6c8d19275b117260d3f5", 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:104:89 [INFO] [stdout] | [INFO] [stdout] 104 | 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: associated function is never used: `get_block` [INFO] [stdout] --> src/game/world/world.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | 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: `BlockCoordinate` [INFO] [stdout] --> src/game/world/block/block.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | 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:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | 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:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | 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:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn to_chunk_block_coordinate(&self) -> ChunkBlockCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.22s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_craft-97f6dff0bd1f40e9) [INFO] running `Command { std: "docker" "inspect" "f79461ff5e06ea9c847e78f7b8dbf61783ec1c9e193a6c8d19275b117260d3f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f79461ff5e06ea9c847e78f7b8dbf61783ec1c9e193a6c8d19275b117260d3f5", kill_on_drop: false }` [INFO] [stdout] f79461ff5e06ea9c847e78f7b8dbf61783ec1c9e193a6c8d19275b117260d3f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", 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] 956d09f5f95eb3ca05b1722830ed5f98bed91ba6a8266cc95ee5c9210236fd93 [INFO] running `Command { std: "docker" "start" "-a" "956d09f5f95eb3ca05b1722830ed5f98bed91ba6a8266cc95ee5c9210236fd93", kill_on_drop: false }` [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> engine/src/shader.rs:104:89 [INFO] [stderr] | [INFO] [stderr] 104 | 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: associated function is never used: `get_block` [INFO] [stderr] --> src/game/world/world.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | 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: `BlockCoordinate` [INFO] [stderr] --> src/game/world/block/block.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct BlockCoordinate { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/game/world/block/block.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | 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:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | 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:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn to_chunk_block_coordinate(&self) -> ChunkBlockCoordinate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_craft` (bin "rust_craft" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/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" "956d09f5f95eb3ca05b1722830ed5f98bed91ba6a8266cc95ee5c9210236fd93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956d09f5f95eb3ca05b1722830ed5f98bed91ba6a8266cc95ee5c9210236fd93", kill_on_drop: false }` [INFO] [stdout] 956d09f5f95eb3ca05b1722830ed5f98bed91ba6a8266cc95ee5c9210236fd93