[INFO] fetching crate bluetooth-serial-port-async 0.6.3... [INFO] building bluetooth-serial-port-async-0.6.3 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate bluetooth-serial-port-async 0.6.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate bluetooth-serial-port-async 0.6.3 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bluetooth-serial-port-async 0.6.3 [INFO] finished tweaking crates.io crate bluetooth-serial-port-async 0.6.3 [INFO] tweaked toml for crates.io crate bluetooth-serial-port-async 0.6.3 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate bluetooth-serial-port-async 0.6.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 903b176e97bd42c6cd17a2c7dabc2c8eabc33dfea34bdb72297f5cc1eea25238 [INFO] running `Command { std: "docker" "start" "-a" "903b176e97bd42c6cd17a2c7dabc2c8eabc33dfea34bdb72297f5cc1eea25238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "903b176e97bd42c6cd17a2c7dabc2c8eabc33dfea34bdb72297f5cc1eea25238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "903b176e97bd42c6cd17a2c7dabc2c8eabc33dfea34bdb72297f5cc1eea25238", kill_on_drop: false }` [INFO] [stdout] 903b176e97bd42c6cd17a2c7dabc2c8eabc33dfea34bdb72297f5cc1eea25238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 853ff530c2504de86b7113cb2b4e173e2406197472cc6ef3e76875b67e81b411 [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" "853ff530c2504de86b7113cb2b4e173e2406197472cc6ef3e76875b67e81b411", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling async-std v1.8.0 [INFO] [stderr] Compiling bluetooth-serial-port-async v0.6.3 (/opt/rustwide/workdir) [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.48s [INFO] running `Command { std: "docker" "inspect" "853ff530c2504de86b7113cb2b4e173e2406197472cc6ef3e76875b67e81b411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "853ff530c2504de86b7113cb2b4e173e2406197472cc6ef3e76875b67e81b411", kill_on_drop: false }` [INFO] [stdout] 853ff530c2504de86b7113cb2b4e173e2406197472cc6ef3e76875b67e81b411 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c83c49438aed9bf36e92dea539498e3afadba0ebff275f03a85289cc2e452b70 [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" "c83c49438aed9bf36e92dea539498e3afadba0ebff275f03a85289cc2e452b70", kill_on_drop: false }` [INFO] [stderr] Compiling bluetooth-serial-port-async v0.6.3 (/opt/rustwide/workdir) [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/example.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | socket.connect(&device.addr).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `BtAddr`, found `&BtAddr` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 27 - socket.connect(&device.addr).unwrap(); [INFO] [stdout] 27 + socket.connect(device.addr).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bluetooth-serial-port-async` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: attribute must be of the form `#[test]` [INFO] [stdout] --> src/bluetooth.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | #[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:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | #[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:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | #[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:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | #[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:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | #[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: 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] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c83c49438aed9bf36e92dea539498e3afadba0ebff275f03a85289cc2e452b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c83c49438aed9bf36e92dea539498e3afadba0ebff275f03a85289cc2e452b70", kill_on_drop: false }` [INFO] [stdout] c83c49438aed9bf36e92dea539498e3afadba0ebff275f03a85289cc2e452b70