[INFO] cloning repository https://github.com/fredrikln/the-raytracer-challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fredrikln/the-raytracer-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikln%2Fthe-raytracer-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikln%2Fthe-raytracer-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 731e9e48fc675afe77d1b9d2d63aaf76fed006ef [INFO] checking fredrikln/the-raytracer-challenge against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikln%2Fthe-raytracer-challenge" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fredrikln/the-raytracer-challenge 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/fredrikln/the-raytracer-challenge [INFO] finished tweaking git repo https://github.com/fredrikln/the-raytracer-challenge [INFO] tweaked toml for git repo https://github.com/fredrikln/the-raytracer-challenge written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/fredrikln/the-raytracer-challenge 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] ea46aca441100ca1ca1f319066f154fadc17e10a43ad6674e84522a82190bff4 [INFO] running `Command { std: "docker" "start" "-a" "ea46aca441100ca1ca1f319066f154fadc17e10a43ad6674e84522a82190bff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea46aca441100ca1ca1f319066f154fadc17e10a43ad6674e84522a82190bff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea46aca441100ca1ca1f319066f154fadc17e10a43ad6674e84522a82190bff4", kill_on_drop: false }` [INFO] [stdout] ea46aca441100ca1ca1f319066f154fadc17e10a43ad6674e84522a82190bff4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 0d342b287e5b0227ba5d0c187e24c3573cfcd4f9c3fc3a31f3f627c0aa055a9f [INFO] running `Command { std: "docker" "start" "-a" "0d342b287e5b0227ba5d0c187e24c3573cfcd4f9c3fc3a31f3f627c0aa055a9f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking raytracer v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/cube.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (4 fixes) [INFO] [stderr] Fixed src/world.rs (2 fixes) [INFO] [stderr] Fixed src/sphere.rs (2 fixes) [INFO] [stderr] Fixed src/plane.rs (3 fixes) [INFO] [stderr] Fixed src/camera.rs (1 fix) [INFO] [stderr] Fixed src/intersection.rs (1 fix) [INFO] [stderr] Fixed src/canvas.rs (1 fix) [INFO] [stdout] warning: unused import: `crate::matrix::Matrix` [INFO] [stdout] --> src/plane.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::matrix::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::Material` [INFO] [stdout] --> src/plane.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | use crate::material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::canvas::Color` [INFO] [stdout] --> src/plane.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::canvas::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/plane.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | use crate::object::{Object, Intersectable}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sphere::Sphere` [INFO] [stdout] --> src/ray.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::sphere::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/sphere.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | use crate::object::{Object, Intersectable}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel` [INFO] [stdout] --> src/canvas.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn get_pixel(&self, x: u32, y: u32) -> Color { [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: `set_transform` [INFO] [stdout] --> src/cube.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn set_transform(&mut self, transform: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lighting` [INFO] [stdout] --> src/material.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn lighting(&self, light: PointLight, position: Point, eye_vector: Vector, normal: Vector, in_shadow: bool) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/matrix.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `determinant` [INFO] [stdout] --> src/matrix.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn determinant(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shear` [INFO] [stdout] --> src/matrix.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn shear(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: `default` [INFO] [stdout] --> src/pattern.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn default() -> StripedPattern { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/pattern.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn default() -> GradientPattern { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_transform` [INFO] [stdout] --> src/plane.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_transform(&mut self, transform: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_transform` [INFO] [stdout] --> src/sphere.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn set_transform(&mut self, transform: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/world.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> World { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/world.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn default() -> World { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/camera.rs:379:19 [INFO] [stdout] | [INFO] [stdout] 379 | let image = c.render(w); [INFO] [stdout] | ^^^^^^ - supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/camera.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn render(self, w: World, antialias: bool, max_steps: u8) -> Canvas { [INFO] [stdout] | ^^^^^^ ---- -------- --------------- ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` due to 2 previous errors; 6 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0d342b287e5b0227ba5d0c187e24c3573cfcd4f9c3fc3a31f3f627c0aa055a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d342b287e5b0227ba5d0c187e24c3573cfcd4f9c3fc3a31f3f627c0aa055a9f", kill_on_drop: false }` [INFO] [stdout] 0d342b287e5b0227ba5d0c187e24c3573cfcd4f9c3fc3a31f3f627c0aa055a9f