[INFO] cloning repository https://github.com/maxfer1221/raytracing-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxfer1221/raytracing-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Fraytracing-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Fraytracing-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8f7b866bd1d9bc431baad3b09bbf53061afe0e13
[INFO] testing maxfer1221/raytracing-rs against 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Fraytracing-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  69% (355/510)
Updating files:  70% (357/510)
Updating files:  71% (363/510)
Updating files:  72% (368/510)
Updating files:  73% (373/510)
Updating files:  74% (378/510)
Updating files:  75% (383/510)
Updating files:  76% (388/510)
Updating files:  77% (393/510)
Updating files:  78% (398/510)
Updating files:  79% (403/510)
Updating files:  80% (408/510)
Updating files:  81% (414/510)
Updating files:  82% (419/510)
Updating files:  83% (424/510)
Updating files:  84% (429/510)
Updating files:  85% (434/510)
Updating files:  86% (439/510)
Updating files:  87% (444/510)
Updating files:  88% (449/510)
Updating files:  89% (454/510)
Updating files:  90% (459/510)
Updating files:  91% (465/510)
Updating files:  92% (470/510)
Updating files:  93% (475/510)
Updating files:  94% (480/510)
Updating files:  95% (485/510)
Updating files:  96% (490/510)
Updating files:  97% (495/510)
Updating files:  98% (500/510)
Updating files:  99% (505/510)
Updating files: 100% (510/510)
Updating files: 100% (510/510), done.
[INFO] validating manifest of git repo https://github.com/maxfer1221/raytracing-rs on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/maxfer1221/raytracing-rs
[INFO] finished tweaking git repo https://github.com/maxfer1221/raytracing-rs
[INFO] tweaked toml for git repo https://github.com/maxfer1221/raytracing-rs written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/maxfer1221/raytracing-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.62.0" "metadata" "--no-deps" "--format-version=1", 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] cc752f0074a16214586d5dfcca048873add147a1c6488b1b57c1058b6ee2a23a
[INFO] running `Command { std: "docker" "start" "-a" "cc752f0074a16214586d5dfcca048873add147a1c6488b1b57c1058b6ee2a23a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc752f0074a16214586d5dfcca048873add147a1c6488b1b57c1058b6ee2a23a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc752f0074a16214586d5dfcca048873add147a1c6488b1b57c1058b6ee2a23a", kill_on_drop: false }`
[INFO] [stdout] cc752f0074a16214586d5dfcca048873add147a1c6488b1b57c1058b6ee2a23a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d2b4c71efa575f48710ad79a9e0e03f3bae9ead6f3abe10316ab30c0efd7076
[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" "9d2b4c71efa575f48710ad79a9e0e03f3bae9ead6f3abe10316ab30c0efd7076", kill_on_drop: false }`
[INFO] [stderr]    Compiling sdl2 v0.35.1
[INFO] [stderr]    Compiling sdl2-sys v0.35.1
[INFO] [stderr]    Compiling sdl2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/rays.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         _ => None
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/rays.rs:193:17
[INFO] [stdout]     |
[INFO] [stdout] 193 |                 Obj::Light(l) => return Some(l.c),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/rays.rs:172:28
[INFO] [stdout]     |
[INFO] [stdout] 172 |         if let Obj::Sphere(s) = i[0].3 {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `scene` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/main.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 30 |     scene::setup(&mut scene);
[INFO] [stdout]    |                  ---------- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 45 |         canvas.set_draw_color(scene.sky());
[INFO] [stdout]    |                               ^^^^^^^^^^^
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               immutable borrow occurs here
[INFO] [stdout]    |                               mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `scene` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 30 |     scene::setup(&mut scene);
[INFO] [stdout]    |                  ---------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 47 |         let lights = scene.lights_mut();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      second mutable borrow occurs here
[INFO] [stdout]    |                      first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `scene` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:55:20
[INFO] [stdout]    |
[INFO] [stdout] 30 |     scene::setup(&mut scene);
[INFO] [stdout]    |                  ---------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 55 |         match &mut scene.objs_mut()[0] {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    second mutable borrow occurs here
[INFO] [stdout]    |                    first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `scene` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:62:20
[INFO] [stdout]    |
[INFO] [stdout] 30 |     scene::setup(&mut scene);
[INFO] [stdout]    |                  ---------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 62 |         match &mut scene.objs_mut()[1] {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    second mutable borrow occurs here
[INFO] [stdout]    |                    first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `scene` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/main.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |     scene::setup(&mut scene);
[INFO] [stdout]    |                  ---------- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 66 |         cl = scene.camera_loc();
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              immutable borrow occurs here
[INFO] [stdout]    |              mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `scene` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/main.rs:67:15
[INFO] [stdout]    |
[INFO] [stdout] 30 |     scene::setup(&mut scene);
[INFO] [stdout]    |                  ---------- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 67 |         fov = scene.camera_fov();
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               immutable borrow occurs here
[INFO] [stdout]    |               mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `scene` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:79:62
[INFO] [stdout]    |
[INFO] [stdout] 30 |     scene::setup(&mut scene);
[INFO] [stdout]    |                  ---------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 79 |                 if let Some(color) = rays::final_color(&ray, &mut scene) {
[INFO] [stdout]    |                                                              ^^^^^^^^^^
[INFO] [stdout]    |                                                              |
[INFO] [stdout]    |                                                              second mutable borrow occurs here
[INFO] [stdout]    |                                                              first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0499, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sdl2` due to 8 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9d2b4c71efa575f48710ad79a9e0e03f3bae9ead6f3abe10316ab30c0efd7076", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d2b4c71efa575f48710ad79a9e0e03f3bae9ead6f3abe10316ab30c0efd7076", kill_on_drop: false }`
[INFO] [stdout] 9d2b4c71efa575f48710ad79a9e0e03f3bae9ead6f3abe10316ab30c0efd7076
