[INFO] cloning repository https://github.com/KaelanRichards/arcturus_studio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KaelanRichards/arcturus_studio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaelanRichards%2Farcturus_studio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaelanRichards%2Farcturus_studio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f637a4b5d0620b545e6685c89049bd1d3b9c0b2 [INFO] building KaelanRichards/arcturus_studio against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaelanRichards%2Farcturus_studio" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KaelanRichards/arcturus_studio [INFO] finished tweaking git repo https://github.com/KaelanRichards/arcturus_studio [INFO] tweaked toml for git repo https://github.com/KaelanRichards/arcturus_studio written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KaelanRichards/arcturus_studio on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KaelanRichards/arcturus_studio 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9bdcbfa675a9f12c1fe0781c6910b2ff007003cbda2c4530c01664777bdc285 [INFO] running `Command { std: "docker" "start" "-a" "e9bdcbfa675a9f12c1fe0781c6910b2ff007003cbda2c4530c01664777bdc285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9bdcbfa675a9f12c1fe0781c6910b2ff007003cbda2c4530c01664777bdc285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9bdcbfa675a9f12c1fe0781c6910b2ff007003cbda2c4530c01664777bdc285", kill_on_drop: false }` [INFO] [stdout] e9bdcbfa675a9f12c1fe0781c6910b2ff007003cbda2c4530c01664777bdc285 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 808a4963080089fd843ffe5597021ae68d4c93e03e6cf88984d3bcc42df5c949 [INFO] running `Command { std: "docker" "start" "-a" "808a4963080089fd843ffe5597021ae68d4c93e03e6cf88984d3bcc42df5c949", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.99 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.99 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling fast-srgb8 v1.0.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling unicode-general-category v0.6.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ttf-parser v0.19.2 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling yazi v0.1.6 [INFO] [stderr] Compiling memmap2 v0.6.2 [INFO] [stderr] Compiling zeno v0.2.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling unicode-ccc v0.1.2 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling sys-locale v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling svg_fmt v0.4.4 [INFO] [stderr] Compiling rangemap v1.5.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling png v0.17.15 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling softbuffer v0.2.1 [INFO] [stderr] Compiling xml-rs v0.8.24 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling etagere v0.2.13 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling kurbo v0.9.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling fontdb v0.14.1 [INFO] [stderr] Compiling lru v0.11.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.99 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.99 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling window_clipboard v0.3.0 [INFO] [stderr] Compiling font-types v0.7.3 [INFO] [stderr] Compiling rustybuzz v0.8.0 [INFO] [stderr] Compiling tiny-skia-path v0.10.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling read-fonts v0.22.5 [INFO] [stderr] Compiling tiny-skia v0.10.0 [INFO] [stderr] Compiling js-sys v0.3.76 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling wasm-timer v0.2.5 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling iced_core v0.10.0 [INFO] [stderr] Compiling web-sys v0.3.72 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.45 [INFO] [stderr] Compiling iced_graphics v0.9.0 [INFO] [stderr] Compiling iced_futures v0.7.0 [INFO] [stderr] Compiling iced_style v0.9.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling iced_runtime v0.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling skrifa v0.22.3 [INFO] [stderr] Compiling swash v0.1.19 [INFO] [stderr] Compiling cosmic-text v0.9.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling iced_tiny_skia v0.1.0 [INFO] [stderr] Compiling iced_winit v0.10.1 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling glyphon v0.3.0 [INFO] [stderr] Compiling iced_wgpu v0.11.1 [INFO] [stderr] Compiling iced_renderer v0.1.0 [INFO] [stderr] Compiling iced_widget v0.1.3 [INFO] [stderr] Compiling iced v0.10.0 [INFO] [stderr] Compiling arcturus_studio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RasterLayer`, `Scene3DLayer`, and `VectorLayer` [INFO] [stdout] --> src/document/mod.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::layers::{Layer, RasterLayer, VectorLayer, Scene3DLayer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/document/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Document { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_layer`, `get_layer`, and `get_layer_mut` are never used [INFO] [stdout] --> src/document/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Document { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn remove_layer(&mut self, index: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_layer(&self, index: usize) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_layer_mut(&mut self, index: usize) -> Option<&mut Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/layers/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Layer: Any { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 17 | fn layer_type(&self) -> &'static str; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | fn set_name(&mut self, name: String); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | fn visible(&self) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | fn set_visible(&mut self, visible: bool); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | fn opacity(&self) -> f32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | fn set_opacity(&mut self, opacity: f32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `visible`, and `opacity` are never read [INFO] [stdout] --> src/layers/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct LayerProperties { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 29 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub visible: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | pub opacity: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `properties`, `width`, `height`, and `data` are never read [INFO] [stdout] --> src/layers/raster.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RasterLayer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | properties: LayerProperties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | data: Vec, // RGBA data [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_pixel`, `set_pixel`, and `dimensions` are never used [INFO] [stdout] --> src/layers/raster.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl RasterLayer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_pixel(&self, x: u32, y: u32) -> Option<[u8; 4]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn set_pixel(&mut self, x: u32, y: u32, color: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn dimensions(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/layers/vector.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | Rectangle { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 19 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 20 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 21 | width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | stroke_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | fill_color: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | stroke_color: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Line` and `Circle` are never constructed [INFO] [stdout] --> src/layers/vector.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum VectorShape { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 10 | Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/layers/vector.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct VectorLayer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 38 | properties: LayerProperties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_shape`, `get_shapes`, and `get_shape_mut` are never used [INFO] [stdout] --> src/layers/vector.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl VectorLayer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn remove_shape(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_shapes(&self) -> &[VectorShape] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_shape_mut(&mut self, index: usize) -> Option<&mut VectorShape> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `normal`, and `uv` are never read [INFO] [stdout] --> src/layers/scene3d.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Vertex { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | position: [f32; 3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | normal: [f32; 3], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | uv: [f32; 2], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertices`, `indices`, and `material` are never read [INFO] [stdout] --> src/layers/scene3d.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | vertices: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | material: Material, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mesh` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `diffuse_color`, `specular_color`, and `shininess` are never read [INFO] [stdout] --> src/layers/scene3d.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 25 | diffuse_color: [f32; 4], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | specular_color: [f32; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | shininess: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `properties`, `meshes`, `camera_position`, `camera_target`, and `camera_up` are never read [INFO] [stdout] --> src/layers/scene3d.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Scene3DLayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | properties: LayerProperties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | meshes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | camera_position: [f32; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | camera_target: [f32; 3], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | camera_up: [f32; 3], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/layers/scene3d.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Scene3DLayer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn add_mesh(&mut self, mesh: Mesh) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn remove_mesh(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_meshes(&self) -> &[Mesh] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_mesh_mut(&mut self, index: usize) -> Option<&mut Mesh> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_camera_position(&mut self, position: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn set_camera_target(&mut self, target: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_camera_up(&mut self, up: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_camera_view(&self) -> ([f32; 3], [f32; 3], [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `framebuffer` are never read [INFO] [stdout] --> src/rendering/renderer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | framebuffer: Vec, // RGBA [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/rendering/renderer.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Renderer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn clear(&mut self, color: [u8; 4]) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn render_layer(&mut self, layer: &dyn Layer) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn render_raster_layer(&mut self, layer: &RasterLayer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn render_vector_layer(&mut self, layer: &VectorLayer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn render_3d_layer(&mut self, _layer: &Scene3DLayer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn blend_pixel(&mut self, dest_index: usize, src_color: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_framebuffer(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppUI` is never constructed [INFO] [stdout] --> src/ui/app_ui.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppUI {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `draw_ui` are never used [INFO] [stdout] --> src/ui/app_ui.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl AppUI { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn draw_ui(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | fn view(&self) -> Element { [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] 98 | fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "808a4963080089fd843ffe5597021ae68d4c93e03e6cf88984d3bcc42df5c949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "808a4963080089fd843ffe5597021ae68d4c93e03e6cf88984d3bcc42df5c949", kill_on_drop: false }` [INFO] [stdout] 808a4963080089fd843ffe5597021ae68d4c93e03e6cf88984d3bcc42df5c949 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 9321ed12a8089b2b5c5cb05fdf37c8216ada20e39b9315a2001f0c8570a3e8cb [INFO] running `Command { std: "docker" "start" "-a" "9321ed12a8089b2b5c5cb05fdf37c8216ada20e39b9315a2001f0c8570a3e8cb", kill_on_drop: false }` [INFO] [stderr] Compiling arcturus_studio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RasterLayer`, `Scene3DLayer`, and `VectorLayer` [INFO] [stdout] --> src/document/mod.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::layers::{Layer, RasterLayer, VectorLayer, Scene3DLayer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/document/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Document { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_layer`, `get_layer`, and `get_layer_mut` are never used [INFO] [stdout] --> src/document/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Document { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn remove_layer(&mut self, index: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_layer(&self, index: usize) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_layer_mut(&mut self, index: usize) -> Option<&mut Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/layers/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Layer: Any { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 17 | fn layer_type(&self) -> &'static str; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | fn set_name(&mut self, name: String); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | fn visible(&self) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | fn set_visible(&mut self, visible: bool); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | fn opacity(&self) -> f32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | fn set_opacity(&mut self, opacity: f32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `visible`, and `opacity` are never read [INFO] [stdout] --> src/layers/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct LayerProperties { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 29 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub visible: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | pub opacity: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `properties`, `width`, `height`, and `data` are never read [INFO] [stdout] --> src/layers/raster.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RasterLayer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | properties: LayerProperties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | data: Vec, // RGBA data [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_pixel`, `set_pixel`, and `dimensions` are never used [INFO] [stdout] --> src/layers/raster.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl RasterLayer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_pixel(&self, x: u32, y: u32) -> Option<[u8; 4]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn set_pixel(&mut self, x: u32, y: u32, color: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn dimensions(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/layers/vector.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | Rectangle { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 19 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 20 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 21 | width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | stroke_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | fill_color: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | stroke_color: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Line` and `Circle` are never constructed [INFO] [stdout] --> src/layers/vector.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum VectorShape { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 10 | Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorShape` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/layers/vector.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct VectorLayer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 38 | properties: LayerProperties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_shape`, `get_shapes`, and `get_shape_mut` are never used [INFO] [stdout] --> src/layers/vector.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl VectorLayer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn remove_shape(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_shapes(&self) -> &[VectorShape] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_shape_mut(&mut self, index: usize) -> Option<&mut VectorShape> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `normal`, and `uv` are never read [INFO] [stdout] --> src/layers/scene3d.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Vertex { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | position: [f32; 3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | normal: [f32; 3], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | uv: [f32; 2], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertices`, `indices`, and `material` are never read [INFO] [stdout] --> src/layers/scene3d.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | vertices: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | material: Material, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mesh` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `diffuse_color`, `specular_color`, and `shininess` are never read [INFO] [stdout] --> src/layers/scene3d.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 25 | diffuse_color: [f32; 4], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | specular_color: [f32; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | shininess: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `properties`, `meshes`, `camera_position`, `camera_target`, and `camera_up` are never read [INFO] [stdout] --> src/layers/scene3d.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Scene3DLayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | properties: LayerProperties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | meshes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | camera_position: [f32; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | camera_target: [f32; 3], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | camera_up: [f32; 3], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/layers/scene3d.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Scene3DLayer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn add_mesh(&mut self, mesh: Mesh) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn remove_mesh(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_meshes(&self) -> &[Mesh] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_mesh_mut(&mut self, index: usize) -> Option<&mut Mesh> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_camera_position(&mut self, position: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn set_camera_target(&mut self, target: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_camera_up(&mut self, up: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_camera_view(&self) -> ([f32; 3], [f32; 3], [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `framebuffer` are never read [INFO] [stdout] --> src/rendering/renderer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | framebuffer: Vec, // RGBA [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/rendering/renderer.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Renderer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn clear(&mut self, color: [u8; 4]) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn render_layer(&mut self, layer: &dyn Layer) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn render_raster_layer(&mut self, layer: &RasterLayer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn render_vector_layer(&mut self, layer: &VectorLayer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn render_3d_layer(&mut self, _layer: &Scene3DLayer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn blend_pixel(&mut self, dest_index: usize, src_color: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_framebuffer(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppUI` is never constructed [INFO] [stdout] --> src/ui/app_ui.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppUI {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `draw_ui` are never used [INFO] [stdout] --> src/ui/app_ui.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl AppUI { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn draw_ui(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | fn view(&self) -> Element { [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] 98 | fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "9321ed12a8089b2b5c5cb05fdf37c8216ada20e39b9315a2001f0c8570a3e8cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9321ed12a8089b2b5c5cb05fdf37c8216ada20e39b9315a2001f0c8570a3e8cb", kill_on_drop: false }` [INFO] [stdout] 9321ed12a8089b2b5c5cb05fdf37c8216ada20e39b9315a2001f0c8570a3e8cb