[INFO] cloning repository https://github.com/thalesmg/bluetooth-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thalesmg/bluetooth-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthalesmg%2Fbluetooth-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthalesmg%2Fbluetooth-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38ace6a7f922c261530da8f21ac48aa5306f7aea [INFO] checking thalesmg/bluetooth-experiments against try#9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthalesmg%2Fbluetooth-experiments" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thalesmg/bluetooth-experiments [INFO] finished tweaking git repo https://github.com/thalesmg/bluetooth-experiments [INFO] tweaked toml for git repo https://github.com/thalesmg/bluetooth-experiments written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thalesmg/bluetooth-experiments on toolchain 9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thalesmg/bluetooth-experiments already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b62fcc7f130a182f552bd767d1f50e4ceae9d961e73fa0cdf585f16bba618709 [INFO] running `Command { std: "docker" "start" "-a" "b62fcc7f130a182f552bd767d1f50e4ceae9d961e73fa0cdf585f16bba618709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b62fcc7f130a182f552bd767d1f50e4ceae9d961e73fa0cdf585f16bba618709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b62fcc7f130a182f552bd767d1f50e4ceae9d961e73fa0cdf585f16bba618709", kill_on_drop: false }` [INFO] [stdout] b62fcc7f130a182f552bd767d1f50e4ceae9d961e73fa0cdf585f16bba618709 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7ab1f59a0dc4ae91cbbf5340481c75617ffa7dbf6ba0aaca5a4ee3a8f6756b9 [INFO] running `Command { std: "docker" "start" "-a" "b7ab1f59a0dc4ae91cbbf5340481c75617ffa7dbf6ba0aaca5a4ee3a8f6756b9", kill_on_drop: false }` [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustc-hash v2.1.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bluetooth-experiments v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `libc::uint8_t` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::uint8_t; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::uint8_t` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::uint8_t; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bt_socket` should have an upper camel case name [INFO] [stdout] --> src/main.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 65 | type bt_socket = i32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BtSocket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `timeout` should have an upper camel case name [INFO] [stdout] --> src/main.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | type timeout = i32; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/main.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | extern { fn bah(lap: *const u8) -> u8; } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bt_socket` should have an upper camel case name [INFO] [stdout] --> src/main.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 65 | type bt_socket = i32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BtSocket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `timeout` should have an upper camel case name [INFO] [stdout] --> src/main.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | type timeout = i32; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/main.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | extern { fn bah(lap: *const u8) -> u8; } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::uint8_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::uint8_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 204 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 205 | [INFO] [stdout] 206 | let mut inquiry_mode: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 204 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 205 | [INFO] [stdout] 206 | let mut inquiry_mode: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResetRp` is never constructed [INFO] [stdout] --> src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct ResetRp { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hci_reset` is never used [INFO] [stdout] --> src/main.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe fn hci_reset(bt_socket: bt_socket, timeout: timeout) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResetRp` is never constructed [INFO] [stdout] --> src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct ResetRp { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hci_reset` is never used [INFO] [stdout] --> src/main.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe fn hci_reset(bt_socket: bt_socket, timeout: timeout) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.14s [INFO] running `Command { std: "docker" "inspect" "b7ab1f59a0dc4ae91cbbf5340481c75617ffa7dbf6ba0aaca5a4ee3a8f6756b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7ab1f59a0dc4ae91cbbf5340481c75617ffa7dbf6ba0aaca5a4ee3a8f6756b9", kill_on_drop: false }` [INFO] [stdout] b7ab1f59a0dc4ae91cbbf5340481c75617ffa7dbf6ba0aaca5a4ee3a8f6756b9