[INFO] fetching crate bluetooth-serial-port 0.6.0...
[INFO] checking bluetooth-serial-port-0.6.0 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate bluetooth-serial-port 0.6.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate bluetooth-serial-port 0.6.0 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bluetooth-serial-port 0.6.0
[INFO] finished tweaking crates.io crate bluetooth-serial-port 0.6.0
[INFO] tweaked toml for crates.io crate bluetooth-serial-port 0.6.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded nix v0.13.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 76982f587591ec19b2472159bae34cdcd2821fd5c6ce36096e2aeb8566cdffe7
[INFO] running `Command { std: "docker" "start" "-a" "76982f587591ec19b2472159bae34cdcd2821fd5c6ce36096e2aeb8566cdffe7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76982f587591ec19b2472159bae34cdcd2821fd5c6ce36096e2aeb8566cdffe7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76982f587591ec19b2472159bae34cdcd2821fd5c6ce36096e2aeb8566cdffe7", kill_on_drop: false }`
[INFO] [stdout] 76982f587591ec19b2472159bae34cdcd2821fd5c6ce36096e2aeb8566cdffe7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 16b8686f8c3ab2805f456f4b8b50220beede4fdf993fa1c581100fb8e81cf361
[INFO] running `Command { std: "docker" "start" "-a" "16b8686f8c3ab2805f456f4b8b50220beede4fdf993fa1c581100fb8e81cf361", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling nix v0.13.1
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking bluetooth-serial-port v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: attribute must be of the form `#[test]`
[INFO] [stdout]    --> src/bluetooth.rs:312:5
[INFO] [stdout]     |
[INFO] [stdout] 312 |     #[test()]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stdout]     = note: `#[deny(ill_formed_attribute_input)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attribute must be of the form `#[test]`
[INFO] [stdout]    --> src/bluetooth.rs:334:5
[INFO] [stdout]     |
[INFO] [stdout] 334 |     #[test()]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attribute must be of the form `#[test]`
[INFO] [stdout]    --> src/bluetooth.rs:340:5
[INFO] [stdout]     |
[INFO] [stdout] 340 |     #[test()]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attribute must be of the form `#[test]`
[INFO] [stdout]    --> src/bluetooth.rs:352:5
[INFO] [stdout]     |
[INFO] [stdout] 352 |     #[test()]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: attribute must be of the form `#[test]`
[INFO] [stdout]    --> src/bluetooth.rs:358:5
[INFO] [stdout]     |
[INFO] [stdout] 358 |     #[test()]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/linux/sdp.rs:391:10
[INFO] [stdout]     |
[INFO] [stdout] 391 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/linux/sdp.rs:391:10
[INFO] [stdout]     |
[INFO] [stdout] 391 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/bluetooth.rs:174:45
[INFO] [stdout]     |
[INFO] [stdout] 174 |         write!(f, "{:}", std::error::Error::description(self))
[INFO] [stdout]     |                                             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/bluetooth.rs:174:45
[INFO] [stdout]     |
[INFO] [stdout] 174 |         write!(f, "{:}", std::error::Error::description(self))
[INFO] [stdout]     |                                             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/bluetooth.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |     WaitFor(&'a mio::Evented, mio::Ready),
[INFO] [stdout]     |                 ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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] 126 |     WaitFor(&'a dyn mio::Evented, mio::Ready),
[INFO] [stdout]     |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/bluetooth.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |     WaitFor(&'a mio::Evented, mio::Ready),
[INFO] [stdout]     |                 ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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] 126 |     WaitFor(&'a dyn mio::Evented, mio::Ready),
[INFO] [stdout]     |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/bluetooth.rs:184:46
[INFO] [stdout]     |
[INFO] [stdout] 184 |             BtError::IoError(ref err) => err.description(),
[INFO] [stdout]     |                                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/bluetooth.rs:184:46
[INFO] [stdout]     |
[INFO] [stdout] 184 |             BtError::IoError(ref err) => err.description(),
[INFO] [stdout]     |                                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/linux/socket.rs:18:48
[INFO] [stdout]    |
[INFO] [stdout] 18 |         format!("{:}: {:}", message, nix_error.description()),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/linux/socket.rs:99:15
[INFO] [stdout]    |
[INFO] [stdout] 99 |             e.description().to_string(),
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/linux/socket.rs:18:48
[INFO] [stdout]    |
[INFO] [stdout] 18 |         format!("{:}: {:}", message, nix_error.description()),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/linux/socket.rs:99:15
[INFO] [stdout]    |
[INFO] [stdout] 99 |             e.description().to_string(),
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bluetooth-serial-port` (lib test) due to 6 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "16b8686f8c3ab2805f456f4b8b50220beede4fdf993fa1c581100fb8e81cf361", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16b8686f8c3ab2805f456f4b8b50220beede4fdf993fa1c581100fb8e81cf361", kill_on_drop: false }`
[INFO] [stdout] 16b8686f8c3ab2805f456f4b8b50220beede4fdf993fa1c581100fb8e81cf361
