[INFO] fetching crate pscontroller-rs 0.6.0... [INFO] checking pscontroller-rs-0.6.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate pscontroller-rs 0.6.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate pscontroller-rs 0.6.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.6.0 [INFO] [stderr] Downloaded embedded-hal v0.1.3 [INFO] [stderr] Downloaded bit_reverse v0.1.8 [INFO] [stderr] Downloaded linux-embedded-hal v0.1.1 [INFO] [stderr] Downloaded spidev v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0297692603723531d5f6551deb4cd6f986648a39030f16278b3b8ac8122f38c [INFO] running `Command { std: "docker" "start" "-a" "f0297692603723531d5f6551deb4cd6f986648a39030f16278b3b8ac8122f38c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0297692603723531d5f6551deb4cd6f986648a39030f16278b3b8ac8122f38c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0297692603723531d5f6551deb4cd6f986648a39030f16278b3b8ac8122f38c", kill_on_drop: false }` [INFO] [stdout] f0297692603723531d5f6551deb4cd6f986648a39030f16278b3b8ac8122f38c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c8d80bb4d3946d6422c96e22d0cfea2f72ce0559e3944c3954a4539d39ab5fb [INFO] running `Command { std: "docker" "start" "-a" "2c8d80bb4d3946d6422c96e22d0cfea2f72ce0559e3944c3954a4539d39ab5fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Checking nb v1.0.0 [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 walkdir v2.3.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.5 [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] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking pscontroller-rs v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling nix v0.6.0 [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] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking spidev v0.3.0 [INFO] [stderr] Compiling tempfile v3.2.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] 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: 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/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] [stdout] warning: 1 warning emitted [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: 1 warning emitted [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[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: 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] 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2c8d80bb4d3946d6422c96e22d0cfea2f72ce0559e3944c3954a4539d39ab5fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8d80bb4d3946d6422c96e22d0cfea2f72ce0559e3944c3954a4539d39ab5fb", kill_on_drop: false }` [INFO] [stdout] 2c8d80bb4d3946d6422c96e22d0cfea2f72ce0559e3944c3954a4539d39ab5fb