[INFO] cloning repository https://github.com/luugiathuy/rust_ray_tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luugiathuy/rust_ray_tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluugiathuy%2Frust_ray_tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluugiathuy%2Frust_ray_tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a848c6efdcf65e37e3a16e7fb028244076e6f0c [INFO] testing luugiathuy/rust_ray_tracing against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluugiathuy%2Frust_ray_tracing" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/luugiathuy/rust_ray_tracing [INFO] finished tweaking git repo https://github.com/luugiathuy/rust_ray_tracing [INFO] tweaked toml for git repo https://github.com/luugiathuy/rust_ray_tracing written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luugiathuy/rust_ray_tracing on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/luugiathuy/rust_ray_tracing 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54ada16fe501ec9422a8747983a7dd1b56f9055ddaebb0dfb46967069d0408a8 [INFO] running `Command { std: "docker" "start" "-a" "54ada16fe501ec9422a8747983a7dd1b56f9055ddaebb0dfb46967069d0408a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54ada16fe501ec9422a8747983a7dd1b56f9055ddaebb0dfb46967069d0408a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ada16fe501ec9422a8747983a7dd1b56f9055ddaebb0dfb46967069d0408a8", kill_on_drop: false }` [INFO] [stdout] 54ada16fe501ec9422a8747983a7dd1b56f9055ddaebb0dfb46967069d0408a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1997c5677b038c018db193056fdfd798e00e40bfec00d0f75a1533d641da22b4 [INFO] running `Command { std: "docker" "start" "-a" "1997c5677b038c018db193056fdfd798e00e40bfec00d0f75a1533d641da22b4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rust_ray_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittable.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittable_list.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 6 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "1997c5677b038c018db193056fdfd798e00e40bfec00d0f75a1533d641da22b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1997c5677b038c018db193056fdfd798e00e40bfec00d0f75a1533d641da22b4", kill_on_drop: false }` [INFO] [stdout] 1997c5677b038c018db193056fdfd798e00e40bfec00d0f75a1533d641da22b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c97cbeaf0bb8b8f3a6dd3754406fa6dfef1d5032b0d32c3cbad016b5bc42563 [INFO] running `Command { std: "docker" "start" "-a" "2c97cbeaf0bb8b8f3a6dd3754406fa6dfef1d5032b0d32c3cbad016b5bc42563", kill_on_drop: false }` [INFO] [stderr] Compiling rust_ray_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittable.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittable_list.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 6 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "2c97cbeaf0bb8b8f3a6dd3754406fa6dfef1d5032b0d32c3cbad016b5bc42563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c97cbeaf0bb8b8f3a6dd3754406fa6dfef1d5032b0d32c3cbad016b5bc42563", kill_on_drop: false }` [INFO] [stdout] 2c97cbeaf0bb8b8f3a6dd3754406fa6dfef1d5032b0d32c3cbad016b5bc42563 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f838e9ffc63a5d7d304f83d910385b9657efae8a7c79d47ed28b17c459edf5fa [INFO] running `Command { std: "docker" "start" "-a" "f838e9ffc63a5d7d304f83d910385b9657efae8a7c79d47ed28b17c459edf5fa", kill_on_drop: false }` [INFO] [stderr] warning: field `w` is never read [INFO] [stderr] --> src/camera.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Camera { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | w: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Camera` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hittable.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 14 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hittable_list.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 6 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/sphere.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 24 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rust_ray_tracing` (bin "rust_ray_tracing" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_ray_tracing-3619adc69f92d2a2) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test hittable_list::tests::nearest_hit ... ok [INFO] [stdout] test ray::tests::point_at_parameter ... ok [INFO] [stdout] test sphere::tests::sphere_not_hit ... ok [INFO] [stdout] test sphere::tests::sphere_hit ... ok [INFO] [stdout] test sphere::tests::sphere_tangent ... ok [INFO] [stdout] test vec3::tests::add_vec ... ok [INFO] [stdout] test vec3::tests::cross_product ... ok [INFO] [stdout] test vec3::tests::div_vec ... ok [INFO] [stdout] test vec3::tests::div_vec_by_number ... ok [INFO] [stdout] test vec3::tests::dot_vec ... ok [INFO] [stdout] test vec3::tests::mul_vec ... ok [INFO] [stdout] test vec3::tests::mul_vec_with_number ... ok [INFO] [stdout] test vec3::tests::neg_vec ... ok [INFO] [stdout] test vec3::tests::reflect_vec ... ok [INFO] [stdout] test vec3::tests::sub_vec ... ok [INFO] [stdout] test vec3::tests::unit_vector ... ok [INFO] [stdout] test vec3::tests::vec_length ... ok [INFO] [stdout] test vec3::tests::vec_squared_length ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f838e9ffc63a5d7d304f83d910385b9657efae8a7c79d47ed28b17c459edf5fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f838e9ffc63a5d7d304f83d910385b9657efae8a7c79d47ed28b17c459edf5fa", kill_on_drop: false }` [INFO] [stdout] f838e9ffc63a5d7d304f83d910385b9657efae8a7c79d47ed28b17c459edf5fa