[INFO] cloning repository https://github.com/aleozlx/opengl-gui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aleozlx/opengl-gui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Fopengl-gui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Fopengl-gui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72a3211844454a068a502130ac76b192fdd2271e [INFO] checking aleozlx/opengl-gui against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Fopengl-gui" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleozlx/opengl-gui on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aleozlx/opengl-gui [INFO] finished tweaking git repo https://github.com/aleozlx/opengl-gui [INFO] tweaked toml for git repo https://github.com/aleozlx/opengl-gui written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/aleozlx/opengl-gui already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 21ef9ab13949dac2620e03c88948a3cf75476365f29f943f1b924523da27ed83 [INFO] running `Command { std: "docker" "start" "-a" "21ef9ab13949dac2620e03c88948a3cf75476365f29f943f1b924523da27ed83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21ef9ab13949dac2620e03c88948a3cf75476365f29f943f1b924523da27ed83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ef9ab13949dac2620e03c88948a3cf75476365f29f943f1b924523da27ed83", kill_on_drop: false }` [INFO] [stdout] 21ef9ab13949dac2620e03c88948a3cf75476365f29f943f1b924523da27ed83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dcc495118e2aebf8e45207785b0aee8ca9e7d3d0a5aa440ce492ea427f89bdf8 [INFO] running `Command { std: "docker" "start" "-a" "dcc495118e2aebf8e45207785b0aee8ca9e7d3d0a5aa440ce492ea427f89bdf8", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling gio v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling gdk-pixbuf v0.4.0 [INFO] [stderr] Compiling cairo-rs v0.4.1 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling gdk v0.8.0 [INFO] [stderr] Checking c_vec v1.2.1 [INFO] [stderr] Compiling gtk v0.4.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Compiling proc-macro2 v0.4.8 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling glib-sys v0.6.0 [INFO] [stderr] Compiling gobject-sys v0.6.0 [INFO] [stderr] Compiling gio-sys v0.6.0 [INFO] [stderr] Compiling cairo-sys-rs v0.6.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.6.0 [INFO] [stderr] Compiling pango-sys v0.6.0 [INFO] [stderr] Compiling gdk-sys v0.6.0 [INFO] [stderr] Compiling atk-sys v0.6.0 [INFO] [stderr] Compiling gtk-sys v0.6.0 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling epoxy v0.0.4 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Checking glib v0.5.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking pango v0.4.0 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking opengl-gui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/main.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ffi::{CString, CStr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/main.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ffi::{CString, CStr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_start` [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let time_start = std::time::SystemTime::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_start` [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let time_start = std::time::SystemTime::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `time_unif` [INFO] [stdout] --> src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | static mut time_unif: gl::types::GLint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `resolution_unif` [INFO] [stdout] --> src/main.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | static mut resolution_unif: gl::types::GLint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:107:92 [INFO] [stdout] | [INFO] [stdout] 107 | gl::BindFragDataLocation(shader_program.id(), 0, CString::new("outColor").unwrap().as_ptr()); [INFO] [stdout] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:109:120 [INFO] [stdout] | [INFO] [stdout] 109 | ...tAttribLocation(shader_program.id(), CString::new("position").unwrap().as_ptr()) as gl::types::GLuint; [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:113:117 [INFO] [stdout] | [INFO] [stdout] 113 | ...GetAttribLocation(shader_program.id(), CString::new("vsTex").unwrap().as_ptr()) as gl::types::GLuint; [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: static variable `g_vertex_array` should have an upper case name [INFO] [stdout] --> src/main.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | static mut g_vertex_array: gl::types::GLuint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `G_VERTEX_ARRAY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `time_unif` should have an upper case name [INFO] [stdout] --> src/main.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | static mut time_unif: gl::types::GLint = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `TIME_UNIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `resolution_unif` should have an upper case name [INFO] [stdout] --> src/main.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | static mut resolution_unif: gl::types::GLint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RESOLUTION_UNIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `time_unif` [INFO] [stdout] --> src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | static mut time_unif: gl::types::GLint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `resolution_unif` [INFO] [stdout] --> src/main.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | static mut resolution_unif: gl::types::GLint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:107:92 [INFO] [stdout] | [INFO] [stdout] 107 | gl::BindFragDataLocation(shader_program.id(), 0, CString::new("outColor").unwrap().as_ptr()); [INFO] [stdout] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:109:120 [INFO] [stdout] | [INFO] [stdout] 109 | ...tAttribLocation(shader_program.id(), CString::new("position").unwrap().as_ptr()) as gl::types::GLuint; [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:113:117 [INFO] [stdout] | [INFO] [stdout] 113 | ...GetAttribLocation(shader_program.id(), CString::new("vsTex").unwrap().as_ptr()) as gl::types::GLuint; [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: static variable `g_vertex_array` should have an upper case name [INFO] [stdout] --> src/main.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | static mut g_vertex_array: gl::types::GLuint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `G_VERTEX_ARRAY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `time_unif` should have an upper case name [INFO] [stdout] --> src/main.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | static mut time_unif: gl::types::GLint = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `TIME_UNIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `resolution_unif` should have an upper case name [INFO] [stdout] --> src/main.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | static mut resolution_unif: gl::types::GLint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RESOLUTION_UNIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "dcc495118e2aebf8e45207785b0aee8ca9e7d3d0a5aa440ce492ea427f89bdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc495118e2aebf8e45207785b0aee8ca9e7d3d0a5aa440ce492ea427f89bdf8", kill_on_drop: false }` [INFO] [stdout] dcc495118e2aebf8e45207785b0aee8ca9e7d3d0a5aa440ce492ea427f89bdf8