[INFO] fetching crate lego-powered-up 0.3.0... [INFO] building lego-powered-up-0.3.0 against try#f41a2ab7b0d9462073425dd6c04abbeb4805cb77 for pr-97334-2 [INFO] extracting crate lego-powered-up 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate lego-powered-up 0.3.0 on toolchain f41a2ab7b0d9462073425dd6c04abbeb4805cb77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lego-powered-up 0.3.0 [INFO] finished tweaking crates.io crate lego-powered-up 0.3.0 [INFO] tweaked toml for crates.io crate lego-powered-up 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "fetch" "--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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76bfc61b167cb9ef585978ebf7af39088adbbceb3598e90bf01a89b27e2aa495 [INFO] running `Command { std: "docker" "start" "-a" "76bfc61b167cb9ef585978ebf7af39088adbbceb3598e90bf01a89b27e2aa495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76bfc61b167cb9ef585978ebf7af39088adbbceb3598e90bf01a89b27e2aa495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76bfc61b167cb9ef585978ebf7af39088adbbceb3598e90bf01a89b27e2aa495", kill_on_drop: false }` [INFO] [stdout] 76bfc61b167cb9ef585978ebf7af39088adbbceb3598e90bf01a89b27e2aa495 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6280b56f17ef3685e9f90bf6281cd045804ca7536ea893c1c14d5c6f0f52204 [INFO] running `Command { std: "docker" "start" "-a" "d6280b56f17ef3685e9f90bf6281cd045804ca7536ea893c1c14d5c6f0f52204", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling libdbus-sys v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling async-trait v0.1.63 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling uuid v1.2.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling dashmap v5.4.0 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling lpu-macros v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling bluez-generated v0.2.1 [INFO] [stderr] Compiling dbus-tokio v0.7.5 [INFO] [stderr] Compiling serde-xml-rs v0.5.1 [INFO] [stderr] Compiling bluez-async v0.6.0 [INFO] [stderr] Compiling btleplug v0.10.4 [INFO] [stderr] Compiling lego-powered-up v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:886:13: Broken MIR: generator contains type DiscoveredHub in MIR, but typeck only knows about {ResumeTy, &mut PoweredUp, &mut PoweredUp, HubFilter, PoweredUp, Pin + std::marker::Send>>, btleplug::Error>> + std::marker::Send>>, (), Pin + std::marker::Send>>, Pin> + std::marker::Send>>, Next<'_, Pin + std::marker::Send>>>, Option, CentralEvent, bool, !, PeripheralId, Pin> + std::marker::Send>>, btleplug::platform::Peripheral, Pin, btleplug::Error>> + std::marker::Send>>, PeripheralProperties, impl futures::Future, error::Error>>, ControlFlow, Option>, Option, HubType} and [&mut PoweredUp, HubFilter] [INFO] [stdout] --> src/lib.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | ) -> Result { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 104 | | let mut events = self.adapter.events().await?; [INFO] [stdout] 105 | | self.adapter.start_scan(ScanFilter::default()).await?; [INFO] [stdout] 106 | | while let Some(event) = events.next().await { [INFO] [stdout] ... | [INFO] [stdout] 126 | | panic!() [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/compiler/rustc_errors/src/lib.rs:987:33 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f9cdef2c5aa - std::backtrace_rs::backtrace::libunwind::trace::he4689b9bf0d267e8 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7f9cdef2c5aa - std::backtrace_rs::backtrace::trace_unsynchronized::h7db6fc4f57b4e02e [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f9cdef2c5aa - std::sys_common::backtrace::_print_fmt::hb88055ecb7d9db4d [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stderr] 3: 0x7f9cdef2c5aa - ::fmt::h2e136ef0d94e5f36 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x7f9cdef8e3ce - core::fmt::write::hc5277946f874879b [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/core/src/fmt/mod.rs:1213:17 [INFO] [stderr] 5: 0x7f9cdef1cbf5 - std::io::Write::write_fmt::h23b8a9c043f88fc8 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/io/mod.rs:1682:15 [INFO] [stderr] 6: 0x7f9cdef2c375 - std::sys_common::backtrace::_print::hcea3fbc97811d19b [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 7: 0x7f9cdef2c375 - std::sys_common::backtrace::print::h03de668ee41765f6 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 8: 0x7f9cdef2f13f - std::panicking::default_hook::{{closure}}::h86769ade6898c211 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/panicking.rs:267:22 [INFO] [stderr] 9: 0x7f9cdef2ee7b - std::panicking::default_hook::h478db07ae5c8a032 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/panicking.rs:286:9 [INFO] [stderr] 10: 0x7f9ce22791f4 - rustc_driver[f1aa01db1e37f449]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7f9cdef2f97a - as core::ops::function::Fn>::call::h3022ed11137f8e0d [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/alloc/src/boxed.rs:2002:9 [INFO] [stderr] 12: 0x7f9cdef2f97a - std::panicking::rust_panic_with_hook::hf3045f8495ef3859 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/panicking.rs:692:13 [INFO] [stderr] 13: 0x7f9ce29612f1 - std[3bdecb0c8ecd14da]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 14: 0x7f9ce295a546 - std[3bdecb0c8ecd14da]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 15: 0x7f9ce2959916 - std[3bdecb0c8ecd14da]::panicking::begin_panic:: [INFO] [stderr] 16: 0x7f9ce28e9b86 - std[3bdecb0c8ecd14da]::panic::panic_any:: [INFO] [stderr] 17: 0x7f9ce28e9282 - ::span_bug:: [INFO] [stderr] 18: 0x7f9ce28e9047 - ::span_bug:: [INFO] [stderr] 19: 0x7f9ce28f972b - rustc_middle[33f52453f62b8a74]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 20: 0x7f9ce28f977a - rustc_middle[33f52453f62b8a74]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 21: 0x7f9ce28f3db6 - rustc_middle[33f52453f62b8a74]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 22: 0x7f9ce28f3756 - rustc_middle[33f52453f62b8a74]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 23: 0x7f9ce0f8e824 - rustc_middle[33f52453f62b8a74]::util::bug::span_bug_fmt:: [INFO] [stderr] 24: 0x7f9ce2941fed - ::run_pass [INFO] [stderr] 25: 0x7f9ce16134ef - rustc_mir_transform[a3aac88746df194f]::run_analysis_to_runtime_passes [INFO] [stderr] 26: 0x7f9ce1611e12 - rustc_mir_transform[a3aac88746df194f]::mir_drops_elaborated_and_const_checked [INFO] [stderr] 27: 0x7f9ce1610681 - rustc_query_system[9a602e4fb45c3e8e]::query::plumbing::try_execute_query:: [INFO] [stderr] 28: 0x7f9ce0fd6a9c - rustc_mir_transform[a3aac88746df194f]::optimized_mir [INFO] [stderr] 29: 0x7f9ce0fce492 - rustc_query_system[9a602e4fb45c3e8e]::query::plumbing::try_execute_query:: [INFO] [stderr] 30: 0x7f9ce0c7edba - ::encode_crate_root [INFO] [stderr] 31: 0x7f9ce15165e9 - rustc_metadata[5e40150fe1effbe9]::rmeta::encoder::encode_metadata_impl [INFO] [stderr] 32: 0x7f9ce1502f0e - rustc_data_structures[f7c0e2d9bf25dc9d]::sync::join:: [INFO] [stderr] 33: 0x7f9ce1502c21 - rustc_metadata[5e40150fe1effbe9]::rmeta::encoder::encode_metadata [INFO] [stderr] 34: 0x7f9ce15020a3 - rustc_metadata[5e40150fe1effbe9]::fs::encode_and_write_metadata [INFO] [stderr] 35: 0x7f9ce14a876e - rustc_interface[5699c3eb65aed116]::passes::start_codegen [INFO] [stderr] 36: 0x7f9ce14a7d5a - ::ongoing_codegen [INFO] [stderr] 37: 0x7f9ce14a1a59 - rustc_span[62ff21892c07fa4a]::with_source_map::, rustc_interface[5699c3eb65aed116]::interface::run_compiler, rustc_driver[f1aa01db1e37f449]::run_compiler::{closure#1}>::{closure#0}::{closure#0}> [INFO] [stderr] 38: 0x7f9ce149a444 - >::set::, rustc_driver[f1aa01db1e37f449]::run_compiler::{closure#1}>::{closure#0}, core[7003a2a95858711e]::result::Result<(), rustc_errors[ca02ac81c3b0595a]::ErrorGuaranteed>> [INFO] [stderr] 39: 0x7f9ce1499b42 - std[3bdecb0c8ecd14da]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[f1aa01db1e37f449]::run_compiler::{closure#1}>::{closure#0}, core[7003a2a95858711e]::result::Result<(), rustc_errors[ca02ac81c3b0595a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7003a2a95858711e]::result::Result<(), rustc_errors[ca02ac81c3b0595a]::ErrorGuaranteed>> [INFO] [stderr] 40: 0x7f9ce14998ea - <::spawn_unchecked_, rustc_driver[f1aa01db1e37f449]::run_compiler::{closure#1}>::{closure#0}, core[7003a2a95858711e]::result::Result<(), rustc_errors[ca02ac81c3b0595a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7003a2a95858711e]::result::Result<(), rustc_errors[ca02ac81c3b0595a]::ErrorGuaranteed>>::{closure#1} as core[7003a2a95858711e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 41: 0x7f9cdef39833 - as core::ops::function::FnOnce>::call_once::h1eb5a4db36ae6f94 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/alloc/src/boxed.rs:1988:9 [INFO] [stderr] 42: 0x7f9cdef39833 - as core::ops::function::FnOnce>::call_once::hf66a149b3d11b3c4 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/alloc/src/boxed.rs:1988:9 [INFO] [stderr] 43: 0x7f9cdef39833 - std::sys::unix::thread::Thread::new::thread_start::h9dc07d35af43bf11 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 44: 0x7f9cdec65b43 - [INFO] [stderr] 45: 0x7f9cdecf6bb4 - __clone [INFO] [stderr] 46: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.69.0-nightly (f41a2ab7b 2023-01-24) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_drops_elaborated_and_const_checked] elaborating drops for `::wait_for_hub_filter::{closure#0}` [INFO] [stderr] #1 [optimized_mir] optimizing MIR for `::wait_for_hub_filter::{closure#0}` [INFO] [stderr] end of query stack [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lego-powered-up` due to previous error [INFO] running `Command { std: "docker" "inspect" "d6280b56f17ef3685e9f90bf6281cd045804ca7536ea893c1c14d5c6f0f52204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6280b56f17ef3685e9f90bf6281cd045804ca7536ea893c1c14d5c6f0f52204", kill_on_drop: false }` [INFO] [stdout] d6280b56f17ef3685e9f90bf6281cd045804ca7536ea893c1c14d5c6f0f52204