[INFO] fetching crate bluetooth-serial-port 0.6.0... [INFO] checking bluetooth-serial-port-0.6.0 against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] extracting crate bluetooth-serial-port 0.6.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate bluetooth-serial-port 0.6.0 on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "read-manifest" "--manifest-path" "Cargo.toml", 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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcb6324682e83e4a9fc8a906f4ece52a1d44a5d0880691fbc7522f7aa0524f9f [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" "fcb6324682e83e4a9fc8a906f4ece52a1d44a5d0880691fbc7522f7aa0524f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcb6324682e83e4a9fc8a906f4ece52a1d44a5d0880691fbc7522f7aa0524f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcb6324682e83e4a9fc8a906f4ece52a1d44a5d0880691fbc7522f7aa0524f9f", kill_on_drop: false }` [INFO] [stdout] fcb6324682e83e4a9fc8a906f4ece52a1d44a5d0880691fbc7522f7aa0524f9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65d063a2484ca2989975751c379bcb219fda46da129a0f8be130678be32a492c [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" "65d063a2484ca2989975751c379bcb219fda46da129a0f8be130678be32a492c", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.13.1 [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] 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] [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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; 5 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "65d063a2484ca2989975751c379bcb219fda46da129a0f8be130678be32a492c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65d063a2484ca2989975751c379bcb219fda46da129a0f8be130678be32a492c", kill_on_drop: false }` [INFO] [stdout] 65d063a2484ca2989975751c379bcb219fda46da129a0f8be130678be32a492c