[INFO] cloning repository https://github.com/keringar/path-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keringar/path-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeringar%2Fpath-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeringar%2Fpath-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5be3c19a61d139d2da1c62105277cbb5d71eaacf [INFO] testing keringar/path-tracer against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeringar%2Fpath-tracer" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/keringar/path-tracer on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/keringar/path-tracer [INFO] finished tweaking git repo https://github.com/keringar/path-tracer [INFO] tweaked toml for git repo https://github.com/keringar/path-tracer written to /workspace/builds/worker-44/source/Cargo.toml [INFO] crate git repo https://github.com/keringar/path-tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59054dc2fead6a8adad1bc5a1e09cd25320a30f8ac6e16a37fa51da32801d585 [INFO] running `Command { std: "docker" "start" "-a" "59054dc2fead6a8adad1bc5a1e09cd25320a30f8ac6e16a37fa51da32801d585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59054dc2fead6a8adad1bc5a1e09cd25320a30f8ac6e16a37fa51da32801d585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59054dc2fead6a8adad1bc5a1e09cd25320a30f8ac6e16a37fa51da32801d585", kill_on_drop: false }` [INFO] [stdout] 59054dc2fead6a8adad1bc5a1e09cd25320a30f8ac6e16a37fa51da32801d585 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d95aaddf17d4654c476451f5619840fa91b0d99fa361d41eea7924158c44a5a6 [INFO] running `Command { std: "docker" "start" "-a" "d95aaddf17d4654c476451f5619840fa91b0d99fa361d41eea7924158c44a5a6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling crossbeam-epoch v0.3.0 [INFO] [stderr] Compiling deflate v0.7.17 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling ray-tracer v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rng`, `thread_rng` [INFO] [stdout] --> src/camera.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hit::Hittable` [INFO] [stdout] --> src/scene.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hit::Hittable; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hittable_list.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | hittable: 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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - hittable: Vec>, [INFO] [stdout] 8 + hittable: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hittable_list.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn insert(&mut self, obj: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - pub fn insert(&mut self, obj: Box) { [INFO] [stdout] 18 + pub fn insert(&mut self, obj: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | let camera = camera::Camera::new(pixel_res_x, pixel_res_y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----------- ----------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/camera.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(res_x: u32, res_y: u32, focal_point: Vector3) -> Camera { [INFO] [stdout] | ^^^ ---------- ---------- ------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 116 | let total_color: Vector3 = (0..num_samples) [INFO] [stdout] | _________________________________________________- [INFO] [stdout] 117 | | .into_par_iter() [INFO] [stdout] | |______________________^^^^^^^^^^^^^_- this method call resolves to `::Iter` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type for struct `rayon::range::Iter<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `rayon::range::Iter<{integer}>: rayon::iter::ParallelIterator` found in the `rayon` crate: [INFO] [stdout] - impl rayon::iter::ParallelIterator for rayon::range::Iter; [INFO] [stdout] - impl rayon::iter::ParallelIterator for rayon::range::Iter; [INFO] [stdout] - impl rayon::iter::ParallelIterator for rayon::range::Iter; [INFO] [stdout] - impl rayon::iter::ParallelIterator for rayon::range::Iter; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `rayon::iter::IntoParallelIterator` for `std::ops::Range<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0283. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracer` due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d95aaddf17d4654c476451f5619840fa91b0d99fa361d41eea7924158c44a5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d95aaddf17d4654c476451f5619840fa91b0d99fa361d41eea7924158c44a5a6", kill_on_drop: false }` [INFO] [stdout] d95aaddf17d4654c476451f5619840fa91b0d99fa361d41eea7924158c44a5a6