[INFO] cloning repository https://github.com/SiliconLion/opengl-basic-refrence [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SiliconLion/opengl-basic-refrence" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiliconLion%2Fopengl-basic-refrence", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiliconLion%2Fopengl-basic-refrence'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ec8022d978b806c1675ff1394aaf6d88cc8ce6c [INFO] checking SiliconLion/opengl-basic-refrence against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiliconLion%2Fopengl-basic-refrence" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SiliconLion/opengl-basic-refrence [INFO] finished tweaking git repo https://github.com/SiliconLion/opengl-basic-refrence [INFO] tweaked toml for git repo https://github.com/SiliconLion/opengl-basic-refrence written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SiliconLion/opengl-basic-refrence on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SiliconLion/opengl-basic-refrence 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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f24bb67c11dde476abc459a494c52b0c751fb85d3ed5cbed3be7731ac601e59 [INFO] running `Command { std: "docker" "start" "-a" "8f24bb67c11dde476abc459a494c52b0c751fb85d3ed5cbed3be7731ac601e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f24bb67c11dde476abc459a494c52b0c751fb85d3ed5cbed3be7731ac601e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f24bb67c11dde476abc459a494c52b0c751fb85d3ed5cbed3be7731ac601e59", kill_on_drop: false }` [INFO] [stdout] 8f24bb67c11dde476abc459a494c52b0c751fb85d3ed5cbed3be7731ac601e59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a74dcc3cee18fa90706ecaca8a1fa0c0ca13b328c88bbe51b4b5c55c810a093c [INFO] running `Command { std: "docker" "start" "-a" "a74dcc3cee18fa90706ecaca8a1fa0c0ca13b328c88bbe51b4b5c55c810a093c", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling glfw-sys v5.0.0+3.3.9 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking glfw v0.57.0 [INFO] [stderr] Checking opengl-basic-refrence v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Action` and `Key` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use glfw::{Action, Context, Key}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glfw::WindowHint::OpenGlForwardCompat` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use glfw::WindowHint::OpenGlForwardCompat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/main.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let (mut window, events) = unsafe { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut fragment_shader = gl::CreateShader(gl::FRAGMENT_SHADER); [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:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut shader_program = gl::CreateProgram(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:242:30 [INFO] [stdout] | [INFO] [stdout] 242 | fn framebuffer_size_callback(window: &mut glfw::Window, width: i32, height: i32) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VAO` should have a snake case name [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let mut VAO = 0; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `vao` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VBO` should have a snake case name [INFO] [stdout] --> src/main.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let mut VBO = 0; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `vbo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EBO` should have a snake case name [INFO] [stdout] --> src/main.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let mut EBO = 0; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ebo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action` and `Key` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use glfw::{Action, Context, Key}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glfw::WindowHint::OpenGlForwardCompat` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use glfw::WindowHint::OpenGlForwardCompat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/main.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let (mut window, events) = unsafe { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut fragment_shader = gl::CreateShader(gl::FRAGMENT_SHADER); [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:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut shader_program = gl::CreateProgram(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:242:30 [INFO] [stdout] | [INFO] [stdout] 242 | fn framebuffer_size_callback(window: &mut glfw::Window, width: i32, height: i32) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VAO` should have a snake case name [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let mut VAO = 0; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `vao` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `VBO` should have a snake case name [INFO] [stdout] --> src/main.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let mut VBO = 0; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `vbo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EBO` should have a snake case name [INFO] [stdout] --> src/main.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let mut EBO = 0; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ebo` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.78s [INFO] running `Command { std: "docker" "inspect" "a74dcc3cee18fa90706ecaca8a1fa0c0ca13b328c88bbe51b4b5c55c810a093c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a74dcc3cee18fa90706ecaca8a1fa0c0ca13b328c88bbe51b4b5c55c810a093c", kill_on_drop: false }` [INFO] [stdout] a74dcc3cee18fa90706ecaca8a1fa0c0ca13b328c88bbe51b4b5c55c810a093c