[INFO] cloning repository https://github.com/luqmana/rray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luqmana/rray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluqmana%2Frray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluqmana%2Frray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08bd23260234b94c5899e89e7d3f571268f5708d [INFO] checking luqmana/rray against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluqmana%2Frray" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luqmana/rray on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luqmana/rray [INFO] finished tweaking git repo https://github.com/luqmana/rray [INFO] tweaked toml for git repo https://github.com/luqmana/rray written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate git repo https://github.com/luqmana/rray already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fac574c938d881f8728a45b6848a0664ed9b85e8d2da95c6cf669caf81abaa4 [INFO] running `Command { std: "docker" "start" "-a" "5fac574c938d881f8728a45b6848a0664ed9b85e8d2da95c6cf669caf81abaa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fac574c938d881f8728a45b6848a0664ed9b85e8d2da95c6cf669caf81abaa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fac574c938d881f8728a45b6848a0664ed9b85e8d2da95c6cf669caf81abaa4", kill_on_drop: false }` [INFO] [stdout] 5fac574c938d881f8728a45b6848a0664ed9b85e8d2da95c6cf669caf81abaa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 210736ed082de354501e51749ce7cec525b4e8484ccdea90944b93acc8294426 [INFO] running `Command { std: "docker" "start" "-a" "210736ed082de354501e51749ce7cec525b4e8484ccdea90944b93acc8294426", kill_on_drop: false }` [INFO] [stderr] Checking rray v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/rray.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | for y in range(0u, scene.height) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/rray.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | for x in range(0u, scene.width) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/rray.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | for y in range(0u, scene.height) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/rray.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | for x in range(0u, scene.width) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/geometry.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::One` [INFO] [stdout] --> src/math.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::{Float, One}; [INFO] [stdout] | ^^^^^ ^^^ no `One` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::FloatMath` [INFO] [stdout] --> src/scene.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::{Float, FloatMath}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ no `FloatMath` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/trace.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/scene.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub width: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/geometry.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::One` [INFO] [stdout] --> src/math.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::{Float, One}; [INFO] [stdout] | ^^^^^ ^^^ no `One` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/scene.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub height: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::FloatMath` [INFO] [stdout] --> src/scene.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::{Float, FloatMath}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ no `FloatMath` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/trace.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/trace.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_grid(w: uint, h: uint, x: uint, y: uint) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/trace.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_grid(w: uint, h: uint, x: uint, y: uint) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/trace.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_grid(w: uint, h: uint, x: uint, y: uint) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/trace.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_grid(w: uint, h: uint, x: uint, y: uint) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/rray.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | for y in range(0u, scene.height) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/rray.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | for x in range(0u, scene.width) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/rray.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | let r = (pix.x * 255.0).clamp(0., 255.) as int; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/rray.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | let g = (pix.y * 255.0).clamp(0., 255.) as int; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/rray.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | let b = (pix.z * 255.0).clamp(0., 255.) as int; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `println` in module `std::io` [INFO] [stdout] --> src/rray.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | std::io::println(data.as_slice()); [INFO] [stdout] | ^^^^^^^ not found in `std::io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/scene.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / box Sphere { [INFO] [stdout] 102 | | pos: Vec3::new(0.0, 0.0, -400.0), [INFO] [stdout] 103 | | rad: 100.0, [INFO] [stdout] 104 | | mat: mat1 [INFO] [stdout] 105 | | } as Box, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/scene.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | / box Sphere { [INFO] [stdout] 107 | | pos: Vec3::new(200.0, 50.0, -100.0), [INFO] [stdout] 108 | | rad: 150.0, [INFO] [stdout] 109 | | mat: mat1 [INFO] [stdout] 110 | | } as Box, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/scene.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | / box Sphere { [INFO] [stdout] 112 | | pos: Vec3::new(0.0, -1200.0, -500.0), [INFO] [stdout] 113 | | rad: 1000.0, [INFO] [stdout] 114 | | mat: mat2 [INFO] [stdout] 115 | | } as Box, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/scene.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / box Sphere { [INFO] [stdout] 117 | | pos: Vec3::new(-100.0, 25.0, -300.0), [INFO] [stdout] 118 | | rad: 50.0, [INFO] [stdout] 119 | | mat: mat3 [INFO] [stdout] 120 | | } as Box, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/scene.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | / box Sphere { [INFO] [stdout] 122 | | pos: Vec3::new(0.0, 100.0, -250.0), [INFO] [stdout] 123 | | rad: 25.0, [INFO] [stdout] 124 | | mat: mat1 [INFO] [stdout] 125 | | } as Box [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Intersection<'a> = (f32, Vec3f32, &'a (Object + 'a)); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Object + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | Some((rayLen, intersect_ray, self as &Object)) [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub primitives: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Object + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | } as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | } as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | } as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | } as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | } as Box [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trace.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn intersect_nodes<'a>(ps: &'a [Box], ray: &Vec3f32, origin: &Vec3f32) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trace.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn trace(ps: &[Box], amb: &Vec3f32, ray: &Vec3f32, origin: &Vec3f32, lights: &[Light]) -> Colour { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/geometry.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rray` due to 24 previous errors; 11 warnings emitted [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/scene.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub width: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/scene.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub height: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/trace.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_grid(w: uint, h: uint, x: uint, y: uint) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/trace.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_grid(w: uint, h: uint, x: uint, y: uint) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/trace.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_grid(w: uint, h: uint, x: uint, y: uint) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/trace.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_grid(w: uint, h: uint, x: uint, y: uint) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/rray.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | for y in range(0u, scene.height) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/rray.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | for x in range(0u, scene.width) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/rray.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | let r = (pix.x * 255.0).clamp(0., 255.) as int; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/rray.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | let g = (pix.y * 255.0).clamp(0., 255.) as int; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/rray.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | let b = (pix.z * 255.0).clamp(0., 255.) as int; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `println` in module `std::io` [INFO] [stdout] --> src/rray.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | std::io::println(data.as_slice()); [INFO] [stdout] | ^^^^^^^ not found in `std::io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/scene.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / box Sphere { [INFO] [stdout] 102 | | pos: Vec3::new(0.0, 0.0, -400.0), [INFO] [stdout] 103 | | rad: 100.0, [INFO] [stdout] 104 | | mat: mat1 [INFO] [stdout] 105 | | } as Box, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/scene.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | / box Sphere { [INFO] [stdout] 107 | | pos: Vec3::new(200.0, 50.0, -100.0), [INFO] [stdout] 108 | | rad: 150.0, [INFO] [stdout] 109 | | mat: mat1 [INFO] [stdout] 110 | | } as Box, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/scene.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | / box Sphere { [INFO] [stdout] 112 | | pos: Vec3::new(0.0, -1200.0, -500.0), [INFO] [stdout] 113 | | rad: 1000.0, [INFO] [stdout] 114 | | mat: mat2 [INFO] [stdout] 115 | | } as Box, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/scene.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / box Sphere { [INFO] [stdout] 117 | | pos: Vec3::new(-100.0, 25.0, -300.0), [INFO] [stdout] 118 | | rad: 50.0, [INFO] [stdout] 119 | | mat: mat3 [INFO] [stdout] 120 | | } as Box, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/scene.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | / box Sphere { [INFO] [stdout] 122 | | pos: Vec3::new(0.0, 100.0, -250.0), [INFO] [stdout] 123 | | rad: 25.0, [INFO] [stdout] 124 | | mat: mat1 [INFO] [stdout] 125 | | } as Box [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Intersection<'a> = (f32, Vec3f32, &'a (Object + 'a)); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Object + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | Some((rayLen, intersect_ray, self as &Object)) [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub primitives: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Object + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | } as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | } as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | } as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | } as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | } as Box [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trace.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn intersect_nodes<'a>(ps: &'a [Box], ray: &Vec3f32, origin: &Vec3f32) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trace.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn trace(ps: &[Box], amb: &Vec3f32, ray: &Vec3f32, origin: &Vec3f32, lights: &[Light]) -> Colour { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/geometry.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "210736ed082de354501e51749ce7cec525b4e8484ccdea90944b93acc8294426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "210736ed082de354501e51749ce7cec525b4e8484ccdea90944b93acc8294426", kill_on_drop: false }` [INFO] [stdout] 210736ed082de354501e51749ce7cec525b4e8484ccdea90944b93acc8294426