[INFO] cloning repository https://github.com/UnTea/TskidischRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UnTea/TskidischRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnTea%2FTskidischRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnTea%2FTskidischRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48884d3f1f834a5c621828e0a67c11de58b810d2 [INFO] testing UnTea/TskidischRust 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%2FUnTea%2FTskidischRust" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UnTea/TskidischRust 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/UnTea/TskidischRust [INFO] finished tweaking git repo https://github.com/UnTea/TskidischRust [INFO] tweaked toml for git repo https://github.com/UnTea/TskidischRust written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate git repo https://github.com/UnTea/TskidischRust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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] ee4252e43933786f00039e709f2872b5220cee27c4540e1d98c72afbd6e34326 [INFO] running `Command { std: "docker" "start" "-a" "ee4252e43933786f00039e709f2872b5220cee27c4540e1d98c72afbd6e34326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee4252e43933786f00039e709f2872b5220cee27c4540e1d98c72afbd6e34326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee4252e43933786f00039e709f2872b5220cee27c4540e1d98c72afbd6e34326", kill_on_drop: false }` [INFO] [stdout] ee4252e43933786f00039e709f2872b5220cee27c4540e1d98c72afbd6e34326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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] c5ffbf3728e9e9d430fab5c0d8ed2a7beadf2517d0784588c9c873b038dc7016 [INFO] running `Command { std: "docker" "start" "-a" "c5ffbf3728e9e9d430fab5c0d8ed2a7beadf2517d0784588c9c873b038dc7016", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tskidisch_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `::`, found `{` [INFO] [stdout] --> src/image.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 16 | impl Image { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 25 | fn pixels(&self) -> BorrowMut<> { [INFO] [stdout] | ^ expected `::` [INFO] [stdout] ... [INFO] [stdout] 75 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::image::Image` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::image::Image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/image.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/image.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> src/image.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/image.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/image.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/render.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pixel` found for mutable reference `&mut Image` in the current scope [INFO] [stdout] --> src/hdr.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | image.set_pixel(x, y, color); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pixel_by_spherical_coordinates` found for reference `&Image` in the current scope [INFO] [stdout] --> src/raytracing.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | return environment_map.get_pixel_by_spherical_coordinates(phi, theta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/render.rs:25:69 [INFO] [stdout] | [INFO] [stdout] 25 | tile(primitives.as_ref(), environment_map.as_ref(), image, x, y) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&mut Image`, found struct `Arc` [INFO] [stdout] | help: consider mutably borrowing here: `&mut image` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Image` [INFO] [stdout] found struct `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/render.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn render(primitives: Vec>, environment_map: Arc) -> Image { [INFO] [stdout] | ----- expected `Image` because of return type [INFO] [stdout] ... [INFO] [stdout] 32 | image [INFO] [stdout] | ^^^^^ expected struct `Image`, found struct `Arc` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Image` [INFO] [stdout] found struct `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pixel` found for mutable reference `&mut Image` in the current scope [INFO] [stdout] --> src/render.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | image.set_pixel(x, y, sum / (SAMPLE_COUNT as f64)); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tskidisch_rust` due to 10 previous errors; 7 warnings emitted [INFO] [stdout] error[E0599]: no method named `save` found for struct `Image` in the current scope [INFO] [stdout] --> src/main.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | output.save("image.png"); [INFO] [stdout] | ^^^^ method not found in `Image` [INFO] [stdout] | [INFO] [stdout] ::: src/image.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Image { [INFO] [stdout] | ---------------- method `save` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: Copy` is not satisfied [INFO] [stdout] --> src/image.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 10 | pub struct Image { [INFO] [stdout] 11 | pub pixels: Cell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Clone` for `Cell>` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: Copy` is not satisfied [INFO] [stdout] --> src/image.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 10 | pub struct Image { [INFO] [stdout] 11 | pub pixels: Cell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `Cell>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&Cell>` [INFO] [stdout] = note: required for the cast to the object type `dyn Debug` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c5ffbf3728e9e9d430fab5c0d8ed2a7beadf2517d0784588c9c873b038dc7016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ffbf3728e9e9d430fab5c0d8ed2a7beadf2517d0784588c9c873b038dc7016", kill_on_drop: false }` [INFO] [stdout] c5ffbf3728e9e9d430fab5c0d8ed2a7beadf2517d0784588c9c873b038dc7016