[INFO] cloning repository https://github.com/GGalizzi/learningopengl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GGalizzi/learningopengl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGalizzi%2Flearningopengl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGalizzi%2Flearningopengl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2161818ae7a92172703db161ed25e8cc13409a9f [INFO] testing GGalizzi/learningopengl against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGalizzi%2Flearningopengl" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GGalizzi/learningopengl 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/GGalizzi/learningopengl [INFO] finished tweaking git repo https://github.com/GGalizzi/learningopengl [INFO] tweaked toml for git repo https://github.com/GGalizzi/learningopengl written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/GGalizzi/learningopengl 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] Updating git repository `https://github.com/brendanzab/gl-rs/` [INFO] [stderr] Updating git submodule `https://github.com/KhronosGroup/OpenGL-Registry.git` [INFO] [stderr] Updating git submodule `https://github.com/google/angle.git` [INFO] [stderr] Updating git submodule `https://github.com/KhronosGroup/EGL-Registry.git` [INFO] [stderr] Updating git submodule `https://github.com/KhronosGroup/WebGL.git` [INFO] [stderr] Updating git submodule `https://github.com/KhronosGroup/WebGLDeveloperTools.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.40 [INFO] [stderr] Downloaded rayon v1.4.0 [INFO] [stderr] Downloaded glam v0.9.4 [INFO] [stderr] Downloaded rayon-core v1.8.0 [INFO] [stderr] Downloaded event-listener v2.4.0 [INFO] [stderr] Downloaded fastrand v1.3.5 [INFO] [stderr] Downloaded ron v0.6.2 [INFO] [stderr] Downloaded async-executor v0.2.1 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.3 [INFO] [stderr] Downloaded hexasphere v1.0.0 [INFO] [stderr] Downloaded async-channel v1.4.2 [INFO] [stderr] Downloaded ahash v0.4.4 [INFO] [stderr] Downloaded fixedbitset v0.3.1 [INFO] [stderr] Downloaded futures-lite v1.4.0 [INFO] [stderr] Downloaded shaderc v0.6.2 [INFO] [stderr] Downloaded vek v0.12.0 [INFO] [stderr] Downloaded shaderc-sys v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] 430d39eb97d9a15942fd898adc7e8cee6083cab498bb17f40fc653a7190221ad [INFO] running `Command { std: "docker" "start" "-a" "430d39eb97d9a15942fd898adc7e8cee6083cab498bb17f40fc653a7190221ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "430d39eb97d9a15942fd898adc7e8cee6083cab498bb17f40fc653a7190221ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430d39eb97d9a15942fd898adc7e8cee6083cab498bb17f40fc653a7190221ad", kill_on_drop: false }` [INFO] [stdout] 430d39eb97d9a15942fd898adc7e8cee6083cab498bb17f40fc653a7190221ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] 6b1fd89c24b6afb7234dc77a01187ea1271363f395c8218a316a017d509088c3 [INFO] running `Command { std: "docker" "start" "-a" "6b1fd89c24b6afb7234dc77a01187ea1271363f395c8218a316a017d509088c3", 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] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling glam v0.9.4 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling fastrand v1.3.5 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling event-listener v2.4.0 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling fixedbitset v0.3.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling khronos_api v3.2.0 (https://github.com/brendanzab/gl-rs/#1cd256c7) [INFO] [stderr] Compiling ttf-parser v0.8.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.3 [INFO] [stderr] Compiling rectangle-pack v0.1.6 [INFO] [stderr] Compiling sdl2 v0.34.3 (https://github.com/rust-sdl2/rust-sdl2#93d4c0ac) [INFO] [stderr] Compiling openglsdl v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling sdl2-sys v0.34.2 (https://github.com/rust-sdl2/rust-sdl2#93d4c0ac) [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling vek v0.12.0 [INFO] [stderr] Compiling async-channel v1.4.2 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling futures-lite v1.4.0 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling gl_generator v0.14.1 (https://github.com/brendanzab/gl-rs/#1cd256c7) [INFO] [stderr] Compiling bevy-glsl-to-spirv v0.1.7 [INFO] [stderr] Compiling spirv-reflect v0.2.3 [INFO] [stderr] Compiling stretch v0.3.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling owned_ttf_parser v0.8.0 [INFO] [stderr] Compiling async-executor v0.2.1 [INFO] [stderr] Compiling inotify v0.8.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ab_glyph v0.2.5 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling bevy_tasks v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling gl v0.14.0 (https://github.com/brendanzab/gl-rs/#1cd256c7) [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling ahash v0.4.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling bevy_utils v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling notify v5.0.0-pre.3 [INFO] [stderr] Compiling guillotiere v0.5.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.9 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling ron v0.6.2 [INFO] [stderr] Compiling erased-serde v0.3.12 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling bevy_math v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling hexasphere v1.0.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling bevy_hecs_macros v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_derive v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_property_derive v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_hecs v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_ecs v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_app v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_property v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_window v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_input v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_type_registry v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_asset v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_core v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_transform v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_diagnostic v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_scene v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_render v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_sprite v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_pbr v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_text v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy_ui v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stderr] Compiling bevy v0.1.3 (https://github.com/bevyengine/bevy#9d0abeb0) [INFO] [stdout] warning: unused import: `crate::component::BoundingBox` [INFO] [stdout] --> src/map.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::component::BoundingBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util` [INFO] [stdout] --> src/plugin/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | util, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triangle` [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let triangle = Mesh::build() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane` [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let plane = Mesh::build() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ceiling` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let ceiling = Mesh::build() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ceiling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_texture` [INFO] [stdout] --> src/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let floor_texture = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mvp` [INFO] [stdout] --> src/main.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mvp = projection * view * model; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mvp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colvec` [INFO] [stdout] --> src/main.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let colvec = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_colvec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/map.rs:130:33 [INFO] [stdout] | [INFO] [stdout] 130 | if let Some(block) = thisblocks { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/plugin/mod.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let speed = dt * speed; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/plugin/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | for (direction, mut velocity, mut position, bound_box) in [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bound_box` [INFO] [stdout] --> src/plugin/mod.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | for (direction, mut velocity, mut position, bound_box) in [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bound_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices` [INFO] [stdout] --> src/mesh/vertex.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(ref indices) = self.indices { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/component.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut vector = self.vector + direction; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/init.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/component.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&mut self, rh: Vec3) { [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: `mul` [INFO] [stdout] --> src/component.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn mul(&mut self, vec: Vec3) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_bool` [INFO] [stdout] --> src/draw.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn with_bool( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mul_each` [INFO] [stdout] --> src/plugin/mod.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn mul_each(vec: Vec3, other: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/texture.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/texture.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `nznormalize` [INFO] [stdout] --> src/util.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn nznormalize(v: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_dim` [INFO] [stdout] --> src/util.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn max_dim(vec: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_horizontal_penetration` [INFO] [stdout] --> src/util.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn is_horizontal_penetration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(clamp)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `clamp` has been stable since 1.50.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(clamp)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 93 | &std::ffi::CString::new(src.as_bytes()) [INFO] [stdout] | ______________- [INFO] [stdout] 94 | | .unwrap() [INFO] [stdout] | |_________________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 95 | .as_ptr(), [INFO] [stdout] | ^^^^^^ this pointer will be invalid [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] error: aborting due to previous error; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openglsdl` due to 2 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6b1fd89c24b6afb7234dc77a01187ea1271363f395c8218a316a017d509088c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1fd89c24b6afb7234dc77a01187ea1271363f395c8218a316a017d509088c3", kill_on_drop: false }` [INFO] [stdout] 6b1fd89c24b6afb7234dc77a01187ea1271363f395c8218a316a017d509088c3