[INFO] cloning repository https://github.com/praffn/rusty-rays [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/praffn/rusty-rays" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraffn%2Frusty-rays", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraffn%2Frusty-rays'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c5cb8558434345b23e6eb2002c58495c7862698 [INFO] checking praffn/rusty-rays against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraffn%2Frusty-rays" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/praffn/rusty-rays 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/praffn/rusty-rays [INFO] finished tweaking git repo https://github.com/praffn/rusty-rays [INFO] tweaked toml for git repo https://github.com/praffn/rusty-rays written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/praffn/rusty-rays 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-rational v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 19a5a4c6975a0c4d8197e35f6cf090e7b6128d19233a532f78e12304f6659afa [INFO] running `Command { std: "docker" "start" "-a" "19a5a4c6975a0c4d8197e35f6cf090e7b6128d19233a532f78e12304f6659afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19a5a4c6975a0c4d8197e35f6cf090e7b6128d19233a532f78e12304f6659afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19a5a4c6975a0c4d8197e35f6cf090e7b6128d19233a532f78e12304f6659afa", kill_on_drop: false }` [INFO] [stdout] 19a5a4c6975a0c4d8197e35f6cf090e7b6128d19233a532f78e12304f6659afa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 8987128005d297facf19bb1a5ad1d32532159827637d1869a348f7fc0009d885 [INFO] running `Command { std: "docker" "start" "-a" "8987128005d297facf19bb1a5ad1d32532159827637d1869a348f7fc0009d885", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking weezl v0.1.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking png v0.16.7 [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.20 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking rusty-rays v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/geom/sphere.rs (2 fixes) [INFO] [stderr] Fixed src/light/mod.rs (1 fix) [INFO] [stdout] warning: unused import: `super::mat::Material` [INFO] [stdout] --> src/geom/scene.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::mat::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clamp` [INFO] [stdout] --> src/film/color.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn clamp(x: f32) -> f32 { [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: `green` [INFO] [stdout] --> src/film/color.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/film/color.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn normalize(self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mat` [INFO] [stdout] --> src/geom/sphere.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | material: Box::new(mat::DebugMaterial::new()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `mat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 48 | use crate::light::point_light::tests::mat::DebugMaterial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clamp` [INFO] [stdout] --> src/film/color.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn clamp(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clamp_mut` [INFO] [stdout] --> src/film/color.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn clamp_mut(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/geom/sphere.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | let ray = Ray::new(Point3::new(0.0, 0.0, 0.0), Vec3::new(0.0, 1.0, 0.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 58 | let ray = Ray::new(Point3::new(0.0, 0.0, 0.0), Vec::new(0.0, 1.0, 0.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 48 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dimensions` [INFO] [stdout] --> src/film/pinhole_camera.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn dimensions(&mut self, width: f32, height: f32) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mat` [INFO] [stdout] --> src/geom/sphere.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | material: Box::new(mat::DebugMaterial::new()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `mat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 48 | use crate::light::point_light::tests::mat::DebugMaterial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zoom` [INFO] [stdout] --> src/film/pinhole_camera.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn zoom(&mut self, zoom: f32) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/geom/sphere.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | let ray = Ray::new(Point3::new(0.0, 0.0, 0.0), Vec3::new(0.0, 1.0, 0.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 70 | let ray = Ray::new(Point3::new(0.0, 0.0, 0.0), Vec::new(0.0, 1.0, 0.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 48 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/geom/mat.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new() -> DebugMaterial { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mat` [INFO] [stdout] --> src/geom/sphere.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | material: Box::new(mat::DebugMaterial::new()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `mat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 48 | use crate::light::point_light::tests::mat::DebugMaterial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_vector` [INFO] [stdout] --> src/linalg/orthonormal_base.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn apply_vector(&self, v: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_point` [INFO] [stdout] --> src/linalg/orthonormal_base.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn apply_point(&self, p: Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/geom/sphere.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | let ray = Ray::new(Point3::new(0.0, 0.0, 0.0), Vec3::new(0.0, -1.0, 0.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 84 | let ray = Ray::new(Point3::new(0.0, 0.0, 0.0), Vec::new(0.0, -1.0, 0.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 48 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mat` [INFO] [stdout] --> src/geom/sphere.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | material: Box::new(mat::DebugMaterial::new()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `mat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 48 | use crate::light::point_light::tests::mat::DebugMaterial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/geom/sphere.rs:96:56 [INFO] [stdout] | [INFO] [stdout] 96 | let ray = Ray::new(Point3::new(0.0, 0.0, 0.0), Vec3::new(0.0, 0.0, 1.0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 96 | let ray = Ray::new(Point3::new(0.0, 0.0, 0.0), Vec::new(0.0, 0.0, 1.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 48 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_approx_eq::assert_approx_eq` [INFO] [stdout] --> src/light/point_light.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use assert_approx_eq::assert_approx_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::mat::Material` [INFO] [stdout] --> src/geom/scene.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::mat::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-rays` due to 9 previous errors; 2 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" "8987128005d297facf19bb1a5ad1d32532159827637d1869a348f7fc0009d885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8987128005d297facf19bb1a5ad1d32532159827637d1869a348f7fc0009d885", kill_on_drop: false }` [INFO] [stdout] 8987128005d297facf19bb1a5ad1d32532159827637d1869a348f7fc0009d885