[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] testing aleozlx/opengl-gui against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Fopengl-gui" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aleozlx/opengl-gui on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03ef26d27a037067663aaa00c2d02e097ef73bccc0ba63202fe6f71f1e523224 [INFO] running `Command { std: "docker" "start" "-a" "03ef26d27a037067663aaa00c2d02e097ef73bccc0ba63202fe6f71f1e523224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03ef26d27a037067663aaa00c2d02e097ef73bccc0ba63202fe6f71f1e523224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03ef26d27a037067663aaa00c2d02e097ef73bccc0ba63202fe6f71f1e523224", kill_on_drop: false }` [INFO] [stdout] 03ef26d27a037067663aaa00c2d02e097ef73bccc0ba63202fe6f71f1e523224 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d3dfe6907f474b054d2ac0fc886cb72569c729f092a995c8d69314d904785ff [INFO] running `Command { std: "docker" "start" "-a" "0d3dfe6907f474b054d2ac0fc886cb72569c729f092a995c8d69314d904785ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 lazy_static v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.4 [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 rayon-core v1.4.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling gio v0.4.1 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling proc-macro2 v0.4.8 [INFO] [stderr] Compiling gdk-pixbuf v0.4.0 [INFO] [stderr] Compiling cairo-rs v0.4.1 [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 inflate v0.4.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling gtk v0.4.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling syn v0.14.4 [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 crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling gtk-sys v0.6.0 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling epoxy v0.0.4 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling glib v0.5.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling pango v0.4.0 [INFO] [stderr] Compiling image v0.19.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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: creating a mutable reference to mutable static [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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 103 | gl::GenVertexArrays(1, &raw mut g_vertex_array); [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 142 - static mut g_vertex_array: gl::types::GLuint = 0; [INFO] [stdout] 142 + static mut G_VERTEX_ARRAY: gl::types::GLuint = 0; [INFO] [stdout] | [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [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" "0d3dfe6907f474b054d2ac0fc886cb72569c729f092a995c8d69314d904785ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d3dfe6907f474b054d2ac0fc886cb72569c729f092a995c8d69314d904785ff", kill_on_drop: false }` [INFO] [stdout] 0d3dfe6907f474b054d2ac0fc886cb72569c729f092a995c8d69314d904785ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd0506ddd49f8b95b53166d94455e5ff33b90c9bc15654544b9b80781636df71 [INFO] running `Command { std: "docker" "start" "-a" "fd0506ddd49f8b95b53166d94455e5ff33b90c9bc15654544b9b80781636df71", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: creating a mutable reference to mutable static [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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 103 | gl::GenVertexArrays(1, &raw mut g_vertex_array); [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 142 - static mut g_vertex_array: gl::types::GLuint = 0; [INFO] [stdout] 142 + static mut G_VERTEX_ARRAY: gl::types::GLuint = 0; [INFO] [stdout] | [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [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" "fd0506ddd49f8b95b53166d94455e5ff33b90c9bc15654544b9b80781636df71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd0506ddd49f8b95b53166d94455e5ff33b90c9bc15654544b9b80781636df71", kill_on_drop: false }` [INFO] [stdout] fd0506ddd49f8b95b53166d94455e5ff33b90c9bc15654544b9b80781636df71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a8505b2eb130327ed4d6bdff1ce874cc679cedbcb9d5952e878d052ecd0123c6 [INFO] running `Command { std: "docker" "start" "-a" "a8505b2eb130327ed4d6bdff1ce874cc679cedbcb9d5952e878d052ecd0123c6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused import: `CStr` [INFO] [stderr] --> src/main.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | use std::ffi::{CString, CStr}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::GenericImage` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use image::GenericImage; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time_start` [INFO] [stderr] --> src/main.rs:179:9 [INFO] [stderr] | [INFO] [stderr] 179 | let time_start = std::time::SystemTime::now(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_start` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: static `time_unif` is never used [INFO] [stderr] --> src/main.rs:143:12 [INFO] [stderr] | [INFO] [stderr] 143 | static mut time_unif: gl::types::GLint = 0; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: static `resolution_unif` is never used [INFO] [stderr] --> src/main.rs:144:12 [INFO] [stderr] | [INFO] [stderr] 144 | static mut resolution_unif: gl::types::GLint = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/main.rs:103:32 [INFO] [stderr] | [INFO] [stderr] 103 | gl::GenVertexArrays(1, &mut g_vertex_array); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 103 | gl::GenVertexArrays(1, &raw mut g_vertex_array); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: static variable `g_vertex_array` should have an upper case name [INFO] [stderr] --> src/main.rs:142:12 [INFO] [stderr] | [INFO] [stderr] 142 | static mut g_vertex_array: gl::types::GLuint = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 142 - static mut g_vertex_array: gl::types::GLuint = 0; [INFO] [stderr] 142 + static mut G_VERTEX_ARRAY: gl::types::GLuint = 0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: static variable `time_unif` should have an upper case name [INFO] [stderr] --> src/main.rs:143:12 [INFO] [stderr] | [INFO] [stderr] 143 | static mut time_unif: gl::types::GLint = 0; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `TIME_UNIF` [INFO] [stderr] [INFO] [stderr] warning: static variable `resolution_unif` should have an upper case name [INFO] [stderr] --> src/main.rs:144:12 [INFO] [stderr] | [INFO] [stderr] 144 | static mut resolution_unif: gl::types::GLint = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RESOLUTION_UNIF` [INFO] [stderr] [INFO] [stderr] warning: `opengl-gui` (bin "opengl-gui" test) generated 9 warnings (run `cargo fix --bin "opengl-gui" -p opengl-gui --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/opengl_gui-8b9cbc9d4fe6e8e6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8505b2eb130327ed4d6bdff1ce874cc679cedbcb9d5952e878d052ecd0123c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8505b2eb130327ed4d6bdff1ce874cc679cedbcb9d5952e878d052ecd0123c6", kill_on_drop: false }` [INFO] [stdout] a8505b2eb130327ed4d6bdff1ce874cc679cedbcb9d5952e878d052ecd0123c6