[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] checking annalazarenkova/rt against master#5431404b87967c69438ea1e698edbe96505f0798 for pr-119849 [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 5431404b87967c69438ea1e698edbe96505f0798 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "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" "+5431404b87967c69438ea1e698edbe96505f0798" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking annalazarenkova/rt against try#21bc403d557a2516df70ea80fb19b94177beede5 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fannalazarenkova%2Frt" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/annalazarenkova/rt on toolchain 21bc403d557a2516df70ea80fb19b94177beede5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "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-tc2/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" "+21bc403d557a2516df70ea80fb19b94177beede5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03dd7ea5438d553d5b79004435fb9af1d81fb6a2ef85b691c82c2dbdd9b3b0cc [INFO] running `Command { std: "docker" "start" "-a" "03dd7ea5438d553d5b79004435fb9af1d81fb6a2ef85b691c82c2dbdd9b3b0cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03dd7ea5438d553d5b79004435fb9af1d81fb6a2ef85b691c82c2dbdd9b3b0cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03dd7ea5438d553d5b79004435fb9af1d81fb6a2ef85b691c82c2dbdd9b3b0cc", kill_on_drop: false }` [INFO] [stdout] 03dd7ea5438d553d5b79004435fb9af1d81fb6a2ef85b691c82c2dbdd9b3b0cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02913d3166ea24cc5882453c67c78e251167b1dcad5bf161ad179c790650d7e9 [INFO] running `Command { std: "docker" "start" "-a" "02913d3166ea24cc5882453c67c78e251167b1dcad5bf161ad179c790650d7e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking 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 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] [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: 13 warnings emitted [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] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "02913d3166ea24cc5882453c67c78e251167b1dcad5bf161ad179c790650d7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02913d3166ea24cc5882453c67c78e251167b1dcad5bf161ad179c790650d7e9", kill_on_drop: false }` [INFO] [stdout] 02913d3166ea24cc5882453c67c78e251167b1dcad5bf161ad179c790650d7e9