[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 try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiliconLion%2Fopengl-basic-refrence" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SiliconLion/opengl-basic-refrence on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glfw v0.57.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e4909283d356707e3d77bb1022c59009e95cb1747915c303fa5fbcda34507da [INFO] running `Command { std: "docker" "start" "-a" "5e4909283d356707e3d77bb1022c59009e95cb1747915c303fa5fbcda34507da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e4909283d356707e3d77bb1022c59009e95cb1747915c303fa5fbcda34507da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e4909283d356707e3d77bb1022c59009e95cb1747915c303fa5fbcda34507da", kill_on_drop: false }` [INFO] [stdout] 5e4909283d356707e3d77bb1022c59009e95cb1747915c303fa5fbcda34507da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5500f3152f0b82b0499474b30d206d1a3b7854540113544e802fb8c6a580a6b [INFO] running `Command { std: "docker" "start" "-a" "b5500f3152f0b82b0499474b30d206d1a3b7854540113544e802fb8c6a580a6b", kill_on_drop: false }` [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 raw-window-handle v0.6.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling gl_generator v0.14.0 [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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(nonstandard_style)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(nonstandard_style)]`) 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.28s [INFO] running `Command { std: "docker" "inspect" "b5500f3152f0b82b0499474b30d206d1a3b7854540113544e802fb8c6a580a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5500f3152f0b82b0499474b30d206d1a3b7854540113544e802fb8c6a580a6b", kill_on_drop: false }` [INFO] [stdout] b5500f3152f0b82b0499474b30d206d1a3b7854540113544e802fb8c6a580a6b