[INFO] cloning repository https://github.com/6felipe/opengl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/6felipe/opengl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F6felipe%2Fopengl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F6felipe%2Fopengl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a4abb72dc1aa21b7a1845a4329ac3bedd998a5d [INFO] checking 6felipe/opengl against master#9ba3d315b4b2bea7485071eaf4b2681320cd2a27 for pr-124592 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F6felipe%2Fopengl" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/6felipe/opengl on toolchain 9ba3d315b4b2bea7485071eaf4b2681320cd2a27 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/6felipe/opengl [INFO] finished tweaking git repo https://github.com/6felipe/opengl [INFO] tweaked toml for git repo https://github.com/6felipe/opengl written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/6felipe/opengl 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" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glfw v0.41.0 [INFO] [stderr] Downloaded xml-rs v0.8.18 [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dcc33410e152cacb0ab78016684605c440f70470fb3525d5ea5d55b9854b9e5 [INFO] running `Command { std: "docker" "start" "-a" "9dcc33410e152cacb0ab78016684605c440f70470fb3525d5ea5d55b9854b9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dcc33410e152cacb0ab78016684605c440f70470fb3525d5ea5d55b9854b9e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dcc33410e152cacb0ab78016684605c440f70470fb3525d5ea5d55b9854b9e5", kill_on_drop: false }` [INFO] [stdout] 9dcc33410e152cacb0ab78016684605c440f70470fb3525d5ea5d55b9854b9e5 [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88b82f11febe57bc657d742c29644f7cae100dc45609a0b68891474d18278341 [INFO] running `Command { std: "docker" "start" "-a" "88b82f11febe57bc657d742c29644f7cae100dc45609a0b68891474d18278341", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling xml-rs v0.8.18 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking chlorine v1.0.10 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling imgui-opengl-renderer v0.12.1 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling imgui-sys v0.11.0 [INFO] [stderr] Compiling glfw-sys v3.3.5 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking glfw v0.41.0 [INFO] [stderr] Checking imgui v0.11.0 [INFO] [stderr] Checking oglp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `gl::*` [INFO] [stdout] --> src/terrain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gl::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shader::Shader` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::shader::Shader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl::*` [INFO] [stdout] --> src/terrain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gl::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shader::Shader` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::shader::Shader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/terrain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex_ammount` [INFO] [stdout] --> src/vbo.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let vertex_ammount = (vertices.len() / 3) as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_ammount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex_ammount` [INFO] [stdout] --> src/vbo.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let vertex_ammount = (vertices.len() / 3) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell_size` [INFO] [stdout] --> src/terrain.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn grid(cols: usize, rows: usize, cell_size: f32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cell_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vbo` [INFO] [stdout] --> src/mesh.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | let (vbo, ebo, vao) = self.vbo; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vbo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ebo` [INFO] [stdout] --> src/mesh.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let (vbo, ebo, vao) = self.vbo; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ebo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vbo` [INFO] [stdout] --> src/mesh.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | let (vbo, ebo, vao) = self.vbo; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vbo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ebo` [INFO] [stdout] --> src/mesh.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let (vbo, ebo, vao) = self.vbo; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ebo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let size = mesh.indices.len() as i32; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/shader.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Shader { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 14 | pub unsafe fn new(shader_type: GLenum, code: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/vbo.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const VERTICES: [f32; 9] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/vbo.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const INDICES: [u32; 3] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vbo`, `ebo`, and `vao` are never read [INFO] [stdout] --> src/vbo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VBO { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 18 | vbo: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | ebo: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | vao: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vbo.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl VBO { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 24 | pub unsafe fn new(vertices: &Vec) -> (u32, u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `right` are never read [INFO] [stdout] --> src/camera.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | target: Vector3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | direction: Vector3, [INFO] [stdout] 16 | right: Vector3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `usize_as_vec3` is never used [INFO] [stdout] --> src/util.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn usize_as_vec3( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Vertex` is never used [INFO] [stdout] --> src/terrain.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | trait Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/mesh.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl <'indices>Mesh<'indices> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub unsafe fn draw(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/terrain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex_ammount` [INFO] [stdout] --> src/vbo.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let vertex_ammount = (vertices.len() / 3) as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_ammount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex_ammount` [INFO] [stdout] --> src/vbo.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let vertex_ammount = (vertices.len() / 3) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell_size` [INFO] [stdout] --> src/terrain.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn grid(cols: usize, rows: usize, cell_size: f32) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cell_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vbo` [INFO] [stdout] --> src/mesh.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | let (vbo, ebo, vao) = self.vbo; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vbo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ebo` [INFO] [stdout] --> src/mesh.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let (vbo, ebo, vao) = self.vbo; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ebo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vbo` [INFO] [stdout] --> src/mesh.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | let (vbo, ebo, vao) = self.vbo; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vbo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ebo` [INFO] [stdout] --> src/mesh.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let (vbo, ebo, vao) = self.vbo; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ebo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let size = mesh.indices.len() as i32; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/shader.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Shader { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 14 | pub unsafe fn new(shader_type: GLenum, code: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/vbo.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const VERTICES: [f32; 9] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/vbo.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const INDICES: [u32; 3] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vbo`, `ebo`, and `vao` are never read [INFO] [stdout] --> src/vbo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VBO { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 18 | vbo: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | ebo: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | vao: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vbo.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl VBO { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 24 | pub unsafe fn new(vertices: &Vec) -> (u32, u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `right` are never read [INFO] [stdout] --> src/camera.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | target: Vector3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | direction: Vector3, [INFO] [stdout] 16 | right: Vector3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `usize_as_vec3` is never used [INFO] [stdout] --> src/util.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn usize_as_vec3( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Vertex` is never used [INFO] [stdout] --> src/terrain.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | trait Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/mesh.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl <'indices>Mesh<'indices> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub unsafe fn draw(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.98s [INFO] running `Command { std: "docker" "inspect" "88b82f11febe57bc657d742c29644f7cae100dc45609a0b68891474d18278341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88b82f11febe57bc657d742c29644f7cae100dc45609a0b68891474d18278341", kill_on_drop: false }` [INFO] [stdout] 88b82f11febe57bc657d742c29644f7cae100dc45609a0b68891474d18278341 [INFO] checking 6felipe/opengl against try#2466b92ed5feb282a98bb984f45d1e6d39f8c1aa for pr-124592 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F6felipe%2Fopengl" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/6felipe/opengl on toolchain 2466b92ed5feb282a98bb984f45d1e6d39f8c1aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/6felipe/opengl [INFO] finished tweaking git repo https://github.com/6felipe/opengl [INFO] tweaked toml for git repo https://github.com/6felipe/opengl written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/6felipe/opengl 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" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2308780deca25ae8f0543a5236f383a7761acc0a5daa93538c2dbb1e08ab1537 [INFO] running `Command { std: "docker" "start" "-a" "2308780deca25ae8f0543a5236f383a7761acc0a5daa93538c2dbb1e08ab1537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2308780deca25ae8f0543a5236f383a7761acc0a5daa93538c2dbb1e08ab1537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2308780deca25ae8f0543a5236f383a7761acc0a5daa93538c2dbb1e08ab1537", kill_on_drop: false }` [INFO] [stdout] 2308780deca25ae8f0543a5236f383a7761acc0a5daa93538c2dbb1e08ab1537 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa42027a885add9f6b7726e30431acfd852fc3da560ea29f5c0125a5639a6b9e [INFO] running `Command { std: "docker" "start" "-a" "fa42027a885add9f6b7726e30431acfd852fc3da560ea29f5c0125a5639a6b9e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling xml-rs v0.8.18 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking chlorine v1.0.10 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling imgui-opengl-renderer v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling imgui-sys v0.11.0 [INFO] [stderr] Compiling glfw-sys v3.3.5 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking glfw v0.41.0 [INFO] [stderr] Checking imgui v0.11.0 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/input_widget.rs:639:44 [INFO] [stdout] | [INFO] [stdout] 608 | impl<'ui, 'p, L, T> $InputFloatN<'ui, 'p, L, T> [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 639 | let mut value: [f32; $N] = value.into(); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected `[f32; 2]`, found type parameter `T` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] ... [INFO] [stdout] 662 | impl_input_floatn!(InputFloat2, MintVec2, 2, igInputFloat2); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 2]` [INFO] [stdout] found type parameter `T` [INFO] [stdout] = note: this error originates in the macro `impl_input_floatn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/input_widget.rs:639:44 [INFO] [stdout] | [INFO] [stdout] 608 | impl<'ui, 'p, L, T> $InputFloatN<'ui, 'p, L, T> [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 639 | let mut value: [f32; $N] = value.into(); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected `[f32; 3]`, found type parameter `T` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] ... [INFO] [stdout] 663 | impl_input_floatn!(InputFloat3, MintVec3, 3, igInputFloat3); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 3]` [INFO] [stdout] found type parameter `T` [INFO] [stdout] = note: this error originates in the macro `impl_input_floatn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/input_widget.rs:639:44 [INFO] [stdout] | [INFO] [stdout] 608 | impl<'ui, 'p, L, T> $InputFloatN<'ui, 'p, L, T> [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 639 | let mut value: [f32; $N] = value.into(); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected `[f32; 4]`, found type parameter `T` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] ... [INFO] [stdout] 664 | impl_input_floatn!(InputFloat4, MintVec4, 4, igInputFloat4); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 4]` [INFO] [stdout] found type parameter `T` [INFO] [stdout] = note: this error originates in the macro `impl_input_floatn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/input_widget.rs:693:44 [INFO] [stdout] | [INFO] [stdout] 676 | impl<'ui, 'p, L, T> $InputIntN<'ui, 'p, L, T> [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 693 | let mut value: [i32; $N] = value.into(); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected `[i32; 2]`, found type parameter `T` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] ... [INFO] [stdout] 716 | impl_input_intn!(InputInt2, MintIVec2, 2, igInputInt2); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected array `[i32; 2]` [INFO] [stdout] found type parameter `T` [INFO] [stdout] = note: this error originates in the macro `impl_input_intn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/input_widget.rs:693:44 [INFO] [stdout] | [INFO] [stdout] 676 | impl<'ui, 'p, L, T> $InputIntN<'ui, 'p, L, T> [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 693 | let mut value: [i32; $N] = value.into(); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected `[i32; 3]`, found type parameter `T` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] ... [INFO] [stdout] 717 | impl_input_intn!(InputInt3, MintIVec3, 3, igInputInt3); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected array `[i32; 3]` [INFO] [stdout] found type parameter `T` [INFO] [stdout] = note: this error originates in the macro `impl_input_intn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/input_widget.rs:693:44 [INFO] [stdout] | [INFO] [stdout] 676 | impl<'ui, 'p, L, T> $InputIntN<'ui, 'p, L, T> [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 693 | let mut value: [i32; $N] = value.into(); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected `[i32; 4]`, found type parameter `T` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] ... [INFO] [stdout] 718 | impl_input_intn!(InputInt4, MintIVec4, 4, igInputInt4); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected array `[i32; 4]` [INFO] [stdout] found type parameter `T` [INFO] [stdout] = note: this error originates in the macro `impl_input_intn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/widget/color_editors.rs:334:37 [INFO] [stdout] | [INFO] [stdout] 195 | impl<'ui, 'a, Label, C> ColorEdit3<'ui, 'a, Label, C> [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 334 | let mut as_vec3: [f32; 3] = as_vec3.into(); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ expected `[f32; 3]`, found type parameter `C` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 3]` [INFO] [stdout] found type parameter `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/widget/color_editors.rs:552:37 [INFO] [stdout] | [INFO] [stdout] 415 | impl<'ui, 'a, T, C> ColorEdit4<'ui, 'a, T, C> [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 552 | let mut as_vec4: [f32; 4] = as_vec4.into(); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ expected `[f32; 4]`, found type parameter `C` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 4]` [INFO] [stdout] found type parameter `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/widget/color_editors.rs:777:35 [INFO] [stdout] | [INFO] [stdout] 633 | impl<'ui, 'a, Label, Color> ColorPicker3<'ui, 'a, Label, Color> [INFO] [stdout] | ----- found this type parameter [INFO] [stdout] ... [INFO] [stdout] 777 | let mut value: [f32; 3] = (*self.value).into().into(); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `[f32; 3]`, found type parameter `Color` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 3]` [INFO] [stdout] found type parameter `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/widget/color_editors.rs:999:31 [INFO] [stdout] | [INFO] [stdout] 857 | impl<'ui, 'a, Label, Color> ColorPicker4<'ui, 'a, Label, Color> [INFO] [stdout] | ----- found this type parameter [INFO] [stdout] ... [INFO] [stdout] 999 | self.ref_color = Some(ref_color.into().into()); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^ expected `[f32; 4]`, found type parameter `Color` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 4]` [INFO] [stdout] found type parameter `Color` [INFO] [stdout] help: the type constructed contains `Color` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/widget/color_editors.rs:999:26 [INFO] [stdout] | [INFO] [stdout] 999 | self.ref_color = Some(ref_color.into().into()); [INFO] [stdout] | ^^^^^-----------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/2466b92ed5feb282a98bb984f45d1e6d39f8c1aa/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-0.11.0/src/widget/color_editors.rs:1007:35 [INFO] [stdout] | [INFO] [stdout] 857 | impl<'ui, 'a, Label, Color> ColorPicker4<'ui, 'a, Label, Color> [INFO] [stdout] | ----- found this type parameter [INFO] [stdout] ... [INFO] [stdout] 1007 | let mut value: [f32; 4] = (*self.value).into().into(); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `[f32; 4]`, found type parameter `Color` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 4]` [INFO] [stdout] found type parameter `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `imgui` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "fa42027a885add9f6b7726e30431acfd852fc3da560ea29f5c0125a5639a6b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa42027a885add9f6b7726e30431acfd852fc3da560ea29f5c0125a5639a6b9e", kill_on_drop: false }` [INFO] [stdout] fa42027a885add9f6b7726e30431acfd852fc3da560ea29f5c0125a5639a6b9e