[INFO] fetching crate btle 0.1.2... [INFO] checking btle-0.1.2 against try#f88e9a4452e792c29632101b348a1df9876d45cd for pr-70087 [INFO] extracting crate btle 0.1.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate btle 0.1.2 on toolchain f88e9a4452e792c29632101b348a1df9876d45cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate btle 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate btle 0.1.2 [INFO] tweaked toml for crates.io crate btle 0.1.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate btle 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0a8dde61d19f217cf84b2b397c5f1b72bd6e62763fbe45e287f1f6522cab9436 [INFO] running `"docker" "start" "-a" "0a8dde61d19f217cf84b2b397c5f1b72bd6e62763fbe45e287f1f6522cab9436"` [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking btle v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | nix::ioctl_write_int!(hci_device_up, b'H', 201); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | nix::ioctl_write_int!(hci_device_down, b'H', 202); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | nix::ioctl_write_int!(hci_device_reset, b'H', 203); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | nix::ioctl_write_int!(hci_device_stats, b'H', 204); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | nix::ioctl_read!(hci_get_dev_list, b'H', 210, super::HCIDevListReq); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | nix::ioctl_read!(hci_get_dev_info, b'H', 211, super::HCIDevInfo); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | family: libc::sa_family_t, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:120:26 [INFO] [stderr] | [INFO] [stderr] 120 | Err(handle_errno(nix::errno::errno())) [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:152:13 [INFO] [stderr] | [INFO] [stderr] 152 | libc::socket( [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:153:17 [INFO] [stderr] | [INFO] [stderr] 153 | libc::AF_BLUETOOTH, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:154:17 [INFO] [stderr] | [INFO] [stderr] 154 | libc::SOCK_RAW | libc::SOCK_CLOEXEC, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:154:34 [INFO] [stderr] | [INFO] [stderr] 154 | libc::SOCK_RAW | libc::SOCK_CLOEXEC, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:159:21 [INFO] [stderr] | [INFO] [stderr] 159 | family: libc::AF_BLUETOOTH as u16, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:164:13 [INFO] [stderr] | [INFO] [stderr] 164 | libc::bind( [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:166:58 [INFO] [stderr] | [INFO] [stderr] 166 | &address as *const SockaddrHCI as *const libc::sockaddr, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:202:13 [INFO] [stderr] | [INFO] [stderr] 202 | libc::setsockopt( [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:206:61 [INFO] [stderr] | [INFO] [stderr] 206 | filter_bytes.as_mut_ptr() as *mut _ as *mut libc::c_void, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:219:13 [INFO] [stderr] | [INFO] [stderr] 219 | libc::getsockopt( [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:223:52 [INFO] [stderr] | [INFO] [stderr] 223 | buf.as_mut_ptr() as *mut _ as *mut libc::c_void, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:240:29 [INFO] [stderr] | [INFO] [stderr] 240 | fn hci_to_socket_error(err: nix::Error) -> HCISocketError { [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | nix::Error::Sys(i) => handle_errno(i as i32), [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:243:9 [INFO] [stderr] | [INFO] [stderr] 243 | nix::Error::InvalidPath | nix::Error::InvalidUtf8 => panic!("bad nix path"), [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:243:35 [INFO] [stderr] | [INFO] [stderr] 243 | nix::Error::InvalidPath | nix::Error::InvalidUtf8 => panic!("bad nix path"), [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:244:9 [INFO] [stderr] | [INFO] [stderr] 244 | nix::Error::UnsupportedOperation => HCISocketError::Unsupported, [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:254:17 [INFO] [stderr] | [INFO] [stderr] 254 | libc::socket( [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:255:21 [INFO] [stderr] | [INFO] [stderr] 255 | libc::AF_BLUETOOTH, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:256:21 [INFO] [stderr] | [INFO] [stderr] 256 | libc::SOCK_RAW | libc::SOCK_CLOEXEC, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:256:38 [INFO] [stderr] | [INFO] [stderr] 256 | libc::SOCK_RAW | libc::SOCK_CLOEXEC, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:280:60 [INFO] [stderr] | [INFO] [stderr] 280 | ioctl::hci_device_down(ctl_fd, adapter_id.0 as nix::sys::ioctl::ioctl_param_type) [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:287:58 [INFO] [stderr] | [INFO] [stderr] 287 | ioctl::hci_device_up(ctl_fd, adapter_id.0 as nix::sys::ioctl::ioctl_param_type) [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `hci_device_down` in module `ioctl` [INFO] [stderr] --> src/hci/socket.rs:280:20 [INFO] [stderr] | [INFO] [stderr] 280 | ioctl::hci_device_down(ctl_fd, adapter_id.0 as nix::sys::ioctl::ioctl_param_type) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `hci_device_up` in module `ioctl` [INFO] [stderr] --> src/hci/socket.rs:287:20 [INFO] [stderr] | [INFO] [stderr] 287 | ioctl::hci_device_up(ctl_fd, adapter_id.0 as nix::sys::ioctl::ioctl_param_type) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | nix::ioctl_write_int!(hci_device_up, b'H', 201); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | nix::ioctl_write_int!(hci_device_down, b'H', 202); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | nix::ioctl_write_int!(hci_device_reset, b'H', 203); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | nix::ioctl_write_int!(hci_device_stats, b'H', 204); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | nix::ioctl_read!(hci_get_dev_list, b'H', 210, super::HCIDevListReq); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | nix::ioctl_read!(hci_get_dev_info, b'H', 211, super::HCIDevInfo); [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/hci/mod.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | pub const MAX_ACL_SIZE: usize = (1492 + 4); [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | family: libc::sa_family_t, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:120:26 [INFO] [stderr] | [INFO] [stderr] 120 | Err(handle_errno(nix::errno::errno())) [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:152:13 [INFO] [stderr] | [INFO] [stderr] 152 | libc::socket( [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:153:17 [INFO] [stderr] | [INFO] [stderr] 153 | libc::AF_BLUETOOTH, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:154:17 [INFO] [stderr] | [INFO] [stderr] 154 | libc::SOCK_RAW | libc::SOCK_CLOEXEC, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:154:34 [INFO] [stderr] | [INFO] [stderr] 154 | libc::SOCK_RAW | libc::SOCK_CLOEXEC, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:159:21 [INFO] [stderr] | [INFO] [stderr] 159 | family: libc::AF_BLUETOOTH as u16, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:164:13 [INFO] [stderr] | [INFO] [stderr] 164 | libc::bind( [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:166:58 [INFO] [stderr] | [INFO] [stderr] 166 | &address as *const SockaddrHCI as *const libc::sockaddr, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:202:13 [INFO] [stderr] | [INFO] [stderr] 202 | libc::setsockopt( [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:206:61 [INFO] [stderr] | [INFO] [stderr] 206 | filter_bytes.as_mut_ptr() as *mut _ as *mut libc::c_void, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:219:13 [INFO] [stderr] | [INFO] [stderr] 219 | libc::getsockopt( [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:223:52 [INFO] [stderr] | [INFO] [stderr] 223 | buf.as_mut_ptr() as *mut _ as *mut libc::c_void, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:240:29 [INFO] [stderr] | [INFO] [stderr] 240 | fn hci_to_socket_error(err: nix::Error) -> HCISocketError { [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | nix::Error::Sys(i) => handle_errno(i as i32), [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:243:9 [INFO] [stderr] | [INFO] [stderr] 243 | nix::Error::InvalidPath | nix::Error::InvalidUtf8 => panic!("bad nix path"), [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:243:35 [INFO] [stderr] | [INFO] [stderr] 243 | nix::Error::InvalidPath | nix::Error::InvalidUtf8 => panic!("bad nix path"), [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:244:9 [INFO] [stderr] | [INFO] [stderr] 244 | nix::Error::UnsupportedOperation => HCISocketError::Unsupported, [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:254:17 [INFO] [stderr] | [INFO] [stderr] 254 | libc::socket( [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:255:21 [INFO] [stderr] | [INFO] [stderr] 255 | libc::AF_BLUETOOTH, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:256:21 [INFO] [stderr] | [INFO] [stderr] 256 | libc::SOCK_RAW | libc::SOCK_CLOEXEC, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libc` [INFO] [stderr] --> src/hci/socket.rs:256:38 [INFO] [stderr] | [INFO] [stderr] 256 | libc::SOCK_RAW | libc::SOCK_CLOEXEC, [INFO] [stderr] | ^^^^ use of undeclared type or module `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:280:60 [INFO] [stderr] | [INFO] [stderr] 280 | ioctl::hci_device_down(ctl_fd, adapter_id.0 as nix::sys::ioctl::ioctl_param_type) [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `nix` [INFO] [stderr] --> src/hci/socket.rs:287:58 [INFO] [stderr] | [INFO] [stderr] 287 | ioctl::hci_device_up(ctl_fd, adapter_id.0 as nix::sys::ioctl::ioctl_param_type) [INFO] [stderr] | ^^^ use of undeclared type or module `nix` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `hci_device_down` in module `ioctl` [INFO] [stderr] --> src/hci/socket.rs:280:20 [INFO] [stderr] | [INFO] [stderr] 280 | ioctl::hci_device_down(ctl_fd, adapter_id.0 as nix::sys::ioctl::ioctl_param_type) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `hci_device_up` in module `ioctl` [INFO] [stderr] --> src/hci/socket.rs:287:20 [INFO] [stderr] | [INFO] [stderr] 287 | ioctl::hci_device_up(ctl_fd, adapter_id.0 as nix::sys::ioctl::ioctl_param_type) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/hci/mod.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | pub const MAX_ACL_SIZE: usize = (1492 + 4); [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 32 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `btle`. [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] [stderr] error: aborting due to 32 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `btle`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0a8dde61d19f217cf84b2b397c5f1b72bd6e62763fbe45e287f1f6522cab9436"` [INFO] running `"docker" "rm" "-f" "0a8dde61d19f217cf84b2b397c5f1b72bd6e62763fbe45e287f1f6522cab9436"` [INFO] [stdout] 0a8dde61d19f217cf84b2b397c5f1b72bd6e62763fbe45e287f1f6522cab9436