[INFO] cloning repository https://github.com/spacycoder/vector-tile-renderer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spacycoder/vector-tile-renderer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacycoder%2Fvector-tile-renderer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacycoder%2Fvector-tile-renderer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fdedc6f9f88745a396f450bedb35a47d65046a9 [INFO] checking spacycoder/vector-tile-renderer-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacycoder%2Fvector-tile-renderer-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spacycoder/vector-tile-renderer-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/spacycoder/vector-tile-renderer-rs [INFO] finished tweaking git repo https://github.com/spacycoder/vector-tile-renderer-rs [INFO] tweaked toml for git repo https://github.com/spacycoder/vector-tile-renderer-rs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/spacycoder/vector-tile-renderer-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/donbright/earcutr` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndk-macro v0.1.0 [INFO] [stderr] Downloaded nalgebra-glm v0.8.0 [INFO] [stderr] Downloaded simba v0.2.0 [INFO] [stderr] Downloaded ndk-glue v0.1.1 [INFO] [stderr] Downloaded nalgebra v0.22.0 [INFO] [stderr] Downloaded ndk v0.1.1 [INFO] [stderr] Downloaded ndk-sys v0.1.1 [INFO] [stderr] Downloaded time v0.2.17 [INFO] [stderr] Downloaded tobj v2.0.2 [INFO] [stderr] Downloaded ureq v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4736fbae1505f8806667e32ba1a60da61d516bcb74c4f32e8c636065cc67990f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4736fbae1505f8806667e32ba1a60da61d516bcb74c4f32e8c636065cc67990f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4736fbae1505f8806667e32ba1a60da61d516bcb74c4f32e8c636065cc67990f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4736fbae1505f8806667e32ba1a60da61d516bcb74c4f32e8c636065cc67990f", kill_on_drop: false }` [INFO] [stdout] 4736fbae1505f8806667e32ba1a60da61d516bcb74c4f32e8c636065cc67990f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49546e8ec2f32c90e6f4a8d92ccd71d1646bd706657338370e5341da12157dfd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "49546e8ec2f32c90e6f4a8d92ccd71d1646bd706657338370e5341da12157dfd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling protobuf v2.17.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking tobj v2.0.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling time v0.2.17 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking ring v0.16.15 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking simba v0.2.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking nalgebra v0.22.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling protobuf-codegen v2.17.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking earcutr v0.1.0 (https://github.com/donbright/earcutr#e029a11b) [INFO] [stderr] Checking image v0.23.8 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling protoc v2.17.0 [INFO] [stderr] Checking ureq v1.4.0 [INFO] [stderr] Compiling protoc-rust v2.17.0 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Compiling vector-tile-renderer-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking glutin v0.24.1 [INFO] [stderr] Checking nalgebra-glm v0.8.0 [INFO] [stdout] warning: unused import: `super::mesh` [INFO] [stdout] --> src/line_strings.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::mesh; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mesh.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | /// Pixel is 8-bit RGB with an alpha channel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 343 | ColorType::Rgba8 => gl::RGBA, [INFO] [stdout] | ---------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tobj` [INFO] [stdout] --> src/model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tobj; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/player.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use glutin::event::VirtualKeyCode::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/state.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | VirtualKeyCode::{self, *}, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::material::Material` [INFO] [stdout] --> src/polygons.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::mesh` [INFO] [stdout] --> src/polygons.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::mesh; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::mesh` [INFO] [stdout] --> src/line_strings.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::mesh; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mesh.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | /// Pixel is 8-bit RGB with an alpha channel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 343 | ColorType::Rgba8 => gl::RGBA, [INFO] [stdout] | ---------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tobj` [INFO] [stdout] --> src/model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tobj; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/player.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use glutin::event::VirtualKeyCode::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/state.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | VirtualKeyCode::{self, *}, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::material::Material` [INFO] [stdout] --> src/polygons.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::mesh` [INFO] [stdout] --> src/polygons.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::mesh; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/main.rs:711:10 [INFO] [stdout] | [INFO] [stdout] 711 | |layer: &vector_tile::Tile_Layer, feature: &vector_tile::Tile_Feature| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feature` [INFO] [stdout] --> src/main.rs:711:43 [INFO] [stdout] | [INFO] [stdout] 711 | |layer: &vector_tile::Tile_Layer, feature: &vector_tile::Tile_Feature| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_indices` [INFO] [stdout] --> src/line_strings.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let num_indices = (path.len() - 1) * 6; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/model.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | s: &state::State, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/main.rs:711:10 [INFO] [stdout] | [INFO] [stdout] 711 | |layer: &vector_tile::Tile_Layer, feature: &vector_tile::Tile_Feature| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feature` [INFO] [stdout] --> src/main.rs:711:43 [INFO] [stdout] | [INFO] [stdout] 711 | |layer: &vector_tile::Tile_Layer, feature: &vector_tile::Tile_Feature| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_indices` [INFO] [stdout] --> src/line_strings.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let num_indices = (path.len() - 1) * 6; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/model.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | s: &state::State, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `radius` [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | radius: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `yaw` [INFO] [stdout] --> src/camera.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | yaw: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pitch` [INFO] [stdout] --> src/camera.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pitch: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_zoom` [INFO] [stdout] --> src/camera.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn handle_zoom(&mut self, delta: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process_mouse` [INFO] [stdout] --> src/camera.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn process_mouse(&mut self, delta_x: f32, delta_y: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `command` [INFO] [stdout] --> src/line_strings.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | command: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extent` [INFO] [stdout] --> src/line_strings.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extent: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_float` [INFO] [stdout] --> src/material.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_float(&mut self, name: &'static str, value: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_vec2` [INFO] [stdout] --> src/material.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn set_vec2(&mut self, name: &'static str, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mat4` [INFO] [stdout] --> src/material.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn set_mat4(&mut self, name: &'static str, mat: &glm::Mat4) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FlipBook` [INFO] [stdout] --> src/mesh.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / FlipBook { [INFO] [stdout] 27 | | columns: u32, [INFO] [stdout] 28 | | rows: u32, [INFO] [stdout] 29 | | img: image::DynamicImage, [INFO] [stdout] 30 | | color: ColorType, [INFO] [stdout] 31 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flip_book_texture` [INFO] [stdout] --> src/mesh.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn set_flip_book_texture(&mut self, path: &str, columns: u32, rows: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_uvs_from_f32` [INFO] [stdout] --> src/mesh.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn set_uvs_from_f32(&mut self, uvs: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_vao` [INFO] [stdout] --> src/mesh.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn update_vao(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_transform` [INFO] [stdout] --> src/model.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_transform(&mut self, transform: glm::Mat4) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rand_num_hack` [INFO] [stdout] --> src/util.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rand_num_hack(max_number: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rand_num_hack2` [INFO] [stdout] --> src/util.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn rand_num_hack2(max_number: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `offset` [INFO] [stdout] --> src/util.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn offset(n: u32) -> *const c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `command` [INFO] [stdout] --> src/polygons.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | command: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extent` [INFO] [stdout] --> src/polygons.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extent: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_uv` [INFO] [stdout] --> src/polygons.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn add_uv(&mut self, uv: glm::Vec2) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | 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: `#[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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `radius` [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | radius: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `yaw` [INFO] [stdout] --> src/camera.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | yaw: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pitch` [INFO] [stdout] --> src/camera.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pitch: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_zoom` [INFO] [stdout] --> src/camera.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn handle_zoom(&mut self, delta: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process_mouse` [INFO] [stdout] --> src/camera.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn process_mouse(&mut self, delta_x: f32, delta_y: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `command` [INFO] [stdout] --> src/line_strings.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | command: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extent` [INFO] [stdout] --> src/line_strings.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extent: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_float` [INFO] [stdout] --> src/material.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_float(&mut self, name: &'static str, value: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_vec2` [INFO] [stdout] --> src/material.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn set_vec2(&mut self, name: &'static str, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mat4` [INFO] [stdout] --> src/material.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn set_mat4(&mut self, name: &'static str, mat: &glm::Mat4) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FlipBook` [INFO] [stdout] --> src/mesh.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / FlipBook { [INFO] [stdout] 27 | | columns: u32, [INFO] [stdout] 28 | | rows: u32, [INFO] [stdout] 29 | | img: image::DynamicImage, [INFO] [stdout] 30 | | color: ColorType, [INFO] [stdout] 31 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flip_book_texture` [INFO] [stdout] --> src/mesh.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn set_flip_book_texture(&mut self, path: &str, columns: u32, rows: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_uvs_from_f32` [INFO] [stdout] --> src/mesh.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn set_uvs_from_f32(&mut self, uvs: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_vao` [INFO] [stdout] --> src/mesh.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn update_vao(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_transform` [INFO] [stdout] --> src/model.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_transform(&mut self, transform: glm::Mat4) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rand_num_hack` [INFO] [stdout] --> src/util.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rand_num_hack(max_number: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rand_num_hack2` [INFO] [stdout] --> src/util.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn rand_num_hack2(max_number: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `offset` [INFO] [stdout] --> src/util.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn offset(n: u32) -> *const c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `command` [INFO] [stdout] --> src/polygons.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | command: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extent` [INFO] [stdout] --> src/polygons.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | extent: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_uv` [INFO] [stdout] --> src/polygons.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn add_uv(&mut self, uv: glm::Vec2) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | 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: `#[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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 58s [INFO] running `Command { std: "docker" "inspect" "49546e8ec2f32c90e6f4a8d92ccd71d1646bd706657338370e5341da12157dfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49546e8ec2f32c90e6f4a8d92ccd71d1646bd706657338370e5341da12157dfd", kill_on_drop: false }` [INFO] [stdout] 49546e8ec2f32c90e6f4a8d92ccd71d1646bd706657338370e5341da12157dfd