[INFO] cloning repository https://github.com/akberg/gl-marching_cubes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akberg/gl-marching_cubes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakberg%2Fgl-marching_cubes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakberg%2Fgl-marching_cubes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdf6bc15434091477372f115cd9084305030536b [INFO] checking akberg/gl-marching_cubes against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakberg%2Fgl-marching_cubes" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akberg/gl-marching_cubes on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akberg/gl-marching_cubes [INFO] finished tweaking git repo https://github.com/akberg/gl-marching_cubes [INFO] tweaked toml for git repo https://github.com/akberg/gl-marching_cubes written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/akberg/gl-marching_cubes 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" "+18a6d911caba59605eb03db1452848a85d2e5879" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tobj v3.2.2 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded wayland-egl v0.29.4 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded tiff v0.5.0 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded png v0.16.7 [INFO] [stderr] Downloaded noise v0.7.0 [INFO] [stderr] Downloaded serde v1.0.114 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded nalgebra v0.31.0 [INFO] [stderr] Downloaded image v0.23.8 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded num-rational v0.3.0 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded wide v0.7.4 [INFO] [stderr] Downloaded simba v0.7.1 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded nalgebra-glm v0.17.0 [INFO] [stderr] Downloaded either v1.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ddf4a3f08626de20495f46fe9f6fca8bba305c23d47c51366f18b55f5857169 [INFO] running `Command { std: "docker" "start" "-a" "2ddf4a3f08626de20495f46fe9f6fca8bba305c23d47c51366f18b55f5857169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ddf4a3f08626de20495f46fe9f6fca8bba305c23d47c51366f18b55f5857169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ddf4a3f08626de20495f46fe9f6fca8bba305c23d47c51366f18b55f5857169", kill_on_drop: false }` [INFO] [stdout] 2ddf4a3f08626de20495f46fe9f6fca8bba305c23d47c51366f18b55f5857169 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e12173156006b2bc53f39a16c6dc05c7f556266b82f4c838ea9126e729d48ac7 [INFO] running `Command { std: "docker" "start" "-a" "e12173156006b2bc53f39a16c6dc05c7f556266b82f4c838ea9126e729d48ac7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking weezl v0.1.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking tobj v3.2.2 [INFO] [stderr] Checking simba v0.7.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking image v0.23.8 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.12 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking wayland-egl v0.29.4 [INFO] [stderr] Checking noise v0.7.0 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking nalgebra v0.31.0 [INFO] [stderr] Checking glutin v0.28.0 [INFO] [stderr] Checking nalgebra-glm v0.17.0 [INFO] [stderr] Checking gl-marching_cubes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NoiseFn` [INFO] [stdout] --> src/mc.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use noise::{self, NoiseFn}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoiseFn` [INFO] [stdout] --> src/mc.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use noise::{self, NoiseFn}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex_count` [INFO] [stdout] --> src/mc.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | let vertex_count = vertices.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/mc.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | color: glm::TVec4 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `perlin` [INFO] [stdout] --> src/mc.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | let perlin = noise::Perlin::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_perlin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mvp` [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | let mvp = glm::ortho(0.0f32, SCREEN_W as _, 0.0, SCREEN_H as _, 0.0, 1.0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mvp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/main.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | let delta_time = now.duration_since(last_frame_time).as_secs_f32(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube_ic` [INFO] [stdout] --> src/main.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let cube_ic = m.index_count; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cube_ic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex_count` [INFO] [stdout] --> src/mc.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | let vertex_count = vertices.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/mc.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | color: glm::TVec4 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `perlin` [INFO] [stdout] --> src/mc.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | let perlin = noise::Perlin::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_perlin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mvp` [INFO] [stdout] --> src/main.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | let mvp = glm::ortho(0.0f32, SCREEN_W as _, 0.0, SCREEN_H as _, 0.0, 1.0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mvp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut f = f.split(b' '); [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: unused variable: `delta_time` [INFO] [stdout] --> src/main.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | let delta_time = now.duration_since(last_frame_time).as_secs_f32(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let mut mouse_pos = (0.0, 0.0); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube_ic` [INFO] [stdout] --> src/main.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let cube_ic = m.index_count; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cube_ic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `size_of` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn size_of() -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset` is never used [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn offset(n: u32) -> *const c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec4_f32_to_f64` is never used [INFO] [stdout] --> src/util.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn vec4_f32_to_f64(v: &glm::TVec4) -> glm::TVec4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec4_f64_to_f632` is never used [INFO] [stdout] --> src/util.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn vec4_f64_to_f632(v: &glm::TVec4) -> glm::TVec4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_f32_to_f64` is never used [INFO] [stdout] --> src/util.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn vec3_f32_to_f64(v: &glm::TVec3) -> glm::TVec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_f64_to_f632` is never used [INFO] [stdout] --> src/util.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn vec3_f64_to_f632(v: &glm::TVec3) -> glm::TVec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec2_f32_to_f64` is never used [INFO] [stdout] --> src/util.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn vec2_f32_to_f64(v: &glm::TVec2) -> glm::TVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec2_f64_to_f632` is never used [INFO] [stdout] --> src/util.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn vec2_f64_to_f632(v: &glm::TVec2) -> glm::TVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mc_test` is never used [INFO] [stdout] --> src/mc.rs:569:8 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn mc_test() -> Mesh { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut f = f.split(b' '); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let mut mouse_pos = (0.0, 0.0); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | writeln!(f, "129 129 129"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | write!(f, "{:.4} ", (perlin.get([i as f64 * nfreq, j as f64 * nfreq, k as f64 * nfreq]) + 1.0) / 2.0);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:30:98 [INFO] [stdout] | [INFO] [stdout] 30 | gl::GetUniformLocation(self.program_id, CString::new(name).expect("CString::new failed").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: function `size_of` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn size_of() -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `offset` is never used [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn offset(n: u32) -> *const c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec4_f32_to_f64` is never used [INFO] [stdout] --> src/util.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn vec4_f32_to_f64(v: &glm::TVec4) -> glm::TVec4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec4_f64_to_f632` is never used [INFO] [stdout] --> src/util.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn vec4_f64_to_f632(v: &glm::TVec4) -> glm::TVec4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_f32_to_f64` is never used [INFO] [stdout] --> src/util.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn vec3_f32_to_f64(v: &glm::TVec3) -> glm::TVec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_f64_to_f632` is never used [INFO] [stdout] --> src/util.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn vec3_f64_to_f632(v: &glm::TVec3) -> glm::TVec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec2_f32_to_f64` is never used [INFO] [stdout] --> src/util.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn vec2_f32_to_f64(v: &glm::TVec2) -> glm::TVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec2_f64_to_f632` is never used [INFO] [stdout] --> src/util.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn vec2_f64_to_f632(v: &glm::TVec2) -> glm::TVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mc_test` is never used [INFO] [stdout] --> src/mc.rs:569:8 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn mc_test() -> Mesh { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | writeln!(f, "129 129 129"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | write!(f, "{:.4} ", (perlin.get([i as f64 * nfreq, j as f64 * nfreq, k as f64 * nfreq]) + 1.0) / 2.0);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:30:98 [INFO] [stdout] | [INFO] [stdout] 30 | gl::GetUniformLocation(self.program_id, CString::new(name).expect("CString::new failed").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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.05s [INFO] running `Command { std: "docker" "inspect" "e12173156006b2bc53f39a16c6dc05c7f556266b82f4c838ea9126e729d48ac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e12173156006b2bc53f39a16c6dc05c7f556266b82f4c838ea9126e729d48ac7", kill_on_drop: false }` [INFO] [stdout] e12173156006b2bc53f39a16c6dc05c7f556266b82f4c838ea9126e729d48ac7