[INFO] cloning repository https://github.com/Shybert/sorb-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shybert/sorb-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShybert%2Fsorb-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShybert%2Fsorb-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b2a1cf58a838847aecdede83977c454a9f98bab [INFO] checking Shybert/sorb-rust/7b2a1cf58a838847aecdede83977c454a9f98bab against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShybert%2Fsorb-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shybert/sorb-rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shybert/sorb-rust [INFO] finished tweaking git repo https://github.com/Shybert/sorb-rust [INFO] tweaked toml for git repo https://github.com/Shybert/sorb-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Shybert/sorb-rust 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fe6608ddff62f58bc612c2c57c4171497f4fd87cd600e7a2e6bfe777eb63bed [INFO] running `Command { std: "docker" "start" "-a" "2fe6608ddff62f58bc612c2c57c4171497f4fd87cd600e7a2e6bfe777eb63bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fe6608ddff62f58bc612c2c57c4171497f4fd87cd600e7a2e6bfe777eb63bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fe6608ddff62f58bc612c2c57c4171497f4fd87cd600e7a2e6bfe777eb63bed", kill_on_drop: false }` [INFO] [stdout] 2fe6608ddff62f58bc612c2c57c4171497f4fd87cd600e7a2e6bfe777eb63bed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61c99f054db47797c48b773ec539629c154b18d618cdefc0467492508df0a1cd [INFO] running `Command { std: "docker" "start" "-a" "61c99f054db47797c48b773ec539629c154b18d618cdefc0467492508df0a1cd", kill_on_drop: false }` [INFO] [stderr] Checking sorb-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/geometry/material.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 3 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/render/lighting.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/render/lights.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/render/world.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/shapes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 3 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/textures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/textures/pattern.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 4 | use crate::textures::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `camera::*` [INFO] [stdout] --> src/render.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use camera::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sphere::*` [INFO] [stdout] --> src/shapes.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use sphere::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plane::*` [INFO] [stdout] --> src/shapes.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use plane::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pattern::*` [INFO] [stdout] --> src/textures.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use pattern::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/geometry/material.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 3 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/render/lighting.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/render/lights.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/render/world.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/render/world.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 81 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 81 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 81 | use crate::render::world::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/shapes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 3 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/shapes/sphere.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 57 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 57 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 57 | use crate::shapes::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/shapes/plane.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 49 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 49 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 49 | use crate::shapes::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/textures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Color` [INFO] [stdout] --> src/textures/pattern.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ no `Color` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 4 | use crate::textures::Color; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `camera::*` [INFO] [stdout] --> src/render.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use camera::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/render/world.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn lights(&self) -> &[PointLight] { [INFO] [stdout] | ------------- expected `&[lights::PointLight]` because of return type [INFO] [stdout] 22 | return &self.lights; [INFO] [stdout] | ^^^^^^^^^^^^ expected `&[PointLight]`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[lights::PointLight]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `iter` exists for reference `&[PointLight]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/render/world.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 49 | return self [INFO] [stdout] | ____________- [INFO] [stdout] 50 | | .lights() [INFO] [stdout] 51 | | .iter() [INFO] [stdout] | | -^^^^ method cannot be called on `&[PointLight]` due to unsatisfied trait bounds [INFO] [stdout] | |_______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/render/lights.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PointLight { [INFO] [stdout] | --------------------- doesn't satisfy `lights::PointLight: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `lights::PointLight: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::Lerp` [INFO] [stdout] --> src/textures/pattern.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::Lerp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sorb-rust` (bin "sorb-rust") due to 10 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/render/world.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn lights(&self) -> &[PointLight] { [INFO] [stdout] | ------------- expected `&[lights::PointLight]` because of return type [INFO] [stdout] 22 | return &self.lights; [INFO] [stdout] | ^^^^^^^^^^^^ expected `&[PointLight]`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[lights::PointLight]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `iter` exists for reference `&[PointLight]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/render/world.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 49 | return self [INFO] [stdout] | ____________- [INFO] [stdout] 50 | | .lights() [INFO] [stdout] 51 | | .iter() [INFO] [stdout] | | -^^^^ method cannot be called on `&[PointLight]` due to unsatisfied trait bounds [INFO] [stdout] | |_______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/render/lights.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PointLight { [INFO] [stdout] | --------------------- doesn't satisfy `lights::PointLight: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `lights::PointLight: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for reference `&[PointLight]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/render/world.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(world.lights().len(), 3); [INFO] [stdout] | ^^^ method cannot be called on `&[PointLight]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/render/lights.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PointLight { [INFO] [stdout] | --------------------- doesn't satisfy `lights::PointLight: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `lights::PointLight: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for reference `&[PointLight]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/render/world.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(world.lights().len(), 0); [INFO] [stdout] | ^^^ method cannot be called on `&[PointLight]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/render/lights.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PointLight { [INFO] [stdout] | --------------------- doesn't satisfy `lights::PointLight: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `lights::PointLight: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::Lerp` [INFO] [stdout] --> src/textures/pattern.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::Lerp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sorb-rust` (bin "sorb-rust" test) due to 15 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "61c99f054db47797c48b773ec539629c154b18d618cdefc0467492508df0a1cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61c99f054db47797c48b773ec539629c154b18d618cdefc0467492508df0a1cd", kill_on_drop: false }` [INFO] [stdout] 61c99f054db47797c48b773ec539629c154b18d618cdefc0467492508df0a1cd