[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] testing gpace1/bo-tie against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpace1%2Fbo-tie" "/workspace/builds/worker-80/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-80/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gpace1/bo-tie on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-80/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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" "+1.55.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typenum v1.14.0 [INFO] [stderr] Downloaded simplelog v0.6.0 [INFO] [stderr] Downloaded crypto-bigint v0.2.6 [INFO] [stderr] Downloaded elliptic-curve v0.10.6 [INFO] [stderr] Downloaded ff v0.10.1 [INFO] [stderr] Downloaded futures-io v0.3.17 [INFO] [stderr] Downloaded futures-executor v0.3.17 [INFO] [stderr] Downloaded futures v0.3.17 [INFO] [stderr] Downloaded ecdsa v0.12.4 [INFO] [stderr] Downloaded der v0.4.1 [INFO] [stderr] Downloaded aes v0.7.5 [INFO] [stderr] Downloaded spki v0.4.0 [INFO] [stderr] Downloaded p256 v0.9.0 [INFO] [stderr] Downloaded pkcs8 v0.7.5 [INFO] [stderr] Downloaded simple-signal v1.1.1 [INFO] [stderr] Downloaded const-oid v0.6.0 [INFO] [stderr] Downloaded crypto-mac v0.11.1 [INFO] [stderr] Downloaded sha2 v0.9.8 [INFO] [stderr] Downloaded group v0.10.0 [INFO] [stderr] Downloaded cpufeatures v0.2.1 [INFO] [stderr] Downloaded async-timer v0.6.3 [INFO] [stderr] Downloaded tinymt v1.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba1a315d7c16b44a2d38f8349f0e90e61962de1ca1b7ad91e0b27df80bd217f2 [INFO] running `Command { std: "docker" "start" "-a" "ba1a315d7c16b44a2d38f8349f0e90e61962de1ca1b7ad91e0b27df80bd217f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba1a315d7c16b44a2d38f8349f0e90e61962de1ca1b7ad91e0b27df80bd217f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1a315d7c16b44a2d38f8349f0e90e61962de1ca1b7ad91e0b27df80bd217f2", kill_on_drop: false }` [INFO] [stdout] ba1a315d7c16b44a2d38f8349f0e90e61962de1ca1b7ad91e0b27df80bd217f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be2791279047239644f1b44103d3319e781953e9723ec9b71c1899096a9c3164 [INFO] running `Command { std: "docker" "start" "-a" "be2791279047239644f1b44103d3319e781953e9723ec9b71c1899096a9c3164", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling const-oid v0.6.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling der v0.4.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling spki v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pkcs8 v0.7.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling crypto-bigint v0.2.6 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling p256 v0.9.0 [INFO] [stderr] Compiling bo-tie-macros v0.1.0 (/opt/rustwide/workdir/bo-tie-macros) [INFO] [stderr] Compiling bo-tie v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "be2791279047239644f1b44103d3319e781953e9723ec9b71c1899096a9c3164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2791279047239644f1b44103d3319e781953e9723ec9b71c1899096a9c3164", kill_on_drop: false }` [INFO] [stdout] be2791279047239644f1b44103d3319e781953e9723ec9b71c1899096a9c3164 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad6d7d4427a27b2c28257e53a4c7028b10bc7f1f29f4795334a2c418f11477c7 [INFO] running `Command { std: "docker" "start" "-a" "ad6d7d4427a27b2c28257e53a4c7028b10bc7f1f29f4795334a2c418f11477c7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling simple-signal v1.1.1 [INFO] [stderr] Compiling async-timer v0.6.3 [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling bo-tie-linux v0.1.0 (/opt/rustwide/workdir/base-crates/bo-tie-linux) [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling simplelog v0.6.0 [INFO] [stderr] Compiling tinymt v1.0.6 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling bo-tie v0.1.0 (/opt/rustwide/workdir) [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: 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[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] [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 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: 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: 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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 93 | Err(no_match) => std::panic::panic_any(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: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] 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 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] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | #![cfg_attr(test, feature(test))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: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] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand::rng::Rng;` [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] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand::rng::Rng;` [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] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand::rng::Rng;` [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] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand_core::SeedableRng;` [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 8 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ad6d7d4427a27b2c28257e53a4c7028b10bc7f1f29f4795334a2c418f11477c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad6d7d4427a27b2c28257e53a4c7028b10bc7f1f29f4795334a2c418f11477c7", kill_on_drop: false }` [INFO] [stdout] ad6d7d4427a27b2c28257e53a4c7028b10bc7f1f29f4795334a2c418f11477c7