[INFO] cloning repository https://github.com/pwouik/rust_voxel_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pwouik/rust_voxel_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpwouik%2Frust_voxel_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpwouik%2Frust_voxel_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4f4b68271effcf829d66eb1545c8b0de33d586d [INFO] testing pwouik/rust_voxel_engine against try#ece70b22820429ebf0c6d388c32356a14c58fc2f for pr-107251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpwouik%2Frust_voxel_engine" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pwouik/rust_voxel_engine on toolchain ece70b22820429ebf0c6d388c32356a14c58fc2f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ece70b22820429ebf0c6d388c32356a14c58fc2f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pwouik/rust_voxel_engine [INFO] finished tweaking git repo https://github.com/pwouik/rust_voxel_engine [INFO] tweaked toml for git repo https://github.com/pwouik/rust_voxel_engine written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pwouik/rust_voxel_engine 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" "+ece70b22820429ebf0c6d388c32356a14c58fc2f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+ece70b22820429ebf0c6d388c32356a14c58fc2f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19bbdbe30a3ac54a51b2ffab0e3b148f3e7b50aaec9a8f5b876c4aaaf883de4d [INFO] running `Command { std: "docker" "start" "-a" "19bbdbe30a3ac54a51b2ffab0e3b148f3e7b50aaec9a8f5b876c4aaaf883de4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19bbdbe30a3ac54a51b2ffab0e3b148f3e7b50aaec9a8f5b876c4aaaf883de4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19bbdbe30a3ac54a51b2ffab0e3b148f3e7b50aaec9a8f5b876c4aaaf883de4d", kill_on_drop: false }` [INFO] [stdout] 19bbdbe30a3ac54a51b2ffab0e3b148f3e7b50aaec9a8f5b876c4aaaf883de4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+ece70b22820429ebf0c6d388c32356a14c58fc2f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24174499392cb4414ec0fafda5d27931631f95641f9d9561d73ccae3b4873909 [INFO] running `Command { std: "docker" "start" "-a" "24174499392cb4414ec0fafda5d27931631f95641f9d9561d73ccae3b4873909", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling tracy-client-sys v0.17.1 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ash v0.37.0+1.3.209 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling png v0.17.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling crossfont v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling wgpu-core v0.13.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling memmap2 v0.5.7 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling wgpu-types v0.13.2 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling inplace_it v0.3.5 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling anyhow v1.0.64 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling tracy-client v0.13.2 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling noise v0.8.1 [INFO] [stderr] Compiling renderdoc v0.10.1 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling lz4_flex v0.9.5 [INFO] [stderr] Compiling tiff v0.7.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling bytemuck_derive v1.2.1 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling profiling-procmacros v1.0.6 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling profiling v1.0.6 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling calloop v0.10.1 [INFO] [stderr] Compiling naga v0.9.0 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.5.0 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling image v0.24.3 [INFO] [stderr] Compiling wgpu-hal v0.13.2 [INFO] [stderr] Compiling sctk-adwaita v0.4.2 [INFO] [stderr] Compiling winit v0.27.3 [INFO] [stderr] Compiling wgpu v0.13.1 [INFO] [stderr] Compiling rust_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wgpu::BufferSize` [INFO] [stdout] --> src/chunk_renderer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use wgpu::BufferSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::texture::Texture` [INFO] [stdout] --> src/mipmap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::texture::Texture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `compress`, `decompress` [INFO] [stdout] --> src/region.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use lz4_flex::{compress, decompress}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RENDER_DIST_HEIGHT`, `RENDER_DIST` [INFO] [stdout] --> src/renderer.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::chunk_loader::{RENDER_DIST, RENDER_DIST2, RENDER_DIST_HEIGHT, RENDER_DIST_HEIGHT2}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_texture` [INFO] [stdout] --> src/chunk_renderer.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | depth_texture: &Texture, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_texture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let start_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `p3f64_to_array` is never used [INFO] [stdout] --> src/chunk.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn p3f64_to_array(point: Point3) -> [f64; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture_array` is never read [INFO] [stdout] --> src/chunk_renderer.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ChunkRenderer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | texture_array: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/mesh.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `destroy` is never used [INFO] [stdout] --> src/mesh.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn destroy(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEXTURE_FORMAT` is never used [INFO] [stdout] --> src/mipmap.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const TEXTURE_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat::Rgba8UnormSrgb; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_index_buffer` is never used [INFO] [stdout] --> src/renderer.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn create_index_buffer(&self, indices: &Vec) -> wgpu::Buffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/texture.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_image` is never used [INFO] [stdout] --> src/texture.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NORMS` is never used [INFO] [stdout] --> src/util/direction.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const NORMS: [Vector3; 6] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_norm` is never used [INFO] [stdout] --> src/util/direction.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_norm(&self) -> Vector3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "24174499392cb4414ec0fafda5d27931631f95641f9d9561d73ccae3b4873909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24174499392cb4414ec0fafda5d27931631f95641f9d9561d73ccae3b4873909", kill_on_drop: false }` [INFO] [stdout] 24174499392cb4414ec0fafda5d27931631f95641f9d9561d73ccae3b4873909 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+ece70b22820429ebf0c6d388c32356a14c58fc2f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2accde290f61807957057d955d1122972706da31b69ca96cec35ff8ced9cea82 [INFO] running `Command { std: "docker" "start" "-a" "2accde290f61807957057d955d1122972706da31b69ca96cec35ff8ced9cea82", kill_on_drop: false }` [INFO] [stderr] Compiling rust_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wgpu::BufferSize` [INFO] [stdout] --> src/chunk_renderer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use wgpu::BufferSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::texture::Texture` [INFO] [stdout] --> src/mipmap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::texture::Texture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `compress`, `decompress` [INFO] [stdout] --> src/region.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use lz4_flex::{compress, decompress}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RENDER_DIST_HEIGHT`, `RENDER_DIST` [INFO] [stdout] --> src/renderer.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::chunk_loader::{RENDER_DIST, RENDER_DIST2, RENDER_DIST_HEIGHT, RENDER_DIST_HEIGHT2}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_texture` [INFO] [stdout] --> src/chunk_renderer.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | depth_texture: &Texture, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_texture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let start_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `p3f64_to_array` is never used [INFO] [stdout] --> src/chunk.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn p3f64_to_array(point: Point3) -> [f64; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture_array` is never read [INFO] [stdout] --> src/chunk_renderer.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ChunkRenderer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | texture_array: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/mesh.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `destroy` is never used [INFO] [stdout] --> src/mesh.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn destroy(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEXTURE_FORMAT` is never used [INFO] [stdout] --> src/mipmap.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const TEXTURE_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat::Rgba8UnormSrgb; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_index_buffer` is never used [INFO] [stdout] --> src/renderer.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn create_index_buffer(&self, indices: &Vec) -> wgpu::Buffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/texture.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_image` is never used [INFO] [stdout] --> src/texture.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NORMS` is never used [INFO] [stdout] --> src/util/direction.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const NORMS: [Vector3; 6] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_norm` is never used [INFO] [stdout] --> src/util/direction.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_norm(&self) -> Vector3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.53s [INFO] running `Command { std: "docker" "inspect" "2accde290f61807957057d955d1122972706da31b69ca96cec35ff8ced9cea82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2accde290f61807957057d955d1122972706da31b69ca96cec35ff8ced9cea82", kill_on_drop: false }` [INFO] [stdout] 2accde290f61807957057d955d1122972706da31b69ca96cec35ff8ced9cea82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+ece70b22820429ebf0c6d388c32356a14c58fc2f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6728c01b8463df1b2ef62b314d9f6f4561ade88ecb803237873270687c551a5 [INFO] running `Command { std: "docker" "start" "-a" "c6728c01b8463df1b2ef62b314d9f6f4561ade88ecb803237873270687c551a5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `wgpu::BufferSize` [INFO] [stderr] --> src/chunk_renderer.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use wgpu::BufferSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::texture::Texture` [INFO] [stderr] --> src/mipmap.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::texture::Texture; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `compress`, `decompress` [INFO] [stderr] --> src/region.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | use lz4_flex::{compress, decompress}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RENDER_DIST_HEIGHT`, `RENDER_DIST` [INFO] [stderr] --> src/renderer.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::chunk_loader::{RENDER_DIST, RENDER_DIST2, RENDER_DIST_HEIGHT, RENDER_DIST_HEIGHT2}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth_texture` [INFO] [stderr] --> src/chunk_renderer.rs:496:9 [INFO] [stderr] | [INFO] [stderr] 496 | depth_texture: &Texture, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_texture` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_time` [INFO] [stderr] --> src/main.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | let start_time = Instant::now(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stderr] [INFO] [stderr] warning: function `p3f64_to_array` is never used [INFO] [stderr] --> src/chunk.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | fn p3f64_to_array(point: Point3) -> [f64; 3] { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `texture_array` is never read [INFO] [stderr] --> src/chunk_renderer.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct ChunkRenderer { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 37 | texture_array: Texture, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Mesh` is never constructed [INFO] [stderr] --> src/mesh.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Mesh { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `destroy` is never used [INFO] [stderr] --> src/mesh.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn destroy(&self) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TEXTURE_FORMAT` is never used [INFO] [stderr] --> src/mipmap.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | const TEXTURE_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat::Rgba8UnormSrgb; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `create_index_buffer` is never used [INFO] [stderr] --> src/renderer.rs:239:12 [INFO] [stderr] | [INFO] [stderr] 239 | pub fn create_index_buffer(&self, indices: &Vec) -> wgpu::Buffer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_bytes` is never used [INFO] [stderr] --> src/texture.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn from_bytes( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_image` is never used [INFO] [stderr] --> src/texture.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn from_image( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `NORMS` is never used [INFO] [stderr] --> src/util/direction.rs:3:7 [INFO] [stderr] | [INFO] [stderr] 3 | const NORMS: [Vector3; 6] = [ [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_norm` is never used [INFO] [stderr] --> src/util/direction.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn get_norm(&self) -> Vector3 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_test` (bin "rust_test" test) generated 16 warnings (run `cargo fix --bin "rust_test" --tests` to apply 6 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_test-e0b43f00429fd291) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c6728c01b8463df1b2ef62b314d9f6f4561ade88ecb803237873270687c551a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6728c01b8463df1b2ef62b314d9f6f4561ade88ecb803237873270687c551a5", kill_on_drop: false }` [INFO] [stdout] c6728c01b8463df1b2ef62b314d9f6f4561ade88ecb803237873270687c551a5