[INFO] cloning repository https://github.com/mateogo42/raytracing-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mateogo42/raytracing-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogo42%2Fraytracing-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogo42%2Fraytracing-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 258a7eba87cd7821d8b6046c9a8a80f34ab9ef99 [INFO] checking mateogo42/raytracing-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogo42%2Fraytracing-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mateogo42/raytracing-rs 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/mateogo42/raytracing-rs [INFO] finished tweaking git repo https://github.com/mateogo42/raytracing-rs [INFO] tweaked toml for git repo https://github.com/mateogo42/raytracing-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mateogo42/raytracing-rs 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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] da1f8ad7174b6fb88c87216240451ad4aca90ba69dc55464dcae6566fe2e38da [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "da1f8ad7174b6fb88c87216240451ad4aca90ba69dc55464dcae6566fe2e38da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da1f8ad7174b6fb88c87216240451ad4aca90ba69dc55464dcae6566fe2e38da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1f8ad7174b6fb88c87216240451ad4aca90ba69dc55464dcae6566fe2e38da", kill_on_drop: false }` [INFO] [stdout] da1f8ad7174b6fb88c87216240451ad4aca90ba69dc55464dcae6566fe2e38da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bf13204d7f6005e12b3a6efeab37bdc451bbd9c2592f89da278e710fdb955bb5 [INFO] running `Command { std: "docker" "start" "-a" "bf13204d7f6005e12b3a6efeab37bdc451bbd9c2592f89da278e710fdb955bb5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking raytracing v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/vec.rs (1 fix) [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/vec.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | let lhs = Vec3 {x: 1., y: 2., z: 3.}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 95 | let lhs = Vec {x: 1., y: 2., z: 3.}; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 | use crate::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/vec.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | let rhs = Vec3 {x: 4., y: 5., z: 6.}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 96 | let rhs = Vec {x: 4., y: 5., z: 6.}; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 | use crate::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/vec.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let res = Vec3 {x: 5., y: 7., z: 9.}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 98 | let res = Vec {x: 5., y: 7., z: 9.}; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 | use crate::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/vec.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let lhs = Vec3 {x: 1., y: 2., z: 3.}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 103 | let lhs = Vec {x: 1., y: 2., z: 3.}; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 | use crate::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/vec.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let rhs = Vec3 {x: 4., y: 5., z: 6.}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 104 | let rhs = Vec {x: 4., y: 5., z: 6.}; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 | use crate::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/vec.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | let res = Vec3 {x: -3., y: -3., z: -3.}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 106 | let res = Vec {x: -3., y: -3., z: -3.}; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 | use crate::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/vec.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | let lhs = Vec3 {x: 1., y: 2., z: 3.}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 112 | let lhs = Vec {x: 1., y: 2., z: 3.}; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 | use crate::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/vec.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | let rhs = Vec3 {x: 4., y: 5., z: 6.}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 113 | let rhs = Vec {x: 4., y: 5., z: 6.}; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 | use crate::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vec3` in this scope [INFO] [stdout] --> src/vec.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | let res = Vec3 {x: 4., y: 10., z: 18.}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 115 | let res = Vec {x: 4., y: 10., z: 18.}; [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 | use crate::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracing` due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed src/vec.rs (1 fix) [INFO] [stdout] warning: type alias is never used: `Color` [INFO] [stdout] --> src/vec.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Color = Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point3` [INFO] [stdout] --> src/vec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub type Point3 = Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dot` [INFO] [stdout] --> src/vec.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn dot(u: &Vec3, v: &Vec3) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cross` [INFO] [stdout] --> src/vec.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn cross(u: &Vec3, v: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `at` [INFO] [stdout] --> src/ray.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn at(&self, t: f32) -> Vec3 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [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" "bf13204d7f6005e12b3a6efeab37bdc451bbd9c2592f89da278e710fdb955bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf13204d7f6005e12b3a6efeab37bdc451bbd9c2592f89da278e710fdb955bb5", kill_on_drop: false }` [INFO] [stdout] bf13204d7f6005e12b3a6efeab37bdc451bbd9c2592f89da278e710fdb955bb5