[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] building spacycoder/vector-tile-renderer-rs against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacycoder%2Fvector-tile-renderer-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spacycoder/vector-tile-renderer-rs on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "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-1/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" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82a78d38bb8ede9b7582dda0851e5d7671a4cc6e7f2f23074217010cc32a411e [INFO] running `Command { std: "docker" "start" "-a" "82a78d38bb8ede9b7582dda0851e5d7671a4cc6e7f2f23074217010cc32a411e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82a78d38bb8ede9b7582dda0851e5d7671a4cc6e7f2f23074217010cc32a411e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82a78d38bb8ede9b7582dda0851e5d7671a4cc6e7f2f23074217010cc32a411e", kill_on_drop: false }` [INFO] [stdout] 82a78d38bb8ede9b7582dda0851e5d7671a4cc6e7f2f23074217010cc32a411e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 885f9f3561463ad1f2c18c5f252190c875dbfd724bb6ea8e810ef77ae75a30bb [INFO] running `Command { std: "docker" "start" "-a" "885f9f3561463ad1f2c18c5f252190c875dbfd724bb6ea8e810ef77ae75a30bb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [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 getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling protobuf v2.17.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling chunked_transfer v1.2.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling tobj v2.0.2 [INFO] [stderr] Compiling lock_api v0.3.4 [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 crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-complex v0.2.4 [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 standback v0.2.10 [INFO] [stderr] Compiling time v0.2.17 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling protobuf-codegen v2.17.0 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling simba v0.2.0 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling nalgebra v0.22.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling earcutr v0.1.0 (https://github.com/donbright/earcutr#e029a11b) [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling nalgebra-glm v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling ureq v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling protoc v2.17.0 [INFO] [stderr] Compiling protoc-rust v2.17.0 [INFO] [stderr] Compiling vector-tile-renderer-rs v0.1.0 (/opt/rustwide/workdir) [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] = help: use `//` for a plain comment [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: `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: `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: associated function `handle_zoom` is never used [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 `process_mouse` is never used [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 `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: associated function `set_float` is never used [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 `set_vec2` is never used [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 `set_mat4` is never used [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 `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: associated function `set_flip_book_texture` is never used [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 `set_uvs_from_f32` is never used [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 `update_vao` is never used [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 `set_transform` is never used [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 `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: 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: associated function `add_uv` is never used [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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "885f9f3561463ad1f2c18c5f252190c875dbfd724bb6ea8e810ef77ae75a30bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "885f9f3561463ad1f2c18c5f252190c875dbfd724bb6ea8e810ef77ae75a30bb", kill_on_drop: false }` [INFO] [stdout] 885f9f3561463ad1f2c18c5f252190c875dbfd724bb6ea8e810ef77ae75a30bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5bf80735f7383870192d4bfd3588bcaf8aad697b02a9254b92d6be355999886 [INFO] running `Command { std: "docker" "start" "-a" "c5bf80735f7383870192d4bfd3588bcaf8aad697b02a9254b92d6be355999886", kill_on_drop: false }` [INFO] [stderr] Compiling vector-tile-renderer-rs v0.1.0 (/opt/rustwide/workdir) [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] = help: use `//` for a plain comment [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: `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: `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: associated function `handle_zoom` is never used [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 `process_mouse` is never used [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 `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: associated function `set_float` is never used [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 `set_vec2` is never used [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 `set_mat4` is never used [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 `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: associated function `set_flip_book_texture` is never used [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 `set_uvs_from_f32` is never used [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 `update_vao` is never used [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 `set_transform` is never used [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 `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: 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: associated function `add_uv` is never used [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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "c5bf80735f7383870192d4bfd3588bcaf8aad697b02a9254b92d6be355999886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5bf80735f7383870192d4bfd3588bcaf8aad697b02a9254b92d6be355999886", kill_on_drop: false }` [INFO] [stdout] c5bf80735f7383870192d4bfd3588bcaf8aad697b02a9254b92d6be355999886