[INFO] cloning repository https://github.com/gpace1/bo-tie [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gpace1/bo-tie" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpace1%2Fbo-tie", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpace1%2Fbo-tie'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77dda99fadaba912d5bf81d223a3acb57df62f6b [INFO] checking gpace1/bo-tie against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpace1%2Fbo-tie" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gpace1/bo-tie on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gpace1/bo-tie [INFO] finished tweaking git repo https://github.com/gpace1/bo-tie [INFO] tweaked toml for git repo https://github.com/gpace1/bo-tie written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded group v0.10.0 [INFO] [stderr] Downloaded crypto-mac v0.11.1 [INFO] [stderr] Downloaded ecdsa v0.12.4 [INFO] [stderr] Downloaded crypto-bigint v0.2.9 [INFO] [stderr] Downloaded aes v0.7.5 [INFO] [stderr] Downloaded p256 v0.9.0 [INFO] [stderr] Downloaded sha2 v0.9.8 [INFO] [stderr] Downloaded async-timer v0.6.3 [INFO] [stderr] Downloaded zeroize v1.4.2 [INFO] [stderr] Downloaded ff v0.10.1 [INFO] [stderr] Downloaded const-oid v0.6.1 [INFO] [stderr] Downloaded der v0.4.3 [INFO] [stderr] Downloaded simplelog v0.6.0 [INFO] [stderr] Downloaded spki v0.4.1 [INFO] [stderr] Downloaded elliptic-curve v0.10.6 [INFO] [stderr] Downloaded simple-signal v1.1.1 [INFO] [stderr] Downloaded pkcs8 v0.7.6 [INFO] [stderr] Downloaded tinymt v1.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b6688c1a12c9167301b496f0649858047d6cea8c946421662542b0d68d519a6 [INFO] running `Command { std: "docker" "start" "-a" "4b6688c1a12c9167301b496f0649858047d6cea8c946421662542b0d68d519a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b6688c1a12c9167301b496f0649858047d6cea8c946421662542b0d68d519a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6688c1a12c9167301b496f0649858047d6cea8c946421662542b0d68d519a6", kill_on_drop: false }` [INFO] [stdout] 4b6688c1a12c9167301b496f0649858047d6cea8c946421662542b0d68d519a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26f8f25d1849f0d28bcc449850b1e3ec0e8a3f92c00735bae232372b59dac686 [INFO] running `Command { std: "docker" "start" "-a" "26f8f25d1849f0d28bcc449850b1e3ec0e8a3f92c00735bae232372b59dac686", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking const-oid v0.6.1 [INFO] [stderr] Checking zeroize v1.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking async-timer v0.6.3 [INFO] [stderr] Checking simple-signal v1.1.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Checking der v0.4.3 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking syn v1.0.76 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-bigint v0.2.9 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking tinymt v1.0.6 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking p256 v0.9.0 [INFO] [stderr] Checking simplelog v0.6.0 [INFO] [stderr] Checking bo-tie-macros v0.1.0 (/opt/rustwide/workdir/bo-tie-macros) [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking bo-tie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `opcode` [INFO] [stdout] --> src/hci/events.rs:1218:5 [INFO] [stdout] | [INFO] [stdout] 1218 | opcode: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hci_command_packet` [INFO] [stdout] --> src/hci/events.rs:1219:5 [INFO] [stdout] | [INFO] [stdout] 1219 | hci_command_packet: BufferType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/hci/events.rs:1309:5 [INFO] [stdout] | [INFO] [stdout] 1309 | status: Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connection_handle` [INFO] [stdout] --> src/hci/events.rs:1310:5 [INFO] [stdout] | [INFO] [stdout] 1310 | connection_handle: ConnectionHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `clock_offset` [INFO] [stdout] --> src/hci/events.rs:1312:5 [INFO] [stdout] | [INFO] [stdout] 1312 | clock_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connection_handle` [INFO] [stdout] --> src/hci/events.rs:1422:5 [INFO] [stdout] | [INFO] [stdout] 1422 | connection_handle: ConnectionHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bluetooth_address` [INFO] [stdout] --> src/hci/events.rs:1437:5 [INFO] [stdout] | [INFO] [stdout] 1437 | bluetooth_address: BluetoothDeviceAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `page_scan_repition_mode` [INFO] [stdout] --> src/hci/events.rs:1438:5 [INFO] [stdout] | [INFO] [stdout] 1438 | page_scan_repition_mode: PageScanRepetitionMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `controller_type` [INFO] [stdout] --> src/hci/events.rs:2317:5 [INFO] [stdout] | [INFO] [stdout] 2317 | controller_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reason` [INFO] [stdout] --> src/hci/events.rs:2318:5 [INFO] [stdout] | [INFO] [stdout] 2318 | reason: Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `event_type` [INFO] [stdout] --> src/hci/events.rs:2319:5 [INFO] [stdout] | [INFO] [stdout] 2319 | event_type: AMPReceiverReportDataEventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_frames` [INFO] [stdout] --> src/hci/events.rs:2320:5 [INFO] [stdout] | [INFO] [stdout] 2320 | number_of_frames: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_error_frames` [INFO] [stdout] --> src/hci/events.rs:2321:5 [INFO] [stdout] | [INFO] [stdout] 2321 | number_of_error_frames: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_bits` [INFO] [stdout] --> src/hci/events.rs:2322:5 [INFO] [stdout] | [INFO] [stdout] 2322 | number_of_bits: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_error_bits` [INFO] [stdout] --> src/hci/events.rs:2323:5 [INFO] [stdout] | [INFO] [stdout] 2323 | number_of_error_bits: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/hci/events.rs:2732:5 [INFO] [stdout] | [INFO] [stdout] 2732 | status: Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> src/hci/events.rs:2733:5 [INFO] [stdout] | [INFO] [stdout] 2733 | key: [u8; 32], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sync_handle` [INFO] [stdout] --> src/hci/events.rs:3222:5 [INFO] [stdout] | [INFO] [stdout] 3222 | sync_handle: ConnectionHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connection_handle` [INFO] [stdout] --> src/hci/events.rs:3548:5 [INFO] [stdout] | [INFO] [stdout] 3548 | connection_handle: ConnectionHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> src/hci/le/encryption.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | key: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `plain_text` [INFO] [stdout] --> src/hci/le/encryption.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | plain_text: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rand_address` [INFO] [stdout] --> src/hci/le/transmitter.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | rand_address: crate::BluetoothDeviceAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `encryption_key_size_max` [INFO] [stdout] --> src/sm/initiator.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | encryption_key_size_max: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bo-tie-linux v0.1.0 (/opt/rustwide/workdir/base-crates/bo-tie-linux) [INFO] [stdout] warning: field is never read: `epoll_fd` [INFO] [stdout] --> base-crates/bo-tie-linux/src/lib.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | epoll_fd: ArcFileDesc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `epoll_fd` [INFO] [stdout] --> base-crates/bo-tie-linux/src/lib.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | epoll_fd: ArcFileDesc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/connect-slave.rs:144:71 [INFO] [stdout] | [INFO] [stdout] 144 | fn gatt_server_init<'c, C>(channel: &'c C, local_name: &str) -> gatt::Server<'c, C> [INFO] [stdout] | ^^^^^^ - supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `C`, `Q` [INFO] [stdout] --> /opt/rustwide/workdir/src/gatt/mod.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | pub struct Server<'c, C, Q> { [INFO] [stdout] | ^^^^^^ - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 144 | fn gatt_server_init<'c, C>(channel: &'c C, local_name: &str) -> gatt::Server<'c, C, Q> [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 E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bo-tie` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0107]: this struct takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/bonding-slave.rs:620:79 [INFO] [stdout] | [INFO] [stdout] 620 | fn gatt_server_init<'c, C>(channel: &'c C, local_name: &str) -> bo_tie::gatt::Server<'c, C> [INFO] [stdout] | ^^^^^^ - supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `C`, `Q` [INFO] [stdout] --> /opt/rustwide/workdir/src/gatt/mod.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | pub struct Server<'c, C, Q> { [INFO] [stdout] | ^^^^^^ - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 620 | fn gatt_server_init<'c, C>(channel: &'c C, local_name: &str) -> bo_tie::gatt::Server<'c, C, Q> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/advertiser.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | Err(no_match) => panic!(no_match.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 93 | Err(no_match) => panic!("{}", no_match.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/bonding-slave.rs:260:40 [INFO] [stdout] | [INFO] [stdout] 260 | att_server: &mut bo_tie::gatt::Server<'_, C>, [INFO] [stdout] | ^^^^^^ - supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `C`, `Q` [INFO] [stdout] --> /opt/rustwide/workdir/src/gatt/mod.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | pub struct Server<'c, C, Q> { [INFO] [stdout] | ^^^^^^ - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 260 | att_server: &mut bo_tie::gatt::Server<'_, C, Q>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/heart-rate-profile.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | ) -> gatt::Server<'_, C> [INFO] [stdout] | ^^^^^^ - supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `C`, `Q` [INFO] [stdout] --> /opt/rustwide/workdir/src/gatt/mod.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | pub struct Server<'c, C, Q> { [INFO] [stdout] | ^^^^^^ - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 209 | ) -> gatt::Server<'_, C, Q> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 3 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/bonding-slave.rs:261:61 [INFO] [stdout] | [INFO] [stdout] 261 | slave_security_manager: &mut bo_tie::sm::responder::SlaveSecurityManager<'_, C>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ - supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 3 generic parameters: `C`, `S`, `R` [INFO] [stdout] --> /opt/rustwide/workdir/src/sm/responder.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub struct SlaveSecurityManager<'a, C, S, R> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ - - - [INFO] [stdout] help: add missing generic arguments [INFO] [stdout] | [INFO] [stdout] 261 | slave_security_manager: &mut bo_tie::sm::responder::SlaveSecurityManager<'_, C, S, R>, [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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 E0107`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 3 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/bonding-master.rs:155:59 [INFO] [stdout] | [INFO] [stdout] 155 | async fn pair(cc: &C, msm: &mut bo_tie::sm::initiator::MasterSecurityManager<'_, C>) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ - supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 3 generic parameters: `C`, `S`, `R` [INFO] [stdout] --> /opt/rustwide/workdir/src/sm/initiator.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct MasterSecurityManager<'a, C, S, R> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ - - - [INFO] [stdout] help: add missing generic arguments [INFO] [stdout] | [INFO] [stdout] 155 | async fn pair(cc: &C, msm: &mut bo_tie::sm::initiator::MasterSecurityManager<'_, C, S, R>) -> Option [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 E0107`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen_range` exists for struct `std::sync::MutexGuard<'_, TinyMT64>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/att/server/tests/permissions.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | 0 == rng.lock().unwrap().gen_range(0, chance_max) [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `std::sync::MutexGuard<'_, TinyMT64>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tinymt-1.0.6/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct TinyMT64 { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `TinyMT64: Rng` [INFO] [stdout] | doesn't satisfy `TinyMT64: rand::RngCore` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::MutexGuard<'_, TinyMT64>: rand::RngCore` [INFO] [stdout] which is required by `std::sync::MutexGuard<'_, TinyMT64>: Rng` [INFO] [stdout] `TinyMT64: rand::RngCore` [INFO] [stdout] which is required by `TinyMT64: Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use rand::rng::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen_range` exists for struct `std::sync::MutexGuard<'_, TinyMT64>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/att/server/tests/permissions.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | 100_000 < rng.lock().unwrap().gen_range(0, max) [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `std::sync::MutexGuard<'_, TinyMT64>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tinymt-1.0.6/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct TinyMT64 { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `TinyMT64: Rng` [INFO] [stdout] | doesn't satisfy `TinyMT64: rand::RngCore` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::MutexGuard<'_, TinyMT64>: rand::RngCore` [INFO] [stdout] which is required by `std::sync::MutexGuard<'_, TinyMT64>: Rng` [INFO] [stdout] `TinyMT64: rand::RngCore` [INFO] [stdout] which is required by `TinyMT64: Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use rand::rng::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen_range` exists for struct `std::sync::MutexGuard<'_, TinyMT64>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/att/server/tests/permissions.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | 0 != rng.lock().unwrap().gen_range(0, v as u64) [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `std::sync::MutexGuard<'_, TinyMT64>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tinymt-1.0.6/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct TinyMT64 { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `TinyMT64: Rng` [INFO] [stdout] | doesn't satisfy `TinyMT64: rand::RngCore` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::sync::MutexGuard<'_, TinyMT64>: rand::RngCore` [INFO] [stdout] which is required by `std::sync::MutexGuard<'_, TinyMT64>: Rng` [INFO] [stdout] `TinyMT64: rand::RngCore` [INFO] [stdout] which is required by `TinyMT64: Rng` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use rand::rng::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_entropy` found for struct `TinyMT64` in the current scope [INFO] [stdout] --> src/att/server/tests/permissions.rs:209:52 [INFO] [stdout] | [INFO] [stdout] 209 | let tiny_mt_64 = Arc::new(Mutex::new(TinyMT64::from_entropy())); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `TinyMT64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use rand_core::SeedableRng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_gap` found for struct `gatt::ServerBuilder` in the current scope [INFO] [stdout] --> src/gatt/mod.rs:859:49 [INFO] [stdout] | [INFO] [stdout] 562 | pub struct ServerBuilder { [INFO] [stdout] | ------------------------ function or associated item `new_with_gap` not found for this [INFO] [stdout] ... [INFO] [stdout] 859 | let mut server_builder = ServerBuilder::new_with_gap(gap_service); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `gatt::ServerBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `gatt::ServerBuilder` in the current scope [INFO] [stdout] --> src/gatt/mod.rs:935:49 [INFO] [stdout] | [INFO] [stdout] 562 | pub struct ServerBuilder { [INFO] [stdout] | ------------------------ function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 935 | let mut server_builder = ServerBuilder::new(); [INFO] [stdout] | ^^^ function or associated item not found in `gatt::ServerBuilder` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `rand::distributions::uniform::UniformSampler` [INFO] [stdout] candidate #2: `UniformSampler` [INFO] [stdout] candidate #3: `NewBlockCipher` [INFO] [stdout] candidate #4: `NewCipher` [INFO] [stdout] candidate #5: `Bit` [INFO] [stdout] candidate #6: `Oneshot` [INFO] [stdout] candidate #7: `crypto_mac::NewMac` [INFO] [stdout] candidate #8: `Digest` [INFO] [stdout] candidate #9: `VariableOutput` [INFO] [stdout] candidate #10: `VariableOutputDirty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/sm/toolbox.rs:844:48 [INFO] [stdout] | [INFO] [stdout] 844 | let _secret = ecdh(pri_key, &peer_key).expect("Failed to generate secret"); [INFO] [stdout] | ^^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/att/server/tests/permissions.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/att/server/tests/permissions.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::SeedableRng` [INFO] [stdout] --> src/att/server/tests/permissions.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "26f8f25d1849f0d28bcc449850b1e3ec0e8a3f92c00735bae232372b59dac686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f8f25d1849f0d28bcc449850b1e3ec0e8a3f92c00735bae232372b59dac686", kill_on_drop: false }` [INFO] [stdout] 26f8f25d1849f0d28bcc449850b1e3ec0e8a3f92c00735bae232372b59dac686