[INFO] cloning repository https://github.com/leonardlorenz/rosengarten [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leonardlorenz/rosengarten" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonardlorenz%2Frosengarten", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonardlorenz%2Frosengarten'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2faaa330f344e1c04d8e7b9df2457a5077078e8b [INFO] testing leonardlorenz/rosengarten against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonardlorenz%2Frosengarten" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leonardlorenz/rosengarten on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leonardlorenz/rosengarten [INFO] finished tweaking git repo https://github.com/leonardlorenz/rosengarten [INFO] tweaked toml for git repo https://github.com/leonardlorenz/rosengarten written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/leonardlorenz/rosengarten already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 081c932257b9ec43e93e1fd4d98787d3c18bac8c4cada83beaf1affc74d9edb6 [INFO] running `Command { std: "docker" "start" "-a" "081c932257b9ec43e93e1fd4d98787d3c18bac8c4cada83beaf1affc74d9edb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "081c932257b9ec43e93e1fd4d98787d3c18bac8c4cada83beaf1affc74d9edb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "081c932257b9ec43e93e1fd4d98787d3c18bac8c4cada83beaf1affc74d9edb6", kill_on_drop: false }` [INFO] [stdout] 081c932257b9ec43e93e1fd4d98787d3c18bac8c4cada83beaf1affc74d9edb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9b0e3e0bf5cd8b800095ebab995d0f6ab57cb8d327021fa648b0d19fb2abac8f [INFO] running `Command { std: "docker" "start" "-a" "9b0e3e0bf5cd8b800095ebab995d0f6ab57cb8d327021fa648b0d19fb2abac8f", kill_on_drop: false }` [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling rosengarten v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `transformation` in this scope [INFO] [stdout] --> src/raytracer/transformation.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | transformation.trans_mat = matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `transformation` in this scope [INFO] [stdout] --> src/raytracer/transformation.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | transformation.trans_mat_inv = matrix [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `transformation` in this scope [INFO] [stdout] --> src/raytracer/transformation.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | transformation.trans_mat_transposed = matrix [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `transformation` in this scope [INFO] [stdout] --> src/raytracer/transformation.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | transformation.trans_mat_inv_transposed = matrix [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `transformation` in this scope [INFO] [stdout] --> src/raytracer/shapes/group.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let ray_dir = transformation.trans_mat_inv * ray.norm_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `transformation` in this scope [INFO] [stdout] --> src/raytracer/shapes/group.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | let ray_origin = transformation.trans_mat_inv * ray.origin; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/raytracer/raytracer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rulinalg::matrix::Matrix` [INFO] [stdout] --> src/raytracer/raytracer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rulinalg::matrix::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rulinalg::vector::Vector` [INFO] [stdout] --> src/raytracer/raytracer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rulinalg::vector::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rulinalg` [INFO] [stdout] --> src/raytracer/shapes/background.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rulinalg; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rulinalg::vector::Vector` [INFO] [stdout] --> src/raytracer/shapes/group.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rulinalg::vector::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raytracer::materials::material::Material` [INFO] [stdout] --> src/raytracer/shapes/shape.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::raytracer::materials::material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rulinalg::vector::Vector` [INFO] [stdout] --> src/raytracer/shapes/shape.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rulinalg::vector::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | fn init_scene() -> Group<'static, Shape> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn init_scene() -> Group<'static, Shape> { [INFO] [stdout] 66 + fn init_scene() -> Group<'static, dyn Shape> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer/shapes/group.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | impl Shape for Group<'_, Shape> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - impl Shape for Group<'_, Shape> { [INFO] [stdout] 15 + impl Shape for Group<'_, dyn Shape> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer/shapes/shape.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | fn intersect(&self, ray: Ray) -> Intersection; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn intersect(&self, ray: Ray) -> Intersection; [INFO] [stdout] 13 + fn intersect(&self, ray: Ray) -> dyn Intersection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer/shapes/sphere.rs:17:76 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(&self, center: Vector, radius: f32, material: Material) -> Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn new(&self, center: Vector, radius: f32, material: Material) -> Shape { [INFO] [stdout] 17 + fn new(&self, center: Vector, radius: f32, material: Material) -> dyn Shape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: Pixel` is not satisfied [INFO] [stdout] --> src/raytracer/raytracer.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | img: image::ImageBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Pixel` is not implemented for `u32` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ImageBuffer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.22.3/./src/buffer.rs:500:27 [INFO] [stdout] | [INFO] [stdout] 500 | pub struct ImageBuffer { [INFO] [stdout] | ^^^^^ required by this bound in `ImageBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Shape + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/raytracer/shapes/group.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | impl Shape for Group<'_, Shape> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Shape + 'static)` [INFO] [stdout] note: required by a bound in `Group` [INFO] [stdout] --> src/raytracer/shapes/group.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Group<'a, Shape> { [INFO] [stdout] | ^^^^^ required by this bound in `Group` [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Group<'a, Shape: ?Sized> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Shape + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/raytracer/shapes/group.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | fn intersect(&self, ray: Ray) -> Intersection { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Shape + 'static)` [INFO] [stdout] note: required by a bound in `Group` [INFO] [stdout] --> src/raytracer/shapes/group.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Group<'a, Shape> { [INFO] [stdout] | ^^^^^ required by this bound in `Group` [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Group<'a, Shape: ?Sized> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Shape + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | fn init_scene() -> Group<'static, Shape> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Shape + 'static)` [INFO] [stdout] note: required by a bound in `Group` [INFO] [stdout] --> src/raytracer/shapes/group.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Group<'a, Shape> { [INFO] [stdout] | ^^^^^ required by this bound in `Group` [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Group<'a, Shape: ?Sized> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rosengarten` due to 11 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9b0e3e0bf5cd8b800095ebab995d0f6ab57cb8d327021fa648b0d19fb2abac8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0e3e0bf5cd8b800095ebab995d0f6ab57cb8d327021fa648b0d19fb2abac8f", kill_on_drop: false }` [INFO] [stdout] 9b0e3e0bf5cd8b800095ebab995d0f6ab57cb8d327021fa648b0d19fb2abac8f