[INFO] fetching crate pscontroller-rs 0.6.0... [INFO] testing pscontroller-rs-0.6.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate pscontroller-rs 0.6.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate pscontroller-rs 0.6.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8622ad0ac3e5d21469513d920e7bb54684fe32010b6d4e98d8b91bad24876f4 [INFO] running `Command { std: "docker" "start" "-a" "a8622ad0ac3e5d21469513d920e7bb54684fe32010b6d4e98d8b91bad24876f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8622ad0ac3e5d21469513d920e7bb54684fe32010b6d4e98d8b91bad24876f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8622ad0ac3e5d21469513d920e7bb54684fe32010b6d4e98d8b91bad24876f4", kill_on_drop: false }` [INFO] [stdout] a8622ad0ac3e5d21469513d920e7bb54684fe32010b6d4e98d8b91bad24876f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7436d26c6872e22123f71d393062ac8197d1b2fd9937f4393b495895501673df [INFO] running `Command { std: "docker" "start" "-a" "7436d26c6872e22123f71d393062ac8197d1b2fd9937f4393b495895501673df", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling bit_reverse v0.1.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.5 [INFO] [stderr] Compiling embedded-hal v0.1.3 [INFO] [stderr] Compiling 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] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "7436d26c6872e22123f71d393062ac8197d1b2fd9937f4393b495895501673df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7436d26c6872e22123f71d393062ac8197d1b2fd9937f4393b495895501673df", kill_on_drop: false }` [INFO] [stdout] 7436d26c6872e22123f71d393062ac8197d1b2fd9937f4393b495895501673df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d681bf1770e1aed97ef213faadf32c2bd487971688d0102e0b794f0251fc200e [INFO] running `Command { std: "docker" "start" "-a" "d681bf1770e1aed97ef213faadf32c2bd487971688d0102e0b794f0251fc200e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling iovec v0.1.4 [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 bytes v0.4.12 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling sysfs_gpio v0.5.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling i2cdev v0.3.2 [INFO] [stderr] Compiling linux-embedded-hal v0.1.1 [INFO] [stderr] Compiling pscontroller-rs v0.6.0 (/opt/rustwide/workdir) [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] 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] 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: 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: 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] 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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] [stdout] warning: 1 warning emitted [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d681bf1770e1aed97ef213faadf32c2bd487971688d0102e0b794f0251fc200e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d681bf1770e1aed97ef213faadf32c2bd487971688d0102e0b794f0251fc200e", kill_on_drop: false }` [INFO] [stdout] d681bf1770e1aed97ef213faadf32c2bd487971688d0102e0b794f0251fc200e