[INFO] cloning repository https://github.com/malezjaa/ciri [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/malezjaa/ciri" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalezjaa%2Fciri", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalezjaa%2Fciri'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 834e3563db5f74d32a3c491f6f091f2e6d7ff6fd [INFO] checking malezjaa/ciri/834e3563db5f74d32a3c491f6f091f2e6d7ff6fd against master#4068bafedd8ba724e332a5221c06a6fa531a30d2 for pr-146978 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalezjaa%2Fciri" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/malezjaa/ciri [INFO] finished tweaking git repo https://github.com/malezjaa/ciri [INFO] tweaked toml for git repo https://github.com/malezjaa/ciri written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/malezjaa/ciri on toolchain 4068bafedd8ba724e332a5221c06a6fa531a30d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/malezjaa/ciri 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" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reqwest v0.12.21 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Downloaded open-enum-derive v0.5.2 [INFO] [stderr] Downloaded three-d-asset v0.9.2 [INFO] [stderr] Downloaded three-d v0.18.2 [INFO] [stderr] Downloaded open-enum v0.5.2 [INFO] [stderr] Downloaded ab_glyph v0.2.30 [INFO] [stderr] Downloaded glam v0.30.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3991696361d2606a666588b61cf934ba7dbe9e80e0ed011fcad1e288dedfa0f9 [INFO] running `Command { std: "docker" "start" "-a" "3991696361d2606a666588b61cf934ba7dbe9e80e0ed011fcad1e288dedfa0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3991696361d2606a666588b61cf934ba7dbe9e80e0ed011fcad1e288dedfa0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3991696361d2606a666588b61cf934ba7dbe9e80e0ed011fcad1e288dedfa0f9", kill_on_drop: false }` [INFO] [stdout] 3991696361d2606a666588b61cf934ba7dbe9e80e0ed011fcad1e288dedfa0f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93cb51e0e33a922cc6c5f0e889c6405e71d5fa6e481c48fbfaa729ddc0de5622 [INFO] running `Command { std: "docker" "start" "-a" "93cb51e0e33a922cc6c5f0e889c6405e71d5fa6e481c48fbfaa729ddc0de5622", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking glow v0.14.2 [INFO] [stderr] Checking glam v0.30.4 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking fern v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.30 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.8.26 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling open-enum-derive v0.5.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking open-enum v0.5.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking reqwest v0.12.21 [INFO] [stderr] Checking three-d-asset v0.9.2 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking three-d v0.18.2 [INFO] [stderr] Checking ciri_math v0.1.0 (/opt/rustwide/workdir/math) [INFO] [stdout] warning: unused import: `vectors::*` [INFO] [stdout] --> math/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use vectors::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vectors::*` [INFO] [stdout] --> math/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use vectors::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> math/src/transform.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn translated(mut self, delta: Vec3) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> math/src/transform.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn rotated(mut self, rotation: Quat) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> math/src/transform.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn scaled(mut self, factor: Vec3) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> math/src/transform.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn translated(mut self, delta: Vec3) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> math/src/transform.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn rotated(mut self, rotation: Quat) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> math/src/transform.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn scaled(mut self, factor: Vec3) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ciri v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unused import: `Srgba` [INFO] [stdout] --> core/src/bounding_box.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use three_d_asset::{AxisAlignedBoundingBox, Srgba}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameOutput` [INFO] [stdout] --> core/src/camera/mod.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use three_d::{ColorMapping, Event, FrameOutput, Mat4, Radians, ToneMapping, Viewer, Viewport}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `engine::Engine` and `frame::Frame` [INFO] [stdout] --> core/src/camera/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | engine::Engine, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | frame::Frame, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scenes::Scene` [INFO] [stdout] --> core/src/frame.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scenes::Scene; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> core/src/frame.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use three_d::{ClearState, Context, FrameInput, Light, Object, Viewer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4`, `Vec3`, and `from_glam_vec` [INFO] [stdout] --> core/src/lights/ambient.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use ciri_math::{Mat4, Vec3, from_glam_vec}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DepthTexture2D` and `Environment` [INFO] [stdout] --> core/src/lights/ambient.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use three_d::{Context, DepthTexture2D, Environment, TextureCubeMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::Engine` [INFO] [stdout] --> core/src/object.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::Engine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Geometry` [INFO] [stdout] --> core/src/object.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use three_d::{Context, CpuMaterial, CpuMesh, Geometry, Gm, Mesh, PhysicalMaterial}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `three_d_asset::Srgba` [INFO] [stdout] --> core/src/object.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use three_d_asset::Srgba; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `ptr::NonNull` [INFO] [stdout] --> core/src/scenes/components/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | fmt::Debug, [INFO] [stdout] 18 | ptr::NonNull, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_object::*` [INFO] [stdout] --> core/src/scenes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use game_object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scene` [INFO] [stdout] --> core/src/scenes/manager.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scenes::{Scene, SceneTrait}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> core/src/scenes/manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `load_and_deserialize_async` and `load_async` [INFO] [stdout] --> core/src/scenes/manager.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use three_d_asset::io::{load_and_deserialize_async, load_async}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ciri_math::Transform` [INFO] [stdout] --> core/src/scenes/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ciri_math::Transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Id` [INFO] [stdout] --> core/src/scenes/mod.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use id_arena::{Arena, Id}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pointer`, `TypeId`, and `format` [INFO] [stdout] --> core/src/scenes/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | any::{Any, TypeId}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | collections::HashMap, [INFO] [stdout] 21 | fmt::{Debug, Pointer, format}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameInput`, `Viewer`, and `Window` [INFO] [stdout] --> core/src/scenes/mod.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | use three_d::{ClearState, Context, FrameInput, FrameOutput, Light, Object, Viewer, Window}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RawAssets` and `load_and_deserialize_async` [INFO] [stdout] --> core/src/scenes/mod.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use three_d_asset::io::{RawAssets, load_and_deserialize_async}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Srgba` [INFO] [stdout] --> core/src/bounding_box.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use three_d_asset::{AxisAlignedBoundingBox, Srgba}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameOutput` [INFO] [stdout] --> core/src/camera/mod.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use three_d::{ColorMapping, Event, FrameOutput, Mat4, Radians, ToneMapping, Viewer, Viewport}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `engine::Engine` and `frame::Frame` [INFO] [stdout] --> core/src/camera/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | engine::Engine, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | frame::Frame, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scenes::Scene` [INFO] [stdout] --> core/src/frame.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scenes::Scene; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> core/src/frame.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use three_d::{ClearState, Context, FrameInput, Light, Object, Viewer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4`, `Vec3`, and `from_glam_vec` [INFO] [stdout] --> core/src/lights/ambient.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use ciri_math::{Mat4, Vec3, from_glam_vec}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DepthTexture2D` and `Environment` [INFO] [stdout] --> core/src/lights/ambient.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use three_d::{Context, DepthTexture2D, Environment, TextureCubeMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::Engine` [INFO] [stdout] --> core/src/object.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::Engine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Geometry` [INFO] [stdout] --> core/src/object.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use three_d::{Context, CpuMaterial, CpuMesh, Geometry, Gm, Mesh, PhysicalMaterial}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `three_d_asset::Srgba` [INFO] [stdout] --> core/src/object.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use three_d_asset::Srgba; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `ptr::NonNull` [INFO] [stdout] --> core/src/scenes/components/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | fmt::Debug, [INFO] [stdout] 18 | ptr::NonNull, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_object::*` [INFO] [stdout] --> core/src/scenes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use game_object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scene` [INFO] [stdout] --> core/src/scenes/manager.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scenes::{Scene, SceneTrait}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> core/src/scenes/manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `load_and_deserialize_async` and `load_async` [INFO] [stdout] --> core/src/scenes/manager.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use three_d_asset::io::{load_and_deserialize_async, load_async}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ciri_math::Transform` [INFO] [stdout] --> core/src/scenes/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ciri_math::Transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Id` [INFO] [stdout] --> core/src/scenes/mod.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use id_arena::{Arena, Id}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pointer`, `TypeId`, and `format` [INFO] [stdout] --> core/src/scenes/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | any::{Any, TypeId}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | collections::HashMap, [INFO] [stdout] 21 | fmt::{Debug, Pointer, format}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameInput`, `Viewer`, and `Window` [INFO] [stdout] --> core/src/scenes/mod.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | use three_d::{ClearState, Context, FrameInput, FrameOutput, Light, Object, Viewer, Window}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RawAssets` and `load_and_deserialize_async` [INFO] [stdout] --> core/src/scenes/mod.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use three_d_asset::io::{RawAssets, load_and_deserialize_async}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> core/src/scenes/mod.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | use three_d::{ClearState, Context, FrameInput, FrameOutput, Light, Object, Viewer, Window}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SceneTrait` [INFO] [stdout] --> core/src/engine.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | scenes::{SceneTrait, UpdateResult, manager::SceneManager}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `three_d::HasContext` [INFO] [stdout] --> core/src/scenes/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use three_d::HasContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> core/src/scenes/mod.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | use three_d::{ClearState, Context, FrameInput, FrameOutput, Light, Object, Viewer, Window}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SceneTrait` [INFO] [stdout] --> core/src/engine.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | scenes::{SceneTrait, UpdateResult, manager::SceneManager}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `three_d::HasContext` [INFO] [stdout] --> core/src/scenes/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use three_d::HasContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ModelBuilder<'a>` is more private than the item `model::Model::builder` [INFO] [stdout] --> core/src/model/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn builder() -> ModelBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `model::Model::builder` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ModelBuilder<'a>` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/model/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct ModelBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shadow_texture` and `shadow_matrix` are never read [INFO] [stdout] --> core/src/lights/directional.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DirectionalLightBuilder { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 6 | shadow_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | shadow_matrix: Mat4, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mesh`, `material`, `transform`, and `animation` are never read [INFO] [stdout] --> core/src/model/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct ModelBuilder<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 22 | mesh: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | material: Option<&'a CpuMaterial>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | transform: Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | animation: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mesh`, `material`, `transform`, and `build` are never used [INFO] [stdout] --> core/src/model/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> ModelBuilder<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 29 | #[must_use] [INFO] [stdout] 30 | pub fn mesh(mut self, mesh: CpuMesh) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn material(mut self, material: &'a CpuMaterial) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn transform(mut self, transform: Transform) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn build(self, ctx: &Context) -> Gm { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Material` is never constructed [INFO] [stdout] --> core/src/model/material.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Material; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> core/src/model/material.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Material { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 7 | pub fn builder() -> MaterialBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MaterialType` is never used [INFO] [stdout] --> core/src/model/material.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum MaterialType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaterialBuilder` is never constructed [INFO] [stdout] --> core/src/model/material.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct MaterialBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> core/src/model/material.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl MaterialBuilder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 82 | #[must_use] [INFO] [stdout] 83 | pub fn opaque(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn transparent(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn albedo(mut self, albedo: Srgba) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn albedo_texture(mut self, albedo_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn metallic(mut self, metallic: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn roughness(mut self, roughness: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn occlusion_metallic_roughness_texture( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn metallic_roughness_texture(mut self, metallic_roughness_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn occlusion_strength(mut self, occlusion_strength: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn occlusion_texture(mut self, occlusion_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn normal_scale(mut self, normal_scale: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn normal_texture(mut self, normal_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn emissive(mut self, emissive: Srgba) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn emissive_texture(mut self, emissive_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn alpha_cutout(mut self, alpha_cutout: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn lighting_model(mut self, lighting_model: LightingModel) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn index_of_refraction(mut self, index_of_refraction: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn transmission(mut self, transmission: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn transmission_texture(mut self, transmission_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn build(self, ctx: &Context) -> PhysicalMaterial { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_object` is never used [INFO] [stdout] --> core/src/object.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn create_object( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/scenes/mod.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | fn setup_async(&mut self, ctx: Context) -> ResultFuture> { [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] 123 | fn setup_async(&mut self, ctx: Context) -> ResultFuture<'_, Result<()>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/scenes/mod.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | fn load_assets(&mut self) -> ResultFuture> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn load_assets(&mut self) -> ResultFuture<'_, Result<()>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ModelBuilder<'a>` is more private than the item `model::Model::builder` [INFO] [stdout] --> core/src/model/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn builder() -> ModelBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `model::Model::builder` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ModelBuilder<'a>` is only usable at visibility `pub(self)` [INFO] [stdout] --> core/src/model/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct ModelBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shadow_texture` and `shadow_matrix` are never read [INFO] [stdout] --> core/src/lights/directional.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DirectionalLightBuilder { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 6 | shadow_texture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | shadow_matrix: Mat4, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mesh`, `material`, `transform`, and `animation` are never read [INFO] [stdout] --> core/src/model/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct ModelBuilder<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 22 | mesh: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | material: Option<&'a CpuMaterial>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | transform: Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | animation: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mesh`, `material`, `transform`, and `build` are never used [INFO] [stdout] --> core/src/model/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> ModelBuilder<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 29 | #[must_use] [INFO] [stdout] 30 | pub fn mesh(mut self, mesh: CpuMesh) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn material(mut self, material: &'a CpuMaterial) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn transform(mut self, transform: Transform) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn build(self, ctx: &Context) -> Gm { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Material` is never constructed [INFO] [stdout] --> core/src/model/material.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Material; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> core/src/model/material.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Material { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 7 | pub fn builder() -> MaterialBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MaterialType` is never used [INFO] [stdout] --> core/src/model/material.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum MaterialType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaterialBuilder` is never constructed [INFO] [stdout] --> core/src/model/material.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct MaterialBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> core/src/model/material.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl MaterialBuilder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 82 | #[must_use] [INFO] [stdout] 83 | pub fn opaque(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn transparent(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn albedo(mut self, albedo: Srgba) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn albedo_texture(mut self, albedo_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn metallic(mut self, metallic: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn roughness(mut self, roughness: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn occlusion_metallic_roughness_texture( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn metallic_roughness_texture(mut self, metallic_roughness_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn occlusion_strength(mut self, occlusion_strength: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn occlusion_texture(mut self, occlusion_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn normal_scale(mut self, normal_scale: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn normal_texture(mut self, normal_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn emissive(mut self, emissive: Srgba) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn emissive_texture(mut self, emissive_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn alpha_cutout(mut self, alpha_cutout: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn lighting_model(mut self, lighting_model: LightingModel) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn index_of_refraction(mut self, index_of_refraction: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn transmission(mut self, transmission: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn transmission_texture(mut self, transmission_texture: Texture2D) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn build(self, ctx: &Context) -> PhysicalMaterial { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_object` is never used [INFO] [stdout] --> core/src/object.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn create_object( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/scenes/mod.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | fn setup_async(&mut self, ctx: Context) -> ResultFuture> { [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] 123 | fn setup_async(&mut self, ctx: Context) -> ResultFuture<'_, Result<()>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> core/src/scenes/mod.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | fn load_assets(&mut self) -> ResultFuture> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn load_assets(&mut self) -> ResultFuture<'_, Result<()>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking scenes v0.1.0 (/opt/rustwide/workdir/examples/scenes) [INFO] [stdout] error: couldn't read `core/../examples/example-3d/src/main.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/scenes/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ciri_math` [INFO] [stdout] --> examples/scenes/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ciri_math::{Transform, vector}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ciri_math` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ciri_math`, use `cargo add ciri_math` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `three_d` [INFO] [stdout] --> examples/scenes/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use three_d::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `three_d` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `three_d`, use `cargo add three_d` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `three_d_asset` [INFO] [stdout] --> examples/scenes/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use three_d_asset::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `three_d_asset` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `three_d_asset`, use `cargo add three_d_asset` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `three_d_asset` [INFO] [stdout] --> examples/scenes/src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_scene!("Game", Game, GameData, (skybox, "examples/assets/environment.hdr" => Texture2D)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `three_d_asset` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `three_d_asset`, use `cargo add three_d_asset` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `impl_scene` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `three_d_asset` [INFO] [stdout] --> examples/scenes/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use three_d_asset::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `three_d_asset` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `three_d_asset`, use `cargo add three_d_asset` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ciri` (example "3d") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `DirectionalLight`, `math::Vec3`, and `model::Model` [INFO] [stdout] --> examples/scenes/src/main.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | lights::{AmbientLight, DirectionalLight}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | logger::init_logger, [INFO] [stdout] 10 | math::Vec3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | model::Model, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> examples/scenes/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ciri_math` [INFO] [stdout] --> examples/scenes/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ciri_math::{Transform, vector}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ciri_math` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ciri_math`, use `cargo add ciri_math` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `three_d` [INFO] [stdout] --> examples/scenes/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use three_d::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `three_d` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `three_d`, use `cargo add three_d` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `three_d_asset` [INFO] [stdout] --> examples/scenes/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use three_d_asset::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `three_d_asset` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `three_d_asset`, use `cargo add three_d_asset` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `three_d_asset` [INFO] [stdout] --> examples/scenes/src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_scene!("Game", Game, GameData, (skybox, "examples/assets/environment.hdr" => Texture2D)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `three_d_asset` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `three_d_asset`, use `cargo add three_d_asset` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `impl_scene` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `three_d_asset` [INFO] [stdout] --> examples/scenes/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use three_d_asset::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `three_d_asset` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `three_d_asset`, use `cargo add three_d_asset` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirectionalLight`, `math::Vec3`, and `model::Model` [INFO] [stdout] --> core/../examples/scenes/src/main.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | lights::{AmbientLight, DirectionalLight}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | logger::init_logger, [INFO] [stdout] 10 | math::Vec3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | model::Model, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transform` and `vector` [INFO] [stdout] --> core/../examples/scenes/src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use ciri_math::{Transform, vector}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CpuMaterial`, `CpuMesh`, `FrameInput`, `Geometry`, `Gm`, `Mesh`, `PhysicalMaterial`, and `SurfaceSettings` [INFO] [stdout] --> core/../examples/scenes/src/main.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | Context, CpuMaterial, CpuMesh, FrameInput, FrameOutput, Geometry, Gm, Mesh, PhysicalMaterial, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | Skybox, SurfaceSettings, Window, WindowSettings, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RawAssets` and `load_async` [INFO] [stdout] --> core/../examples/scenes/src/main.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | io::{RawAssets, load_async}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirectionalLight`, `math::Vec3`, and `model::Model` [INFO] [stdout] --> examples/scenes/src/main.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | lights::{AmbientLight, DirectionalLight}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | logger::init_logger, [INFO] [stdout] 10 | math::Vec3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | model::Model, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> examples/scenes/src/main.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scenes` (bin "scenes" test) due to 7 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> examples/scenes/src/main.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scenes` (bin "scenes") due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "93cb51e0e33a922cc6c5f0e889c6405e71d5fa6e481c48fbfaa729ddc0de5622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93cb51e0e33a922cc6c5f0e889c6405e71d5fa6e481c48fbfaa729ddc0de5622", kill_on_drop: false }` [INFO] [stdout] 93cb51e0e33a922cc6c5f0e889c6405e71d5fa6e481c48fbfaa729ddc0de5622