[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] building aleozlx/opengl-gui against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Fopengl-gui" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleozlx/opengl-gui on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deflate v0.7.18 [INFO] [stderr] Downloaded gl v0.10.0 [INFO] [stderr] Downloaded lazy_static v1.0.2 [INFO] [stderr] Downloaded gif v0.10.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.8 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded syn v0.14.4 [INFO] [stderr] Downloaded c_vec v1.2.1 [INFO] [stderr] Downloaded num-derive v0.2.2 [INFO] [stderr] Downloaded epoxy v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb6428427b2508023f0744be33b64cc23c6009cabed21fb85d0214babddf4529 [INFO] running `Command { std: "docker" "start" "-a" "cb6428427b2508023f0744be33b64cc23c6009cabed21fb85d0214babddf4529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb6428427b2508023f0744be33b64cc23c6009cabed21fb85d0214babddf4529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb6428427b2508023f0744be33b64cc23c6009cabed21fb85d0214babddf4529", kill_on_drop: false }` [INFO] [stdout] cb6428427b2508023f0744be33b64cc23c6009cabed21fb85d0214babddf4529 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e008bc9fbb010bc3c60dd86c2f1a43ec919e8b337b9663f93d4a0259ad929df [INFO] running `Command { std: "docker" "start" "-a" "7e008bc9fbb010bc3c60dd86c2f1a43ec919e8b337b9663f93d4a0259ad929df", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling lazy_static v1.0.2 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling gio v0.4.1 [INFO] [stderr] Compiling proc-macro2 v0.4.8 [INFO] [stderr] Compiling num_cpus v1.8.0 [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 gl_generator v0.9.0 [INFO] [stderr] Compiling atk-sys v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling gtk-sys v0.6.0 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cairo-rs v0.4.1 [INFO] [stderr] Compiling gdk-pixbuf v0.4.0 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling c_vec v1.2.1 [INFO] [stderr] Compiling gdk v0.8.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling epoxy v0.0.4 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glib v0.5.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling gtk v0.4.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling pango v0.4.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling 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: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | gl::GenVertexArrays(1, &mut g_vertex_array); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 103 | gl::GenVertexArrays(1, addr_of_mut!(g_vertex_array)); [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: static `time_unif` is never used [INFO] [stdout] --> src/main.rs:143:12 [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 `resolution_unif` is never used [INFO] [stdout] --> src/main.rs:144:12 [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: 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: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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7e008bc9fbb010bc3c60dd86c2f1a43ec919e8b337b9663f93d4a0259ad929df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e008bc9fbb010bc3c60dd86c2f1a43ec919e8b337b9663f93d4a0259ad929df", kill_on_drop: false }` [INFO] [stdout] 7e008bc9fbb010bc3c60dd86c2f1a43ec919e8b337b9663f93d4a0259ad929df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 432922c463941554d5a7ca886a931a83d7f9f8704b56fd94c1ec0573a86453a9 [INFO] running `Command { std: "docker" "start" "-a" "432922c463941554d5a7ca886a931a83d7f9f8704b56fd94c1ec0573a86453a9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling 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: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | gl::GenVertexArrays(1, &mut g_vertex_array); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 103 | gl::GenVertexArrays(1, addr_of_mut!(g_vertex_array)); [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: static `time_unif` is never used [INFO] [stdout] --> src/main.rs:143:12 [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 `resolution_unif` is never used [INFO] [stdout] --> src/main.rs:144:12 [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: 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: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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "432922c463941554d5a7ca886a931a83d7f9f8704b56fd94c1ec0573a86453a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "432922c463941554d5a7ca886a931a83d7f9f8704b56fd94c1ec0573a86453a9", kill_on_drop: false }` [INFO] [stdout] 432922c463941554d5a7ca886a931a83d7f9f8704b56fd94c1ec0573a86453a9 [INFO] building aleozlx/opengl-gui against try#7587ff3622fbec0abf6ac551eab5226f22f5d958 for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Fopengl-gui" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleozlx/opengl-gui on toolchain 7587ff3622fbec0abf6ac551eab5226f22f5d958 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4944abbdcae0c3419f1a3e4170b0d05b9d25ba15b0aa59c90ac41d0b5a77e01 [INFO] running `Command { std: "docker" "start" "-a" "c4944abbdcae0c3419f1a3e4170b0d05b9d25ba15b0aa59c90ac41d0b5a77e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4944abbdcae0c3419f1a3e4170b0d05b9d25ba15b0aa59c90ac41d0b5a77e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4944abbdcae0c3419f1a3e4170b0d05b9d25ba15b0aa59c90ac41d0b5a77e01", kill_on_drop: false }` [INFO] [stdout] c4944abbdcae0c3419f1a3e4170b0d05b9d25ba15b0aa59c90ac41d0b5a77e01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae2afd8c3f4f7a4235b3e393e74d783a4562d8be3014e9cb6fa056648c7c4cac [INFO] running `Command { std: "docker" "start" "-a" "ae2afd8c3f4f7a4235b3e393e74d783a4562d8be3014e9cb6fa056648c7c4cac", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling lazy_static v1.0.2 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling gio v0.4.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 gl_generator v0.9.0 [INFO] [stderr] Compiling atk-sys v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.8 [INFO] [stderr] Compiling gtk-sys v0.6.0 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling cairo-rs v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling gdk-pixbuf v0.4.0 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling gdk v0.8.0 [INFO] [stderr] Compiling c_vec v1.2.1 [INFO] [stderr] Compiling epoxy v0.0.4 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling glib v0.5.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling gtk v0.4.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling pango v0.4.0 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] error: could not compile `gtk` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/bin/rustc --crate-name gtk --edition=2015 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gtk-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="v3_10"' --cfg 'feature="v3_12"' --cfg 'feature="v3_14"' --cfg 'feature="v3_16"' --cfg 'feature="v3_6"' --cfg 'feature="v3_8"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("dox", "embed-lgpl-docs", "gtk-rs-lgpl-docs", "purge-lgpl-docs", "v3_10", "v3_12", "v3_14", "v3_16", "v3_18", "v3_20", "v3_22", "v3_22_20", "v3_22_26", "v3_6", "v3_8"))' -C metadata=bf15c2bb0d9870b7 -C extra-filename=-bf15c2bb0d9870b7 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-81af1ded8f17dc36.rmeta --extern cairo=/opt/rustwide/target/debug/deps/libcairo-c864fd81b3810432.rmeta --extern cairo_sys=/opt/rustwide/target/debug/deps/libcairo_sys-0631aaad7d852fce.rmeta --extern gdk=/opt/rustwide/target/debug/deps/libgdk-ae77a815b3edb443.rmeta --extern gdk_pixbuf=/opt/rustwide/target/debug/deps/libgdk_pixbuf-fb8b7ac8642857c8.rmeta --extern gdk_pixbuf_sys=/opt/rustwide/target/debug/deps/libgdk_pixbuf_sys-db05ef779da77c60.rmeta --extern gdk_sys=/opt/rustwide/target/debug/deps/libgdk_sys-069dee83f9970b5e.rmeta --extern gio=/opt/rustwide/target/debug/deps/libgio-594011e0f8750c4e.rmeta --extern gio_sys=/opt/rustwide/target/debug/deps/libgio_sys-48f4727ca9b6123f.rmeta --extern glib=/opt/rustwide/target/debug/deps/libglib-95e599e65d795cd8.rmeta --extern glib_sys=/opt/rustwide/target/debug/deps/libglib_sys-f40296d8e73ba2af.rmeta --extern gobject_sys=/opt/rustwide/target/debug/deps/libgobject_sys-c7c1899040ed2edf.rmeta --extern gtk_sys=/opt/rustwide/target/debug/deps/libgtk_sys-df50e3acf1581b1e.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-01ae20e0d0de6195.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-eaad5043fdf4c1d0.rmeta --extern pango=/opt/rustwide/target/debug/deps/libpango-95b0d0c35cfc1f4d.rmeta --cap-lints allow --cap-lints=forbid -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "ae2afd8c3f4f7a4235b3e393e74d783a4562d8be3014e9cb6fa056648c7c4cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae2afd8c3f4f7a4235b3e393e74d783a4562d8be3014e9cb6fa056648c7c4cac", kill_on_drop: false }` [INFO] [stdout] ae2afd8c3f4f7a4235b3e393e74d783a4562d8be3014e9cb6fa056648c7c4cac