[INFO] fetching crate openssh-sftp-client-lowlevel 0.4.0... [INFO] building openssh-sftp-client-lowlevel-0.4.0 against try#f41a2ab7b0d9462073425dd6c04abbeb4805cb77 for pr-97334-2 [INFO] extracting crate openssh-sftp-client-lowlevel 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate openssh-sftp-client-lowlevel 0.4.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 openssh-sftp-client-lowlevel 0.4.0 [INFO] finished tweaking crates.io crate openssh-sftp-client-lowlevel 0.4.0 [INFO] tweaked toml for crates.io crate openssh-sftp-client-lowlevel 0.4.0 written to /workspace/builds/worker-4-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4ce4d6b0e071af6bc90c05a8a96b505dc686994f34af88b60f49cd8a7a705695 [INFO] running `Command { std: "docker" "start" "-a" "4ce4d6b0e071af6bc90c05a8a96b505dc686994f34af88b60f49cd8a7a705695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ce4d6b0e071af6bc90c05a8a96b505dc686994f34af88b60f49cd8a7a705695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce4d6b0e071af6bc90c05a8a96b505dc686994f34af88b60f49cd8a7a705695", kill_on_drop: false }` [INFO] [stdout] 4ce4d6b0e071af6bc90c05a8a96b505dc686994f34af88b60f49cd8a7a705695 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f1992709a41db8ebea599c525d7bc4100a222134725092ac4bac1267e570ae07 [INFO] running `Command { std: "docker" "start" "-a" "f1992709a41db8ebea599c525d7bc4100a222134725092ac4bac1267e570ae07", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling thin-vec v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling awaitable-error v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling const_fn_assert v0.1.2 [INFO] [stderr] Compiling awaitable v0.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling derive_destructure2 v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling tokio-io-utility v0.7.5 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling vec-strings v0.4.8 [INFO] [stderr] Compiling ssh_format_error v0.1.0 [INFO] [stderr] Compiling triomphe v0.1.8 [INFO] [stderr] Compiling ssh_format v0.14.1 [INFO] [stderr] Compiling openssh-sftp-protocol-error v0.1.0 [INFO] [stderr] Compiling concurrent_arena v0.1.7 [INFO] [stderr] Compiling openssh-sftp-error v0.3.0 [INFO] [stderr] Compiling openssh-sftp-protocol v0.23.0 [INFO] [stderr] Compiling openssh-sftp-client-lowlevel v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/compiler/rustc_errors/src/lib.rs:987:33 [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:886:13: Broken MIR: generator contains type __ReadEndProjection<'_, R, Buffer, Q, Auxiliary> in MIR, but typeck only knows about {ResumeTy, Pin<&mut ReadEnd>, usize, Vec, Pin<&mut ReaderBuffered>, ReadExactToVecFuture<'_, Pin<&mut ReaderBuffered>>, ()} and [std::pin::Pin<&mut read_end::ReadEnd>, usize] [INFO] [stdout] --> src/read_end.rs:97:90 [INFO] [stdout] | [INFO] [stdout] 97 | async fn read_into_box(self: Pin<&mut Self>, len: usize) -> Result, Error> { [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 98 | | let mut vec = Vec::new(); [INFO] [stdout] 99 | | read_exact_to_vec(&mut self.project().reader, &mut vec, len).await?; [INFO] [stdout] 100 | | [INFO] [stdout] 101 | | Ok(vec.into_boxed_slice()) [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f0e301b25aa - 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: 0x7f0e301b25aa - 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: 0x7f0e301b25aa - std::sys_common::backtrace::_print_fmt::hb88055ecb7d9db4d [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stderr] 3: 0x7f0e301b25aa - ::fmt::h2e136ef0d94e5f36 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x7f0e302143ce - core::fmt::write::hc5277946f874879b [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/core/src/fmt/mod.rs:1213:17 [INFO] [stderr] 5: 0x7f0e301a2bf5 - std::io::Write::write_fmt::h23b8a9c043f88fc8 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/io/mod.rs:1682:15 [INFO] [stderr] 6: 0x7f0e301b2375 - std::sys_common::backtrace::_print::hcea3fbc97811d19b [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 7: 0x7f0e301b2375 - std::sys_common::backtrace::print::h03de668ee41765f6 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 8: 0x7f0e301b513f - std::panicking::default_hook::{{closure}}::h86769ade6898c211 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/panicking.rs:267:22 [INFO] [stderr] 9: 0x7f0e301b4e7b - std::panicking::default_hook::h478db07ae5c8a032 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/panicking.rs:286:9 [INFO] [stderr] 10: 0x7f0e334ff1f4 - rustc_driver[f1aa01db1e37f449]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7f0e301b597a - as core::ops::function::Fn>::call::h3022ed11137f8e0d [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/alloc/src/boxed.rs:2002:9 [INFO] [stderr] 12: 0x7f0e301b597a - std::panicking::rust_panic_with_hook::hf3045f8495ef3859 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/std/src/panicking.rs:692:13 [INFO] [stderr] 13: 0x7f0e33be72f1 - std[3bdecb0c8ecd14da]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 14: 0x7f0e33be0546 - std[3bdecb0c8ecd14da]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 15: 0x7f0e33bdf916 - std[3bdecb0c8ecd14da]::panicking::begin_panic:: [INFO] [stderr] 16: 0x7f0e33b6fb86 - std[3bdecb0c8ecd14da]::panic::panic_any:: [INFO] [stderr] 17: 0x7f0e33b6f282 - ::span_bug:: [INFO] [stderr] 18: 0x7f0e33b6f047 - ::span_bug:: [INFO] [stderr] 19: 0x7f0e33b7f72b - rustc_middle[33f52453f62b8a74]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 20: 0x7f0e33b7f77a - rustc_middle[33f52453f62b8a74]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 21: 0x7f0e33b79db6 - rustc_middle[33f52453f62b8a74]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 22: 0x7f0e33b79756 - rustc_middle[33f52453f62b8a74]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 23: 0x7f0e32214824 - rustc_middle[33f52453f62b8a74]::util::bug::span_bug_fmt:: [INFO] [stderr] 24: 0x7f0e33bc7fed - ::run_pass [INFO] [stderr] 25: 0x7f0e328994ef - rustc_mir_transform[a3aac88746df194f]::run_analysis_to_runtime_passes [INFO] [stderr] 26: 0x7f0e32897e12 - rustc_mir_transform[a3aac88746df194f]::mir_drops_elaborated_and_const_checked [INFO] [stderr] 27: 0x7f0e32896681 - rustc_query_system[9a602e4fb45c3e8e]::query::plumbing::try_execute_query:: [INFO] [stderr] 28: 0x7f0e3225ca9c - rustc_mir_transform[a3aac88746df194f]::optimized_mir [INFO] [stderr] 29: 0x7f0e32254492 - rustc_query_system[9a602e4fb45c3e8e]::query::plumbing::try_execute_query:: [INFO] [stderr] 30: 0x7f0e32eb9c4f - ::optimized_mir [INFO] [stderr] 31: 0x7f0e33a5276c - ::generator_layout [INFO] [stderr] 32: 0x7f0e31e6bb94 - rustc_ty_utils[75b00751b3d2528a]::layout::layout_of [INFO] [stderr] 33: 0x7f0e31fbd7bb - rustc_query_system[9a602e4fb45c3e8e]::query::plumbing::get_query:: [INFO] [stderr] 34: 0x7f0e31fbd343 - ::layout_of [INFO] [stderr] 35: 0x7f0e31e6b7e7 - rustc_ty_utils[75b00751b3d2528a]::layout::layout_of [INFO] [stderr] 36: 0x7f0e31fbd7bb - rustc_query_system[9a602e4fb45c3e8e]::query::plumbing::get_query:: [INFO] [stderr] 37: 0x7f0e31ac90eb - ::check [INFO] [stderr] 38: 0x7f0e31ac0633 - ::run_lint [INFO] [stderr] 39: 0x7f0e32899565 - rustc_mir_transform[a3aac88746df194f]::run_analysis_to_runtime_passes [INFO] [stderr] 40: 0x7f0e32897e12 - rustc_mir_transform[a3aac88746df194f]::mir_drops_elaborated_and_const_checked [INFO] [stderr] 41: 0x7f0e32896681 - rustc_query_system[9a602e4fb45c3e8e]::query::plumbing::try_execute_query:: [INFO] [stderr] 42: 0x7f0e3225ca9c - rustc_mir_transform[a3aac88746df194f]::optimized_mir [INFO] [stderr] 43: 0x7f0e32254492 - rustc_query_system[9a602e4fb45c3e8e]::query::plumbing::try_execute_query:: [INFO] [stderr] 44: 0x7f0e31f04dba - ::encode_crate_root [INFO] [stderr] 45: 0x7f0e3279c5e9 - rustc_metadata[5e40150fe1effbe9]::rmeta::encoder::encode_metadata_impl [INFO] [stderr] 46: 0x7f0e32788f0e - rustc_data_structures[f7c0e2d9bf25dc9d]::sync::join:: [INFO] [stderr] 47: 0x7f0e32788c21 - rustc_metadata[5e40150fe1effbe9]::rmeta::encoder::encode_metadata [INFO] [stderr] 48: 0x7f0e327880a3 - rustc_metadata[5e40150fe1effbe9]::fs::encode_and_write_metadata [INFO] [stderr] 49: 0x7f0e3272e76e - rustc_interface[5699c3eb65aed116]::passes::start_codegen [INFO] [stderr] 50: 0x7f0e3272dd5a - ::ongoing_codegen [INFO] [stderr] 51: 0x7f0e32727a59 - 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] 52: 0x7f0e32720444 - >::set::, rustc_driver[f1aa01db1e37f449]::run_compiler::{closure#1}>::{closure#0}, core[7003a2a95858711e]::result::Result<(), rustc_errors[ca02ac81c3b0595a]::ErrorGuaranteed>> [INFO] [stderr] 53: 0x7f0e3271fb42 - 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] 54: 0x7f0e3271f8ea - <::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] 55: 0x7f0e301bf833 - as core::ops::function::FnOnce>::call_once::h1eb5a4db36ae6f94 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/alloc/src/boxed.rs:1988:9 [INFO] [stderr] 56: 0x7f0e301bf833 - as core::ops::function::FnOnce>::call_once::hf66a149b3d11b3c4 [INFO] [stderr] at /rustc/f41a2ab7b0d9462073425dd6c04abbeb4805cb77/library/alloc/src/boxed.rs:1988:9 [INFO] [stderr] 57: 0x7f0e301bf833 - 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] 58: 0x7f0e2feebb43 - [INFO] [stderr] 59: 0x7f0e2ff7cbb4 - __clone [INFO] [stderr] 60: 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 `read_end::::read_into_box::{closure#0}` [INFO] [stderr] #1 [optimized_mir] optimizing MIR for `read_end::::read_into_box::{closure#0}` [INFO] [stderr] #2 [layout_of] computing layout of `[async fn body@src/read_end.rs:97:90: 102:6]` [INFO] [stderr] #3 [layout_of] computing layout of `impl core::future::future::Future, openssh_sftp_error::Error>>` [INFO] [stderr] #4 [mir_drops_elaborated_and_const_checked] elaborating drops for `read_end::::read_into_box` [INFO] [stderr] #5 [optimized_mir] optimizing MIR for `read_end::::read_into_box` [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `openssh-sftp-client-lowlevel` due to previous error [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f1992709a41db8ebea599c525d7bc4100a222134725092ac4bac1267e570ae07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1992709a41db8ebea599c525d7bc4100a222134725092ac4bac1267e570ae07", kill_on_drop: false }` [INFO] [stdout] f1992709a41db8ebea599c525d7bc4100a222134725092ac4bac1267e570ae07