[INFO] cloning repository https://github.com/XX/ray-tracing-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XX/ray-tracing-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXX%2Fray-tracing-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXX%2Fray-tracing-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a92a58d7a8e7b9bde8fcbf2c2e264f7b575056a [INFO] checking XX/ray-tracing-tutorial against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXX%2Fray-tracing-tutorial" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/XX/ray-tracing-tutorial [INFO] finished tweaking git repo https://github.com/XX/ray-tracing-tutorial [INFO] tweaked toml for git repo https://github.com/XX/ray-tracing-tutorial written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/XX/ray-tracing-tutorial on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/XX/ray-tracing-tutorial 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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8d6d3efa0803c166c792d086fcbe26d2f8e4f0c40ac92514be2dc4548078a27c [INFO] running `Command { std: "docker" "start" "8d6d3efa0803c166c792d086fcbe26d2f8e4f0c40ac92514be2dc4548078a27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d6d3efa0803c166c792d086fcbe26d2f8e4f0c40ac92514be2dc4548078a27c" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d6d3efa0803c166c792d086fcbe26d2f8e4f0c40ac92514be2dc4548078a27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d6d3efa0803c166c792d086fcbe26d2f8e4f0c40ac92514be2dc4548078a27c" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking ray-tracing-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `simple_scene_camera` is never used [INFO] [stdout] --> src/main.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn simple_scene_camera(image_width: usize, image_height: usize) -> Camera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_scene_world` is never used [INFO] [stdout] --> src/main.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn simple_scene_world() -> [Box; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_viewup` is never used [INFO] [stdout] --> src/camera.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn with_viewup(mut self, viewup: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ray_color_normal` is never used [INFO] [stdout] --> src/render.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Renderer { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | fn ray_color_normal(&self, ray: Ray, world: &T) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ramp` is never constructed [INFO] [stdout] --> src/render.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum Fading { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 196 | Const(f64), [INFO] [stdout] 197 | Ramp([f64; N]), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_unit_vector_on_hemisphere` is never used [INFO] [stdout] --> src/types.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn random_unit_vector_on_hemisphere(normal: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Matrix, nalgebra::Const<1>, ArrayStorage>` [INFO] [stdout] --> src/types.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | (self.origin + t * self.direction).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `, nalgebra::Const<1>, ArrayStorage> as Into, nalgebra::Const<1>, ArrayStorage>>::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn hit(&self, ray: &Ray, t_range: Range) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^ the same lifetime is hidden 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] 42 | fn hit(&self, ray: &Ray, t_range: Range) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | fn hit(&self, ray: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^ the same lifetime is hidden 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] 49 | fn hit(&self, ray: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn hit(&self, ray: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^ the same lifetime is hidden 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] 58 | fn hit(&self, ray: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, ray: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^ the same lifetime is hidden 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] 24 | fn hit(&self, ray: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-tutorial` (bin "ray-tracing-tutorial" test) due to 1 previous error; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `simple_scene_camera` is never used [INFO] [stdout] --> src/main.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn simple_scene_camera(image_width: usize, image_height: usize) -> Camera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_scene_world` is never used [INFO] [stdout] --> src/main.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn simple_scene_world() -> [Box; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_viewup` is never used [INFO] [stdout] --> src/camera.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn with_viewup(mut self, viewup: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ray_color_normal` is never used [INFO] [stdout] --> src/render.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Renderer { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | fn ray_color_normal(&self, ray: Ray, world: &T) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ramp` is never constructed [INFO] [stdout] --> src/render.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum Fading { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 196 | Const(f64), [INFO] [stdout] 197 | Ramp([f64; N]), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_unit_vector_on_hemisphere` is never used [INFO] [stdout] --> src/types.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn random_unit_vector_on_hemisphere(normal: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Matrix, nalgebra::Const<1>, ArrayStorage>` [INFO] [stdout] --> src/types.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | (self.origin + t * self.direction).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `, nalgebra::Const<1>, ArrayStorage> as Into, nalgebra::Const<1>, ArrayStorage>>::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn hit(&self, ray: &Ray, t_range: Range) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^ the same lifetime is hidden 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] 42 | fn hit(&self, ray: &Ray, t_range: Range) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | fn hit(&self, ray: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^ the same lifetime is hidden 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] 49 | fn hit(&self, ray: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn hit(&self, ray: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^ the same lifetime is hidden 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] 58 | fn hit(&self, ray: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, ray: &Ray, t_range: Range) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^ the same lifetime is hidden 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] 24 | fn hit(&self, ray: &Ray, t_range: Range) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-tutorial` (bin "ray-tracing-tutorial") due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d6d3efa0803c166c792d086fcbe26d2f8e4f0c40ac92514be2dc4548078a27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d6d3efa0803c166c792d086fcbe26d2f8e4f0c40ac92514be2dc4548078a27c", kill_on_drop: false }` [INFO] [stdout] 8d6d3efa0803c166c792d086fcbe26d2f8e4f0c40ac92514be2dc4548078a27c