[INFO] cloning repository https://github.com/3Hren/photon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/3Hren/photon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3Hren%2Fphoton", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3Hren%2Fphoton'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b54c1bc3b49c66d2dc5fb678ef62ca7d248e620d [INFO] testing 3Hren/photon against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3Hren%2Fphoton" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/3Hren/photon on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/3Hren/photon [INFO] finished tweaking git repo https://github.com/3Hren/photon [INFO] tweaked toml for git repo https://github.com/3Hren/photon written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/3Hren/photon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 safe-transmute v0.10.1 [INFO] [stderr] Downloaded serde_derive_internals v0.17.0 [INFO] [stderr] Downloaded deflate v0.7.17 [INFO] [stderr] Downloaded gif v0.10.1 [INFO] [stderr] Downloaded scoped_threadpool v0.1.8 [INFO] [stderr] Downloaded image v0.21.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.13 [INFO] [stderr] Downloaded serde_derive v1.0.21 [INFO] [stderr] Downloaded serde v1.0.21 [INFO] [stderr] Downloaded syn v0.15.27 [INFO] [stderr] Downloaded png v0.14.0 [INFO] [stderr] Downloaded sdl2 v0.32.1 [INFO] [stderr] Downloaded serde_json v1.0.6 [INFO] [stderr] Downloaded sdl2-sys v0.32.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87a9f9c0ea2ceedfa51a0b277bb50dc5c3fb1ad21f0f0e54bbbb8eeee8a3669b [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" "87a9f9c0ea2ceedfa51a0b277bb50dc5c3fb1ad21f0f0e54bbbb8eeee8a3669b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87a9f9c0ea2ceedfa51a0b277bb50dc5c3fb1ad21f0f0e54bbbb8eeee8a3669b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a9f9c0ea2ceedfa51a0b277bb50dc5c3fb1ad21f0f0e54bbbb8eeee8a3669b", kill_on_drop: false }` [INFO] [stdout] 87a9f9c0ea2ceedfa51a0b277bb50dc5c3fb1ad21f0f0e54bbbb8eeee8a3669b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--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] ccfab89fe5d7e115a3fa1c3b7c28dc9fa4299366318f2a6e664094b3189c8a03 [INFO] running `Command { std: "docker" "start" "-a" "ccfab89fe5d7e115a3fa1c3b7c28dc9fa4299366318f2a6e664094b3189c8a03", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling c_vec v1.3.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.8 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling safe-transmute v0.10.1 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling serde v1.0.21 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling num_cpus v1.7.0 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling deflate v0.7.17 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.15.27 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling png v0.14.0 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling serde_derive v1.0.21 [INFO] [stderr] Compiling sdl2 v0.32.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling serde_json v1.0.6 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.0 [INFO] [stderr] Compiling photon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageRgb8` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use image::{ImageBuffer, ImageRgb8, Pixel, Rgb}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mouse::Cursor` [INFO] [stdout] --> src/main.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 15 | use sdl2::{event::Event, gfx::framerate::FPSManager, keyboard::Keycode, mouse::Cursor}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddAssign` [INFO] [stdout] --> src/matrix.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, AddAssign, Mul}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | lights: Vec>, [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] 77 - lights: Vec>, [INFO] [stdout] 77 + lights: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | objects: 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] 78 - objects: Vec>>, [INFO] [stdout] 78 + objects: Vec>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:94:63 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn load>(path: &P) -> Result> { [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] 94 - pub fn load>(path: &P) -> Result> { [INFO] [stdout] 94 + pub fn load>(path: &P) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:180:74 [INFO] [stdout] | [INFO] [stdout] 180 | fn closest_intersection(&self, ray: &Ray) -> Option<(&Model>, Intersection)> { [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] 180 - fn closest_intersection(&self, ray: &Ray) -> Option<(&Model>, Intersection)> { [INFO] [stdout] 180 + fn closest_intersection(&self, ray: &Ray) -> Option<(&Model>, Intersection)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/mesh.rs:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn load>(path: P) -> Result> { [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] 103 - pub fn load>(path: P) -> Result> { [INFO] [stdout] 103 + pub fn load>(path: P) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:110:45 [INFO] [stdout] | [INFO] [stdout] 110 | Box::new(sphere) as 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] 110 - Box::new(sphere) as Box [INFO] [stdout] 110 + Box::new(sphere) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:114:44 [INFO] [stdout] | [INFO] [stdout] 114 | Box::new(plane) as 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] 114 - Box::new(plane) as Box [INFO] [stdout] 114 + Box::new(plane) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | Box::new(mesh) as 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] 122 - Box::new(mesh) as Box [INFO] [stdout] 122 + Box::new(mesh) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rot_z` [INFO] [stdout] --> src/main.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | let rot_z = Matrix4x4::new([ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rot_z` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let mut v = out.0[i][j] + self.0[i][k] * o.0[k][j]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:330:61 [INFO] [stdout] | [INFO] [stdout] 330 | buf.par_chunks_mut(4).enumerate().for_each(|(n, mut c)| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `photon` due to 2 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ccfab89fe5d7e115a3fa1c3b7c28dc9fa4299366318f2a6e664094b3189c8a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccfab89fe5d7e115a3fa1c3b7c28dc9fa4299366318f2a6e664094b3189c8a03", kill_on_drop: false }` [INFO] [stdout] ccfab89fe5d7e115a3fa1c3b7c28dc9fa4299366318f2a6e664094b3189c8a03