[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] 2bf9f5553bb424a2b11439d5e78d254a09b363ef [INFO] checking gpace1/bo-tie against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpace1%2Fbo-tie" "/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/gpace1/bo-tie on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "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] bcfee3c8742d94c1aa96c6f921e9ca3224befe0bb85ef32ae39e8179320835df [INFO] running `Command { std: "docker" "start" "-a" "bcfee3c8742d94c1aa96c6f921e9ca3224befe0bb85ef32ae39e8179320835df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcfee3c8742d94c1aa96c6f921e9ca3224befe0bb85ef32ae39e8179320835df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcfee3c8742d94c1aa96c6f921e9ca3224befe0bb85ef32ae39e8179320835df", kill_on_drop: false }` [INFO] [stdout] bcfee3c8742d94c1aa96c6f921e9ca3224befe0bb85ef32ae39e8179320835df [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=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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dc9808083b076193318d9297af2b8cd597622ea1db90e717269a6c82c06aa40 [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" "2dc9808083b076193318d9297af2b8cd597622ea1db90e717269a6c82c06aa40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking bitvec v0.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking simple-signal v1.1.1 [INFO] [stderr] Checking async-timer v0.6.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ff v0.8.0 [INFO] [stderr] Checking group v0.8.0 [INFO] [stderr] Checking elliptic-curve v0.6.6 [INFO] [stderr] Checking tinymt v1.0.4 [INFO] [stderr] Checking simplelog v0.6.0 [INFO] [stderr] Checking p256 v0.5.2 [INFO] [stderr] Checking bo-tie-macros v0.1.0 (/opt/rustwide/workdir/bo-tie-macros) [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking bo-tie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/att/client.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/att/client.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/att/client.rs:651:13 [INFO] [stdout] | [INFO] [stdout] 651 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/att/server/mod.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/att/server/mod.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/att/server/mod.rs:1330:13 [INFO] [stdout] | [INFO] [stdout] 1330 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/att/pdu.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/att/pdu.rs:749:21 [INFO] [stdout] | [INFO] [stdout] 749 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/gatt/mod.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/l2cap/mod.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/sm/responder.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/lib.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | #[doc("This is a Bluetooth Specification defined default value")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/transmitter.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | interval!( AdvertisingInterval, 0x0020, 0x4000, SpecDef, 0x0800, 625); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` 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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | #[doc("This is a Bluetooth Specification defined default value")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/receiver.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | interval!( ScanningInterval, 0x0004, 0x4000, SpecDef, 0x0010, 625); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | #[doc("This is a Bluetooth Specification defined default value")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/receiver.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | interval!( ScanningWindow, 0x0004, 0x4000, SpecDef, 0x0010, 625); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | #[doc("This is a default value defined by the API, the Bluetooth Specification")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/connection.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | interval!( #[derive(Clone, Copy)] ConnectionInterval, 0x0006, 0x0C80, ApiDef, 0x0006, 1250); [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | #[doc("does not specify a default for this interval")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/connection.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | interval!( #[derive(Clone, Copy)] ConnectionInterval, 0x0006, 0x0C80, ApiDef, 0x0006, 1250); [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | #[doc("This is a Bluetooth Specification defined default value")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/connection.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | interval!(ScanningInterval, 0x0004, 0x4000, SpecDef, 0x0010, 625); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | #[doc("This is a Bluetooth Specification defined default value")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/connection.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | interval!(ScanningWindow, 0x0004, 0x4000, SpecDef, 0x0010, 625); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `encryption_key_size_max` [INFO] [stdout] --> src/sm/initiator.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | encryption_key_size_max: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 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: the item `TryInto` is imported redundantly [INFO] [stdout] --> base-crates/bo-tie-linux/src/lib.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> base-crates/bo-tie-linux/src/lib.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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 type arguments but only 1 type argument was supplied [INFO] [stdout] --> examples/heart-rate-profile.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | ) -> gatt::Server<'_, C> [INFO] [stdout] | ^^^^^^ - supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 type parameters: `C`, `Q` [INFO] [stdout] --> /opt/rustwide/workdir/src/gatt/mod.rs:543:12 [INFO] [stdout] | [INFO] [stdout] 543 | pub struct Server<'c,C,Q> [INFO] [stdout] | ^^^^^^ - - [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 205 | ) -> gatt::Server<'_, 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] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> examples/advertiser.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> examples/connect-slave.rs:143:71 [INFO] [stdout] | [INFO] [stdout] 143 | fn gatt_server_init<'c, C>(channel: &'c C, local_name: &str) -> gatt::Server<'c, C> [INFO] [stdout] | ^^^^^^ - supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 type parameters: `C`, `Q` [INFO] [stdout] --> /opt/rustwide/workdir/src/gatt/mod.rs:543:12 [INFO] [stdout] | [INFO] [stdout] 543 | pub struct Server<'c,C,Q> [INFO] [stdout] | ^^^^^^ - - [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 143 | 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` [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] error[E0107]: this struct takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> examples/bonding-slave.rs:621:79 [INFO] [stdout] | [INFO] [stdout] 621 | fn gatt_server_init<'c, C>(channel: &'c C, local_name: &str) -> bo_tie::gatt::Server<'c, C> [INFO] [stdout] | ^^^^^^ - supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 type parameters: `C`, `Q` [INFO] [stdout] --> /opt/rustwide/workdir/src/gatt/mod.rs:543:12 [INFO] [stdout] | [INFO] [stdout] 543 | pub struct Server<'c,C,Q> [INFO] [stdout] | ^^^^^^ - - [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 621 | 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] error[E0107]: this struct takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> examples/bonding-slave.rs:246:40 [INFO] [stdout] | [INFO] [stdout] 246 | att_server: &mut bo_tie::gatt::Server<'_,C>, [INFO] [stdout] | ^^^^^^ - supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 type parameters: `C`, `Q` [INFO] [stdout] --> /opt/rustwide/workdir/src/gatt/mod.rs:543:12 [INFO] [stdout] | [INFO] [stdout] 543 | pub struct Server<'c,C,Q> [INFO] [stdout] | ^^^^^^ - - [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 246 | att_server: &mut bo_tie::gatt::Server<'_,C, Q>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/advertiser.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | Err(no_match) => panic!(no_match.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 91 | Err(no_match) => panic!("{}", no_match.to_string()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 91 | Err(no_match) => std::panic::panic_any(no_match.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/att/client.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/att/client.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/att/client.rs:651:13 [INFO] [stdout] | [INFO] [stdout] 651 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/att/server/tests/blob_data.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/att/server/mod.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/att/server/mod.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/att/server/mod.rs:1330:13 [INFO] [stdout] | [INFO] [stdout] 1330 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/att/pdu.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/att/pdu.rs:749:21 [INFO] [stdout] | [INFO] [stdout] 749 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/gatt/mod.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_connection_channel` found for reference `&HostInterface` in the current scope [INFO] [stdout] --> examples/bonding-master.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | hi.new_connection_channel(data.connection_handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&HostInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/l2cap/mod.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/sm/responder.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/lib.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | use core::convert::TryFrom; [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 E0599`. [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | #[doc("This is a Bluetooth Specification defined default value")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/transmitter.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | interval!( AdvertisingInterval, 0x0020, 0x4000, SpecDef, 0x0800, 625); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` 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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | #[doc("This is a Bluetooth Specification defined default value")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/receiver.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | interval!( ScanningInterval, 0x0004, 0x4000, SpecDef, 0x0010, 625); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | #[doc("This is a Bluetooth Specification defined default value")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/receiver.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | interval!( ScanningWindow, 0x0004, 0x4000, SpecDef, 0x0010, 625); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | #[doc("This is a default value defined by the API, the Bluetooth Specification")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/connection.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | interval!( #[derive(Clone, Copy)] ConnectionInterval, 0x0006, 0x0C80, ApiDef, 0x0006, 1250); [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | #[doc("does not specify a default for this interval")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/connection.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | interval!( #[derive(Clone, Copy)] ConnectionInterval, 0x0006, 0x0C80, ApiDef, 0x0006, 1250); [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | #[doc("This is a Bluetooth Specification defined default value")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/connection.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | interval!(ScanningInterval, 0x0004, 0x4000, SpecDef, 0x0010, 625); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: invalid `doc` attribute [INFO] [stdout] --> src/hci/le/common.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | #[doc("This is a Bluetooth Specification defined default value")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hci/le/connection.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | interval!(ScanningWindow, 0x0004, 0x4000, SpecDef, 0x0010, 625); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [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 #82730 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_address` [INFO] [stdout] --> src/hci/common.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 824 | let string_address = "4A:bc:19:3:99:C0"; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numeric_address` [INFO] [stdout] --> src/hci/common.rs:826:13 [INFO] [stdout] | [INFO] [stdout] 826 | let numeric_address = [0x4au8, 0xbc, 0x19, 0x3, 0x99, 0xc0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numeric_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `encryption_key_size_max` [INFO] [stdout] --> src/sm/initiator.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | encryption_key_size_max: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2dc9808083b076193318d9297af2b8cd597622ea1db90e717269a6c82c06aa40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dc9808083b076193318d9297af2b8cd597622ea1db90e717269a6c82c06aa40", kill_on_drop: false }` [INFO] [stdout] 2dc9808083b076193318d9297af2b8cd597622ea1db90e717269a6c82c06aa40