[INFO] fetching crate chashmap-async 0.1.0... [INFO] checking chashmap-async-0.1.0 against master#1e225413a21fa69570bd3fefea9eb05e33f8b917 for pr-107421 [INFO] extracting crate chashmap-async 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate chashmap-async 0.1.0 on toolchain 1e225413a21fa69570bd3fefea9eb05e33f8b917 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1e225413a21fa69570bd3fefea9eb05e33f8b917" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chashmap-async 0.1.0 [INFO] finished tweaking crates.io crate chashmap-async 0.1.0 [INFO] tweaked toml for crates.io crate chashmap-async 0.1.0 written to /workspace/builds/worker-6-tc1/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" "+1e225413a21fa69570bd3fefea9eb05e33f8b917" "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" "+1e225413a21fa69570bd3fefea9eb05e33f8b917" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owning_ref_async v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1e225413a21fa69570bd3fefea9eb05e33f8b917" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45b09f96e957e91b461940600609a4c8cc20b324c07364cc0ec27b47a04fa56f [INFO] running `Command { std: "docker" "start" "-a" "45b09f96e957e91b461940600609a4c8cc20b324c07364cc0ec27b47a04fa56f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45b09f96e957e91b461940600609a4c8cc20b324c07364cc0ec27b47a04fa56f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b09f96e957e91b461940600609a4c8cc20b324c07364cc0ec27b47a04fa56f", kill_on_drop: false }` [INFO] [stdout] 45b09f96e957e91b461940600609a4c8cc20b324c07364cc0ec27b47a04fa56f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1e225413a21fa69570bd3fefea9eb05e33f8b917" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 642b2b3f56c29036e8bfa8afe04c5b6c81267b53f551c23044038d870d4687fb [INFO] running `Command { std: "docker" "start" "-a" "642b2b3f56c29036e8bfa8afe04c5b6c81267b53f551c23044038d870d4687fb", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Checking owning_ref_async v0.4.5 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking async-lock v2.6.0 [INFO] [stderr] Checking chashmap-async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:895:9: Broken MIR: generator contains type [&Bucket] in MIR, but typeck only knows about {ResumeTy, &CHashMap, F, CHashMap, &async_lock::RwLock>, async_lock::RwLock>, impl Future>>, (), async_lock::RwLockReadGuard<'_, Table>, Table, Vec>>, &Vec>>, std::slice::Iter<'_, async_lock::RwLock>>, std::slice::Iter<'_, async_lock::RwLock>>, &mut std::slice::Iter<'_, async_lock::RwLock>>, Option<&async_lock::RwLock>>, &async_lock::RwLock>, impl Future>>, RwLockUpgradableReadGuard<'_, Bucket>, &RwLockUpgradableReadGuard<'_, Bucket>, Bucket, &K, &V, impl Future>>} and [&CHashMap, F] [INFO] [stdout] --> src/lib.rs:763:5 [INFO] [stdout] | [INFO] [stdout] 763 | / { [INFO] [stdout] 764 | | // Acquire the read lock to the table. [INFO] [stdout] 765 | | let table = self.table.read().await; [INFO] [stdout] 766 | | // Run over every bucket and apply the filter. [INFO] [stdout] ... | [INFO] [stdout] 784 | | } [INFO] [stdout] 785 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/compiler/rustc_errors/src/lib.rs:988:33 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7ff596a7936a - std::backtrace_rs::backtrace::libunwind::trace::he9d18c23e3bb5a09 [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7ff596a7936a - std::backtrace_rs::backtrace::trace_unsynchronized::h156aebe1e55b83b4 [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7ff596a7936a - std::sys_common::backtrace::_print_fmt::h5086af79fa230955 [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stderr] 3: 0x7ff596a7936a - ::fmt::h40e2f9b481a329b0 [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x7ff596adb52e - core::fmt::write::h0e08990e72fa4772 [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/core/src/fmt/mod.rs:1232:17 [INFO] [stderr] 5: 0x7ff596a69ab5 - std::io::Write::write_fmt::h18ca26d57a4d6643 [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/std/src/io/mod.rs:1682:15 [INFO] [stderr] 6: 0x7ff596a79135 - std::sys_common::backtrace::_print::h5578c8ed44871608 [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 7: 0x7ff596a79135 - std::sys_common::backtrace::print::h876961ef9791ecd5 [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 8: 0x7ff596a7beff - std::panicking::default_hook::{{closure}}::h37236a909c335517 [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/std/src/panicking.rs:267:22 [INFO] [stderr] 9: 0x7ff596a7bc3b - std::panicking::default_hook::hd20185168c0e8c1e [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/std/src/panicking.rs:286:9 [INFO] [stderr] 10: 0x7ff599e29334 - >::call_once::{shim:vtable#0} [INFO] [stderr] 11: 0x7ff596a7c73a - as core::ops::function::Fn>::call::h00cf5afc4f25636c [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/alloc/src/boxed.rs:2002:9 [INFO] [stderr] 12: 0x7ff596a7c73a - std::panicking::rust_panic_with_hook::h03b89f51fce37847 [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/std/src/panicking.rs:692:13 [INFO] [stderr] 13: 0x7ff59a53c3c1 - std[841a7208e01f7419]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 14: 0x7ff59a53b6c6 - std[841a7208e01f7419]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 15: 0x7ff59a4a6206 - std[841a7208e01f7419]::panicking::begin_panic:: [INFO] [stderr] 16: 0x7ff59a4b2d76 - std[841a7208e01f7419]::panic::panic_any:: [INFO] [stderr] 17: 0x7ff59a4b1bf2 - ::span_bug:: [INFO] [stderr] 18: 0x7ff59a4b1967 - ::span_bug:: [INFO] [stderr] 19: 0x7ff59a505d9b - rustc_middle[69224fba4b458e45]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 20: 0x7ff59a505dea - rustc_middle[69224fba4b458e45]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 21: 0x7ff59a5057f6 - rustc_middle[69224fba4b458e45]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 22: 0x7ff59a505796 - rustc_middle[69224fba4b458e45]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 23: 0x7ff598b05df4 - rustc_middle[69224fba4b458e45]::util::bug::span_bug_fmt:: [INFO] [stderr] 24: 0x7ff59a4e6c58 - rustc_mir_transform[4290f3c99baba96]::generator::mir_generator_witnesses [INFO] [stderr] 25: 0x7ff59a6b12d5 - rustc_query_system[a3d04db194d155a7]::query::plumbing::try_execute_query:: [INFO] [stderr] 26: 0x7ff59a6d3d01 - rustc_query_system[a3d04db194d155a7]::query::plumbing::get_query:: [INFO] [stderr] 27: 0x7ff59867bff9 - rustc_mir_transform[4290f3c99baba96]::mir_drops_elaborated_and_const_checked [INFO] [stderr] 28: 0x7ff598679a41 - rustc_query_system[a3d04db194d155a7]::query::plumbing::try_execute_query:: [INFO] [stderr] 29: 0x7ff5985b2265 - rustc_mir_transform[4290f3c99baba96]::optimized_mir [INFO] [stderr] 30: 0x7ff5985b01a2 - rustc_query_system[a3d04db194d155a7]::query::plumbing::try_execute_query:: [INFO] [stderr] 31: 0x7ff5988f1a7f - ::encode_crate_root [INFO] [stderr] 32: 0x7ff5990b309f - rustc_metadata[3b2779e37aa6b17a]::rmeta::encoder::encode_metadata_impl [INFO] [stderr] 33: 0x7ff59909fd4e - rustc_data_structures[7383bc6ef18a36b4]::sync::join:: [INFO] [stderr] 34: 0x7ff59909fa61 - rustc_metadata[3b2779e37aa6b17a]::rmeta::encoder::encode_metadata [INFO] [stderr] 35: 0x7ff59909eea3 - rustc_metadata[3b2779e37aa6b17a]::fs::encode_and_write_metadata [INFO] [stderr] 36: 0x7ff5990464de - rustc_interface[2057d2fb91bdc63c]::passes::start_codegen [INFO] [stderr] 37: 0x7ff5990441b9 - ::enter::<::ongoing_codegen::{closure#0}::{closure#0}, core[9035bf6b35054e67]::result::Result, rustc_errors[725197c356c874e]::ErrorGuaranteed>> [INFO] [stderr] 38: 0x7ff59903fe1d - ::ongoing_codegen [INFO] [stderr] 39: 0x7ff59903ed7b - rustc_span[871360091abeab91]::with_source_map::, rustc_interface[2057d2fb91bdc63c]::interface::run_compiler, rustc_driver[9bcdb29d3689328c]::run_compiler::{closure#1}>::{closure#0}::{closure#0}> [INFO] [stderr] 40: 0x7ff599037734 - >::set::, rustc_driver[9bcdb29d3689328c]::run_compiler::{closure#1}>::{closure#0}, core[9035bf6b35054e67]::result::Result<(), rustc_errors[725197c356c874e]::ErrorGuaranteed>> [INFO] [stderr] 41: 0x7ff599036e32 - std[841a7208e01f7419]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[9bcdb29d3689328c]::run_compiler::{closure#1}>::{closure#0}, core[9035bf6b35054e67]::result::Result<(), rustc_errors[725197c356c874e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[9035bf6b35054e67]::result::Result<(), rustc_errors[725197c356c874e]::ErrorGuaranteed>> [INFO] [stderr] 42: 0x7ff599036bdc - <::spawn_unchecked_, rustc_driver[9bcdb29d3689328c]::run_compiler::{closure#1}>::{closure#0}, core[9035bf6b35054e67]::result::Result<(), rustc_errors[725197c356c874e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[9035bf6b35054e67]::result::Result<(), rustc_errors[725197c356c874e]::ErrorGuaranteed>>::{closure#1} as core[9035bf6b35054e67]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 43: 0x7ff596a86803 - as core::ops::function::FnOnce>::call_once::h6eb575a3a34c6156 [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/alloc/src/boxed.rs:1988:9 [INFO] [stderr] 44: 0x7ff596a86803 - as core::ops::function::FnOnce>::call_once::h5acc2ba0087849ed [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/alloc/src/boxed.rs:1988:9 [INFO] [stderr] 45: 0x7ff596a86803 - std::sys::unix::thread::Thread::new::thread_start::he9c292c1ebd7f47e [INFO] [stderr] at /rustc/1e225413a21fa69570bd3fefea9eb05e33f8b917/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 46: 0x7ff5967b2b43 - [INFO] [stderr] 47: 0x7ff596843bb4 - __clone [INFO] [stderr] 48: 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 (1e225413a 2023-01-28) 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_generator_witnesses] generator witness types for `::retain::{closure#0}` [INFO] [stderr] #1 [mir_drops_elaborated_and_const_checked] elaborating drops for `::retain::{closure#0}` [INFO] [stderr] #2 [optimized_mir] optimizing MIR for `::retain::{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 `chashmap-async` due to previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "642b2b3f56c29036e8bfa8afe04c5b6c81267b53f551c23044038d870d4687fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "642b2b3f56c29036e8bfa8afe04c5b6c81267b53f551c23044038d870d4687fb", kill_on_drop: false }` [INFO] [stdout] 642b2b3f56c29036e8bfa8afe04c5b6c81267b53f551c23044038d870d4687fb