[INFO] cloning repository https://github.com/rexim/working-opengl-example-in-rust-omg-iwanna-die
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rexim/working-opengl-example-in-rust-omg-iwanna-die" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frexim%2Fworking-opengl-example-in-rust-omg-iwanna-die", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frexim%2Fworking-opengl-example-in-rust-omg-iwanna-die'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d62967a15bd44b8eb6f586bf3610f0c8d0515b3e
[INFO] checking rexim/working-opengl-example-in-rust-omg-iwanna-die against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frexim%2Fworking-opengl-example-in-rust-omg-iwanna-die" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rexim/working-opengl-example-in-rust-omg-iwanna-die
[INFO] finished tweaking git repo https://github.com/rexim/working-opengl-example-in-rust-omg-iwanna-die
[INFO] tweaked toml for git repo https://github.com/rexim/working-opengl-example-in-rust-omg-iwanna-die written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rexim/working-opengl-example-in-rust-omg-iwanna-die on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rexim/working-opengl-example-in-rust-omg-iwanna-die 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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gl v0.6.3
[INFO] [stderr]   Downloaded sdl2-sys v0.30.0
[INFO] [stderr]   Downloaded rand v0.3.17
[INFO] [stderr]   Downloaded sdl2 v0.30.0
[INFO] [stderr]   Downloaded libc v0.2.32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dd556a21b535da3faa25dd1e4e6e173b5598b366658d6ad63c4e4bcd84ee456d
[INFO] running `Command { std: "docker" "start" "-a" "dd556a21b535da3faa25dd1e4e6e173b5598b366658d6ad63c4e4bcd84ee456d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd556a21b535da3faa25dd1e4e6e173b5598b366658d6ad63c4e4bcd84ee456d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd556a21b535da3faa25dd1e4e6e173b5598b366658d6ad63c4e4bcd84ee456d", kill_on_drop: false }`
[INFO] [stdout] dd556a21b535da3faa25dd1e4e6e173b5598b366658d6ad63c4e4bcd84ee456d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5fd01ebf23c38d3e2bec05cd91476135b6dfaf39d0ba42aaf67f5373ccbca9c3
[INFO] running `Command { std: "docker" "start" "-a" "5fd01ebf23c38d3e2bec05cd91476135b6dfaf39d0ba42aaf67f5373ccbca9c3", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling log v0.3.8
[INFO] [stderr]     Checking num-traits v0.1.40
[INFO] [stderr]    Compiling khronos_api v1.0.1
[INFO] [stderr]     Checking libc v0.2.32
[INFO] [stderr]    Compiling sdl2-sys v0.30.0
[INFO] [stderr]     Checking lazy_static v0.2.9
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]    Compiling xml-rs v0.6.1
[INFO] [stderr]     Checking num-integer v0.1.35
[INFO] [stderr]     Checking rand v0.3.17
[INFO] [stderr]     Checking num-iter v0.1.34
[INFO] [stderr]     Checking num v0.1.40
[INFO] [stderr]    Compiling gl_generator v0.5.5
[INFO] [stderr]     Checking sdl2 v0.30.0
[INFO] [stderr]    Compiling gl v0.6.3
[INFO] [stderr]     Checking opengl-probe v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |     let mut angle_loc = 0;
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let context = window.gl_create_context().unwrap();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `vs` is never read
[INFO] [stdout]    --> src/main.rs:124:18
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut vs = 0;
[INFO] [stdout]     |                  ^ this value is reassigned later and never used
[INFO] [stdout] 125 |     unsafe {
[INFO] [stdout] 126 |         vs = gl::CreateShader(gl::VERTEX_SHADER);
[INFO] [stdout]     |         ---------------------------------------- `vs` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `fs` is never read
[INFO] [stdout]    --> src/main.rs:150:18
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let mut fs = 0;
[INFO] [stdout]     |                  ^ this value is reassigned later and never used
[INFO] [stdout] 151 |     unsafe {
[INFO] [stdout] 152 |         fs = gl::CreateShader(gl::FRAGMENT_SHADER);
[INFO] [stdout]     |         ------------------------------------------ `fs` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `shader_program` is never read
[INFO] [stdout]    --> src/main.rs:176:30
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let mut shader_program = 0;
[INFO] [stdout]     |                              ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 179 |         shader_program = gl::CreateProgram();
[INFO] [stdout]     |         ------------------------------------ `shader_program` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `n` should have an upper case name
[INFO] [stdout]   --> src/main.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |     const n: usize = 20;
[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] 21 -     const n: usize = 20;
[INFO] [stdout] 21 +     const N: usize = 20;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `base` should have an upper case name
[INFO] [stdout]   --> src/main.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |     const base: usize = 3;
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 22 -     const base: usize = 3;
[INFO] [stdout] 22 +     const BASE: usize = 3;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |     let mut angle_loc = 0;
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let context = window.gl_create_context().unwrap();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `vs` is never read
[INFO] [stdout]    --> src/main.rs:124:18
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut vs = 0;
[INFO] [stdout]     |                  ^ this value is reassigned later and never used
[INFO] [stdout] 125 |     unsafe {
[INFO] [stdout] 126 |         vs = gl::CreateShader(gl::VERTEX_SHADER);
[INFO] [stdout]     |         ---------------------------------------- `vs` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `fs` is never read
[INFO] [stdout]    --> src/main.rs:150:18
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let mut fs = 0;
[INFO] [stdout]     |                  ^ this value is reassigned later and never used
[INFO] [stdout] 151 |     unsafe {
[INFO] [stdout] 152 |         fs = gl::CreateShader(gl::FRAGMENT_SHADER);
[INFO] [stdout]     |         ------------------------------------------ `fs` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `shader_program` is never read
[INFO] [stdout]    --> src/main.rs:176:30
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let mut shader_program = 0;
[INFO] [stdout]     |                              ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 179 |         shader_program = gl::CreateProgram();
[INFO] [stdout]     |         ------------------------------------ `shader_program` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `n` should have an upper case name
[INFO] [stdout]   --> src/main.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |     const n: usize = 20;
[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] 21 -     const n: usize = 20;
[INFO] [stdout] 21 +     const N: usize = 20;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `base` should have an upper case name
[INFO] [stdout]   --> src/main.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |     const base: usize = 3;
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 22 -     const base: usize = 3;
[INFO] [stdout] 22 +     const BASE: usize = 3;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "5fd01ebf23c38d3e2bec05cd91476135b6dfaf39d0ba42aaf67f5373ccbca9c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fd01ebf23c38d3e2bec05cd91476135b6dfaf39d0ba42aaf67f5373ccbca9c3", kill_on_drop: false }`
[INFO] [stdout] 5fd01ebf23c38d3e2bec05cd91476135b6dfaf39d0ba42aaf67f5373ccbca9c3
