[INFO] cloning repository https://github.com/TangoRain/ble [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TangoRain/ble" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTangoRain%2Fble", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTangoRain%2Fble'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] effab2f82fa6387b1238c9c0f78d8df73931e03a [INFO] checking TangoRain/ble against try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTangoRain%2Fble" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TangoRain/ble [INFO] finished tweaking git repo https://github.com/TangoRain/ble [INFO] tweaked toml for git repo https://github.com/TangoRain/ble written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TangoRain/ble on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TangoRain/ble 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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "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 serde_derive v1.0.226 [INFO] [stderr] Downloaded serde v1.0.226 [INFO] [stderr] Downloaded serde_core v1.0.226 [INFO] [stderr] Downloaded bluer v0.17.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f43d065ea96533614d82eb95a5b659be7a92334a454ec7d899d51dae540a55e [INFO] running `Command { std: "docker" "start" "-a" "6f43d065ea96533614d82eb95a5b659be7a92334a454ec7d899d51dae540a55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f43d065ea96533614d82eb95a5b659be7a92334a454ec7d899d51dae540a55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f43d065ea96533614d82eb95a5b659be7a92334a454ec7d899d51dae540a55e", kill_on_drop: false }` [INFO] [stdout] 6f43d065ea96533614d82eb95a5b659be7a92334a454ec7d899d51dae540a55e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d08adedda5dd9546ef592b84423f4f064d0508cf2296d7b95f3d397d6e4a5b75 [INFO] running `Command { std: "docker" "start" "-a" "d08adedda5dd9546ef592b84423f4f064d0508cf2296d7b95f3d397d6e4a5b75", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking macaddr v1.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling bluer v0.17.4 [INFO] [stderr] Checking ble v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `bluer::adv` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use bluer::adv::{Advertisement, AdvertisementType}; [INFO] [stdout] | ^^^ could not find `adv` in `bluer` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bluer-0.17.4/src/lib.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 523 | #[cfg(feature = "bluetoothd")] [INFO] [stdout] | ---------------------- the item is gated behind the `bluetoothd` feature [INFO] [stdout] 524 | #[cfg_attr(docsrs, doc(cfg(feature = "bluetoothd")))] [INFO] [stdout] 525 | pub mod adv; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bluer::Session` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bluer::Session; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Session` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `main` in `tokio` [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main(flavor = "current_thread")] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bluer::adv` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use bluer::adv::{Advertisement, AdvertisementType}; [INFO] [stdout] | ^^^ could not find `adv` in `bluer` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bluer-0.17.4/src/lib.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 523 | #[cfg(feature = "bluetoothd")] [INFO] [stdout] | ---------------------- the item is gated behind the `bluetoothd` feature [INFO] [stdout] 524 | #[cfg_attr(docsrs, doc(cfg(feature = "bluetoothd")))] [INFO] [stdout] 525 | pub mod adv; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bluer::Session` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bluer::Session; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Session` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `main` in `tokio` [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main(flavor = "current_thread")] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `signal` in `tokio` [INFO] [stdout] --> src/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let _ = tokio::signal::ctrl_c().await; [INFO] [stdout] | ^^^^^^ could not find `signal` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/lib.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | pub mod signal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/macros/cfg.rs:408:19 [INFO] [stdout] | [INFO] [stdout] 408 | #[cfg(feature = "signal")] [INFO] [stdout] | ------------------ the item is gated behind the `signal` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/lib.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | pub(crate) mod signal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/macros/cfg.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | #[cfg(any(feature = "signal", all(unix, feature = "process")))] [INFO] [stdout] | ---------------------------------------------------- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Result` in crate `bluer` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> bluer::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `bluer` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bluer-0.17.4/src/lib.rs:831:10 [INFO] [stdout] | [INFO] [stdout] 829 | #[cfg(feature = "bluetoothd")] [INFO] [stdout] | ---------------------- the item is gated behind the `bluetoothd` feature [INFO] [stdout] 830 | #[cfg_attr(docsrs, doc(cfg(feature = "bluetoothd")))] [INFO] [stdout] 831 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - async fn main() -> bluer::Result<()> { [INFO] [stdout] 6 + async fn main() -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `signal` in `tokio` [INFO] [stdout] --> src/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let _ = tokio::signal::ctrl_c().await; [INFO] [stdout] | ^^^^^^ could not find `signal` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/lib.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | pub mod signal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/macros/cfg.rs:408:19 [INFO] [stdout] | [INFO] [stdout] 408 | #[cfg(feature = "signal")] [INFO] [stdout] | ------------------ the item is gated behind the `signal` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/lib.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | pub(crate) mod signal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/macros/cfg.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | #[cfg(any(feature = "signal", all(unix, feature = "process")))] [INFO] [stdout] | ---------------------------------------------------- the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Result` in crate `bluer` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> bluer::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `bluer` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bluer-0.17.4/src/lib.rs:831:10 [INFO] [stdout] | [INFO] [stdout] 829 | #[cfg(feature = "bluetoothd")] [INFO] [stdout] | ---------------------- the item is gated behind the `bluetoothd` feature [INFO] [stdout] 830 | #[cfg_attr(docsrs, doc(cfg(feature = "bluetoothd")))] [INFO] [stdout] 831 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - async fn main() -> bluer::Result<()> { [INFO] [stdout] 6 + async fn main() -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> bluer::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ble` (bin "ble" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ble` (bin "ble") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "d08adedda5dd9546ef592b84423f4f064d0508cf2296d7b95f3d397d6e4a5b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d08adedda5dd9546ef592b84423f4f064d0508cf2296d7b95f3d397d6e4a5b75", kill_on_drop: false }` [INFO] [stdout] d08adedda5dd9546ef592b84423f4f064d0508cf2296d7b95f3d397d6e4a5b75