[INFO] fetching crate pscontroller-rs 0.6.0... [INFO] testing pscontroller-rs-0.6.0 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate pscontroller-rs 0.6.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate pscontroller-rs 0.6.0 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_reverse v0.1.8 [INFO] [stderr] Downloaded embedded-hal v0.1.3 [INFO] [stderr] Downloaded linux-embedded-hal v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 477d4b3f6d597b1cf383f37e551331bacd67e405dcffee6784353ffff14e24d1 [INFO] running `Command { std: "docker" "start" "-a" "477d4b3f6d597b1cf383f37e551331bacd67e405dcffee6784353ffff14e24d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "477d4b3f6d597b1cf383f37e551331bacd67e405dcffee6784353ffff14e24d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "477d4b3f6d597b1cf383f37e551331bacd67e405dcffee6784353ffff14e24d1", kill_on_drop: false }` [INFO] [stdout] 477d4b3f6d597b1cf383f37e551331bacd67e405dcffee6784353ffff14e24d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4576cc951ec30311a7dea8b5fce5462f33bf88b82ef9433c22c6566f76146e1a [INFO] running `Command { std: "docker" "start" "-a" "4576cc951ec30311a7dea8b5fce5462f33bf88b82ef9433c22c6566f76146e1a", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bit_reverse v0.1.8 [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.11s [INFO] running `Command { std: "docker" "inspect" "4576cc951ec30311a7dea8b5fce5462f33bf88b82ef9433c22c6566f76146e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4576cc951ec30311a7dea8b5fce5462f33bf88b82ef9433c22c6566f76146e1a", kill_on_drop: false }` [INFO] [stdout] 4576cc951ec30311a7dea8b5fce5462f33bf88b82ef9433c22c6566f76146e1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c6af3737bec4c59655001200582d49b9d3fecadeee82d96c5b63123e4ebd5b5 [INFO] running `Command { std: "docker" "start" "-a" "4c6af3737bec4c59655001200582d49b9d3fecadeee82d96c5b63123e4ebd5b5", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling cargo-platform v0.1.1 [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 tempfile v3.2.0 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling i2cdev v0.3.2 [INFO] [stderr] Compiling sysfs_gpio v0.5.4 [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] 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[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: 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] 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] 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: 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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [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" "4c6af3737bec4c59655001200582d49b9d3fecadeee82d96c5b63123e4ebd5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c6af3737bec4c59655001200582d49b9d3fecadeee82d96c5b63123e4ebd5b5", kill_on_drop: false }` [INFO] [stdout] 4c6af3737bec4c59655001200582d49b9d3fecadeee82d96c5b63123e4ebd5b5