[INFO] fetching crate embedded-spi 0.6.2... [INFO] checking embedded-spi-0.6.2 against try#c05ee43175e02d208faed1fcc0f436c56e48bba6 for pr-92413 [INFO] extracting crate embedded-spi 0.6.2 into /workspace/builds/worker-74/source [INFO] validating manifest of crates.io crate embedded-spi 0.6.2 on toolchain c05ee43175e02d208faed1fcc0f436c56e48bba6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate embedded-spi 0.6.2 [INFO] finished tweaking crates.io crate embedded-spi 0.6.2 [INFO] tweaked toml for crates.io crate embedded-spi 0.6.2 written to /workspace/builds/worker-74/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded i2cdev v0.5.1 [INFO] [stderr] Downloaded libusb v0.3.0 [INFO] [stderr] Downloaded gpio-cdev v0.5.1 [INFO] [stderr] Downloaded libusb-sys v0.2.3 [INFO] [stderr] Downloaded spidev v0.5.1 [INFO] [stderr] Downloaded linux-embedded-hal v0.3.2 [INFO] [stderr] Downloaded sysfs_gpio v0.6.1 [INFO] [stderr] Downloaded bit-set v0.2.0 [INFO] [stderr] Downloaded driver-cp2130 v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f45389d275dabdb2e75d4f2f3ea5858fadb9c723f29e340e6cea7015f6cb08f0 [INFO] running `Command { std: "docker" "start" "-a" "f45389d275dabdb2e75d4f2f3ea5858fadb9c723f29e340e6cea7015f6cb08f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f45389d275dabdb2e75d4f2f3ea5858fadb9c723f29e340e6cea7015f6cb08f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45389d275dabdb2e75d4f2f3ea5858fadb9c723f29e340e6cea7015f6cb08f0", kill_on_drop: false }` [INFO] [stdout] f45389d275dabdb2e75d4f2f3ea5858fadb9c723f29e340e6cea7015f6cb08f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e311eb8ee893f01990eeb3515ad42bd1301db1956dd69e69eb144858eeef2721 [INFO] running `Command { std: "docker" "start" "-a" "e311eb8ee893f01990eeb3515ad42bd1301db1956dd69e69eb144858eeef2721", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Checking bit-set v0.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking libusb v0.3.0 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking simplelog v0.7.6 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Checking i2cdev v0.5.1 [INFO] [stderr] Checking sysfs_gpio v0.6.1 [INFO] [stderr] Checking gpio-cdev v0.5.1 [INFO] [stderr] Checking spidev v0.5.1 [INFO] [stderr] Checking linux-embedded-hal v0.3.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking driver-cp2130 v0.3.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking embedded-spi v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `panic` [INFO] [stdout] --> src/mock.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{panic, vec}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'w` never used [INFO] [stdout] --> src/wrapper.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | fn write<'w>(&mut self, data: &[u8]) -> Result<(), Self::Error> { [INFO] [stdout] | -^^- help: elide the unused lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'w` never used [INFO] [stdout] --> src/mock.rs:414:14 [INFO] [stdout] | [INFO] [stdout] 414 | fn write<'w>(&mut self, data: &[u8]) -> Result<(), Self::Error> { [INFO] [stdout] | -^^- help: elide the unused lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic` [INFO] [stdout] --> src/mock.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{panic, vec}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic` [INFO] [stdout] --> src/mock.rs:512:15 [INFO] [stdout] | [INFO] [stdout] 512 | use std::{panic, vec}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'w` never used [INFO] [stdout] --> src/wrapper.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | fn write<'w>(&mut self, data: &[u8]) -> Result<(), Self::Error> { [INFO] [stdout] | -^^- help: elide the unused lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'w` never used [INFO] [stdout] --> src/mock.rs:414:14 [INFO] [stdout] | [INFO] [stdout] 414 | fn write<'w>(&mut self, data: &[u8]) -> Result<(), Self::Error> { [INFO] [stdout] | -^^- help: elide the unused lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/mock.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | id: Id, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/mock.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | id: Id, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-spi` due to 3 previous errors; 3 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e311eb8ee893f01990eeb3515ad42bd1301db1956dd69e69eb144858eeef2721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e311eb8ee893f01990eeb3515ad42bd1301db1956dd69e69eb144858eeef2721", kill_on_drop: false }` [INFO] [stdout] e311eb8ee893f01990eeb3515ad42bd1301db1956dd69e69eb144858eeef2721