[INFO] updating cached repository https://github.com/roscale/rust-ecs-opengl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ea0053c6b0cfaded065486e32aee2fcb0984ef1 [INFO] testing roscale/rust-ecs-opengl against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froscale%2Frust-ecs-opengl" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 15% (20/127) Checking out files: 16% (21/127) Checking out files: 17% (22/127) Checking out files: 18% (23/127) Checking out files: 19% (25/127) Checking out files: 20% (26/127) Checking out files: 21% (27/127) Checking out files: 22% (28/127) Checking out files: 23% (30/127) Checking out files: 24% (31/127) Checking out files: 25% (32/127) Checking out files: 26% (34/127) Checking out files: 27% (35/127) Checking out files: 28% (36/127) Checking out files: 29% (37/127) Checking out files: 30% (39/127) Checking out files: 31% (40/127) Checking out files: 32% (41/127) Checking out files: 33% (42/127) Checking out files: 34% (44/127) Checking out files: 35% (45/127) Checking out files: 36% (46/127) Checking out files: 37% (47/127) Checking out files: 38% (49/127) Checking out files: 39% (50/127) Checking out files: 40% (51/127) Checking out files: 41% (53/127) Checking out files: 42% (54/127) Checking out files: 43% (55/127) Checking out files: 44% (56/127) Checking out files: 45% (58/127) Checking out files: 46% (59/127) Checking out files: 47% (60/127) Checking out files: 48% (61/127) Checking out files: 49% (63/127) Checking out files: 50% (64/127) Checking out files: 51% (65/127) Checking out files: 52% (67/127) Checking out files: 53% (68/127) Checking out files: 54% (69/127) Checking out files: 55% (70/127) Checking out files: 56% (72/127) Checking out files: 57% (73/127) Checking out files: 58% (74/127) Checking out files: 59% (75/127) Checking out files: 60% (77/127) Checking out files: 61% (78/127) Checking out files: 62% (79/127) Checking out files: 62% (80/127) Checking out files: 63% (81/127) Checking out files: 64% (82/127) Checking out files: 65% (83/127) Checking out files: 66% (84/127) Checking out files: 67% (86/127) Checking out files: 68% (87/127) Checking out files: 69% (88/127) Checking out files: 70% (89/127) Checking out files: 71% (91/127) Checking out files: 72% (92/127) Checking out files: 73% (93/127) Checking out files: 74% (94/127) Checking out files: 75% (96/127) Checking out files: 76% (97/127) Checking out files: 77% (98/127) Checking out files: 78% (100/127) Checking out files: 79% (101/127) Checking out files: 80% (102/127) Checking out files: 81% (103/127) Checking out files: 82% (105/127) Checking out files: 83% (106/127) Checking out files: 84% (107/127) Checking out files: 85% (108/127) Checking out files: 86% (110/127) Checking out files: 87% (111/127) Checking out files: 88% (112/127) Checking out files: 89% (114/127) Checking out files: 90% (115/127) Checking out files: 91% (116/127) Checking out files: 92% (117/127) Checking out files: 93% (119/127) Checking out files: 94% (120/127) Checking out files: 95% (121/127) Checking out files: 96% (122/127) Checking out files: 97% (124/127) Checking out files: 98% (125/127) Checking out files: 99% (126/127) Checking out files: 100% (127/127) Checking out files: 100% (127/127), done. [INFO] validating manifest of git repo https://github.com/roscale/rust-ecs-opengl on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/roscale/rust-ecs-opengl [INFO] finished tweaking git repo https://github.com/roscale/rust-ecs-opengl [INFO] tweaked toml for git repo https://github.com/roscale/rust-ecs-opengl written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/roscale/rust-ecs-opengl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33aaec3650eeb2e8c55cf41a397d9058929d8b963553f3d0a57829a2cee04b11 [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" "33aaec3650eeb2e8c55cf41a397d9058929d8b963553f3d0a57829a2cee04b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33aaec3650eeb2e8c55cf41a397d9058929d8b963553f3d0a57829a2cee04b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33aaec3650eeb2e8c55cf41a397d9058929d8b963553f3d0a57829a2cee04b11", kill_on_drop: false }` [INFO] [stdout] 33aaec3650eeb2e8c55cf41a397d9058929d8b963553f3d0a57829a2cee04b11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de1cf5e41b66b402add8bab90a6dd2b527698dc1298d108a9381a734aec63ab5 [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" "de1cf5e41b66b402add8bab90a6dd2b527698dc1298d108a9381a734aec63ab5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling nonzero_signed v1.0.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling mint v0.5.1 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling tobj v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling matrixmultiply v0.2.2 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling cmake v0.1.40 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling gif v0.10.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling semver v0.2.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling alga v0.9.1 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling rand v0.7.1 [INFO] [stderr] Compiling glfw-sys v3.3.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling nalgebra v0.18.0 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling shred v0.9.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling hibitset v0.6.1 [INFO] [stderr] Compiling genmesh v0.6.2 [INFO] [stderr] Compiling glfw v0.29.0 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling specs-derive v0.4.0 [INFO] [stderr] Compiling ncollide3d v0.19.2 [INFO] [stderr] Compiling nalgebra-glm v0.4.0 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling specs v0.15.0 [INFO] [stderr] Compiling image v0.21.2 [INFO] [stderr] Compiling nphysics3d v0.11.1 [INFO] [stderr] Compiling rust-learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/engine/gl_wrapper/texture_2d.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine/ecs/systems/physics.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | type SystemData = (Write<'a, PhysicsWorld>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/engine/shaders/mod.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra_glm::{Mat4, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EBO` [INFO] [stdout] --> src/engine/shapes.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::gl_wrapper::{EBO, BufferUpdateFrequency}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::c_void` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/engine/containers/global_instances.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transform` [INFO] [stdout] --> src/engine/ecs/systems/mod.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let transform = transforms.get_mut(active_camera).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/engine/ecs/systems/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | let (x, y) = (input_cache.cursor_rel_pos.x, input_cache.cursor_rel_pos.y); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/engine/ecs/systems/mod.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | let (x, y) = (input_cache.cursor_rel_pos.x, input_cache.cursor_rel_pos.y); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | Err(err) => panic!("Could not open block texture image"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { $fn_call } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { $fn_call } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let ret = unsafe { $fn_call }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let ret = unsafe { $fn_call }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let err = unsafe { gl::GetError() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let err = unsafe { gl::GetError() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tickrate` [INFO] [stdout] --> src/engine/ecs/systems/physics.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | tickrate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lightmap` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | lightmap: Texture2D [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_light_source` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn add_light_source(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_light_source` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn remove_light_source(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/main.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | use nalgebra_glm::{vec3, Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cuboid`, `ShapeHandle` [INFO] [stdout] --> src/main.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | use ncollide3d::shape::{ShapeHandle, Cuboid}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BodyStatus` [INFO] [stdout] --> src/main.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use nphysics3d::object::{BodyStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nphysics3d::material::BasicMaterial` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use nphysics3d::material::BasicMaterial; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nphysics3d::algebra::Velocity3` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use nphysics3d::algebra::Velocity3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::gl_wrapper::texture_cube_map::TextureCubeMap` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use engine::gl_wrapper::texture_cube_map::TextureCubeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockCatalog` [INFO] [stdout] --> src/main.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | use engine::voxel_2d::{ResourceManager, BlockCatalog, VoxelWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 8m 21s [INFO] running `Command { std: "docker" "inspect" "de1cf5e41b66b402add8bab90a6dd2b527698dc1298d108a9381a734aec63ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1cf5e41b66b402add8bab90a6dd2b527698dc1298d108a9381a734aec63ab5", kill_on_drop: false }` [INFO] [stdout] de1cf5e41b66b402add8bab90a6dd2b527698dc1298d108a9381a734aec63ab5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 628ad2d50ca7f390af3de1b97447e792e58a24fe4b1809a38dd773955f1b6a32 [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" "628ad2d50ca7f390af3de1b97447e792e58a24fe4b1809a38dd773955f1b6a32", kill_on_drop: false }` [INFO] [stderr] Compiling rust-learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/engine/gl_wrapper/texture_2d.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine/ecs/systems/physics.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | type SystemData = (Write<'a, PhysicsWorld>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/engine/shaders/mod.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra_glm::{Mat4, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EBO` [INFO] [stdout] --> src/engine/shapes.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::gl_wrapper::{EBO, BufferUpdateFrequency}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::c_void` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/engine/containers/global_instances.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transform` [INFO] [stdout] --> src/engine/ecs/systems/mod.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let transform = transforms.get_mut(active_camera).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/engine/ecs/systems/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | let (x, y) = (input_cache.cursor_rel_pos.x, input_cache.cursor_rel_pos.y); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/engine/ecs/systems/mod.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | let (x, y) = (input_cache.cursor_rel_pos.x, input_cache.cursor_rel_pos.y); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | Err(err) => panic!("Could not open block texture image"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { $fn_call } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { $fn_call } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let ret = unsafe { $fn_call }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let ret = unsafe { $fn_call }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let err = unsafe { gl::GetError() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let err = unsafe { gl::GetError() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tickrate` [INFO] [stdout] --> src/engine/ecs/systems/physics.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | tickrate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lightmap` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | lightmap: Texture2D [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_light_source` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn add_light_source(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_light_source` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn remove_light_source(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/main.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | use nalgebra_glm::{vec3, Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cuboid`, `ShapeHandle` [INFO] [stdout] --> src/main.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | use ncollide3d::shape::{ShapeHandle, Cuboid}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BodyStatus` [INFO] [stdout] --> src/main.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use nphysics3d::object::{BodyStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nphysics3d::material::BasicMaterial` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use nphysics3d::material::BasicMaterial; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nphysics3d::algebra::Velocity3` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use nphysics3d::algebra::Velocity3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::gl_wrapper::texture_cube_map::TextureCubeMap` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use engine::gl_wrapper::texture_cube_map::TextureCubeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockCatalog` [INFO] [stdout] --> src/main.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | use engine::voxel_2d::{ResourceManager, BlockCatalog, VoxelWorld}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/engine/gl_wrapper/texture_2d.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine/ecs/systems/physics.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | type SystemData = (Write<'a, PhysicsWorld>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/engine/shaders/mod.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra_glm::{Mat4, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EBO` [INFO] [stdout] --> src/engine/shapes.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::gl_wrapper::{EBO, BufferUpdateFrequency}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::c_void` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/engine/containers/global_instances.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transform` [INFO] [stdout] --> src/engine/ecs/systems/mod.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let transform = transforms.get_mut(active_camera).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/engine/ecs/systems/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | let (x, y) = (input_cache.cursor_rel_pos.x, input_cache.cursor_rel_pos.y); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/engine/ecs/systems/mod.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | let (x, y) = (input_cache.cursor_rel_pos.x, input_cache.cursor_rel_pos.y); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | Err(err) => panic!("Could not open block texture image"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { $fn_call } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { $fn_call } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let ret = unsafe { $fn_call }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let ret = unsafe { $fn_call }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let err = unsafe { gl::GetError() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ... unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/engine/debugging.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let err = unsafe { gl::GetError() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tickrate` [INFO] [stdout] --> src/engine/ecs/systems/physics.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | tickrate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lightmap` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | lightmap: Texture2D [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_light_source` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn add_light_source(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_light_source` [INFO] [stdout] --> src/engine/voxel_2d/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn remove_light_source(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 4.98s [INFO] running `Command { std: "docker" "inspect" "628ad2d50ca7f390af3de1b97447e792e58a24fe4b1809a38dd773955f1b6a32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "628ad2d50ca7f390af3de1b97447e792e58a24fe4b1809a38dd773955f1b6a32", kill_on_drop: false }` [INFO] [stdout] 628ad2d50ca7f390af3de1b97447e792e58a24fe4b1809a38dd773955f1b6a32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff36d90107ab22faa9adfbeea8c89609f418190e388d51665904d037a054c324 [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" "ff36d90107ab22faa9adfbeea8c89609f418190e388d51665904d037a054c324", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/engine/gl_wrapper/texture_2d.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/engine/ecs/systems/physics.rs:50:23 [INFO] [stderr] | [INFO] [stderr] 50 | type SystemData = (Write<'a, PhysicsWorld>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Vec3` [INFO] [stderr] --> src/engine/shaders/mod.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use nalgebra_glm::{Mat4, Vec3}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EBO` [INFO] [stderr] --> src/engine/shapes.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::gl_wrapper::{EBO, BufferUpdateFrequency}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::c_void` [INFO] [stderr] --> src/engine/voxel_2d/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ffi::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::BorrowMut` [INFO] [stderr] --> src/engine/containers/global_instances.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::borrow::BorrowMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `transform` [INFO] [stderr] --> src/engine/ecs/systems/mod.rs:111:17 [INFO] [stderr] | [INFO] [stderr] 111 | let transform = transforms.get_mut(active_camera).unwrap(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/engine/ecs/systems/mod.rs:120:26 [INFO] [stderr] | [INFO] [stderr] 120 | let (x, y) = (input_cache.cursor_rel_pos.x, input_cache.cursor_rel_pos.y); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/engine/ecs/systems/mod.rs:120:29 [INFO] [stderr] | [INFO] [stderr] 120 | let (x, y) = (input_cache.cursor_rel_pos.x, input_cache.cursor_rel_pos.y); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/engine/voxel_2d/mod.rs:156:25 [INFO] [stderr] | [INFO] [stderr] 156 | Err(err) => panic!("Could not open block texture image"), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | unsafe { $fn_call } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | ... unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | unsafe { $fn_call } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | let ret = unsafe { $fn_call }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | ... unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | let ret = unsafe { $fn_call }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | let err = unsafe { gl::GetError() }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | ... unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | let err = unsafe { gl::GetError() }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tickrate` [INFO] [stderr] --> src/engine/ecs/systems/physics.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | tickrate: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lightmap` [INFO] [stderr] --> src/engine/voxel_2d/mod.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | lightmap: Texture2D [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_light_source` [INFO] [stderr] --> src/engine/voxel_2d/mod.rs:122:8 [INFO] [stderr] | [INFO] [stderr] 122 | fn add_light_source(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_light_source` [INFO] [stderr] --> src/engine/voxel_2d/mod.rs:126:8 [INFO] [stderr] | [INFO] [stderr] 126 | fn remove_light_source(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 20 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/engine/gl_wrapper/texture_2d.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/engine/ecs/systems/physics.rs:50:23 [INFO] [stderr] | [INFO] [stderr] 50 | type SystemData = (Write<'a, PhysicsWorld>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Vec3` [INFO] [stderr] --> src/engine/shaders/mod.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use nalgebra_glm::{Mat4, Vec3}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EBO` [INFO] [stderr] --> src/engine/shapes.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::gl_wrapper::{EBO, BufferUpdateFrequency}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::c_void` [INFO] [stderr] --> src/engine/voxel_2d/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ffi::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::BorrowMut` [INFO] [stderr] --> src/engine/containers/global_instances.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::borrow::BorrowMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `transform` [INFO] [stderr] --> src/engine/ecs/systems/mod.rs:111:17 [INFO] [stderr] | [INFO] [stderr] 111 | let transform = transforms.get_mut(active_camera).unwrap(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/engine/ecs/systems/mod.rs:120:26 [INFO] [stderr] | [INFO] [stderr] 120 | let (x, y) = (input_cache.cursor_rel_pos.x, input_cache.cursor_rel_pos.y); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/engine/ecs/systems/mod.rs:120:29 [INFO] [stderr] | [INFO] [stderr] 120 | let (x, y) = (input_cache.cursor_rel_pos.x, input_cache.cursor_rel_pos.y); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/engine/voxel_2d/mod.rs:156:25 [INFO] [stderr] | [INFO] [stderr] 156 | Err(err) => panic!("Could not open block texture image"), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | unsafe { $fn_call } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | ... unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | unsafe { $fn_call } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | let ret = unsafe { $fn_call }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | ... unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | let ret = unsafe { $fn_call }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | let err = unsafe { gl::GetError() }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | ... unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 44 | ... let buf: *mut c_void = gl_call!(gl::MapNamedBufferRange(ubo.id, 0, ubo.layout.compute_std140_layout_size() as isize, gl::MAP_WRITE_BIT | gl::MAP_UNSYNCHRONIZED_BIT... [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/engine/debugging.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | let err = unsafe { gl::GetError() }; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/engine/ecs/systems/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | unsafe { [INFO] [stderr] | ------ because it's nested under this `unsafe` block [INFO] [stderr] ... [INFO] [stderr] 48 | gl_call!(gl::UnmapNamedBuffer(ubo.id)); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tickrate` [INFO] [stderr] --> src/engine/ecs/systems/physics.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | tickrate: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lightmap` [INFO] [stderr] --> src/engine/voxel_2d/mod.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | lightmap: Texture2D [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_light_source` [INFO] [stderr] --> src/engine/voxel_2d/mod.rs:122:8 [INFO] [stderr] | [INFO] [stderr] 122 | fn add_light_source(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_light_source` [INFO] [stderr] --> src/engine/voxel_2d/mod.rs:126:8 [INFO] [stderr] | [INFO] [stderr] 126 | fn remove_light_source(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 20 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mat3` [INFO] [stderr] --> src/main.rs:17:26 [INFO] [stderr] | [INFO] [stderr] 17 | use nalgebra_glm::{vec3, Mat3}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cuboid`, `ShapeHandle` [INFO] [stderr] --> src/main.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | use ncollide3d::shape::{ShapeHandle, Cuboid}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BodyStatus` [INFO] [stderr] --> src/main.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | use nphysics3d::object::{BodyStatus}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `nphysics3d::material::BasicMaterial` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use nphysics3d::material::BasicMaterial; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `nphysics3d::algebra::Velocity3` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use nphysics3d::algebra::Velocity3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `engine::gl_wrapper::texture_cube_map::TextureCubeMap` [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use engine::gl_wrapper::texture_cube_map::TextureCubeMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/main.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BlockCatalog` [INFO] [stderr] --> src/main.rs:32:41 [INFO] [stderr] | [INFO] [stderr] 32 | use engine::voxel_2d::{ResourceManager, BlockCatalog, VoxelWorld}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/engine-d24ae0e8f4577e45 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_learn-a69b6e34e8d169a8 [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] Doc-tests engine [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: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/engine/ecs/systems/physics.rs:50:23 [INFO] [stderr] | [INFO] [stderr] 50 | type SystemData = (Write<'a, PhysicsWorld>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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] running `Command { std: "docker" "inspect" "ff36d90107ab22faa9adfbeea8c89609f418190e388d51665904d037a054c324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff36d90107ab22faa9adfbeea8c89609f418190e388d51665904d037a054c324", kill_on_drop: false }` [INFO] [stdout] ff36d90107ab22faa9adfbeea8c89609f418190e388d51665904d037a054c324