[INFO] cloning repository https://github.com/annalazarenkova/rt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/annalazarenkova/rt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fannalazarenkova%2Frt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fannalazarenkova%2Frt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7c068947afdc695d74e89dd9b2e14a64467fe3c [INFO] building annalazarenkova/rt against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fannalazarenkova%2Frt" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/annalazarenkova/rt on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/annalazarenkova/rt [INFO] finished tweaking git repo https://github.com/annalazarenkova/rt [INFO] tweaked toml for git repo https://github.com/annalazarenkova/rt written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/annalazarenkova/rt 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e75345df4a1cae0c3bf619396e19b67a1b257fa916f4e127fa9d6a0c65db9fa4 [INFO] running `Command { std: "docker" "start" "-a" "e75345df4a1cae0c3bf619396e19b67a1b257fa916f4e127fa9d6a0c65db9fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e75345df4a1cae0c3bf619396e19b67a1b257fa916f4e127fa9d6a0c65db9fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e75345df4a1cae0c3bf619396e19b67a1b257fa916f4e127fa9d6a0c65db9fa4", kill_on_drop: false }` [INFO] [stdout] e75345df4a1cae0c3bf619396e19b67a1b257fa916f4e127fa9d6a0c65db9fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52c8d4f88b1e453fe1555d572cdf0500629fa4e19980ab589a360fc34f4d38cd [INFO] running `Command { std: "docker" "start" "-a" "52c8d4f88b1e453fe1555d572cdf0500629fa4e19980ab589a360fc34f4d38cd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `random_in_unit_sphere` [INFO] [stdout] --> src/main.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use material::{Material, random_in_unit_sphere, scatter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/hittable.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/hittable.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/hittable.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `albedo` [INFO] [stdout] --> src/material.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | &Material::Dialectric {albedo} =>{ false }, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `albedo: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `p` is never read [INFO] [stdout] --> src/material.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut p = Vec3::default(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v3` [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let v3 = v1 + v2; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut rec = HitRecord::default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut rec = HitRecord::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `z` are never used [INFO] [stdout] --> src/vec3.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Vec3 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn x(self) -> f32 { self.e[0]} [INFO] [stdout] | ^ [INFO] [stdout] 15 | pub fn y(self) -> f32 { self.e[1]} [INFO] [stdout] 16 | pub fn z(self) -> f32 { self.e[2]} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Metal` and `Dialectric` are never constructed [INFO] [stdout] --> src/material.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Material { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 8 | Lambertian {albedo: Vec3}, [INFO] [stdout] 9 | Metal {albedo: Vec3}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Dialectric {albedo: bool}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/ray.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | A: Vec3, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/ray.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | B: Vec3, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.37s [INFO] running `Command { std: "docker" "inspect" "52c8d4f88b1e453fe1555d572cdf0500629fa4e19980ab589a360fc34f4d38cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52c8d4f88b1e453fe1555d572cdf0500629fa4e19980ab589a360fc34f4d38cd", kill_on_drop: false }` [INFO] [stdout] 52c8d4f88b1e453fe1555d572cdf0500629fa4e19980ab589a360fc34f4d38cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5100ede1d31b9d2ed60cab20dc5ffd6611a08d816c1e34a16f03a620db48c511 [INFO] running `Command { std: "docker" "start" "-a" "5100ede1d31b9d2ed60cab20dc5ffd6611a08d816c1e34a16f03a620db48c511", kill_on_drop: false }` [INFO] [stderr] Compiling rt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/ray.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random_in_unit_sphere` [INFO] [stdout] --> src/main.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use material::{Material, random_in_unit_sphere, scatter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/hittable.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/hittable.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/hittable.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `albedo` [INFO] [stdout] --> src/material.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | &Material::Dialectric {albedo} =>{ false }, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `albedo: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `p` is never read [INFO] [stdout] --> src/material.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut p = Vec3::default(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v3` [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let v3 = v1 + v2; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut rec = HitRecord::default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut rec = HitRecord::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `z` are never used [INFO] [stdout] --> src/vec3.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Vec3 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn x(self) -> f32 { self.e[0]} [INFO] [stdout] | ^ [INFO] [stdout] 15 | pub fn y(self) -> f32 { self.e[1]} [INFO] [stdout] 16 | pub fn z(self) -> f32 { self.e[2]} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Metal` and `Dialectric` are never constructed [INFO] [stdout] --> src/material.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Material { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 8 | Lambertian {albedo: Vec3}, [INFO] [stdout] 9 | Metal {albedo: Vec3}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Dialectric {albedo: bool}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/ray.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | A: Vec3, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/ray.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | B: Vec3, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "5100ede1d31b9d2ed60cab20dc5ffd6611a08d816c1e34a16f03a620db48c511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5100ede1d31b9d2ed60cab20dc5ffd6611a08d816c1e34a16f03a620db48c511", kill_on_drop: false }` [INFO] [stdout] 5100ede1d31b9d2ed60cab20dc5ffd6611a08d816c1e34a16f03a620db48c511