[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] testing denningk/blues against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenningk%2Fblues" "/workspace/builds/worker-89/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-89/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/denningk/blues on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-89/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 image v0.23.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5904e0518a3d417f3f82bb757d75278143020bae38f713c149e6786c09314b8 [INFO] running `Command { std: "docker" "start" "-a" "c5904e0518a3d417f3f82bb757d75278143020bae38f713c149e6786c09314b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5904e0518a3d417f3f82bb757d75278143020bae38f713c149e6786c09314b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5904e0518a3d417f3f82bb757d75278143020bae38f713c149e6786c09314b8", kill_on_drop: false }` [INFO] [stdout] c5904e0518a3d417f3f82bb757d75278143020bae38f713c149e6786c09314b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d63e5c27ddceaf693fdb9d5ca51f6e8661da962888ec7a4baa0654261c13be0 [INFO] running `Command { std: "docker" "start" "-a" "2d63e5c27ddceaf693fdb9d5ca51f6e8661da962888ec7a4baa0654261c13be0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling png v0.16.6 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.7 [INFO] [stderr] Compiling glfw v0.39.0 [INFO] [stderr] Compiling blues v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `uniform_locations` [INFO] [stdout] --> src/shaders/shader_program.rs:16:5 [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 function is never used: `load_float` [INFO] [stdout] --> src/shaders/shader_program.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn load_float(location: i32, value: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_vector` [INFO] [stdout] --> src/shaders/shader_program.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn load_vector(location: i32, vector: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_boolean` [INFO] [stdout] --> src/shaders/shader_program.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn load_boolean(location: i32, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increase_position` [INFO] [stdout] --> src/entities/entity.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn increase_position(&mut self, dx: f32, dy: f32, dz: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_model` [INFO] [stdout] --> src/entities/entity.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_model(&mut self, model: TexturedModel) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_position` [INFO] [stdout] --> src/entities/entity.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_position(&mut self, position: Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_rot_x` [INFO] [stdout] --> src/entities/entity.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn set_rot_x(&mut self, rot_x: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_rot_y` [INFO] [stdout] --> src/entities/entity.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn set_rot_y(&mut self, rot_y: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_rot_z` [INFO] [stdout] --> src/entities/entity.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn set_rot_z(&mut self, rot_z: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_scale` [INFO] [stdout] --> src/entities/entity.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn set_scale(&mut self, scale: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `roll` [INFO] [stdout] --> src/entities/camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | roll: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_roll` [INFO] [stdout] --> src/entities/camera.rs:49:12 [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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "2d63e5c27ddceaf693fdb9d5ca51f6e8661da962888ec7a4baa0654261c13be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d63e5c27ddceaf693fdb9d5ca51f6e8661da962888ec7a4baa0654261c13be0", kill_on_drop: false }` [INFO] [stdout] 2d63e5c27ddceaf693fdb9d5ca51f6e8661da962888ec7a4baa0654261c13be0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a150024faf31944aa0a1f44103a512b41900e8db3e38dd1297f058503abd106c [INFO] running `Command { std: "docker" "start" "-a" "a150024faf31944aa0a1f44103a512b41900e8db3e38dd1297f058503abd106c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling blues v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `uniform_locations` [INFO] [stdout] --> src/shaders/shader_program.rs:16:5 [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 function is never used: `load_float` [INFO] [stdout] --> src/shaders/shader_program.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn load_float(location: i32, value: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_vector` [INFO] [stdout] --> src/shaders/shader_program.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn load_vector(location: i32, vector: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_boolean` [INFO] [stdout] --> src/shaders/shader_program.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn load_boolean(location: i32, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increase_position` [INFO] [stdout] --> src/entities/entity.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn increase_position(&mut self, dx: f32, dy: f32, dz: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_model` [INFO] [stdout] --> src/entities/entity.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_model(&mut self, model: TexturedModel) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_position` [INFO] [stdout] --> src/entities/entity.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_position(&mut self, position: Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_rot_x` [INFO] [stdout] --> src/entities/entity.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn set_rot_x(&mut self, rot_x: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_rot_y` [INFO] [stdout] --> src/entities/entity.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn set_rot_y(&mut self, rot_y: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_rot_z` [INFO] [stdout] --> src/entities/entity.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn set_rot_z(&mut self, rot_z: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_scale` [INFO] [stdout] --> src/entities/entity.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn set_scale(&mut self, scale: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `roll` [INFO] [stdout] --> src/entities/camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | roll: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_roll` [INFO] [stdout] --> src/entities/camera.rs:49:12 [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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "a150024faf31944aa0a1f44103a512b41900e8db3e38dd1297f058503abd106c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a150024faf31944aa0a1f44103a512b41900e8db3e38dd1297f058503abd106c", kill_on_drop: false }` [INFO] [stdout] a150024faf31944aa0a1f44103a512b41900e8db3e38dd1297f058503abd106c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a0be628778464231278beaffe5cbed5725a5f05ee7d56f06862010044a6d7f57 [INFO] running `Command { std: "docker" "start" "-a" "a0be628778464231278beaffe5cbed5725a5f05ee7d56f06862010044a6d7f57", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `uniform_locations` [INFO] [stderr] --> src/shaders/shader_program.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | uniform_locations: Vec<&'a str>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load_float` [INFO] [stderr] --> src/shaders/shader_program.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | fn load_float(location: i32, value: f32) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load_vector` [INFO] [stderr] --> src/shaders/shader_program.rs:88:8 [INFO] [stderr] | [INFO] [stderr] 88 | fn load_vector(location: i32, vector: &Vector3) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load_boolean` [INFO] [stderr] --> src/shaders/shader_program.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | fn load_boolean(location: i32, value: bool) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `increase_position` [INFO] [stderr] --> src/entities/entity.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn increase_position(&mut self, dx: f32, dy: f32, dz: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_model` [INFO] [stderr] --> src/entities/entity.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn set_model(&mut self, model: TexturedModel) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_position` [INFO] [stderr] --> src/entities/entity.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn set_position(&mut self, position: Vector3) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_rot_x` [INFO] [stderr] --> src/entities/entity.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn set_rot_x(&mut self, rot_x: f32) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_rot_y` [INFO] [stderr] --> src/entities/entity.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn set_rot_y(&mut self, rot_y: f32) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_rot_z` [INFO] [stderr] --> src/entities/entity.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn set_rot_z(&mut self, rot_z: f32) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_scale` [INFO] [stderr] --> src/entities/entity.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn set_scale(&mut self, scale: f32) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `roll` [INFO] [stderr] --> src/entities/camera.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | roll: f32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_roll` [INFO] [stderr] --> src/entities/camera.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn get_roll(&self) -> &f32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/shaders/shader_program.rs:52:101 [INFO] [stderr] | [INFO] [stderr] 52 | unsafe { return gl::GetUniformLocation(self.program_id, CString::new(uniform_name).unwrap().as_ptr()); } [INFO] [stderr] | ----------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/shaders/shader_program.rs:81:106 [INFO] [stderr] | [INFO] [stderr] 81 | unsafe { gl::BindAttribLocation(self.program_id, attribute, CString::new(variable_name).unwrap().as_ptr()); } [INFO] [stderr] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: `blues` (bin "blues" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blues-c46966d627578a08) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a0be628778464231278beaffe5cbed5725a5f05ee7d56f06862010044a6d7f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0be628778464231278beaffe5cbed5725a5f05ee7d56f06862010044a6d7f57", kill_on_drop: false }` [INFO] [stdout] a0be628778464231278beaffe5cbed5725a5f05ee7d56f06862010044a6d7f57