[INFO] cloning repository https://github.com/Cryt1c/opengl_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cryt1c/opengl_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryt1c%2Fopengl_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryt1c%2Fopengl_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff4fe2070b29edf6676a626ac8f591f5de32e0d4 [INFO] checking Cryt1c/opengl_rs against master#accc516128b21e960b1a7af45393e9acdd184890 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryt1c%2Fopengl_rs" "/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/Cryt1c/opengl_rs on toolchain accc516128b21e960b1a7af45393e9acdd184890 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cryt1c/opengl_rs [INFO] finished tweaking git repo https://github.com/Cryt1c/opengl_rs [INFO] tweaked toml for git repo https://github.com/Cryt1c/opengl_rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Cryt1c/opengl_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" "+accc516128b21e960b1a7af45393e9acdd184890" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.24.1 [INFO] [stderr] Downloaded three-d-asset v0.7.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21e59cca143f2a18baa62e6f6f867a6f050c37a29d2cce1d05756532051d7415 [INFO] running `Command { std: "docker" "start" "-a" "21e59cca143f2a18baa62e6f6f867a6f050c37a29d2cce1d05756532051d7415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21e59cca143f2a18baa62e6f6f867a6f050c37a29d2cce1d05756532051d7415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21e59cca143f2a18baa62e6f6f867a6f050c37a29d2cce1d05756532051d7415", kill_on_drop: false }` [INFO] [stdout] 21e59cca143f2a18baa62e6f6f867a6f050c37a29d2cce1d05756532051d7415 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9042bc091f0117c03e0a94ca949eb7e7c5a5550224fa5ed695809da8dad27fdc [INFO] running `Command { std: "docker" "start" "-a" "9042bc091f0117c03e0a94ca949eb7e7c5a5550224fa5ed695809da8dad27fdc", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking zerocopy v0.6.6 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking three-d-asset v0.7.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking nalgebra v0.32.4 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking glutin v0.24.1 [INFO] [stderr] Checking nalgebra-glm v0.18.0 [INFO] [stderr] Checking opengl_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let mut modulated_time = (time * 0.5).sin() * 0.5 + 0.5; [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/main.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let mut modulated_time = (time * 0.5).sin() * 0.5 + 0.5; [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: function `load_image` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn load_image(path: &str) -> image::DynamicImage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Uniform` is never used [INFO] [stdout] --> src/main.rs:289:7 [INFO] [stdout] | [INFO] [stdout] 289 | trait Uniform { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_uniform_value` is never used [INFO] [stdout] --> src/main.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn set_uniform_value(program: GLuint, name: &str, value: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_uniform_values` is never used [INFO] [stdout] --> src/main.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn set_uniform_values(program: GLuint, window: &window::Window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TEXTURE_SIZE` should have a snake case name [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let TEXTURE_SIZE = 4456448; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `texture_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:273:87 [INFO] [stdout] | [INFO] [stdout] 273 | gl::GetUniformLocation(program, CString::new("time").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:339:84 [INFO] [stdout] | [INFO] [stdout] 339 | let location = gl::GetUniformLocation(program, CString::new(name).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: function `load_image` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn load_image(path: &str) -> image::DynamicImage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Uniform` is never used [INFO] [stdout] --> src/main.rs:289:7 [INFO] [stdout] | [INFO] [stdout] 289 | trait Uniform { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_uniform_value` is never used [INFO] [stdout] --> src/main.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn set_uniform_value(program: GLuint, name: &str, value: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_uniform_values` is never used [INFO] [stdout] --> src/main.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn set_uniform_values(program: GLuint, window: &window::Window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TEXTURE_SIZE` should have a snake case name [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let TEXTURE_SIZE = 4456448; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `texture_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:273:87 [INFO] [stdout] | [INFO] [stdout] 273 | gl::GetUniformLocation(program, CString::new("time").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:339:84 [INFO] [stdout] | [INFO] [stdout] 339 | let location = gl::GetUniformLocation(program, CString::new(name).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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.81s [INFO] running `Command { std: "docker" "inspect" "9042bc091f0117c03e0a94ca949eb7e7c5a5550224fa5ed695809da8dad27fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9042bc091f0117c03e0a94ca949eb7e7c5a5550224fa5ed695809da8dad27fdc", kill_on_drop: false }` [INFO] [stdout] 9042bc091f0117c03e0a94ca949eb7e7c5a5550224fa5ed695809da8dad27fdc