[INFO] cloning repository https://github.com/negamartin/serial-keyboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/negamartin/serial-keyboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnegamartin%2Fserial-keyboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnegamartin%2Fserial-keyboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1a110b0189e40c9f0d852469628d5ebc17351e2 [INFO] checking negamartin/serial-keyboard against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnegamartin%2Fserial-keyboard" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/negamartin/serial-keyboard on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/negamartin/serial-keyboard [INFO] finished tweaking git repo https://github.com/negamartin/serial-keyboard [INFO] tweaked toml for git repo https://github.com/negamartin/serial-keyboard written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/negamartin/serial-keyboard already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v1.2.4 [INFO] [stderr] Downloaded serde_json v1.0.24 [INFO] [stderr] Downloaded mach v0.0.5 [INFO] [stderr] Downloaded serialport v3.0.0 [INFO] [stderr] Downloaded subprocess v0.1.13 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded pkg-config v0.3.13 [INFO] [stderr] Downloaded core-graphics v0.13.0 [INFO] [stderr] Downloaded enigo v0.0.12 [INFO] [stderr] Downloaded quote v0.6.5 [INFO] [stderr] Downloaded objc v0.2.5 [INFO] [stderr] Downloaded serde v1.0.71 [INFO] [stderr] Downloaded syn v0.14.7 [INFO] [stderr] Downloaded proc-macro2 v0.4.9 [INFO] [stderr] Downloaded serde_derive v1.0.71 [INFO] [stderr] Downloaded bytes v0.4.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15e77bddfcdcb897583e9d50ef196c4aa0ebb88f5330bb3a3230fc72c3241f6e [INFO] running `Command { std: "docker" "start" "-a" "15e77bddfcdcb897583e9d50ef196c4aa0ebb88f5330bb3a3230fc72c3241f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15e77bddfcdcb897583e9d50ef196c4aa0ebb88f5330bb3a3230fc72c3241f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e77bddfcdcb897583e9d50ef196c4aa0ebb88f5330bb3a3230fc72c3241f6e", kill_on_drop: false }` [INFO] [stdout] 15e77bddfcdcb897583e9d50ef196c4aa0ebb88f5330bb3a3230fc72c3241f6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a579c05286118bbffe6b0e73f5c2cb9b621cb61cd17d73278586dbb0843f9081 [INFO] running `Command { std: "docker" "start" "-a" "a579c05286118bbffe6b0e73f5c2cb9b621cb61cd17d73278586dbb0843f9081", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling enigo v0.0.12 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking subprocess v0.1.13 [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Checking serialport v3.0.0 [INFO] [stderr] Checking serde_json v1.0.24 [INFO] [stderr] Checking serial-keyboard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serialport` is imported redundantly [INFO] [stdout] --> src/config.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serialport::{self,SerialPortType,UsbPortInfo}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serialport; [INFO] [stdout] | ------------------------ the item `serialport` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `json` is imported redundantly [INFO] [stdout] --> src/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use json; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json as json; [INFO] [stdout] | -------------------------------- the item `json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serialport` is imported redundantly [INFO] [stdout] --> src/connection.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use serialport::{self,SerialPort,SerialPortType,SerialPortSettings}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serialport; [INFO] [stdout] | ------------------------ the item `serialport` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `enigo` is imported redundantly [INFO] [stdout] --> src/event.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use enigo::{self,Enigo,KeyboardControllable}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate enigo; [INFO] [stdout] | ------------------- the item `enigo` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result::Result as StdResult` [INFO] [stdout] --> src/lib.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | pub use std::result::Result as StdResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub type Result = ::std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | serial: Box, [INFO] [stdout] | ^^^^^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | serial: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | cause: Box, [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | cause: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:48:59 [INFO] [stdout] | [INFO] [stdout] 48 | impl ResultBoxExt for ::std::result::Result> { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | impl ResultBoxExt for ::std::result::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serialport` is imported redundantly [INFO] [stdout] --> src/config.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serialport::{self,SerialPortType,UsbPortInfo}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serialport; [INFO] [stdout] | ------------------------ the item `serialport` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `json` is imported redundantly [INFO] [stdout] --> src/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use json; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate serde_json as json; [INFO] [stdout] | -------------------------------- the item `json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serialport` is imported redundantly [INFO] [stdout] --> src/connection.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use serialport::{self,SerialPort,SerialPortType,SerialPortSettings}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serialport; [INFO] [stdout] | ------------------------ the item `serialport` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `enigo` is imported redundantly [INFO] [stdout] --> src/event.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use enigo::{self,Enigo,KeyboardControllable}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate enigo; [INFO] [stdout] | ------------------- the item `enigo` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result::Result as StdResult` [INFO] [stdout] --> src/lib.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | pub use std::result::Result as StdResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | pub type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub type Result = ::std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | serial: Box, [INFO] [stdout] | ^^^^^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | serial: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | cause: Box, [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | cause: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:48:59 [INFO] [stdout] | [INFO] [stdout] 48 | impl ResultBoxExt for ::std::result::Result> { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | impl ResultBoxExt for ::std::result::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a579c05286118bbffe6b0e73f5c2cb9b621cb61cd17d73278586dbb0843f9081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a579c05286118bbffe6b0e73f5c2cb9b621cb61cd17d73278586dbb0843f9081", kill_on_drop: false }` [INFO] [stdout] a579c05286118bbffe6b0e73f5c2cb9b621cb61cd17d73278586dbb0843f9081