[INFO] fetching crate pscontroller-rs 0.6.0... [INFO] checking pscontroller-rs-0.6.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate pscontroller-rs 0.6.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate pscontroller-rs 0.6.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pscontroller-rs 0.6.0 [INFO] finished tweaking crates.io crate pscontroller-rs 0.6.0 [INFO] tweaked toml for crates.io crate pscontroller-rs 0.6.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ca0bce5157d0beee517eb8c57103ed73b8db1113563e8f3b831405f7a1c28e9 [INFO] running `Command { std: "docker" "start" "-a" "9ca0bce5157d0beee517eb8c57103ed73b8db1113563e8f3b831405f7a1c28e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ca0bce5157d0beee517eb8c57103ed73b8db1113563e8f3b831405f7a1c28e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca0bce5157d0beee517eb8c57103ed73b8db1113563e8f3b831405f7a1c28e9", kill_on_drop: false }` [INFO] [stdout] 9ca0bce5157d0beee517eb8c57103ed73b8db1113563e8f3b831405f7a1c28e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddf746a5cc399840bcba2d08c2e8414852c0536e15425989035438f4fff02e05 [INFO] running `Command { std: "docker" "start" "-a" "ddf746a5cc399840bcba2d08c2e8414852c0536e15425989035438f4fff02e05", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking bit_reverse v0.1.8 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking embedded-hal v0.2.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking embedded-hal v0.1.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking pscontroller-rs v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:195:27 [INFO] [stdout] | [INFO] [stdout] 195 | fn set_command(&self, &mut [u8]); [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | fn read_port(&mut self, command: Option<&PollCommand>) -> Result<[u8; MESSAGE_MAX_LENGTH], Error> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn PollCommand` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:432:49 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn read_raw(&mut self, command: Option<&PollCommand>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn PollCommand` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:444:51 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn read_input(&mut self, command: Option<&PollCommand>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn PollCommand` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking spidev v0.3.0 [INFO] [stderr] Checking sysfs_gpio v0.5.4 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling i2cdev v0.3.2 [INFO] [stderr] Checking linux-embedded-hal v0.1.1 [INFO] [stdout] error[E0603]: struct `GamepadButtons` is private [INFO] [stdout] --> examples/dualshock.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | GamepadButtons, [INFO] [stdout] | ^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `GamepadButtons` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | use classic::{Classic, GamepadButtons}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ControllerData` in this scope [INFO] [stdout] --> src/lib.rs:477:26 [INFO] [stdout] | [INFO] [stdout] 477 | let controller = ControllerData { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this union [INFO] [stdout] | [INFO] [stdout] 475 | use ControllerData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:195:27 [INFO] [stdout] | [INFO] [stdout] 195 | fn set_command(&self, &mut [u8]); [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:400:46 [INFO] [stdout] | [INFO] [stdout] 400 | fn read_port(&mut self, command: Option<&PollCommand>) -> Result<[u8; MESSAGE_MAX_LENGTH], Error> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn PollCommand` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:432:49 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn read_raw(&mut self, command: Option<&PollCommand>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn PollCommand` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:444:51 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn read_input(&mut self, command: Option<&PollCommand>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn PollCommand` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pscontroller-rs` due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the feature `duration_from_micros` has been stable since 1.27.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/console.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_from_micros)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_from_micros` has been stable since 1.27.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/jogcon.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(duration_from_micros)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_from_micros` has been stable since 1.27.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/scanner.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_from_micros)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ddf746a5cc399840bcba2d08c2e8414852c0536e15425989035438f4fff02e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddf746a5cc399840bcba2d08c2e8414852c0536e15425989035438f4fff02e05", kill_on_drop: false }` [INFO] [stdout] ddf746a5cc399840bcba2d08c2e8414852c0536e15425989035438f4fff02e05