[INFO] cloning repository https://github.com/robertf224/ray-tracing-in-a-weekend-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robertf224/ray-tracing-in-a-weekend-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertf224%2Fray-tracing-in-a-weekend-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertf224%2Fray-tracing-in-a-weekend-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18e7c957056590a495a8d83f853d49f6acc796a8 [INFO] testing robertf224/ray-tracing-in-a-weekend-rust against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertf224%2Fray-tracing-in-a-weekend-rust" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robertf224/ray-tracing-in-a-weekend-rust on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robertf224/ray-tracing-in-a-weekend-rust [INFO] finished tweaking git repo https://github.com/robertf224/ray-tracing-in-a-weekend-rust [INFO] tweaked toml for git repo https://github.com/robertf224/ray-tracing-in-a-weekend-rust written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/robertf224/ray-tracing-in-a-weekend-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b4ed633646f89d9b41f491d7ab3e7a87d9d4ee9206386ecf222ec066761f7c3 [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" "9b4ed633646f89d9b41f491d7ab3e7a87d9d4ee9206386ecf222ec066761f7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b4ed633646f89d9b41f491d7ab3e7a87d9d4ee9206386ecf222ec066761f7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b4ed633646f89d9b41f491d7ab3e7a87d9d4ee9206386ecf222ec066761f7c3", kill_on_drop: false }` [INFO] [stdout] 9b4ed633646f89d9b41f491d7ab3e7a87d9d4ee9206386ecf222ec066761f7c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4b4b074b798d3ac52876f21fec9938890069a4180f0e543e16d9826f29012c2 [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" "b4b4b074b798d3ac52876f21fec9938890069a4180f0e543e16d9826f29012c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.3 [INFO] [stderr] Compiling rand_os v0.1.0 [INFO] [stderr] Compiling clicolors-control v1.0.0 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling console v0.7.2 [INFO] [stderr] Compiling indicatif v0.11.0 [INFO] [stderr] Compiling ray-tracing-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | fn color(ray: Ray, world: &Vec>, depth: u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] 64 - fn color(ray: Ray, world: &Vec>, depth: u32) -> Vec3 { [INFO] [stdout] 64 + fn color(ray: Ray, world: &Vec>, depth: u32) -> Vec3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | fn random_world() -> Vec> { [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] 89 - fn random_world() -> Vec> { [INFO] [stdout] 89 + fn random_world() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub material: &'a Box [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] 9 - pub material: &'a Box [INFO] [stdout] 9 + pub material: &'a Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub material: Box [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] 9 - pub material: Box [INFO] [stdout] 9 + pub material: Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn closest(objects: &Vec>, ray: Ray, t_min: f64, t_max: f64) -> Option { [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] 16 - pub fn closest(objects: &Vec>, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] 16 + pub fn closest(objects: &Vec>, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(center: Vec3, radius: f64, material: Box) -> Sphere { [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] 13 - pub fn new(center: Vec3, radius: f64, material: Box) -> Sphere { [INFO] [stdout] 13 + pub fn new(center: Vec3, radius: f64, material: Box) -> Sphere { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let mut world: Vec> = vec![Box::new(ground)]; [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] 91 - let mut world: Vec> = vec![Box::new(ground)]; [INFO] [stdout] 91 + let mut world: Vec> = vec![Box::new(ground)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | let material: Box; [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] 102 - let material: Box; [INFO] [stdout] 102 + let material: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/materials/utils.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let N = unit_normal; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/materials/utils.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let N = unit_normal; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R0` should have a snake case name [INFO] [stdout] --> src/materials/utils.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let R0 = ((n - np) / (n + np)).powi(2); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.66s [INFO] running `Command { std: "docker" "inspect" "b4b4b074b798d3ac52876f21fec9938890069a4180f0e543e16d9826f29012c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b4b074b798d3ac52876f21fec9938890069a4180f0e543e16d9826f29012c2", kill_on_drop: false }` [INFO] [stdout] b4b4b074b798d3ac52876f21fec9938890069a4180f0e543e16d9826f29012c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8efa2ddf49ef88edc23fe4355d52761c7d8cdbf144706f4d9ece81f00c15e924 [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" "8efa2ddf49ef88edc23fe4355d52761c7d8cdbf144706f4d9ece81f00c15e924", kill_on_drop: false }` [INFO] [stderr] Compiling ray-tracing-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | fn color(ray: Ray, world: &Vec>, depth: u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] 64 - fn color(ray: Ray, world: &Vec>, depth: u32) -> Vec3 { [INFO] [stdout] 64 + fn color(ray: Ray, world: &Vec>, depth: u32) -> Vec3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | fn random_world() -> Vec> { [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] 89 - fn random_world() -> Vec> { [INFO] [stdout] 89 + fn random_world() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub material: &'a Box [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] 9 - pub material: &'a Box [INFO] [stdout] 9 + pub material: &'a Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub material: Box [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] 9 - pub material: Box [INFO] [stdout] 9 + pub material: Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn closest(objects: &Vec>, ray: Ray, t_min: f64, t_max: f64) -> Option { [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] 16 - pub fn closest(objects: &Vec>, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] 16 + pub fn closest(objects: &Vec>, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(center: Vec3, radius: f64, material: Box) -> Sphere { [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] 13 - pub fn new(center: Vec3, radius: f64, material: Box) -> Sphere { [INFO] [stdout] 13 + pub fn new(center: Vec3, radius: f64, material: Box) -> Sphere { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let mut world: Vec> = vec![Box::new(ground)]; [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] 91 - let mut world: Vec> = vec![Box::new(ground)]; [INFO] [stdout] 91 + let mut world: Vec> = vec![Box::new(ground)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | let material: Box; [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] 102 - let material: Box; [INFO] [stdout] 102 + let material: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/materials/utils.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let N = unit_normal; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/materials/utils.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let N = unit_normal; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R0` should have a snake case name [INFO] [stdout] --> src/materials/utils.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let R0 = ((n - np) / (n + np)).powi(2); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "8efa2ddf49ef88edc23fe4355d52761c7d8cdbf144706f4d9ece81f00c15e924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8efa2ddf49ef88edc23fe4355d52761c7d8cdbf144706f4d9ece81f00c15e924", kill_on_drop: false }` [INFO] [stdout] 8efa2ddf49ef88edc23fe4355d52761c7d8cdbf144706f4d9ece81f00c15e924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", 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] ab5e9b7de323b0c3d81131d8fd6bd7c337563c8698ba5a5b12748e440a046ac0 [INFO] running `Command { std: "docker" "start" "-a" "ab5e9b7de323b0c3d81131d8fd6bd7c337563c8698ba5a5b12748e440a046ac0", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:64:36 [INFO] [stderr] | [INFO] [stderr] 64 | fn color(ray: Ray, world: &Vec>, depth: u32) -> Vec3 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 64 - fn color(ray: Ray, world: &Vec>, depth: u32) -> Vec3 { [INFO] [stderr] 64 + fn color(ray: Ray, world: &Vec>, depth: u32) -> Vec3 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:89:30 [INFO] [stderr] | [INFO] [stderr] 89 | fn random_world() -> Vec> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 89 - fn random_world() -> Vec> { [INFO] [stderr] 89 + fn random_world() -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hitable.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | pub material: &'a Box [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - pub material: &'a Box [INFO] [stderr] 9 + pub material: &'a Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sphere.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | pub material: Box [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - pub material: Box [INFO] [stderr] 9 + pub material: Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hitable.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn closest(objects: &Vec>, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 16 - pub fn closest(objects: &Vec>, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stderr] 16 + pub fn closest(objects: &Vec>, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sphere.rs:13:57 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(center: Vec3, radius: f64, material: Box) -> Sphere { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 - pub fn new(center: Vec3, radius: f64, material: Box) -> Sphere { [INFO] [stderr] 13 + pub fn new(center: Vec3, radius: f64, material: Box) -> Sphere { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | let mut world: Vec> = vec![Box::new(ground)]; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 91 - let mut world: Vec> = vec![Box::new(ground)]; [INFO] [stderr] 91 + let mut world: Vec> = vec![Box::new(ground)]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:102:31 [INFO] [stderr] | [INFO] [stderr] 102 | let material: Box; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 102 - let material: Box; [INFO] [stderr] 102 + let material: Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable `N` should have a snake case name [INFO] [stderr] --> src/materials/utils.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let N = unit_normal; [INFO] [stderr] | ^ help: convert the identifier to snake case: `n` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `N` should have a snake case name [INFO] [stderr] --> src/materials/utils.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | let N = unit_normal; [INFO] [stderr] | ^ help: convert the identifier to snake case: `n` [INFO] [stderr] [INFO] [stderr] warning: variable `R0` should have a snake case name [INFO] [stderr] --> src/materials/utils.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | let R0 = ((n - np) / (n + np)).powi(2); [INFO] [stderr] | ^^ help: convert the identifier to snake case: `r0` [INFO] [stderr] [INFO] [stderr] warning: `ray-tracing-rust` (bin "ray-tracing-rust" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ray_tracing_rust-710de7bfe452d9a5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test materials::tests::utils_tests::refraction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ab5e9b7de323b0c3d81131d8fd6bd7c337563c8698ba5a5b12748e440a046ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5e9b7de323b0c3d81131d8fd6bd7c337563c8698ba5a5b12748e440a046ac0", kill_on_drop: false }` [INFO] [stdout] ab5e9b7de323b0c3d81131d8fd6bd7c337563c8698ba5a5b12748e440a046ac0