[INFO] cloning repository https://github.com/denningk/blues [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denningk/blues" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenningk%2Fblues", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenningk%2Fblues'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d25ef35245f595ded17950c9d95f0352bef7fcce [INFO] checking denningk/blues against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenningk%2Fblues" "/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/denningk/blues on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/denningk/blues [INFO] finished tweaking git repo https://github.com/denningk/blues [INFO] tweaked toml for git repo https://github.com/denningk/blues written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/denningk/blues 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.16.6 [INFO] [stderr] Downloaded cc v1.0.57 [INFO] [stderr] Downloaded glfw v0.39.0 [INFO] [stderr] Downloaded glfw-sys v3.3.2 [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 145c573caf4cdfc7f51d9df5698068c49d09a3ff234ebf342e7fd1f87df9bd4e [INFO] running `Command { std: "docker" "start" "-a" "145c573caf4cdfc7f51d9df5698068c49d09a3ff234ebf342e7fd1f87df9bd4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "145c573caf4cdfc7f51d9df5698068c49d09a3ff234ebf342e7fd1f87df9bd4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145c573caf4cdfc7f51d9df5698068c49d09a3ff234ebf342e7fd1f87df9bd4e", kill_on_drop: false }` [INFO] [stdout] 145c573caf4cdfc7f51d9df5698068c49d09a3ff234ebf342e7fd1f87df9bd4e [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de8c88139fe2743d02e010c7f23f2403ee177e96186405c7e76f36036bdff993 [INFO] running `Command { std: "docker" "start" "-a" "de8c88139fe2743d02e010c7f23f2403ee177e96186405c7e76f36036bdff993", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking png v0.16.6 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.7 [INFO] [stderr] Checking glfw v0.39.0 [INFO] [stderr] Checking blues v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `uniform_locations` is never read [INFO] [stdout] --> src/shaders/shader_program.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ShaderProgram<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | uniform_locations: Vec<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uniform_locations` is never read [INFO] [stdout] --> src/shaders/shader_program.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ShaderProgram<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | uniform_locations: Vec<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load_float`, `load_vector`, and `load_boolean` are never used [INFO] [stdout] --> src/shaders/shader_program.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> ShaderProgram<'a> { [INFO] [stdout] | -------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | fn load_float(location: i32, value: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn load_vector(location: i32, vector: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn load_boolean(location: i32, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load_float`, `load_vector`, and `load_boolean` are never used [INFO] [stdout] --> src/shaders/shader_program.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> ShaderProgram<'a> { [INFO] [stdout] | -------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | fn load_float(location: i32, value: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn load_vector(location: i32, vector: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn load_boolean(location: i32, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/entities/entity.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Entity { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn increase_position(&mut self, dx: f32, dy: f32, dz: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_model(&mut self, model: TexturedModel) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn set_position(&mut self, position: Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn set_rot_x(&mut self, rot_x: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn set_rot_y(&mut self, rot_y: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_rot_z(&mut self, rot_z: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_scale(&mut self, scale: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/entities/entity.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Entity { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn increase_position(&mut self, dx: f32, dy: f32, dz: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_model(&mut self, model: TexturedModel) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn set_position(&mut self, position: Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn set_rot_x(&mut self, rot_x: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn set_rot_y(&mut self, rot_y: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_rot_z(&mut self, rot_z: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_scale(&mut self, scale: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `roll` is never read [INFO] [stdout] --> src/entities/camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | roll: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `roll` is never read [INFO] [stdout] --> src/entities/camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | roll: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_roll` is never used [INFO] [stdout] --> src/entities/camera.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_roll(&self) -> &f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_roll` is never used [INFO] [stdout] --> src/entities/camera.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_roll(&self) -> &f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders/shader_program.rs:52:101 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { return gl::GetUniformLocation(self.program_id, CString::new(uniform_name).unwrap().as_ptr()); } [INFO] [stdout] | ----------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders/shader_program.rs:81:106 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { gl::BindAttribLocation(self.program_id, attribute, CString::new(variable_name).unwrap().as_ptr()); } [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders/shader_program.rs:52:101 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { return gl::GetUniformLocation(self.program_id, CString::new(uniform_name).unwrap().as_ptr()); } [INFO] [stdout] | ----------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders/shader_program.rs:81:106 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { gl::BindAttribLocation(self.program_id, attribute, CString::new(variable_name).unwrap().as_ptr()); } [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.87s [INFO] running `Command { std: "docker" "inspect" "de8c88139fe2743d02e010c7f23f2403ee177e96186405c7e76f36036bdff993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8c88139fe2743d02e010c7f23f2403ee177e96186405c7e76f36036bdff993", kill_on_drop: false }` [INFO] [stdout] de8c88139fe2743d02e010c7f23f2403ee177e96186405c7e76f36036bdff993