[INFO] cloning repository https://github.com/niooii/sdl-gl-rs-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niooii/sdl-gl-rs-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fsdl-gl-rs-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fsdl-gl-rs-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e48a99836e87a641215aa22619f3fff0c0c5dfb [INFO] checking niooii/sdl-gl-rs-template against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fsdl-gl-rs-template" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niooii/sdl-gl-rs-template on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/niooii/sdl-gl-rs-template [INFO] finished tweaking git repo https://github.com/niooii/sdl-gl-rs-template [INFO] tweaked toml for git repo https://github.com/niooii/sdl-gl-rs-template written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/niooii/sdl-gl-rs-template 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea35fde74b856d985df2da8c6056de52a3cd801785b7a797edd317de43ccd82e [INFO] running `Command { std: "docker" "start" "-a" "ea35fde74b856d985df2da8c6056de52a3cd801785b7a797edd317de43ccd82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea35fde74b856d985df2da8c6056de52a3cd801785b7a797edd317de43ccd82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea35fde74b856d985df2da8c6056de52a3cd801785b7a797edd317de43ccd82e", kill_on_drop: false }` [INFO] [stdout] ea35fde74b856d985df2da8c6056de52a3cd801785b7a797edd317de43ccd82e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea765e2ead473b049b4083ee4537750535c5a70644fe196d7039270c419759cd [INFO] running `Command { std: "docker" "start" "-a" "ea765e2ead473b049b4083ee4537750535c5a70644fe196d7039270c419759cd", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking sdl_gl_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/shader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/shader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attrib`, `Program`, `Shader` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use shader::{Shader, Program, Attrib}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/shader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/shader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attrib`, `Program`, `Shader` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use shader::{Shader, Program, Attrib}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Attrib` is never constructed [INFO] [stdout] --> src/shader.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Attrib { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrib` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `vertex_from_source`, `fragment_from_source`, `from_source`, and `get_compilation_log` are never used [INFO] [stdout] --> src/shader.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Shader { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 26 | /// Compiles a vertex shader from source. [INFO] [stdout] 27 | pub fn vertex_from_source(source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn fragment_from_source(source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn from_source(source: &str, shader_type: GLuint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_compilation_log(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/shader.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 83 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `link`, `use_program`, `get_attrib`, `get_uniform`, `get_uniform_option`, and `get_link_log` are never used [INFO] [stdout] --> src/shader.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Program { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn link(name: String, shaders: &[&Shader]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn use_program(&self, cb: F) where [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_attrib(&self, name: &str) -> Attrib { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn get_uniform(&self, name: &str) -> Uniform { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn get_uniform_option(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn get_link_log(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgramUniformContext` is never constructed [INFO] [stdout] --> src/shader.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct ProgramUniformContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_i32`, `set_float`, `set_bool`, `set_vec3`, and `set_mat4` are never used [INFO] [stdout] --> src/shader.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 185 | impl ProgramUniformContext { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 186 | /// Corresponds to `glUniform1i()` [INFO] [stdout] 187 | pub fn set_i32(&self, u: Uniform, v: i32) { unsafe { gl::Uniform1i(u.id, v); }; } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 188 | /// Corresponds to `glUniform1f()` [INFO] [stdout] 189 | pub fn set_float(&self, u: Uniform, v: f32) { unsafe { gl::Uniform1f(u.id, v); }; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 190 | /// Corresponds with `glUniform1i()` [INFO] [stdout] 191 | pub fn set_bool(&self, u: Uniform, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn set_vec3(&self, u: Uniform, v: (f32,f32,f32)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn set_mat4(&self, u: Uniform, mat: &[[f32; 4]; 4]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Uniform` is never constructed [INFO] [stdout] --> src/shader.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Uniform { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Uniform` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Attrib` is never constructed [INFO] [stdout] --> src/shader.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Attrib { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrib` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `vertex_from_source`, `fragment_from_source`, `from_source`, and `get_compilation_log` are never used [INFO] [stdout] --> src/shader.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Shader { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 26 | /// Compiles a vertex shader from source. [INFO] [stdout] 27 | pub fn vertex_from_source(source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn fragment_from_source(source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn from_source(source: &str, shader_type: GLuint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_compilation_log(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/shader.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 83 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `link`, `use_program`, `get_attrib`, `get_uniform`, `get_uniform_option`, and `get_link_log` are never used [INFO] [stdout] --> src/shader.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Program { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn link(name: String, shaders: &[&Shader]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn use_program(&self, cb: F) where [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_attrib(&self, name: &str) -> Attrib { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn get_uniform(&self, name: &str) -> Uniform { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn get_uniform_option(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn get_link_log(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgramUniformContext` is never constructed [INFO] [stdout] --> src/shader.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct ProgramUniformContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_i32`, `set_float`, `set_bool`, `set_vec3`, and `set_mat4` are never used [INFO] [stdout] --> src/shader.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 185 | impl ProgramUniformContext { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 186 | /// Corresponds to `glUniform1i()` [INFO] [stdout] 187 | pub fn set_i32(&self, u: Uniform, v: i32) { unsafe { gl::Uniform1i(u.id, v); }; } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 188 | /// Corresponds to `glUniform1f()` [INFO] [stdout] 189 | pub fn set_float(&self, u: Uniform, v: f32) { unsafe { gl::Uniform1f(u.id, v); }; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 190 | /// Corresponds with `glUniform1i()` [INFO] [stdout] 191 | pub fn set_bool(&self, u: Uniform, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn set_vec3(&self, u: Uniform, v: (f32,f32,f32)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn set_mat4(&self, u: Uniform, mat: &[[f32; 4]; 4]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Uniform` is never constructed [INFO] [stdout] --> src/shader.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Uniform { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Uniform` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.56s [INFO] running `Command { std: "docker" "inspect" "ea765e2ead473b049b4083ee4537750535c5a70644fe196d7039270c419759cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea765e2ead473b049b4083ee4537750535c5a70644fe196d7039270c419759cd", kill_on_drop: false }` [INFO] [stdout] ea765e2ead473b049b4083ee4537750535c5a70644fe196d7039270c419759cd [INFO] checking niooii/sdl-gl-rs-template against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fsdl-gl-rs-template" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niooii/sdl-gl-rs-template on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/niooii/sdl-gl-rs-template [INFO] finished tweaking git repo https://github.com/niooii/sdl-gl-rs-template [INFO] tweaked toml for git repo https://github.com/niooii/sdl-gl-rs-template written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/niooii/sdl-gl-rs-template 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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62303f1195c9176f118f2a31ece7ee8102681adbbdb245e2b16c12961ca6e3bc [INFO] running `Command { std: "docker" "start" "-a" "62303f1195c9176f118f2a31ece7ee8102681adbbdb245e2b16c12961ca6e3bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62303f1195c9176f118f2a31ece7ee8102681adbbdb245e2b16c12961ca6e3bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62303f1195c9176f118f2a31ece7ee8102681adbbdb245e2b16c12961ca6e3bc", kill_on_drop: false }` [INFO] [stdout] 62303f1195c9176f118f2a31ece7ee8102681adbbdb245e2b16c12961ca6e3bc [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8801126bf4f7ee84a5d658fdd65c6d4d3397e1181e9fac32cba181cd6e156b3 [INFO] running `Command { std: "docker" "start" "-a" "d8801126bf4f7ee84a5d658fdd65c6d4d3397e1181e9fac32cba181cd6e156b3", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking sdl_gl_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/shader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/shader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attrib`, `Program`, `Shader` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use shader::{Shader, Program, Attrib}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/shader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/shader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attrib`, `Program`, `Shader` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use shader::{Shader, Program, Attrib}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Attrib` is never constructed [INFO] [stdout] --> src/shader.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Attrib { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrib` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `vertex_from_source`, `fragment_from_source`, `from_source`, and `get_compilation_log` are never used [INFO] [stdout] --> src/shader.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Shader { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 26 | /// Compiles a vertex shader from source. [INFO] [stdout] 27 | pub fn vertex_from_source(source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn fragment_from_source(source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn from_source(source: &str, shader_type: GLuint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_compilation_log(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/shader.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 83 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `link`, `use_program`, `get_attrib`, `get_uniform`, `get_uniform_option`, and `get_link_log` are never used [INFO] [stdout] --> src/shader.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Program { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn link(name: String, shaders: &[&Shader]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn use_program(&self, cb: F) where [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_attrib(&self, name: &str) -> Attrib { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn get_uniform(&self, name: &str) -> Uniform { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn get_uniform_option(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn get_link_log(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgramUniformContext` is never constructed [INFO] [stdout] --> src/shader.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct ProgramUniformContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_i32`, `set_float`, `set_bool`, `set_vec3`, and `set_mat4` are never used [INFO] [stdout] --> src/shader.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 185 | impl ProgramUniformContext { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 186 | /// Corresponds to `glUniform1i()` [INFO] [stdout] 187 | pub fn set_i32(&self, u: Uniform, v: i32) { unsafe { gl::Uniform1i(u.id, v); }; } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 188 | /// Corresponds to `glUniform1f()` [INFO] [stdout] 189 | pub fn set_float(&self, u: Uniform, v: f32) { unsafe { gl::Uniform1f(u.id, v); }; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 190 | /// Corresponds with `glUniform1i()` [INFO] [stdout] 191 | pub fn set_bool(&self, u: Uniform, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn set_vec3(&self, u: Uniform, v: (f32,f32,f32)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn set_mat4(&self, u: Uniform, mat: &[[f32; 4]; 4]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Uniform` is never constructed [INFO] [stdout] --> src/shader.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Uniform { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Uniform` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Attrib` is never constructed [INFO] [stdout] --> src/shader.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Attrib { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrib` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `vertex_from_source`, `fragment_from_source`, `from_source`, and `get_compilation_log` are never used [INFO] [stdout] --> src/shader.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Shader { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 26 | /// Compiles a vertex shader from source. [INFO] [stdout] 27 | pub fn vertex_from_source(source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn fragment_from_source(source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn from_source(source: &str, shader_type: GLuint) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_compilation_log(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/shader.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 83 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `link`, `use_program`, `get_attrib`, `get_uniform`, `get_uniform_option`, and `get_link_log` are never used [INFO] [stdout] --> src/shader.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Program { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn link(name: String, shaders: &[&Shader]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn use_program(&self, cb: F) where [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_attrib(&self, name: &str) -> Attrib { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn get_uniform(&self, name: &str) -> Uniform { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn get_uniform_option(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn get_link_log(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgramUniformContext` is never constructed [INFO] [stdout] --> src/shader.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct ProgramUniformContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_i32`, `set_float`, `set_bool`, `set_vec3`, and `set_mat4` are never used [INFO] [stdout] --> src/shader.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 185 | impl ProgramUniformContext { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 186 | /// Corresponds to `glUniform1i()` [INFO] [stdout] 187 | pub fn set_i32(&self, u: Uniform, v: i32) { unsafe { gl::Uniform1i(u.id, v); }; } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 188 | /// Corresponds to `glUniform1f()` [INFO] [stdout] 189 | pub fn set_float(&self, u: Uniform, v: f32) { unsafe { gl::Uniform1f(u.id, v); }; } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 190 | /// Corresponds with `glUniform1i()` [INFO] [stdout] 191 | pub fn set_bool(&self, u: Uniform, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn set_vec3(&self, u: Uniform, v: (f32,f32,f32)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn set_mat4(&self, u: Uniform, mat: &[[f32; 4]; 4]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Uniform` is never constructed [INFO] [stdout] --> src/shader.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Uniform { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Uniform` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.27s [INFO] running `Command { std: "docker" "inspect" "d8801126bf4f7ee84a5d658fdd65c6d4d3397e1181e9fac32cba181cd6e156b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8801126bf4f7ee84a5d658fdd65c6d4d3397e1181e9fac32cba181cd6e156b3", kill_on_drop: false }` [INFO] [stdout] d8801126bf4f7ee84a5d658fdd65c6d4d3397e1181e9fac32cba181cd6e156b3