[INFO] updating cached repository https://github.com/gsingh93/ray-trace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a39de2ca33aeb93abef4822aadd3bb07a91c95c5 [INFO] testing gsingh93/ray-trace against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgsingh93%2Fray-trace" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gsingh93/ray-trace on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gsingh93/ray-trace [INFO] finished tweaking git repo https://github.com/gsingh93/ray-trace [INFO] tweaked toml for git repo https://github.com/gsingh93/ray-trace written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/gsingh93/ray-trace already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] 82c2bf306399bd5176730c8d3bb7aa68ac193239a5480bd9e7c3db00d108f7b1 [INFO] running `Command { std: "docker" "start" "-a" "82c2bf306399bd5176730c8d3bb7aa68ac193239a5480bd9e7c3db00d108f7b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82c2bf306399bd5176730c8d3bb7aa68ac193239a5480bd9e7c3db00d108f7b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82c2bf306399bd5176730c8d3bb7aa68ac193239a5480bd9e7c3db00d108f7b1", kill_on_drop: false }` [INFO] [stdout] 82c2bf306399bd5176730c8d3bb7aa68ac193239a5480bd9e7c3db00d108f7b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 081e4babfd8a83b6f8eb64e701e89fadec576500619bba74f46774d3bf823582 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "081e4babfd8a83b6f8eb64e701e89fadec576500619bba74f46774d3bf823582", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling simba v0.1.5 [INFO] [stderr] Compiling nalgebra v0.21.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling image v0.23.7 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling noise v0.6.0 [INFO] [stderr] Compiling ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `nalgebra::dot` [INFO] [stdout] --> src/material.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::{dot, Norm}; [INFO] [stdout] | ^^^ no `dot` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `noise::Brownian3`, `noise::Seed` [INFO] [stdout] --> src/material.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use noise::{self, Brownian3, Seed}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ no `Seed` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Brownian3` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `nalgebra::dot`, `nalgebra::cross` [INFO] [stdout] --> src/surface.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::{dot, cross, Norm}; [INFO] [stdout] | ^^^ ^^^^^ no `cross` in the root [INFO] [stdout] | | [INFO] [stdout] | no `dot` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image::ImageRgb8` [INFO] [stdout] --> src/texture.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{self, ImageRgb8, RgbImage}; [INFO] [stdout] | ^^^^^^^^^ no `ImageRgb8` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `nalgebra::cross`, `nalgebra::dot` [INFO] [stdout] --> src/lib.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | use nalgebra::{clamp, cross, dot, Norm}; [INFO] [stdout] | ^^^^^ ^^^ no `dot` in the root [INFO] [stdout] | | [INFO] [stdout] | no `cross` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `perlin3` in crate `noise` [INFO] [stdout] --> src/material.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | let noise = Brownian3::new(noise::perlin3, self.octaves) [INFO] [stdout] | ^^^^^^^ not found in `noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `perlin3` in crate `noise` [INFO] [stdout] --> src/material.rs:164:43 [INFO] [stdout] | [INFO] [stdout] 164 | let noise = Brownian3::new(noise::perlin3, self.octaves) [INFO] [stdout] | ^^^^^^^ not found in `noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Norm` [INFO] [stdout] --> src/material.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::{dot, Norm}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | texture: Option>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:39:55 [INFO] [stdout] | [INFO] [stdout] 39 | reflectivity: f32, texture: Option>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Norm` [INFO] [stdout] --> src/ray.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::Norm; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Norm` [INFO] [stdout] --> src/surface.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::{dot, cross, Norm}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | fn clone_(&self) -> Box; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | fn clone_(&self) -> Box { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | fn clone_(&self) -> Box { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | objects: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(objects: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:76:52 [INFO] [stdout] | [INFO] [stdout] 76 | fn intersect(&self, ray: &Ray) -> Option<(&Box, Intersection)> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `nalgebra::constraint::ShapeConstraint: nalgebra::constraint::DimEq` is not satisfied [INFO] [stdout] --> src/lib.rs:116:38 [INFO] [stdout] | [INFO] [stdout] 116 | color = material.raw_color() * (scene.ambient_color / 255.) * scene.ambient_coeff; [INFO] [stdout] | ^ the trait `nalgebra::constraint::DimEq` is not implemented for `nalgebra::constraint::ShapeConstraint` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `nalgebra::constraint::AreMultipliable` for `nalgebra::constraint::ShapeConstraint` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Mul` for `nalgebra::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `nalgebra::constraint::ShapeConstraint: nalgebra::constraint::DimEq` is not satisfied [INFO] [stdout] --> src/lib.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | * (*light.color() / 255.) * light.intensity(); [INFO] [stdout] | ^ the trait `nalgebra::constraint::DimEq` is not implemented for `nalgebra::constraint::ShapeConstraint` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `nalgebra::constraint::AreMultipliable` for `nalgebra::constraint::ShapeConstraint` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Mul` for `nalgebra::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `nalgebra::constraint::ShapeConstraint: nalgebra::constraint::DimEq` is not satisfied [INFO] [stdout] --> src/lib.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | * (*light.color() / 255.) * light.intensity(); [INFO] [stdout] | ^ the trait `nalgebra::constraint::DimEq` is not implemented for `nalgebra::constraint::ShapeConstraint` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `nalgebra::constraint::AreMultipliable` for `nalgebra::constraint::ShapeConstraint` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Mul` for `nalgebra::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `nalgebra::constraint::ShapeConstraint: nalgebra::constraint::DimEq` is not satisfied [INFO] [stdout] --> src/material.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | let diffuse_color = self.color * f * self.diffuse_coeff * match self.texture { [INFO] [stdout] | ^ the trait `nalgebra::constraint::DimEq` is not implemented for `nalgebra::constraint::ShapeConstraint` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `nalgebra::constraint::AreMultipliable` for `nalgebra::constraint::ShapeConstraint` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Mul` for `nalgebra::Matrix>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nalgebra::Matrix>` has no field named `x` [INFO] [stdout] --> src/surface.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | let u_axis = Vec3 { x: n.y, y: n.z, z: -n.x }; [INFO] [stdout] | ^ `nalgebra::Matrix>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nalgebra::Matrix>` has no field named `y` [INFO] [stdout] --> src/surface.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | let u_axis = Vec3 { x: n.y, y: n.z, z: -n.x }; [INFO] [stdout] | ^ `nalgebra::Matrix>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nalgebra::Matrix>` has no field named `z` [INFO] [stdout] --> src/surface.rs:117:49 [INFO] [stdout] | [INFO] [stdout] 117 | let u_axis = Vec3 { x: n.y, y: n.z, z: -n.x }; [INFO] [stdout] | ^ `nalgebra::Matrix>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&image::Rgb` [INFO] [stdout] --> src/texture.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | Vec3::new(p.data[0] as f32, p.data[1] as f32, p.data[2] as f32) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&image::Rgb` [INFO] [stdout] --> src/texture.rs:77:39 [INFO] [stdout] | [INFO] [stdout] 77 | Vec3::new(p.data[0] as f32, p.data[1] as f32, p.data[2] as f32) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `data` on type `&image::Rgb` [INFO] [stdout] --> src/texture.rs:77:57 [INFO] [stdout] | [INFO] [stdout] 77 | Vec3::new(p.data[0] as f32, p.data[1] as f32, p.data[2] as f32) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Norm` [INFO] [stdout] --> src/lib.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | use nalgebra::{clamp, cross, dot, Norm}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "081e4babfd8a83b6f8eb64e701e89fadec576500619bba74f46774d3bf823582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "081e4babfd8a83b6f8eb64e701e89fadec576500619bba74f46774d3bf823582", kill_on_drop: false }` [INFO] [stdout] 081e4babfd8a83b6f8eb64e701e89fadec576500619bba74f46774d3bf823582