[INFO] cloning repository https://github.com/laptou/bluetooth-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laptou/bluetooth-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaptou%2Fbluetooth-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaptou%2Fbluetooth-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 374c5c59f4fd1e69927cd9abf05eb64fae454a8a [INFO] checking laptou/bluetooth-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaptou%2Fbluetooth-rs" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laptou/bluetooth-rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/laptou/bluetooth-rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/laptou/bluetooth-rs [INFO] tweaked toml for git repo https://github.com/laptou/bluetooth-rs written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/laptou/bluetooth-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumflags2 v0.7.1 [INFO] [stderr] Downloaded async-fs v1.5.0 [INFO] [stderr] Downloaded value-bag v1.0.0-alpha.7 [INFO] [stderr] Downloaded async-lock v2.4.0 [INFO] [stderr] Downloaded async-io v1.4.1 [INFO] [stderr] Downloaded wyz v0.4.0 [INFO] [stderr] Downloaded bitvec v0.22.3 [INFO] [stderr] Downloaded funty v1.2.0 [INFO] [stderr] Downloaded async-process v1.1.0 [INFO] [stderr] Downloaded signal-hook v0.3.8 [INFO] [stderr] Downloaded async-net v1.6.0 [INFO] [stderr] Downloaded polling v2.0.3 [INFO] [stderr] Downloaded enumflags2_derive v0.7.0 [INFO] [stderr] Downloaded smol v1.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5317312a98da1b874699231ca41f2b1517ce97c5eccef1c682c5e8844244b857 [INFO] running `Command { std: "docker" "start" "-a" "5317312a98da1b874699231ca41f2b1517ce97c5eccef1c682c5e8844244b857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5317312a98da1b874699231ca41f2b1517ce97c5eccef1c682c5e8844244b857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5317312a98da1b874699231ca41f2b1517ce97c5eccef1c682c5e8844244b857", kill_on_drop: false }` [INFO] [stdout] 5317312a98da1b874699231ca41f2b1517ce97c5eccef1c682c5e8844244b857 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c25d835b3c12f24e22c0d26316b746ddc77288b2574286a665735b433655c1b [INFO] running `Command { std: "docker" "start" "-a" "9c25d835b3c12f24e22c0d26316b746ddc77288b2574286a665735b433655c1b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] futures-channel v0.3.15: default [INFO] [stderr] log v0.4.14: kv_unstable, value-bag [INFO] [stderr] syn v1.0.72 (as host dependency): visit [INFO] [stderr] [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking fastrand v1.4.1 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking async-fs v1.5.0 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling enumflags2_derive v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking enumflags2 v0.7.1 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking async-io v1.4.1 [INFO] [stderr] Checking async-process v1.1.0 [INFO] [stderr] Checking async-net v1.6.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking smol v1.2.5 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking bluez v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/communication/socket.rs (4 fixes) [INFO] [stderr] Migrating examples/l2cap-client.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/l2cap-server.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/discover.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/list.rs from 2018 edition to 2021 [INFO] [stderr] Fixed examples/l2cap-client.rs (1 fix) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/l2cap-client.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 53 | / loop { [INFO] [stdout] 54 | | reader.read_line(&mut line).await?; [INFO] [stdout] 55 | | println!("> {}", line); [INFO] [stdout] 56 | | line.clear(); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 58 | [INFO] [stdout] 59 | std::io::Result::Ok(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/l2cap-client.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 70 | / loop { [INFO] [stdout] 71 | | stdin.read_line(&mut line).await?; [INFO] [stdout] 72 | | writer.write(line.as_bytes()).await?; [INFO] [stdout] 73 | | writer.flush().await?; [INFO] [stdout] 74 | | println!("< {}", line); [INFO] [stdout] 75 | | line.clear(); [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 77 | [INFO] [stdout] 78 | std::io::Result::Ok(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::AsyncReadExt` [INFO] [stdout] --> examples/l2cap-client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/l2cap-server.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 47 | / loop { [INFO] [stdout] 48 | | reader.read_line(&mut line).await?; [INFO] [stdout] 49 | | println!("> {}", line); [INFO] [stdout] 50 | | line.clear(); [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________________- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | std::io::Result::Ok(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/l2cap-server.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 65 | / loop { [INFO] [stdout] 66 | | stdin.read_line(&mut line).await?; [INFO] [stdout] 67 | | writer.write(line.as_bytes()).await?; [INFO] [stdout] 68 | | writer.flush().await?; [INFO] [stdout] 69 | | println!("< {}", line); [INFO] [stdout] 70 | | line.clear(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________________- any code following this expression is unreachable [INFO] [stdout] 72 | [INFO] [stdout] 73 | std::io::Result::Ok(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.43s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling enumflags2_derive v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking value-bag v1.0.0-alpha.7 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking futures-util v0.3.15 [INFO] [stderr] Checking enumflags2 v0.7.1 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-io v1.4.1 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking async-net v1.6.0 [INFO] [stderr] Checking async-process v1.1.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking smol v1.2.5 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking bluez v0.4.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/l2cap-server.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 47 | / loop { [INFO] [stdout] 48 | | reader.read_line(&mut line).await?; [INFO] [stdout] 49 | | println!("> {}", line); [INFO] [stdout] 50 | | line.clear(); [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________________- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | std::io::Result::Ok(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/l2cap-server.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 65 | / loop { [INFO] [stdout] 66 | | stdin.read_line(&mut line).await?; [INFO] [stdout] 67 | | writer.write(line.as_bytes()).await?; [INFO] [stdout] 68 | | writer.flush().await?; [INFO] [stdout] 69 | | println!("< {}", line); [INFO] [stdout] 70 | | line.clear(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________________- any code following this expression is unreachable [INFO] [stdout] 72 | [INFO] [stdout] 73 | std::io::Result::Ok(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/l2cap-client.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 53 | / loop { [INFO] [stdout] 54 | | reader.read_line(&mut line).await?; [INFO] [stdout] 55 | | println!("> {}", line); [INFO] [stdout] 56 | | line.clear(); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 58 | [INFO] [stdout] 59 | std::io::Result::Ok(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/l2cap-client.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 70 | / loop { [INFO] [stdout] 71 | | stdin.read_line(&mut line).await?; [INFO] [stdout] 72 | | writer.write(line.as_bytes()).await?; [INFO] [stdout] 73 | | writer.flush().await?; [INFO] [stdout] 74 | | println!("< {}", line); [INFO] [stdout] 75 | | line.clear(); [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 77 | [INFO] [stdout] 78 | std::io::Result::Ok(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::AsyncReadExt` [INFO] [stdout] --> examples/l2cap-client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.99s [INFO] running `Command { std: "docker" "inspect" "9c25d835b3c12f24e22c0d26316b746ddc77288b2574286a665735b433655c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c25d835b3c12f24e22c0d26316b746ddc77288b2574286a665735b433655c1b", kill_on_drop: false }` [INFO] [stdout] 9c25d835b3c12f24e22c0d26316b746ddc77288b2574286a665735b433655c1b