[INFO] fetching crate redis-pubsub 0.0.1... [INFO] building redis-pubsub-0.0.1 against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] extracting crate redis-pubsub 0.0.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate redis-pubsub 0.0.1 on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate redis-pubsub 0.0.1 [INFO] finished tweaking crates.io crate redis-pubsub 0.0.1 [INFO] tweaked toml for crates.io crate redis-pubsub 0.0.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate redis-pubsub 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a8de191518b6152dfb0df6742275e41e3385d0cd5e4f0c375394e242e45c56c [INFO] running `Command { std: "docker" "start" "-a" "0a8de191518b6152dfb0df6742275e41e3385d0cd5e4f0c375394e242e45c56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a8de191518b6152dfb0df6742275e41e3385d0cd5e4f0c375394e242e45c56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a8de191518b6152dfb0df6742275e41e3385d0cd5e4f0c375394e242e45c56c", kill_on_drop: false }` [INFO] [stdout] 0a8de191518b6152dfb0df6742275e41e3385d0cd5e4f0c375394e242e45c56c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38534f8a399477b7d60edff825dfc09a133d7cc52c4421422c1de649d1327751 [INFO] running `Command { std: "docker" "start" "-a" "38534f8a399477b7d60edff825dfc09a133d7cc52c4421422c1de649d1327751", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling redis-pubsub v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/compiler/rustc_errors/src/lib.rs:1398:9 [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:760:13: Broken MIR: generator contains type Option in MIR, but typeck only knows about {ResumeTy, impl Future>, (), tokio::net::tcp::OwnedReadHalf, tokio::net::tcp::OwnedWriteHalf, RedisSub, &RedisSub, impl Future>>, impl Future>, impl Future, [u8; 65536], String, tokio::io::util::read::Read, std::result::Result, usize, error::Error, Message, std::result::Result<&str, Utf8Error>, &str, Utf8Error, Vec, std::vec::IntoIter, Option, !, Response, std::result::Result} and [&redis_sub::RedisSub, async_stream::yielder::Sender] [INFO] [stdout] --> src/redis_sub.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | Ok(Box::pin(stream! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 164 | | loop { [INFO] [stdout] 165 | | let (mut read, write) = match self.connect(false).await { [INFO] [stdout] 166 | | Ok(t) => t, [INFO] [stdout] ... | [INFO] [stdout] 239 | | } [INFO] [stdout] 240 | | })) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error: internal compiler error originates in the macro `$crate::async_stream_impl::stream_inner` which comes from the expansion of the macro `stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f3a5c2b7210 - std::backtrace_rs::backtrace::libunwind::trace::h0635bbcc15f1a527 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 1: 0x7f3a5c2b7210 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f139649c4717994 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f3a5c2b7210 - std::sys_common::backtrace::_print_fmt::h1bfd64239328f990 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7f3a5c2b7210 - ::fmt::h0228dc1410a56233 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7f3a5c31202e - core::fmt::write::hceb37e40129b2ef6 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/core/src/fmt/mod.rs:1202:17 [INFO] [stderr] 5: 0x7f3a5c2a7ad5 - std::io::Write::write_fmt::h7aef09b2f8dd6912 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/io/mod.rs:1679:15 [INFO] [stderr] 6: 0x7f3a5c2b9e63 - std::sys_common::backtrace::_print::h9317a39a27ffc158 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7f3a5c2b9e63 - std::sys_common::backtrace::print::h3f862bf30220d547 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7f3a5c2b9e63 - std::panicking::default_hook::{{closure}}::h5f1809c5cfd4c61f [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7f3a5c2b9b4f - std::panicking::default_hook::h48ae03b43c4da387 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7f3a5eb32461 - >::call_once::{shim:vtable#0} [INFO] [stderr] 11: 0x7f3a5c2ba69d - std::panicking::rust_panic_with_hook::h064155defabdfb6a [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7f3a5ed96651 - std[2aca39d6cbfe9e59]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7f3a5ed91796 - std[2aca39d6cbfe9e59]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7f3a5ed90b46 - std[2aca39d6cbfe9e59]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7f3a5edd9be6 - std[2aca39d6cbfe9e59]::panic::panic_any:: [INFO] [stderr] 16: 0x7f3a5edd8801 - ::span_bug:: [INFO] [stderr] 17: 0x7f3a5edd8570 - ::span_bug:: [INFO] [stderr] 18: 0x7f3a5ee05788 - rustc_middle[7be35d0dc781b06b]::ty::context::tls::with_context_opt::::{closure#0}, ()>::{closure#0}, ()> [INFO] [stderr] 19: 0x7f3a5ee055a6 - rustc_middle[7be35d0dc781b06b]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 20: 0x7f3a5ee05564 - rustc_middle[7be35d0dc781b06b]::util::bug::span_bug_fmt:: [INFO] [stderr] 21: 0x7f3a5ed8c76d - ::run_pass [INFO] [stderr] 22: 0x7f3a5d5d2f3a - rustc_mir_transform[f8f749f4a15136ee]::pass_manager::run_passes_no_validate [INFO] [stderr] 23: 0x7f3a5d5cc1d4 - rustc_mir_transform[f8f749f4a15136ee]::run_analysis_to_runtime_passes [INFO] [stderr] 24: 0x7f3a5d5cb1e1 - rustc_mir_transform[f8f749f4a15136ee]::mir_drops_elaborated_and_const_checked [INFO] [stderr] 25: 0x7f3a5e18e1ea - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::, &rustc_data_structures[54467c84bdba8388]::steal::Steal>> [INFO] [stderr] 26: 0x7f3a5ea732fc - ::mir_drops_elaborated_and_const_checked [INFO] [stderr] 27: 0x7f3a5d631afb - rustc_mir_transform[f8f749f4a15136ee]::optimized_mir [INFO] [stderr] 28: 0x7f3a5db6fae9 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::> [INFO] [stderr] 29: 0x7f3a5ea73721 - ::optimized_mir [INFO] [stderr] 30: 0x7f3a5de590c1 - ::encode_crate_root [INFO] [stderr] 31: 0x7f3a5d950d92 - rustc_metadata[7655654f33e3fc04]::rmeta::encoder::encode_metadata_impl [INFO] [stderr] 32: 0x7f3a5d92e54e - rustc_data_structures[54467c84bdba8388]::sync::join:: [INFO] [stderr] 33: 0x7f3a5d92e439 - rustc_metadata[7655654f33e3fc04]::rmeta::encoder::encode_metadata [INFO] [stderr] 34: 0x7f3a5d92d54d - rustc_metadata[7655654f33e3fc04]::fs::encode_and_write_metadata [INFO] [stderr] 35: 0x7f3a5d924c22 - ::enter::<::ongoing_codegen::{closure#0}::{closure#0}, core[87f6064f357e42c2]::result::Result, rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 36: 0x7f3a5d8e52c3 - ::ongoing_codegen [INFO] [stderr] 37: 0x7f3a5d8e36fd - rustc_interface[4ffcd4abddbf64f2]::interface::create_compiler_and_run::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}> [INFO] [stderr] 38: 0x7f3a5d8e2011 - >::set::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 39: 0x7f3a5d8e1cff - std[2aca39d6cbfe9e59]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 40: 0x7f3a5e9a8e89 - <::spawn_unchecked_, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#1} as core[87f6064f357e42c2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 41: 0x7f3a5c2c44f3 - as core::ops::function::FnOnce>::call_once::h3998462ded511e97 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 42: 0x7f3a5c2c44f3 - as core::ops::function::FnOnce>::call_once::hb68442c5b53e403f [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 43: 0x7f3a5c2c44f3 - std::sys::unix::thread::Thread::new::thread_start::h9c65d60d9d9c7be4 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 44: 0x7f3a5c175609 - start_thread [INFO] [stderr] 45: 0x7f3a5c098133 - 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.65.0-nightly (b755f8b99 2022-09-07) 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 `redis_sub::::listen::{closure#0}::{closure#0}` [INFO] [stderr] #1 [optimized_mir] optimizing MIR for `redis_sub::::listen::{closure#0}::{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 `redis-pubsub` due to previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "38534f8a399477b7d60edff825dfc09a133d7cc52c4421422c1de649d1327751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38534f8a399477b7d60edff825dfc09a133d7cc52c4421422c1de649d1327751", kill_on_drop: false }` [INFO] [stdout] 38534f8a399477b7d60edff825dfc09a133d7cc52c4421422c1de649d1327751