[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] d0b59ce07bde97a983e23a3579d089ad4f3f4f4f [INFO] testing laptou/bluetooth-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaptou%2Fbluetooth-rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laptou/bluetooth-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-11/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" "+beta-2022-04-10" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2714ca962b2c5ad72461ef2b10ce692b473dd1944574c390bb1560f26fe0cf83 [INFO] running `Command { std: "docker" "start" "-a" "2714ca962b2c5ad72461ef2b10ce692b473dd1944574c390bb1560f26fe0cf83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2714ca962b2c5ad72461ef2b10ce692b473dd1944574c390bb1560f26fe0cf83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2714ca962b2c5ad72461ef2b10ce692b473dd1944574c390bb1560f26fe0cf83", kill_on_drop: false }` [INFO] [stdout] 2714ca962b2c5ad72461ef2b10ce692b473dd1944574c390bb1560f26fe0cf83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f5dd611d9249773d4e31c9a223d8a99efb7fcabb3e5b32e99d162fd46d7f287 [INFO] running `Command { std: "docker" "start" "-a" "9f5dd611d9249773d4e31c9a223d8a99efb7fcabb3e5b32e99d162fd46d7f287", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [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 pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling bytes v1.0.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 async-lock v2.4.0 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling 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 num-derive v0.3.3 [INFO] [stderr] Compiling enumflags2 v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling async-net v1.6.0 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling bluez v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.33s [INFO] running `Command { std: "docker" "inspect" "9f5dd611d9249773d4e31c9a223d8a99efb7fcabb3e5b32e99d162fd46d7f287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f5dd611d9249773d4e31c9a223d8a99efb7fcabb3e5b32e99d162fd46d7f287", kill_on_drop: false }` [INFO] [stdout] 9f5dd611d9249773d4e31c9a223d8a99efb7fcabb3e5b32e99d162fd46d7f287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b67c6d4feebfaef422ff7bf0eaada24fd3c8e20f5a9ec962690d11cc7f933e3a [INFO] running `Command { std: "docker" "start" "-a" "b67c6d4feebfaef422ff7bf0eaada24fd3c8e20f5a9ec962690d11cc7f933e3a", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling bluez v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BluetoothListener` [INFO] [stdout] --> examples/l2cap-client.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | use bluez::communication::socket::{BluetoothListener, BluetoothStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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: 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] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.67s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/bluez-c2e941204e8b4183) [INFO] running `Command { std: "docker" "inspect" "b67c6d4feebfaef422ff7bf0eaada24fd3c8e20f5a9ec962690d11cc7f933e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b67c6d4feebfaef422ff7bf0eaada24fd3c8e20f5a9ec962690d11cc7f933e3a", kill_on_drop: false }` [INFO] [stdout] b67c6d4feebfaef422ff7bf0eaada24fd3c8e20f5a9ec962690d11cc7f933e3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e471cd0d1001dff3aff73fc7e6a87f2db048fe4b3544a66418574f8e83e2f5a [INFO] running `Command { std: "docker" "start" "-a" "2e471cd0d1001dff3aff73fc7e6a87f2db048fe4b3544a66418574f8e83e2f5a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `BluetoothListener` [INFO] [stderr] --> examples/l2cap-client.rs:11:36 [INFO] [stderr] | [INFO] [stderr] 11 | use bluez::communication::socket::{BluetoothListener, BluetoothStream}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> examples/l2cap-client.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 53 | / loop { [INFO] [stderr] 54 | | reader.read_line(&mut line).await?; [INFO] [stderr] 55 | | println!("> {}", line); [INFO] [stderr] 56 | | line.clear(); [INFO] [stderr] 57 | | } [INFO] [stderr] | |_____________- any code following this expression is unreachable [INFO] [stderr] 58 | [INFO] [stderr] 59 | std::io::Result::Ok(()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> examples/l2cap-client.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 70 | / loop { [INFO] [stderr] 71 | | stdin.read_line(&mut line).await?; [INFO] [stderr] 72 | | writer.write(line.as_bytes()).await?; [INFO] [stderr] 73 | | writer.flush().await?; [INFO] [stderr] 74 | | println!("< {}", line); [INFO] [stderr] 75 | | line.clear(); [INFO] [stderr] 76 | | } [INFO] [stderr] | |_____________- any code following this expression is unreachable [INFO] [stderr] 77 | [INFO] [stderr] 78 | std::io::Result::Ok(()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::AsyncReadExt` [INFO] [stderr] --> examples/l2cap-client.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use futures::AsyncReadExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> examples/l2cap-server.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 47 | / loop { [INFO] [stderr] 48 | | reader.read_line(&mut line).await?; [INFO] [stderr] 49 | | println!("> {}", line); [INFO] [stderr] 50 | | line.clear(); [INFO] [stderr] 51 | | } [INFO] [stderr] | |_________________- any code following this expression is unreachable [INFO] [stderr] 52 | [INFO] [stderr] 53 | std::io::Result::Ok(()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> examples/l2cap-server.rs:73:17 [INFO] [stderr] | [INFO] [stderr] 65 | / loop { [INFO] [stderr] 66 | | stdin.read_line(&mut line).await?; [INFO] [stderr] 67 | | writer.write(line.as_bytes()).await?; [INFO] [stderr] 68 | | writer.flush().await?; [INFO] [stderr] 69 | | println!("< {}", line); [INFO] [stderr] 70 | | line.clear(); [INFO] [stderr] 71 | | } [INFO] [stderr] | |_________________- any code following this expression is unreachable [INFO] [stderr] 72 | [INFO] [stderr] 73 | std::io::Result::Ok(()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: `bluez` (example "l2cap-client") generated 4 warnings [INFO] [stderr] warning: `bluez` (example "l2cap-server") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.92s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bluez-c2e941204e8b4183) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test management::interface::class::tests::class ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bluez [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 6) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `bluez::management::ManagementClient` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bluez::management::ManagementClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ManagementClient` in `management` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `interface` in `bluez` [INFO] [stdout] --> src/lib.rs:42:12 [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] | [INFO] [stdout] 6 | use bluez::interface::event::Event; [INFO] [stdout] | ^^^^^^^^^ could not find `interface` in `bluez` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 15 | Event::DeviceFound { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressTypeFlag` [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 35 | AddressTypeFlag::BREDR | AddressTypeFlag::LEPublic | AddressTypeFlag::LERandom, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `AddressTypeFlag` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressTypeFlag` [INFO] [stdout] --> src/lib.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 35 | AddressTypeFlag::BREDR | AddressTypeFlag::LEPublic | AddressTypeFlag::LERandom, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `AddressTypeFlag` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressTypeFlag` [INFO] [stdout] --> src/lib.rs:71:62 [INFO] [stdout] | [INFO] [stdout] 35 | AddressTypeFlag::BREDR | AddressTypeFlag::LEPublic | AddressTypeFlag::LERandom, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `AddressTypeFlag` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ManagementClient` [INFO] [stdout] --> src/lib.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 9 | let mut client = ManagementClient::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use bluez::management::client::ManagementClient; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::client::ManagementClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: this type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/lib.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ --------------- help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/workdir/src/management/result.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 38) [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e471cd0d1001dff3aff73fc7e6a87f2db048fe4b3544a66418574f8e83e2f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e471cd0d1001dff3aff73fc7e6a87f2db048fe4b3544a66418574f8e83e2f5a", kill_on_drop: false }` [INFO] [stdout] 2e471cd0d1001dff3aff73fc7e6a87f2db048fe4b3544a66418574f8e83e2f5a