[INFO] fetching crate bluetooth-serial-port 0.6.0... [INFO] checking bluetooth-serial-port-0.6.0 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate bluetooth-serial-port 0.6.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate bluetooth-serial-port 0.6.0 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 204a68bcce8330e6cf64c48482ff7e0b38e602e4673e006d2ef3894d6602d969 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "204a68bcce8330e6cf64c48482ff7e0b38e602e4673e006d2ef3894d6602d969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "204a68bcce8330e6cf64c48482ff7e0b38e602e4673e006d2ef3894d6602d969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204a68bcce8330e6cf64c48482ff7e0b38e602e4673e006d2ef3894d6602d969", kill_on_drop: false }` [INFO] [stdout] 204a68bcce8330e6cf64c48482ff7e0b38e602e4673e006d2ef3894d6602d969 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab962a44c5e2b0249b74f49e1e397a82d7ccf31e094abd85e88a5962b6c467e3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ab962a44c5e2b0249b74f49e1e397a82d7ccf31e094abd85e88a5962b6c467e3", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [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] = 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 issue #80165 [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 issue #80165 [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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bluetooth.rs:174:26 [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:174:26 [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/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: 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` [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] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ab962a44c5e2b0249b74f49e1e397a82d7ccf31e094abd85e88a5962b6c467e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab962a44c5e2b0249b74f49e1e397a82d7ccf31e094abd85e88a5962b6c467e3", kill_on_drop: false }` [INFO] [stdout] ab962a44c5e2b0249b74f49e1e397a82d7ccf31e094abd85e88a5962b6c467e3