[INFO] cloning repository https://github.com/nbardiuk/ray-tracer-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nbardiuk/ray-tracer-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbardiuk%2Fray-tracer-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbardiuk%2Fray-tracer-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf69d38ace625032e30f9e35496e3fa892636a37 [INFO] checking nbardiuk/ray-tracer-rust against master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbardiuk%2Fray-tracer-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nbardiuk/ray-tracer-rust on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nbardiuk/ray-tracer-rust [INFO] finished tweaking git repo https://github.com/nbardiuk/ray-tracer-rust [INFO] tweaked toml for git repo https://github.com/nbardiuk/ray-tracer-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nbardiuk/ray-tracer-rust 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" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.59 [INFO] [stderr] Downloaded hamcrest2 v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c62517555f08428363b1169e6b76d3268ca8d6842e24f0e9292dfdcc6caa0bf [INFO] running `Command { std: "docker" "start" "-a" "3c62517555f08428363b1169e6b76d3268ca8d6842e24f0e9292dfdcc6caa0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c62517555f08428363b1169e6b76d3268ca8d6842e24f0e9292dfdcc6caa0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c62517555f08428363b1169e6b76d3268ca8d6842e24f0e9292dfdcc6caa0bf", kill_on_drop: false }` [INFO] [stdout] 3c62517555f08428363b1169e6b76d3268ca8d6842e24f0e9292dfdcc6caa0bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e7e8e87d8a64de7f03a161c3bee660c6a8989a63621c3e3fc1e88f615c740e0 [INFO] running `Command { std: "docker" "start" "-a" "0e7e8e87d8a64de7f03a161c3bee660c6a8989a63621c3e3fc1e88f615c740e0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Checking regex-syntax v0.6.8 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking aho-corasick v0.7.4 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking hamcrest2 v0.2.6 [INFO] [stderr] Checking ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shapes.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | impl std::fmt::Debug for Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | impl std::fmt::Debug for dyn Shape { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shapes.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | impl PartialEq for Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | impl PartialEq for dyn Shape { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shapes.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | impl PartialEq for Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | impl PartialEq for Shape { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shapes.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn eq(&self, shape: &Shape) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn eq(&self, shape: &dyn Shape) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shapes.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | impl std::fmt::Debug for Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | impl std::fmt::Debug for dyn Shape { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shapes.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | impl PartialEq for Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | impl PartialEq for dyn Shape { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shapes.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | impl PartialEq for Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | impl PartialEq for Shape { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shapes.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn eq(&self, shape: &Shape) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn eq(&self, shape: &dyn Shape) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `transform` is never used [INFO] [stdout] --> src/bounds.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Bounds { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn transform(&self, transform: &Matrix) -> Bounds { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vsize` is never read [INFO] [stdout] --> src/camera.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | hsize: usize, [INFO] [stdout] 17 | vsize: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> src/camera.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn render(self: &Camera, world: World) -> Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cone` is never used [INFO] [stdout] --> src/cones.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn cone() -> Cone { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cube` is never used [INFO] [stdout] --> src/cubes.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn cube() -> Cube { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cylinder` is never used [INFO] [stdout] --> src/cylinders.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn cylinder() -> Cylinder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_child` and `add_child_rc` are never used [INFO] [stdout] --> src/groups.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Group { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 24 | pub fn add_child(&mut self, child: T) -> Arc [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add_child_rc(&mut self, c: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group` is never used [INFO] [stdout] --> src/groups.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn group() -> Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_invertible` is never used [INFO] [stdout] --> src/matrices.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Matrix { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `default_group` is never used [INFO] [stdout] --> src/obj_file.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Parsed { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 18 | fn default_group(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stripe_pattern` is never used [INFO] [stdout] --> src/patterns.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn stripe_pattern(a: Color, b: Color) -> Stripe { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gradient_pattern` is never used [INFO] [stdout] --> src/patterns.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn gradient_pattern(a: Color, b: Color) -> Gradient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ring_pattern` is never used [INFO] [stdout] --> src/patterns.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn ring_pattern(a: Color, b: Color) -> Ring { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sphere` is never used [INFO] [stdout] --> src/spheres.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn sphere() -> Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glass_sphere` is never used [INFO] [stdout] --> src/spheres.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn glass_sphere() -> Sphere { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scaling` is never used [INFO] [stdout] --> src/transformations.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn scaling(x: f64, y: f64, z: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotation_y` is never used [INFO] [stdout] --> src/transformations.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn rotation_y(r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotation_z` is never used [INFO] [stdout] --> src/transformations.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn rotation_z(r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shearing` is never used [INFO] [stdout] --> src/transformations.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn shearing(xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_point` and `is_vector` are never used [INFO] [stdout] --> src/tuples.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Tuple { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 25 | fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0e7e8e87d8a64de7f03a161c3bee660c6a8989a63621c3e3fc1e88f615c740e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7e8e87d8a64de7f03a161c3bee660c6a8989a63621c3e3fc1e88f615c740e0", kill_on_drop: false }` [INFO] [stdout] 0e7e8e87d8a64de7f03a161c3bee660c6a8989a63621c3e3fc1e88f615c740e0