[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbardiuk%2Fray-tracer-rust" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nbardiuk/ray-tracer-rust on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-57/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23ef8c2d3ad2d9028ac547d84cbb0583f49dbaf937ed6bb11bde34408a9639b1 [INFO] running `Command { std: "docker" "start" "-a" "23ef8c2d3ad2d9028ac547d84cbb0583f49dbaf937ed6bb11bde34408a9639b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23ef8c2d3ad2d9028ac547d84cbb0583f49dbaf937ed6bb11bde34408a9639b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23ef8c2d3ad2d9028ac547d84cbb0583f49dbaf937ed6bb11bde34408a9639b1", kill_on_drop: false }` [INFO] [stdout] 23ef8c2d3ad2d9028ac547d84cbb0583f49dbaf937ed6bb11bde34408a9639b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cbd8f72e6152171208a255626b360d6e9d007a9527833ccd8822cca009d1539 [INFO] running `Command { std: "docker" "start" "-a" "8cbd8f72e6152171208a255626b360d6e9d007a9527833ccd8822cca009d1539", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] num v0.1.42: bigint, complex, default, num-bigint, num-complex, num-rational, rational, rustc-serialize [INFO] [stderr] [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 bitflags v1.1.0 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Checking aho-corasick v0.7.4 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.8 [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] 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 v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/shapes.rs (4 fixes) [INFO] [stdout] warning: associated function is never used: `transform` [INFO] [stdout] --> src/bounds.rs:54:12 [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: associated function is never used: `render` [INFO] [stdout] --> src/camera.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn render(self: &Camera, world: World) -> Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cone` [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 is never used: `cube` [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 is never used: `cylinder` [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: associated function is never used: `add_child` [INFO] [stdout] --> src/groups.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_child(&mut self, child: T) -> Arc [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_child_rc` [INFO] [stdout] --> src/groups.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_child_rc(&mut self, c: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `group` [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: associated function is never used: `is_invertible` [INFO] [stdout] --> src/matrices.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default_group` [INFO] [stdout] --> src/obj_file.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn default_group(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stripe_pattern` [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 is never used: `gradient_pattern` [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 is never used: `ring_pattern` [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 is never used: `sphere` [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 is never used: `glass_sphere` [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 is never used: `scaling` [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 is never used: `rotation_y` [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 is never used: `rotation_z` [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 is never used: `shearing` [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: associated function is never used: `is_point` [INFO] [stdout] --> src/tuples.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_vector` [INFO] [stdout] --> src/tuples.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.98s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking ray-tracer v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: associated function is never used: `transform` [INFO] [stdout] --> src/bounds.rs:54:12 [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: associated function is never used: `render` [INFO] [stdout] --> src/camera.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn render(self: &Camera, world: World) -> Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cone` [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 is never used: `cube` [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 is never used: `cylinder` [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: associated function is never used: `add_child` [INFO] [stdout] --> src/groups.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_child(&mut self, child: T) -> Arc [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_child_rc` [INFO] [stdout] --> src/groups.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_child_rc(&mut self, c: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `group` [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: associated function is never used: `is_invertible` [INFO] [stdout] --> src/matrices.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default_group` [INFO] [stdout] --> src/obj_file.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn default_group(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stripe_pattern` [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 is never used: `gradient_pattern` [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 is never used: `ring_pattern` [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 is never used: `sphere` [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 is never used: `glass_sphere` [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 is never used: `scaling` [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 is never used: `rotation_y` [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 is never used: `rotation_z` [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 is never used: `shearing` [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: associated function is never used: `is_point` [INFO] [stdout] --> src/tuples.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_vector` [INFO] [stdout] --> src/tuples.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.34s [INFO] running `Command { std: "docker" "inspect" "8cbd8f72e6152171208a255626b360d6e9d007a9527833ccd8822cca009d1539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cbd8f72e6152171208a255626b360d6e9d007a9527833ccd8822cca009d1539", kill_on_drop: false }` [INFO] [stdout] 8cbd8f72e6152171208a255626b360d6e9d007a9527833ccd8822cca009d1539