[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 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShybert%2Fsorb-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shybert/sorb-rust on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-0-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e20247416a0c0977a0675fd4d0744c7f281106e031a05e97ace2e9bba043e35d [INFO] running `Command { std: "docker" "start" "-a" "e20247416a0c0977a0675fd4d0744c7f281106e031a05e97ace2e9bba043e35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e20247416a0c0977a0675fd4d0744c7f281106e031a05e97ace2e9bba043e35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e20247416a0c0977a0675fd4d0744c7f281106e031a05e97ace2e9bba043e35d", kill_on_drop: false }` [INFO] [stdout] e20247416a0c0977a0675fd4d0744c7f281106e031a05e97ace2e9bba043e35d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d77a21504ebfde4cf433ffa19965c6eb0829593fbde48bff2d1138dfbb501d26 [INFO] running `Command { std: "docker" "start" "-a" "d77a21504ebfde4cf433ffa19965c6eb0829593fbde48bff2d1138dfbb501d26", 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] 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] 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: aborting due to 9 previous errors [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 [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] error[E0599]: no function or associated item named `with_fn` found for struct `textures::pattern::Pattern` in the current scope [INFO] [stdout] --> src/render/world.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | Material::new(Box::new(Pattern::with_fn(stripes)), 1., 0., 0., 0.), [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Pattern<_, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/textures/pattern.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Pattern [INFO] [stdout] | ------------------------ function or associated item `with_fn` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `textures::pattern::Pattern<_, _>` consider using one of the following associated functions: [INFO] [stdout] textures::pattern::Pattern::::with_transformation [INFO] [stdout] textures::pattern::Pattern::::new [INFO] [stdout] --> src/textures/pattern.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_transformation(fn_pattern: FnPattern, a: A, b: B, pattern_to_world: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn new(fn_pattern: FnPattern, a: A, b: B) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_fn` found for struct `textures::pattern::Pattern` in the current scope [INFO] [stdout] --> src/shapes.rs:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | Material::new(Box::new(Pattern::with_fn(stripes)), 0., 0., 0., 0.), [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Pattern<_, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/textures/pattern.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Pattern [INFO] [stdout] | ------------------------ function or associated item `with_fn` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `textures::pattern::Pattern<_, _>` consider using one of the following associated functions: [INFO] [stdout] textures::pattern::Pattern::::with_transformation [INFO] [stdout] textures::pattern::Pattern::::new [INFO] [stdout] --> src/textures/pattern.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_transformation(fn_pattern: FnPattern, a: A, b: B, pattern_to_world: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn new(fn_pattern: FnPattern, a: A, b: B) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_fn` found for struct `textures::pattern::Pattern` in the current scope [INFO] [stdout] --> src/textures/pattern.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Pattern [INFO] [stdout] | ------------------------ function or associated item `with_fn` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 135 | let pattern = Pattern::with_fn(test_fn_pattern); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Pattern<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `textures::pattern::Pattern<_, _>` consider using one of the following associated functions: [INFO] [stdout] textures::pattern::Pattern::::with_transformation [INFO] [stdout] textures::pattern::Pattern::::new [INFO] [stdout] --> src/textures/pattern.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_transformation(fn_pattern: FnPattern, a: A, b: B, pattern_to_world: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn new(fn_pattern: FnPattern, a: A, b: B) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_fn` found for struct `textures::pattern::Pattern` in the current scope [INFO] [stdout] --> src/textures/pattern.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Pattern [INFO] [stdout] | ------------------------ function or associated item `with_fn` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 169 | let pattern = Pattern::with_fn(test_fn_pattern); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Pattern<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `textures::pattern::Pattern<_, _>` consider using one of the following associated functions: [INFO] [stdout] textures::pattern::Pattern::::with_transformation [INFO] [stdout] textures::pattern::Pattern::::new [INFO] [stdout] --> src/textures/pattern.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_transformation(fn_pattern: FnPattern, a: A, b: B, pattern_to_world: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn new(fn_pattern: FnPattern, a: A, b: B) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [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 19 previous errors [INFO] running `Command { std: "docker" "inspect" "d77a21504ebfde4cf433ffa19965c6eb0829593fbde48bff2d1138dfbb501d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d77a21504ebfde4cf433ffa19965c6eb0829593fbde48bff2d1138dfbb501d26", kill_on_drop: false }` [INFO] [stdout] d77a21504ebfde4cf433ffa19965c6eb0829593fbde48bff2d1138dfbb501d26 [INFO] checking Shybert/sorb-rust against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShybert%2Fsorb-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shybert/sorb-rust on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-0-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffa4852ba84556b6458a14f1ba4770b1a2e793bc4265e19b4d88a52dff4adb2d [INFO] running `Command { std: "docker" "start" "-a" "ffa4852ba84556b6458a14f1ba4770b1a2e793bc4265e19b4d88a52dff4adb2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffa4852ba84556b6458a14f1ba4770b1a2e793bc4265e19b4d88a52dff4adb2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa4852ba84556b6458a14f1ba4770b1a2e793bc4265e19b4d88a52dff4adb2d", kill_on_drop: false }` [INFO] [stdout] ffa4852ba84556b6458a14f1ba4770b1a2e793bc4265e19b4d88a52dff4adb2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fd5fe92d846c6b4cf1052bab4041176e2b2bf8e684fc0c894744a8142cd543b [INFO] running `Command { std: "docker" "start" "-a" "9fd5fe92d846c6b4cf1052bab4041176e2b2bf8e684fc0c894744a8142cd543b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "9fd5fe92d846c6b4cf1052bab4041176e2b2bf8e684fc0c894744a8142cd543b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd5fe92d846c6b4cf1052bab4041176e2b2bf8e684fc0c894744a8142cd543b", kill_on_drop: false }` [INFO] [stdout] 9fd5fe92d846c6b4cf1052bab4041176e2b2bf8e684fc0c894744a8142cd543b