[INFO] cloning repository https://github.com/COMP6991UNSW/6991_24t1_christmas_lights_demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/COMP6991UNSW/6991_24t1_christmas_lights_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCOMP6991UNSW%2F6991_24t1_christmas_lights_demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCOMP6991UNSW%2F6991_24t1_christmas_lights_demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2004ef06154a4491b17804ef38e0dec9f9268bd2
[INFO] checking COMP6991UNSW/6991_24t1_christmas_lights_demo against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCOMP6991UNSW%2F6991_24t1_christmas_lights_demo" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/COMP6991UNSW/6991_24t1_christmas_lights_demo
[INFO] finished tweaking git repo https://github.com/COMP6991UNSW/6991_24t1_christmas_lights_demo
[INFO] tweaked toml for git repo https://github.com/COMP6991UNSW/6991_24t1_christmas_lights_demo written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/COMP6991UNSW/6991_24t1_christmas_lights_demo on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/COMP6991UNSW/6991_24t1_christmas_lights_demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2910db2db7c3c8ccec32e7db8ef9886139c9afae653b82919788cd7d8ad3754e
[INFO] running `Command { std: "docker" "start" "-a" "2910db2db7c3c8ccec32e7db8ef9886139c9afae653b82919788cd7d8ad3754e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2910db2db7c3c8ccec32e7db8ef9886139c9afae653b82919788cd7d8ad3754e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2910db2db7c3c8ccec32e7db8ef9886139c9afae653b82919788cd7d8ad3754e", kill_on_drop: false }`
[INFO] [stdout] 2910db2db7c3c8ccec32e7db8ef9886139c9afae653b82919788cd7d8ad3754e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 009df0227bdd584e6991f62b10b4b0afd6ce7ae20953a00cd9a626d83524ff13
[INFO] running `Command { std: "docker" "start" "-a" "009df0227bdd584e6991f62b10b4b0afd6ce7ae20953a00cd9a626d83524ff13", kill_on_drop: false }`
[INFO] [stderr]     Checking christmas_lights v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected type, found `"not yet implemented"`
[INFO] [stdout]  --> src/main.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |     next: todo!(),
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout]   |           |
[INFO] [stdout]   |           expected type
[INFO] [stdout]   |           in this macro invocation
[INFO] [stdout]   |           this macro call doesn't expand to a type
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected type, found `"not yet implemented"`
[INFO] [stdout]  --> src/main.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |     next: todo!(),
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout]   |           |
[INFO] [stdout]   |           expected type
[INFO] [stdout]   |           in this macro invocation
[INFO] [stdout]   |           this macro call doesn't expand to a type
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:10:41
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Light { r: r, g: g, b: b, next: None }
[INFO] [stdout]    |                                         ^^^^ expected `()`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/main.rs:13:32
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn add_to_chain(&mut self, r: u8, g: u8, b: u8) {
[INFO] [stdout]    |                                ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `g`
[INFO] [stdout]   --> src/main.rs:13:39
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn add_to_chain(&mut self, r: u8, g: u8, b: u8) {
[INFO] [stdout]    |                                       ^ help: if this is intentional, prefix it with an underscore: `_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/main.rs:13:46
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn add_to_chain(&mut self, r: u8, g: u8, b: u8) {
[INFO] [stdout]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut current_light = &light;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `christmas_lights` (bin "christmas_lights") due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:10:41
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Light { r: r, g: g, b: b, next: None }
[INFO] [stdout]    |                                         ^^^^ expected `()`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/main.rs:13:32
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn add_to_chain(&mut self, r: u8, g: u8, b: u8) {
[INFO] [stdout]    |                                ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `g`
[INFO] [stdout]   --> src/main.rs:13:39
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn add_to_chain(&mut self, r: u8, g: u8, b: u8) {
[INFO] [stdout]    |                                       ^ help: if this is intentional, prefix it with an underscore: `_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/main.rs:13:46
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn add_to_chain(&mut self, r: u8, g: u8, b: u8) {
[INFO] [stdout]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut current_light = &light;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `christmas_lights` (bin "christmas_lights" test) due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "009df0227bdd584e6991f62b10b4b0afd6ce7ae20953a00cd9a626d83524ff13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "009df0227bdd584e6991f62b10b4b0afd6ce7ae20953a00cd9a626d83524ff13", kill_on_drop: false }`
[INFO] [stdout] 009df0227bdd584e6991f62b10b4b0afd6ce7ae20953a00cd9a626d83524ff13
