[INFO] cloning repository https://github.com/martinjonsson01/gfx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martinjonsson01/gfx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinjonsson01%2Fgfx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinjonsson01%2Fgfx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c806bb289856e3e0c456b8e7409b8a4770ab9ef3 [INFO] checking martinjonsson01/gfx against 1.95.0-beta.7 for beta-1.95-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinjonsson01%2Fgfx" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/martinjonsson01/gfx [INFO] finished tweaking git repo https://github.com/martinjonsson01/gfx [INFO] tweaked toml for git repo https://github.com/martinjonsson01/gfx written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/martinjonsson01/gfx on toolchain 1.95.0-beta.7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/martinjonsson01/gfx 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" "+1.95.0-beta.7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4e1d735abd35ff44c1b42fec2985515e7ac692bf9e6b7d3b16a899b6dacb3c6 [INFO] running `Command { std: "docker" "start" "-a" "a4e1d735abd35ff44c1b42fec2985515e7ac692bf9e6b7d3b16a899b6dacb3c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4e1d735abd35ff44c1b42fec2985515e7ac692bf9e6b7d3b16a899b6dacb3c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e1d735abd35ff44c1b42fec2985515e7ac692bf9e6b7d3b16a899b6dacb3c6", kill_on_drop: false }` [INFO] [stdout] a4e1d735abd35ff44c1b42fec2985515e7ac692bf9e6b7d3b16a899b6dacb3c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4da8c4e3610f7a814f46153ba8ff5a1f82c64549b2c0295b97167fb43eba4d6 [INFO] running `Command { std: "docker" "start" "-a" "a4da8c4e3610f7a814f46153ba8ff5a1f82c64549b2c0295b97167fb43eba4d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling proc-macro2 v1.0.48 [INFO] [stderr] Compiling quote v1.0.22 [INFO] [stderr] Compiling syn v1.0.106 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cmake v0.1.49 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Checking raw-window-handle v0.5.0 [INFO] [stderr] Compiling ahash v0.8.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Checking ttf-parser v0.17.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling ash v0.37.1+1.3.235 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling crossfont v0.5.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking png v0.17.7 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.7 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking gpu-alloc v0.5.3 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling wgpu-core v0.14.2 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking wgpu-types v0.14.1 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking parking_lot_core v0.9.5 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking memmap2 v0.5.8 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling x11-dl v2.20.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking freetype-rs v0.26.0 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking profiling v1.0.7 [INFO] [stderr] Checking glow v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.151 [INFO] [stderr] Compiling anyhow v1.0.67 [INFO] [stderr] Checking rayon v1.6.1 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking indexmap v1.9.2 [INFO] [stderr] Checking gpu-descriptor v0.2.3 [INFO] [stderr] Checking owned_ttf_parser v0.17.1 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking ab_glyph v0.2.18 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking gimli v0.27.0 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking object v0.30.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling palette v0.6.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking half v2.1.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling toml v0.5.10 [INFO] [stderr] Compiling recs-gfx v0.1.0 (/opt/rustwide/workdir/recs-gfx) [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking webbrowser v0.8.2 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking type-map v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.90 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking cgmath v0.18.0 [INFO] [stderr] Checking crossbeam-queue v0.3.8 [INFO] [stderr] Checking tobj v3.2.3 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking x11rb-protocol v0.10.0 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking tiff v0.8.1 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Checking plotters-svg v0.3.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking clap v3.2.23 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking plotters v0.3.4 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Checking futures-executor v0.3.25 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Checking futures v0.3.25 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling bytemuck_derive v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Compiling palette_derive v0.6.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling structmeta-derive v0.1.5 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking bytemuck v1.12.3 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking emath v0.20.0 [INFO] [stderr] Checking ecolor v0.20.0 [INFO] [stderr] Checking thiserror v1.0.38 [INFO] [stderr] Checking tiny-skia-path v0.7.0 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking calloop v0.10.4 [INFO] [stderr] Checking naga v0.10.0 [INFO] [stderr] Checking epaint v0.20.0 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking exr v1.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.16 [INFO] [stderr] Compiling structmeta v0.1.5 [INFO] [stderr] Checking tiny-skia v0.7.0 [INFO] [stderr] Checking ring-channel v0.11.0 [INFO] [stderr] Compiling test-strategy v0.2.1 [INFO] [stderr] Checking x11rb v0.10.1 [INFO] [stderr] Checking egui v0.20.1 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Checking arboard v3.2.0 [INFO] [stderr] Checking image v0.24.5 [INFO] [stderr] Checking wgpu-hal v0.14.1 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking wgpu v0.14.2 [INFO] [stderr] Checking egui-wgpu v0.20.0 [INFO] [stderr] Checking sctk-adwaita v0.4.3 [INFO] [stderr] Checking smithay-clipboard v0.6.6 [INFO] [stderr] Checking winit v0.27.5 [INFO] [stderr] Checking egui-winit v0.20.1 [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> recs-gfx/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> recs-gfx/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> recs-gfx/src/resources.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | let mut v = &mut vertices[i]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> recs-gfx/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_mut)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> recs-gfx/src/lib.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> recs-gfx/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | /// A representation of the [`Camera`] that can be sent into shaders through a uniform buffer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> recs-gfx/src/instance.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) struct TransformRaw { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> recs-gfx/src/instance.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | /// A representation of an [`Transform`] that can be sent into shaders through a uniform buffer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `diffuse_color`, `material_buffer`, `diffuse_texture`, and `normal_texture` are never read [INFO] [stdout] --> recs-gfx/src/model.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub diffuse_color: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub material_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub diffuse_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// A normal map, where r, g and b map to x, y and z of the normals. [INFO] [stdout] 28 | pub normal_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> recs-gfx/src/model.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | struct MaterialUniform { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> recs-gfx/src/model.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | /// A representation of a [`Material`] that can be sent into shaders through a uniform buffer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> recs-gfx/src/model.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ModelVertex { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> recs-gfx/src/model.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | #[repr(C)] [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_mesh` and `draw_model` are never used [INFO] [stdout] --> recs-gfx/src/model.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 181 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 182 | fn draw_mesh( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn draw_model( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_light_mesh` is never used [INFO] [stdout] --> recs-gfx/src/model.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 276 | pub trait DrawLight<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 277 | fn draw_light_mesh( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> recs-gfx/src/renderer.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct PointLightUniform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> recs-gfx/src/renderer.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | /// A point-light that emits light in every direction and has no area. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> recs-gfx/src/instance.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn buffer_slice(&self) -> wgpu::BufferSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn buffer_slice(&self) -> wgpu::BufferSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> recs-gfx/src/uniform.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn builder(device: &wgpu::Device, data: TData) -> UniformBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn builder(device: &wgpu::Device, data: TData) -> UniformBuilder<'_, TData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> recs-gfx/src/uniform.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn new(device: &wgpu::Device, data: TData) -> UniformBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn new(device: &wgpu::Device, data: TData) -> UniformBuilder<'_, TData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking example-app v0.1.0 (/opt/rustwide/workdir/example-app) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> recs-gfx/src/resources.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | let mut v = &mut vertices[i]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> recs-gfx/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_mut)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> recs-gfx/src/lib.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> recs-gfx/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | /// A representation of the [`Camera`] that can be sent into shaders through a uniform buffer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> recs-gfx/src/instance.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) struct TransformRaw { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> recs-gfx/src/instance.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | /// A representation of an [`Transform`] that can be sent into shaders through a uniform buffer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `diffuse_color`, `material_buffer`, `diffuse_texture`, and `normal_texture` are never read [INFO] [stdout] --> recs-gfx/src/model.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub diffuse_color: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub material_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub diffuse_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// A normal map, where r, g and b map to x, y and z of the normals. [INFO] [stdout] 28 | pub normal_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> recs-gfx/src/model.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | struct MaterialUniform { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> recs-gfx/src/model.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | /// A representation of a [`Material`] that can be sent into shaders through a uniform buffer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> recs-gfx/src/model.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ModelVertex { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> recs-gfx/src/model.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | #[repr(C)] [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_mesh` and `draw_model` are never used [INFO] [stdout] --> recs-gfx/src/model.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 181 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 182 | fn draw_mesh( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn draw_model( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_light_mesh` is never used [INFO] [stdout] --> recs-gfx/src/model.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 276 | pub trait DrawLight<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 277 | fn draw_light_mesh( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> recs-gfx/src/renderer.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct PointLightUniform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> recs-gfx/src/renderer.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | /// A point-light that emits light in every direction and has no area. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> recs-gfx/src/instance.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn buffer_slice(&self) -> wgpu::BufferSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn buffer_slice(&self) -> wgpu::BufferSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> recs-gfx/src/uniform.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn builder(device: &wgpu::Device, data: TData) -> UniformBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn builder(device: &wgpu::Device, data: TData) -> UniformBuilder<'_, TData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> recs-gfx/src/uniform.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn new(device: &wgpu::Device, data: TData) -> UniformBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn new(device: &wgpu::Device, data: TData) -> UniformBuilder<'_, TData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a4da8c4e3610f7a814f46153ba8ff5a1f82c64549b2c0295b97167fb43eba4d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4da8c4e3610f7a814f46153ba8ff5a1f82c64549b2c0295b97167fb43eba4d6", kill_on_drop: false }` [INFO] [stdout] a4da8c4e3610f7a814f46153ba8ff5a1f82c64549b2c0295b97167fb43eba4d6