[INFO] cloning repository https://github.com/andreivasiliu/TinyRaytracerInRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreivasiliu/TinyRaytracerInRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreivasiliu%2FTinyRaytracerInRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreivasiliu%2FTinyRaytracerInRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdb19ebb49445a5193c4faed46c32c032477efd6 [INFO] checking andreivasiliu/TinyRaytracerInRust against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreivasiliu%2FTinyRaytracerInRust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andreivasiliu/TinyRaytracerInRust on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andreivasiliu/TinyRaytracerInRust [INFO] finished tweaking git repo https://github.com/andreivasiliu/TinyRaytracerInRust [INFO] tweaked toml for git repo https://github.com/andreivasiliu/TinyRaytracerInRust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/andreivasiliu/TinyRaytracerInRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 331cfdb56fa8ff69d9c500635868d2c59d476713232dd7878c1a0424f4592210 [INFO] running `Command { std: "docker" "start" "-a" "331cfdb56fa8ff69d9c500635868d2c59d476713232dd7878c1a0424f4592210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "331cfdb56fa8ff69d9c500635868d2c59d476713232dd7878c1a0424f4592210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "331cfdb56fa8ff69d9c500635868d2c59d476713232dd7878c1a0424f4592210", kill_on_drop: false }` [INFO] [stdout] 331cfdb56fa8ff69d9c500635868d2c59d476713232dd7878c1a0424f4592210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fc8d7cae51d2ab58f273f36e74a9e7a843316f008a632e36e88383c1324fd2d [INFO] running `Command { std: "docker" "start" "-a" "8fc8d7cae51d2ab58f273f36e74a9e7a843316f008a632e36e88383c1324fd2d", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling gio v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Checking fragile v0.3.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling pango v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cairo-rs v0.7.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling atk v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling gdk v0.11.0 [INFO] [stderr] Compiling gtk v0.7.0 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling glib-sys v0.9.0 [INFO] [stderr] Compiling gobject-sys v0.9.0 [INFO] [stderr] Compiling gio-sys v0.9.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.0 [INFO] [stderr] Compiling cairo-sys-rs v0.9.0 [INFO] [stderr] Compiling pango-sys v0.9.0 [INFO] [stderr] Compiling atk-sys v0.9.0 [INFO] [stderr] Compiling gdk-sys v0.9.0 [INFO] [stderr] Compiling gtk-sys v0.9.0 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking lodepng v2.5.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand v0.7.1 [INFO] [stderr] Checking glib v0.8.1 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.9 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling arr_macro_impl v0.1.2 [INFO] [stderr] Checking arr_macro v0.1.2 [INFO] [stderr] Checking rust-tinyraytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/raydebugger/ray_debugger.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 102 | let mut ray_debugger_callback = | [INFO] [stdout] | _________________________________________- [INFO] [stdout] 103 | | depth: i32, ray: Ray, intersection_distance: f64, intersected_object: Option<&RTObject>, [INFO] [stdout] 104 | | color: &Color, ray_type: &RayType [INFO] [stdout] 105 | | | { [INFO] [stdout] ... | [INFO] [stdout] 133 | | self.rays.push(ray_info); [INFO] [stdout] 134 | | }; [INFO] [stdout] | |_________- the found closure [INFO] [stdout] 135 | [INFO] [stdout] 136 | ray_tracer.get_pixel(x, y, &mut Some(&mut ray_debugger_callback)); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait object `dyn FnMut`, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Option<&mut dyn for<'r, 's, 't0> FnMut(i32, Ray, f64, Option<&'r RTObject>, &'s raytracer::color::Color, &'t0 RayType)>` [INFO] [stdout] found mutable reference `&mut Option<&mut [closure@src/raydebugger/ray_debugger.rs:102:41: 134:10]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/raytracer/raytracer.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn get_pixel( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 360 | &self, x: f64, y: f64, ray_debugger_callback: RayDebuggerCallback [INFO] [stdout] | _________-----__------__------__- [INFO] [stdout] 361 | | ) -> Color { [INFO] [stdout] | |____- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/raydebugger/ray_debugger.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 102 | let mut ray_debugger_callback = | [INFO] [stdout] | _________________________________________- [INFO] [stdout] 103 | | depth: i32, ray: Ray, intersection_distance: f64, intersected_object: Option<&RTObject>, [INFO] [stdout] 104 | | color: &Color, ray_type: &RayType [INFO] [stdout] 105 | | | { [INFO] [stdout] ... | [INFO] [stdout] 133 | | self.rays.push(ray_info); [INFO] [stdout] 134 | | }; [INFO] [stdout] | |_________- the found closure [INFO] [stdout] 135 | [INFO] [stdout] 136 | ray_tracer.get_pixel(x, y, &mut Some(&mut ray_debugger_callback)); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait object `dyn FnMut`, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Option<&mut dyn for<'r, 's, 't0> FnMut(i32, Ray, f64, Option<&'r RTObject>, &'s raytracer::color::Color, &'t0 RayType)>` [INFO] [stdout] found mutable reference `&mut Option<&mut [closure@src/raydebugger/ray_debugger.rs:102:41: 134:10]>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/raytracer/raytracer.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn get_pixel( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 360 | &self, x: f64, y: f64, ray_debugger_callback: RayDebuggerCallback [INFO] [stdout] | _________-----__------__------__- [INFO] [stdout] 361 | | ) -> Color { [INFO] [stdout] | |____- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-tinyraytracer` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-tinyraytracer` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "8fc8d7cae51d2ab58f273f36e74a9e7a843316f008a632e36e88383c1324fd2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fc8d7cae51d2ab58f273f36e74a9e7a843316f008a632e36e88383c1324fd2d", kill_on_drop: false }` [INFO] [stdout] 8fc8d7cae51d2ab58f273f36e74a9e7a843316f008a632e36e88383c1324fd2d