[INFO] cloning repository https://github.com/lwassermann/apa102d-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lwassermann/apa102d-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flwassermann%2Fapa102d-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flwassermann%2Fapa102d-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3a96ac3621287861dd6664dce3bda5653ba8322 [INFO] checking lwassermann/apa102d-rust/b3a96ac3621287861dd6664dce3bda5653ba8322 against master#f2c70877a7dbc51cd98e2d5d25209b24d4a586d5 for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flwassermann%2Fapa102d-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lwassermann/apa102d-rust [INFO] finished tweaking git repo https://github.com/lwassermann/apa102d-rust [INFO] tweaked toml for git repo https://github.com/lwassermann/apa102d-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lwassermann/apa102d-rust on toolchain f2c70877a7dbc51cd98e2d5d25209b24d4a586d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lwassermann/apa102d-rust 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" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spidev v0.3.0 [INFO] [stderr] Downloaded nix v0.6.0 [INFO] [stderr] Downloaded libc v0.2.41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3550f7a0d5b99a3a1b1f8e83e1fdc6fff1e0ebadf1cc16ddabe7c54cd89f203 [INFO] running `Command { std: "docker" "start" "-a" "c3550f7a0d5b99a3a1b1f8e83e1fdc6fff1e0ebadf1cc16ddabe7c54cd89f203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3550f7a0d5b99a3a1b1f8e83e1fdc6fff1e0ebadf1cc16ddabe7c54cd89f203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3550f7a0d5b99a3a1b1f8e83e1fdc6fff1e0ebadf1cc16ddabe7c54cd89f203", kill_on_drop: false }` [INFO] [stdout] c3550f7a0d5b99a3a1b1f8e83e1fdc6fff1e0ebadf1cc16ddabe7c54cd89f203 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16ca632508d22da33756e09d9e767c30bbd96751b51cafa9a07020125cc3a0bf [INFO] running `Command { std: "docker" "start" "-a" "16ca632508d22da33756e09d9e767c30bbd96751b51cafa9a07020125cc3a0bf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking libc v0.2.41 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking spidev v0.3.0 [INFO] [stderr] Checking apa102d-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | apa102_sync(&mut spi, &leds); [INFO] [stdout] | ----------- ^^^^^ expected `&[u8]`, found `&[Pixel; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&[Pixel; 3]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn apa102_sync(spi: &mut Spidev, leds: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `apa102d-rust` (bin "apa102d-rust") due to 3 previous errors; 2 warnings emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | apa102_sync(&mut spi, &leds); [INFO] [stdout] | ----------- ^^^^^ expected `&[u8]`, found `&[Pixel; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&[Pixel; 3]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn apa102_sync(spi: &mut Spidev, leds: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | apa102_sync(&mut spi, &leds); [INFO] [stdout] | ----------- ^^^^^ expected `&[u8]`, found `&[Pixel; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&[Pixel; 3]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn apa102_sync(spi: &mut Spidev, leds: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | apa102_sync(&mut spi, &leds); [INFO] [stdout] | ----------- ^^^^^ expected `&[u8]`, found `&[Pixel; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&[Pixel; 3]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn apa102_sync(spi: &mut Spidev, leds: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | apa102_sync(&mut spi, &leds); [INFO] [stdout] | ----------- ^^^^^ expected `&[u8]`, found `&[Pixel; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&[Pixel; 3]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn apa102_sync(spi: &mut Spidev, leds: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | apa102_sync(&mut spi, &leds); [INFO] [stdout] | ----------- ^^^^^ expected `&[u8]`, found `&[Pixel; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&[Pixel; 3]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn apa102_sync(spi: &mut Spidev, leds: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `apa102d-rust` (bin "apa102d-rust" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "16ca632508d22da33756e09d9e767c30bbd96751b51cafa9a07020125cc3a0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ca632508d22da33756e09d9e767c30bbd96751b51cafa9a07020125cc3a0bf", kill_on_drop: false }` [INFO] [stdout] 16ca632508d22da33756e09d9e767c30bbd96751b51cafa9a07020125cc3a0bf