[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] 46cf2fa45a3566ef18214f2c7cc87b62fd8ed0e9 [INFO] checking spacycoder/vector-tile-renderer-rs against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacycoder%2Fvector-tile-renderer-rs" "/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/spacycoder/vector-tile-renderer-rs on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--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 ureq v1.4.0 [INFO] [stderr] Downloaded protoc-rust v2.17.0 [INFO] [stderr] Downloaded protoc v2.17.0 [INFO] [stderr] Downloaded ndk-macro v0.1.0 [INFO] [stderr] Downloaded chunked_transfer v1.2.0 [INFO] [stderr] Downloaded ndk-glue v0.1.1 [INFO] [stderr] Downloaded tobj v2.0.2 [INFO] [stderr] Downloaded ndk v0.1.1 [INFO] [stderr] Downloaded simba v0.2.0 [INFO] [stderr] Downloaded protobuf-codegen v2.17.0 [INFO] [stderr] Downloaded nalgebra-glm v0.8.0 [INFO] [stderr] Downloaded time v0.2.17 [INFO] [stderr] Downloaded protobuf v2.17.0 [INFO] [stderr] Downloaded ndk-sys v0.1.1 [INFO] [stderr] Downloaded nalgebra v0.22.0 [INFO] [stderr] Downloaded web-sys v0.3.44 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 493756bd5ad6ecb6b0ddf88cabbdbaf13c27e88056ec1f92e0b6dda4be48e084 [INFO] running `Command { std: "docker" "start" "-a" "493756bd5ad6ecb6b0ddf88cabbdbaf13c27e88056ec1f92e0b6dda4be48e084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "493756bd5ad6ecb6b0ddf88cabbdbaf13c27e88056ec1f92e0b6dda4be48e084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "493756bd5ad6ecb6b0ddf88cabbdbaf13c27e88056ec1f92e0b6dda4be48e084", kill_on_drop: false }` [INFO] [stdout] 493756bd5ad6ecb6b0ddf88cabbdbaf13c27e88056ec1f92e0b6dda4be48e084 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9e1ea4833b946892cad4cc2c456a1dd34bdd762cb09785db1e7e435a2f8efef [INFO] running `Command { std: "docker" "start" "-a" "d9e1ea4833b946892cad4cc2c456a1dd34bdd762cb09785db1e7e435a2f8efef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling protobuf v2.17.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling time v0.2.17 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking webpki v0.21.3 [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] Compiling protobuf-codegen v2.17.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling protoc v2.17.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling protoc-rust v2.17.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking simba v0.2.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking nalgebra v0.22.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling vector-tile-renderer-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bytemuck v1.3.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking chunked_transfer v1.2.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Checking earcutr v0.1.0 (https://github.com/donbright/earcutr#e029a11b) [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking ureq v1.4.0 [INFO] [stderr] Checking image v0.23.8 [INFO] [stderr] Checking tobj v2.0.2 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [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: elided lifetime has a name [INFO] [stdout] --> src/line_strings.rs:20:82 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> LineStringDecoder<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 20 | pub fn new(extent: u32, geometry: &'a [u32], thickness: f32, height: f32) -> LineStringDecoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` 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] = help: use `//` for a plain comment [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: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/protos/vector_tile.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [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: elided lifetime has a name [INFO] [stdout] --> src/line_strings.rs:20:82 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> LineStringDecoder<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 20 | pub fn new(extent: u32, geometry: &'a [u32], thickness: f32, height: f32) -> LineStringDecoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` 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] = help: use `//` for a plain comment [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: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/protos/vector_tile.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [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] = note: `#[warn(unused_variables)]` on by default [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] = note: `#[warn(unused_variables)]` on by default [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: `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] [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: fields `radius`, `yaw`, and `pitch` are never read [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 5 | radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | yaw: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | pitch: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_zoom` and `process_mouse` are never used [INFO] [stdout] --> src/camera.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn handle_zoom(&mut self, delta: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [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 `extent` is never read [INFO] [stdout] --> src/line_strings.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LineStringDecoder<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | extent: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_float`, `set_vec2`, and `set_mat4` are never used [INFO] [stdout] --> src/material.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Material { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn set_float(&mut self, name: &'static str, value: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn set_vec2(&mut self, name: &'static str, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^ [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 `FlipBook` is never constructed [INFO] [stdout] --> src/mesh.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum TextureType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 25 | Img(image::DynamicImage), [INFO] [stdout] 26 | FlipBook { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_flip_book_texture`, `set_uvs_from_f32`, and `update_vao` are never used [INFO] [stdout] --> src/mesh.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Mesh { [INFO] [stdout] | --------- methods in this implementation [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] 212 | pub fn set_uvs_from_f32(&mut self, uvs: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn update_vao(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/model.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_transform` is never used [INFO] [stdout] --> src/model.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Model { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_transform(&mut self, transform: glm::Mat4) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_transform` is never used [INFO] [stdout] --> src/renderable.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Renderable { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn get_transform(&self) -> &glm::Mat4; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_num_hack` is never used [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 `rand_num_hack2` is never used [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 `offset` is never used [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: methods `add_vertex`, `num_vertices`, and `get_vertex` are never used [INFO] [stdout] --> src/util.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait VecExt { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 84 | fn add_vertex(&mut self, x: f32, y: f32, z: f32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | fn num_vertices(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 86 | fn get_vertex(&self, i: usize) -> (f32, f32, f32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extent` is never read [INFO] [stdout] --> src/polygons.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PolygonDecoder<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | extent: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_uv` is never used [INFO] [stdout] --> src/polygons.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl PolygonBuilder { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn add_uv(&mut self, uv: glm::Vec2) { [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] [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: fields `radius`, `yaw`, and `pitch` are never read [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 5 | radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | yaw: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | pitch: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_zoom` and `process_mouse` are never used [INFO] [stdout] --> src/camera.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn handle_zoom(&mut self, delta: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [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 `extent` is never read [INFO] [stdout] --> src/line_strings.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LineStringDecoder<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | extent: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_float`, `set_vec2`, and `set_mat4` are never used [INFO] [stdout] --> src/material.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Material { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn set_float(&mut self, name: &'static str, value: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn set_vec2(&mut self, name: &'static str, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^ [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 `FlipBook` is never constructed [INFO] [stdout] --> src/mesh.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum TextureType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 25 | Img(image::DynamicImage), [INFO] [stdout] 26 | FlipBook { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_flip_book_texture`, `set_uvs_from_f32`, and `update_vao` are never used [INFO] [stdout] --> src/mesh.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Mesh { [INFO] [stdout] | --------- methods in this implementation [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] 212 | pub fn set_uvs_from_f32(&mut self, uvs: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn update_vao(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/model.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_transform` is never used [INFO] [stdout] --> src/model.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Model { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_transform(&mut self, transform: glm::Mat4) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_transform` is never used [INFO] [stdout] --> src/renderable.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Renderable { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn get_transform(&self) -> &glm::Mat4; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_num_hack` is never used [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 `rand_num_hack2` is never used [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 `offset` is never used [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: methods `add_vertex`, `num_vertices`, and `get_vertex` are never used [INFO] [stdout] --> src/util.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait VecExt { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 84 | fn add_vertex(&mut self, x: f32, y: f32, z: f32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | fn num_vertices(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 86 | fn get_vertex(&self, i: usize) -> (f32, f32, f32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extent` is never read [INFO] [stdout] --> src/polygons.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PolygonDecoder<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | extent: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_uv` is never used [INFO] [stdout] --> src/polygons.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl PolygonBuilder { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn add_uv(&mut self, uv: glm::Vec2) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: protobuf v2.17.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d9e1ea4833b946892cad4cc2c456a1dd34bdd762cb09785db1e7e435a2f8efef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e1ea4833b946892cad4cc2c456a1dd34bdd762cb09785db1e7e435a2f8efef", kill_on_drop: false }` [INFO] [stdout] d9e1ea4833b946892cad4cc2c456a1dd34bdd762cb09785db1e7e435a2f8efef