[INFO] fetching crate unicorn_hat_hd 0.2.1... [INFO] testing unicorn_hat_hd-0.2.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate unicorn_hat_hd 0.2.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate unicorn_hat_hd 0.2.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unicorn_hat_hd 0.2.1 [INFO] finished tweaking crates.io crate unicorn_hat_hd 0.2.1 [INFO] tweaked toml for crates.io crate unicorn_hat_hd 0.2.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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] 55972a0989cce55e30ee896ac8477e8a939b2246f32265603db68ad8adf47cb7 [INFO] running `Command { std: "docker" "start" "-a" "55972a0989cce55e30ee896ac8477e8a939b2246f32265603db68ad8adf47cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55972a0989cce55e30ee896ac8477e8a939b2246f32265603db68ad8adf47cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55972a0989cce55e30ee896ac8477e8a939b2246f32265603db68ad8adf47cb7", kill_on_drop: false }` [INFO] [stdout] 55972a0989cce55e30ee896ac8477e8a939b2246f32265603db68ad8adf47cb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 859dc4d36f6bd86ce07ce20069da03a0f8a4e173b8e52da82cd426a18214b573 [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" "859dc4d36f6bd86ce07ce20069da03a0f8a4e173b8e52da82cd426a18214b573", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling rgb v0.8.29 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling unicorn_hat_hd v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | try!(spidev.configure(&options)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | let mut spidev = try!(Spidev::open(spi_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:165:54 [INFO] [stdout] | [INFO] [stdout] 165 | Rotate::RotNone => arr.extend_from_slice(self.leds.as_slice()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `u8`, found struct `RGB` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&[RGB]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unicorn_hat_hd` due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "859dc4d36f6bd86ce07ce20069da03a0f8a4e173b8e52da82cd426a18214b573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "859dc4d36f6bd86ce07ce20069da03a0f8a4e173b8e52da82cd426a18214b573", kill_on_drop: false }` [INFO] [stdout] 859dc4d36f6bd86ce07ce20069da03a0f8a4e173b8e52da82cd426a18214b573