[INFO] cloning repository https://github.com/archambaultkm/RustWorld [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/archambaultkm/RustWorld" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farchambaultkm%2FRustWorld", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farchambaultkm%2FRustWorld'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f982fcf7c4320ca4c4ac3ce84e8f7277b8e771c8 [INFO] checking archambaultkm/RustWorld against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farchambaultkm%2FRustWorld" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/archambaultkm/RustWorld on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/archambaultkm/RustWorld [INFO] finished tweaking git repo https://github.com/archambaultkm/RustWorld [INFO] tweaked toml for git repo https://github.com/archambaultkm/RustWorld written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/archambaultkm/RustWorld already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a87a8dba84092fd9c5380b96013c736d10483f8a885f0043f027b5829d12bff [INFO] running `Command { std: "docker" "start" "-a" "9a87a8dba84092fd9c5380b96013c736d10483f8a885f0043f027b5829d12bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a87a8dba84092fd9c5380b96013c736d10483f8a885f0043f027b5829d12bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a87a8dba84092fd9c5380b96013c736d10483f8a885f0043f027b5829d12bff", kill_on_drop: false }` [INFO] [stdout] 9a87a8dba84092fd9c5380b96013c736d10483f8a885f0043f027b5829d12bff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b440f53fb6ebe387314b1ea6be5ca9dd33109118a3446418c7446281dbcb0f6 [INFO] running `Command { std: "docker" "start" "-a" "3b440f53fb6ebe387314b1ea6be5ca9dd33109118a3446418c7446281dbcb0f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking num-traits v0.2.17 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking RustWorld v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Camera_Movement` should have an upper camel case name [INFO] [stdout] --> src/core/camera.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Camera_Movement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CameraMovement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CHUNK_SIZE` and `MAX_CHUNK_HEIGHT` [INFO] [stdout] --> src/core/game.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::game_specs::{CHUNK_SIZE, MAX_CHUNK_HEIGHT}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::dpi::LogicalSize` [INFO] [stdout] --> src/core/game_window.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use glutin::dpi::LogicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NoiseFn` and `OpenSimplex` [INFO] [stdout] --> src/creation/chunk.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use noise::{NoiseFn, OpenSimplex}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MIN_CHUNK_HEIGHT` [INFO] [stdout] --> src/creation/chunk.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::game_specs::{CHUNK_SIZE, MAX_CHUNK_HEIGHT, MIN_CHUNK_HEIGHT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Camera_Movement` should have an upper camel case name [INFO] [stdout] --> src/core/camera.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Camera_Movement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CameraMovement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3` [INFO] [stdout] --> src/creation/cube.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{vec3, Vector3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/rendering/shader.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use cgmath::{Array, Matrix, Matrix4, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CHUNK_SIZE` and `MAX_CHUNK_HEIGHT` [INFO] [stdout] --> src/core/game.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::game_specs::{CHUNK_SIZE, MAX_CHUNK_HEIGHT}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/rendering/mesh.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{mem, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::creation::world::World` [INFO] [stdout] --> src/rendering/mesh.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::creation::world::World; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::dpi::LogicalSize` [INFO] [stdout] --> src/core/game_window.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use glutin::dpi::LogicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NoiseFn` and `OpenSimplex` [INFO] [stdout] --> src/creation/chunk.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use noise::{NoiseFn, OpenSimplex}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MIN_CHUNK_HEIGHT` [INFO] [stdout] --> src/creation/chunk.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::game_specs::{CHUNK_SIZE, MAX_CHUNK_HEIGHT, MIN_CHUNK_HEIGHT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3` [INFO] [stdout] --> src/creation/cube.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{vec3, Vector3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/rendering/shader.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use cgmath::{Array, Matrix, Matrix4, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/rendering/mesh.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{mem, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::creation::world::World` [INFO] [stdout] --> src/rendering/mesh.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::creation::world::World; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at`: Use Matrix4::look_at_rh [INFO] [stdout] --> src/core/camera.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | Matrix4::look_at(self.position, self.position + self.front, self.up) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at`: Use Matrix4::look_at_rh [INFO] [stdout] --> src/core/camera.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | Matrix4::look_at(self.position, self.position + self.front, self.up) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/rendering/shader.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use cgmath::{Array, Matrix, Matrix4, Vector4}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/rendering/shader.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use cgmath::{Array, Matrix, Matrix4, Vector4}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `delta_time` is never read [INFO] [stdout] --> src/core/game.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | delta_time = current_frame_time.duration_since(last_frame_time); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `delta_time` is never read [INFO] [stdout] --> src/core/game.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | delta_time = current_frame_time.duration_since(last_frame_time); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/game.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut world = World::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/game.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut model: Matrix4 = Matrix4::from_translation(*position); //TODO [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/game.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut world = World::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/game.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut model: Matrix4 = Matrix4::from_translation(*position); //TODO [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/game_window.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut first_mouse = true; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/game_window.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut last_x: f32 = WINDOW_WIDTH as f32 / 2.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/game_window.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut last_y: f32 = WINDOW_HEIGHT as f32 / 2.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/game_window.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut first_mouse = true; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/game_window.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut last_x: f32 = WINDOW_WIDTH as f32 / 2.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/game_window.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut last_y: f32 = WINDOW_HEIGHT as f32 / 2.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/creation/chunk.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut cube = self.cubes.iter().find(|cube| position == cube.position); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/creation/chunk.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut cube = self.cubes.iter().find(|cube| position == cube.position); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/creation/cube.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut cube = Cube { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/creation/chunk.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut cube = self.cubes.iter().find(|cube| position == cube.position); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/creation/chunk.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut cube = self.cubes.iter().find(|cube| position == cube.position); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/creation/cube.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut cube = Cube { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `neighbor_chunk_z` [INFO] [stdout] --> src/creation/world.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let neighbor_chunk_z = self.get_chunk_at(position + Vector3::new(0.0, 0.0, CHUNK_SIZE as f32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_neighbor_chunk_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vbo` [INFO] [stdout] --> src/rendering/renderer.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let vbo = define_buffer(gl::ARRAY_BUFFER, &Cube::VERTICES, gl::STATIC_DRAW); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vbo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/rendering/renderer.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn init_renderer(&mut self, world : World) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `neighbor_chunk_z` [INFO] [stdout] --> src/creation/world.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let neighbor_chunk_z = self.get_chunk_at(position + Vector3::new(0.0, 0.0, CHUNK_SIZE as f32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_neighbor_chunk_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vbo` [INFO] [stdout] --> src/rendering/renderer.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let vbo = define_buffer(gl::ARRAY_BUFFER, &Cube::VERTICES, gl::STATIC_DRAW); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vbo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/rendering/renderer.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn init_renderer(&mut self, world : World) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rendering/texture.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe fn load_texture(mut img: DynamicImage, format : GLenum) -> GLuint { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rendering/texture.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe fn load_texture(mut img: DynamicImage, format : GLenum) -> GLuint { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_RADIUS` is never used [INFO] [stdout] --> src/game_specs.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const CHUNK_RADIUS : usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_CHUNK_HEIGHT` is never used [INFO] [stdout] --> src/game_specs.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MIN_CHUNK_HEIGHT : usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Point` is never constructed [INFO] [stdout] --> src/core/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum PolygonMode { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 7 | /// Just show the points. [INFO] [stdout] 8 | Point = gl::POINT as isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolygonMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_loop` and `last_frame_time` are never read [INFO] [stdout] --> src/core/game_window.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GameWindow { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | event_loop : EventLoop<()>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | last_frame_time: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_block_config` is never used [INFO] [stdout] --> src/creation/block_config.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn load_block_config() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/creation/cube.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl CubeType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | pub(crate) fn random() -> CubeType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertices` and `indices` are never read [INFO] [stdout] --> src/creation/cube.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Cube { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 32 | pub _type : CubeType, [INFO] [stdout] 33 | pub vertices : [f32; 180], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | pub indices: [u32; 36], // 6 faces * 2 triangles * 3 vertices [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cube` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `normal`, and `texture_coords` are never read [INFO] [stdout] --> src/rendering/mesh.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Vertex { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | pub position : Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub normal : Vector3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub texture_coords : Vector2 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/rendering/mesh.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub texture : Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rendering/renderer.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | CString::new("position").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: 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] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rendering/renderer.rs:122:46 [INFO] [stdout] | [INFO] [stdout] 122 | CString::new("texture").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: 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: structure field `VAO` should have a snake case name [INFO] [stdout] --> src/rendering/mesh.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub VAO : u32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `vao` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VBO` should have a snake case name [INFO] [stdout] --> src/rendering/mesh.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) VBO : u32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `vbo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `EBO` should have a snake case name [INFO] [stdout] --> src/rendering/mesh.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) EBO : u32 [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ebo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rendering/mesh.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | CString::new("position").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: 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: constant `CHUNK_RADIUS` is never used [INFO] [stdout] --> src/game_specs.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const CHUNK_RADIUS : usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rendering/mesh.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 78 | CString::new("texture").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: 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: constant `MIN_CHUNK_HEIGHT` is never used [INFO] [stdout] --> src/game_specs.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MIN_CHUNK_HEIGHT : usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Point` is never constructed [INFO] [stdout] --> src/core/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum PolygonMode { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 7 | /// Just show the points. [INFO] [stdout] 8 | Point = gl::POINT as isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolygonMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_loop` and `last_frame_time` are never read [INFO] [stdout] --> src/core/game_window.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GameWindow { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | event_loop : EventLoop<()>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | last_frame_time: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_block_config` is never used [INFO] [stdout] --> src/creation/block_config.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn load_block_config() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/creation/cube.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl CubeType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | pub(crate) fn random() -> CubeType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertices` and `indices` are never read [INFO] [stdout] --> src/creation/cube.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Cube { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 32 | pub _type : CubeType, [INFO] [stdout] 33 | pub vertices : [f32; 180], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | pub indices: [u32; 36], // 6 faces * 2 triangles * 3 vertices [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cube` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `normal`, and `texture_coords` are never read [INFO] [stdout] --> src/rendering/mesh.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Vertex { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | pub position : Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub normal : Vector3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub texture_coords : Vector2 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/rendering/mesh.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub texture : Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rendering/renderer.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | CString::new("position").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: 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] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rendering/renderer.rs:122:46 [INFO] [stdout] | [INFO] [stdout] 122 | CString::new("texture").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: 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: structure field `VAO` should have a snake case name [INFO] [stdout] --> src/rendering/mesh.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub VAO : u32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `vao` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VBO` should have a snake case name [INFO] [stdout] --> src/rendering/mesh.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) VBO : u32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `vbo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `EBO` should have a snake case name [INFO] [stdout] --> src/rendering/mesh.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) EBO : u32 [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ebo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rendering/mesh.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | CString::new("position").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: 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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/rendering/mesh.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 78 | CString::new("texture").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: 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: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.66s [INFO] running `Command { std: "docker" "inspect" "3b440f53fb6ebe387314b1ea6be5ca9dd33109118a3446418c7446281dbcb0f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b440f53fb6ebe387314b1ea6be5ca9dd33109118a3446418c7446281dbcb0f6", kill_on_drop: false }` [INFO] [stdout] 3b440f53fb6ebe387314b1ea6be5ca9dd33109118a3446418c7446281dbcb0f6 [INFO] checking archambaultkm/RustWorld against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farchambaultkm%2FRustWorld" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/archambaultkm/RustWorld on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/archambaultkm/RustWorld [INFO] finished tweaking git repo https://github.com/archambaultkm/RustWorld [INFO] tweaked toml for git repo https://github.com/archambaultkm/RustWorld written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/archambaultkm/RustWorld already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c7c3c81816b9a4b57e8b27343d263c99d3a21f4df5ec9930aa084c1a9cacfd3 [INFO] running `Command { std: "docker" "start" "-a" "8c7c3c81816b9a4b57e8b27343d263c99d3a21f4df5ec9930aa084c1a9cacfd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c7c3c81816b9a4b57e8b27343d263c99d3a21f4df5ec9930aa084c1a9cacfd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c7c3c81816b9a4b57e8b27343d263c99d3a21f4df5ec9930aa084c1a9cacfd3", kill_on_drop: false }` [INFO] [stdout] 8c7c3c81816b9a4b57e8b27343d263c99d3a21f4df5ec9930aa084c1a9cacfd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d96fef980966acad98f9cd4cbf2089e7f6ce47a8b95d0ccd6ee4b9eaa0998246 [INFO] running `Command { std: "docker" "start" "-a" "d96fef980966acad98f9cd4cbf2089e7f6ce47a8b95d0ccd6ee4b9eaa0998246", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 825 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 826 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 827 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 828 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 829 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 831 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d96fef980966acad98f9cd4cbf2089e7f6ce47a8b95d0ccd6ee4b9eaa0998246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96fef980966acad98f9cd4cbf2089e7f6ce47a8b95d0ccd6ee4b9eaa0998246", kill_on_drop: false }` [INFO] [stdout] d96fef980966acad98f9cd4cbf2089e7f6ce47a8b95d0ccd6ee4b9eaa0998246