[INFO] fetching crate bluetooth-serial-port 0.6.0... [INFO] testing bluetooth-serial-port-0.6.0 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate bluetooth-serial-port 0.6.0 into /workspace/builds/worker-93/source [INFO] validating manifest of crates.io crate bluetooth-serial-port 0.6.0 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-93/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7472aac95909513a65a619a69e76c953b43a076937e2fb557bdfb9e5a6722233 [INFO] running `Command { std: "docker" "start" "-a" "7472aac95909513a65a619a69e76c953b43a076937e2fb557bdfb9e5a6722233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7472aac95909513a65a619a69e76c953b43a076937e2fb557bdfb9e5a6722233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7472aac95909513a65a619a69e76c953b43a076937e2fb557bdfb9e5a6722233", kill_on_drop: false }` [INFO] [stdout] 7472aac95909513a65a619a69e76c953b43a076937e2fb557bdfb9e5a6722233 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b116b9d2281fcafa0118aae66fd56930c4d9636fc8dd52a5396321bdd1617330 [INFO] running `Command { std: "docker" "start" "-a" "b116b9d2281fcafa0118aae66fd56930c4d9636fc8dd52a5396321bdd1617330", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling bluetooth-serial-port v0.6.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn mio::Evented` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [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 associated function `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 associated function `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 associated function `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 associated function `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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.96s [INFO] running `Command { std: "docker" "inspect" "b116b9d2281fcafa0118aae66fd56930c4d9636fc8dd52a5396321bdd1617330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b116b9d2281fcafa0118aae66fd56930c4d9636fc8dd52a5396321bdd1617330", kill_on_drop: false }` [INFO] [stdout] b116b9d2281fcafa0118aae66fd56930c4d9636fc8dd52a5396321bdd1617330 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eae3be406ee5cd1d7eab9ac8646922c2409eb60b5e39844d7525f3c76d780989 [INFO] running `Command { std: "docker" "start" "-a" "eae3be406ee5cd1d7eab9ac8646922c2409eb60b5e39844d7525f3c76d780989", kill_on_drop: false }` [INFO] [stderr] Compiling bluetooth-serial-port v0.6.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn mio::Evented` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [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 associated function `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 associated function `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 associated function `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 associated function `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: 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] = note: `#[deny(ill_formed_attribute_input)]` on by default [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 [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 [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 [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 [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 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn mio::Evented` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [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 associated function `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 associated function `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 associated function `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 associated function `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] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bluetooth-serial-port` due to 6 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eae3be406ee5cd1d7eab9ac8646922c2409eb60b5e39844d7525f3c76d780989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae3be406ee5cd1d7eab9ac8646922c2409eb60b5e39844d7525f3c76d780989", kill_on_drop: false }` [INFO] [stdout] eae3be406ee5cd1d7eab9ac8646922c2409eb60b5e39844d7525f3c76d780989