[INFO] cloning repository https://github.com/OmarDevX/Mandelbrot-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OmarDevX/Mandelbrot-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmarDevX%2FMandelbrot-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmarDevX%2FMandelbrot-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff2642811ad671ee204c0cb9ea7e8cfe8c39835f [INFO] checking OmarDevX/Mandelbrot-rs/ff2642811ad671ee204c0cb9ea7e8cfe8c39835f against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmarDevX%2FMandelbrot-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OmarDevX/Mandelbrot-rs on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OmarDevX/Mandelbrot-rs [INFO] finished tweaking git repo https://github.com/OmarDevX/Mandelbrot-rs [INFO] tweaked toml for git repo https://github.com/OmarDevX/Mandelbrot-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/OmarDevX/Mandelbrot-rs 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded epi v0.17.0 [INFO] [stderr] Downloaded c_vec v2.0.0 [INFO] [stderr] Downloaded emath v0.17.0 [INFO] [stderr] Downloaded glm v0.2.3 [INFO] [stderr] Downloaded mime_guess2 v2.0.5 [INFO] [stderr] Downloaded egui_extras v0.27.2 [INFO] [stderr] Downloaded cc v1.1.0 [INFO] [stderr] Downloaded egui_demo_lib v0.27.2 [INFO] [stderr] Downloaded egui_plot v0.27.2 [INFO] [stderr] Downloaded sdl2 v0.37.0 [INFO] [stderr] Downloaded quickcheck v0.2.27 [INFO] [stderr] Downloaded egui v0.17.0 [INFO] [stderr] Downloaded unicode_names2 v0.6.0 [INFO] [stderr] Downloaded epaint v0.17.0 [INFO] [stderr] Downloaded sdl2-sys v0.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cedf33bce4dee12607d2928616189320f1e7431821b56cac4520e0b950c14fd2 [INFO] running `Command { std: "docker" "start" "-a" "cedf33bce4dee12607d2928616189320f1e7431821b56cac4520e0b950c14fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cedf33bce4dee12607d2928616189320f1e7431821b56cac4520e0b950c14fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cedf33bce4dee12607d2928616189320f1e7431821b56cac4520e0b950c14fd2", kill_on_drop: false }` [INFO] [stdout] cedf33bce4dee12607d2928616189320f1e7431821b56cac4520e0b950c14fd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2312f53a4ac7a046a426c05d0a5addd55a6fd5d62e616f01ad0a15801d0be3e6 [INFO] running `Command { std: "docker" "start" "-a" "2312f53a4ac7a046a426c05d0a5addd55a6fd5d62e616f01ad0a15801d0be3e6", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking ttf-parser v0.24.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking emath v0.17.0 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Compiling mime_guess2 v2.0.5 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Checking unicode_names2 v0.6.0 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking quickcheck v0.2.27 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking epaint v0.17.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking glm v0.2.3 [INFO] [stderr] Checking egui v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking epi v0.17.0 [INFO] [stderr] Checking ecolor v0.27.2 [INFO] [stderr] Checking emath v0.27.2 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking epaint v0.27.2 [INFO] [stderr] Checking egui v0.27.2 [INFO] [stderr] Checking egui_plot v0.27.2 [INFO] [stderr] Checking egui_extras v0.27.2 [INFO] [stderr] Checking egui_demo_lib v0.27.2 [INFO] [stderr] Checking egui_sdl2_gl v0.27.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `epi::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epi::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `os::unix::raw::time_t` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{fs, os::unix::raw::time_t, sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec3`, `Vector3`, and `vec3` [INFO] [stdout] --> src/main.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use glm::{vec3, Vec3, Vector3}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sys::u_int` [INFO] [stdout] --> src/main.rs:20:79 [INFO] [stdout] | [INFO] [stdout] 20 | use sdl2::{event::WindowEvent, keyboard::Keycode, mouse::MouseWheelDirection, sys::u_int}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TWITTER` [INFO] [stdout] --> src/window_manager/window_manager.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | use egui::special_emojis::{GITHUB, TWITTER}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:27:76 [INFO] [stdout] | [INFO] [stdout] 27 | use window_manager::{window_manager::windows::{MainWindow, SandboxWindow}, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `epi::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epi::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `os::unix::raw::time_t` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{fs, os::unix::raw::time_t, sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec3`, `Vector3`, and `vec3` [INFO] [stdout] --> src/main.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use glm::{vec3, Vec3, Vector3}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sys::u_int` [INFO] [stdout] --> src/main.rs:20:79 [INFO] [stdout] | [INFO] [stdout] 20 | use sdl2::{event::WindowEvent, keyboard::Keycode, mouse::MouseWheelDirection, sys::u_int}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TWITTER` [INFO] [stdout] --> src/window_manager/window_manager.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | use egui::special_emojis::{GITHUB, TWITTER}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:27:76 [INFO] [stdout] | [INFO] [stdout] 27 | use window_manager::{window_manager::windows::{MainWindow, SandboxWindow}, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::os::unix::raw::time_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/main.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{fs, os::unix::raw::time_t, sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::os::unix::raw::time_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/main.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{fs, os::unix::raw::time_t, sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let delta_time: f32 = now.duration_since(last_frame_time).as_secs_f32(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repaint_after` [INFO] [stdout] --> src/main.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let repaint_after = viewport_output [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repaint_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:197:31 [INFO] [stdout] | [INFO] [stdout] 197 | texture = unsafe { create_texture(SCREEN_WIDTH, SCREEN_HEIGHT)} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let delta_time: f32 = now.duration_since(last_frame_time).as_secs_f32(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repaint_after` [INFO] [stdout] --> src/main.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let repaint_after = viewport_output [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repaint_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ui` and `get_sandbox_window` are never used [INFO] [stdout] --> src/window_manager/window_manager.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'a> MainWindow<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn ui(&mut self, ctx: &egui::Context) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_sandbox_window(&self) -> &SandboxWindow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SCREEN_WIDTH` should have a snake case name [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut SCREEN_WIDTH = 1280; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SCREEN_HEIGHT` should have a snake case name [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut SCREEN_HEIGHT = 700; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:111:101 [INFO] [stdout] | [INFO] [stdout] 111 | let pos_attrib = gl::GetAttribLocation(quad_shader_program, CString::new("in_pos").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/main.rs:151:112 [INFO] [stdout] | [INFO] [stdout] 151 | let time_loc = gl::GetUniformLocation(compute_shader_program, CString::new("currentTime").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: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:197:31 [INFO] [stdout] | [INFO] [stdout] 197 | texture = unsafe { create_texture(SCREEN_WIDTH, SCREEN_HEIGHT)} [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:152:105 [INFO] [stdout] | [INFO] [stdout] 152 | let zoom_loc = gl::GetUniformLocation(compute_shader_program, CString::new("zoom").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/main.rs:153:109 [INFO] [stdout] | [INFO] [stdout] 153 | let offset_loc = gl::GetUniformLocation(compute_shader_program, CString::new("offset").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: methods `ui` and `get_sandbox_window` are never used [INFO] [stdout] --> src/window_manager/window_manager.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'a> MainWindow<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn ui(&mut self, ctx: &egui::Context) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_sandbox_window(&self) -> &SandboxWindow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SCREEN_WIDTH` should have a snake case name [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut SCREEN_WIDTH = 1280; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SCREEN_HEIGHT` should have a snake case name [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut SCREEN_HEIGHT = 700; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:111:101 [INFO] [stdout] | [INFO] [stdout] 111 | let pos_attrib = gl::GetAttribLocation(quad_shader_program, CString::new("in_pos").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/main.rs:151:112 [INFO] [stdout] | [INFO] [stdout] 151 | let time_loc = gl::GetUniformLocation(compute_shader_program, CString::new("currentTime").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/main.rs:152:105 [INFO] [stdout] | [INFO] [stdout] 152 | let zoom_loc = gl::GetUniformLocation(compute_shader_program, CString::new("zoom").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/main.rs:153:109 [INFO] [stdout] | [INFO] [stdout] 153 | let offset_loc = gl::GetUniformLocation(compute_shader_program, CString::new("offset").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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "2312f53a4ac7a046a426c05d0a5addd55a6fd5d62e616f01ad0a15801d0be3e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2312f53a4ac7a046a426c05d0a5addd55a6fd5d62e616f01ad0a15801d0be3e6", kill_on_drop: false }` [INFO] [stdout] 2312f53a4ac7a046a426c05d0a5addd55a6fd5d62e616f01ad0a15801d0be3e6