From 8575c975cebd21686ea3dfb5c3b50479b4f48a98 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sat, 30 Dec 2023 11:33:25 -0800 Subject: [PATCH] Fix CI errors Signed-off-by: John Nunley --- axum/src/extract/ws.rs | 8 +++- rustc-ice-2023-12-30T16_17_52-3660.txt | 65 -------------------------- rustc-ice-2023-12-30T16_17_52-3730.txt | 65 -------------------------- 3 files changed, 6 insertions(+), 132 deletions(-) delete mode 100644 rustc-ice-2023-12-30T16_17_52-3660.txt delete mode 100644 rustc-ice-2023-12-30T16_17_52-3730.txt diff --git a/axum/src/extract/ws.rs b/axum/src/extract/ws.rs index 248acdd989b..98cccd63211 100644 --- a/axum/src/extract/ws.rs +++ b/axum/src/extract/ws.rs @@ -159,7 +159,9 @@ impl WebSocketUpgrade { /// If set to `0` each message will be eagerly written to the underlying stream. /// It is often more optimal to allow them to buffer a little, hence the default value. /// - /// Note: [`flush`](SinkExt::flush) will always fully write the buffer regardless. + /// Note: [`flush`] will always fully write the buffer regardless. + /// + /// [`flush`]: https://docs.rs/futures-util/latest/futures_util/sink/trait.SinkExt.html#method.flush pub fn write_buffer_size(mut self, size: usize) -> Self { self.config.write_buffer_size = size; self @@ -475,7 +477,9 @@ impl WebSocket { poll_fn(|cx| Pin::new(&mut self.inner).poll_ready(cx)) .await .map_err(Error::new)?; - Pin::new(&mut self.inner).start_send(msg.into_tungstenite()).map_err(Error::new)?; + Pin::new(&mut self.inner) + .start_send(msg.into_tungstenite()) + .map_err(Error::new)?; // Send the message. poll_fn(|cx| Pin::new(&mut self.inner).poll_flush(cx)) diff --git a/rustc-ice-2023-12-30T16_17_52-3660.txt b/rustc-ice-2023-12-30T16_17_52-3660.txt deleted file mode 100644 index 5a2e6ba7923..00000000000 --- a/rustc-ice-2023-12-30T16_17_52-3660.txt +++ /dev/null @@ -1,65 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_resolve/src/lib.rs:2006:67: -internal error: entered unreachable code -stack backtrace: - 0: 0x7f3588a5edf1 - std::backtrace_rs::backtrace::libunwind::trace::h6f3a1ccb73000b37 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 - 1: 0x7f3588a5edf1 - std::backtrace_rs::backtrace::trace_unsynchronized::hd0ff5fdd1bf60d6e - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 - 2: 0x7f3588a5edf1 - std::backtrace::Backtrace::create::h20f939ce9d7f40d9 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/backtrace.rs:332:13 - 3: 0x7f3588a5ed40 - std::backtrace::Backtrace::force_capture::h46973c2cb0e6bee4 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/backtrace.rs:313:9 - 4: 0x7f3589973b65 - std[5286da1a7f1702bd]::panicking::update_hook::>::{closure#0} - 5: 0x7f3588a78678 - as core::ops::function::Fn>::call::h8beb636fc6649401 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/alloc/src/boxed.rs:2021:9 - 6: 0x7f3588a78678 - std::panicking::rust_panic_with_hook::h793910703cc9c61f - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/panicking.rs:783:13 - 7: 0x7f3588a78399 - std::panicking::begin_panic_handler::{{closure}}::h6665f370f292bae4 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/panicking.rs:649:13 - 8: 0x7f3588a759f6 - std::sys_common::backtrace::__rust_end_short_backtrace::h9d63f7a0bd69415f - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/sys_common/backtrace.rs:171:18 - 9: 0x7f3588a78132 - rust_begin_unwind - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/panicking.rs:645:5 - 10: 0x7f3588a3d995 - core::panicking::panic_fmt::h1da727f5c08c6f04 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/core/src/panicking.rs:72:14 - 11: 0x7f3588a3da33 - core::panicking::panic::h63f9b841f6a58ec4 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/core/src/panicking.rs:127:5 - 12: 0x7f358ddc06fc - ::resolve_rustdoc_path - 13: 0x7f358dd6fde3 - ::resolve_and_cache_rustdoc_path - 14: 0x7f358dd703e7 - ::resolve_doc_links - 15: 0x7f358dd63c1b - ::resolve_impl_item - 16: 0x7f358dd5abbd - ::resolve_item - 17: 0x7f358dd41a2a - ::visit_item - 18: 0x7f358de036ab - rustc_ast[4c22f6135fa95ce6]::visit::walk_item:: - 19: 0x7f358dd51411 - ::resolve_item - 20: 0x7f358dd41a2a - ::visit_item - 21: 0x7f358ddac02a - ::late_resolve_crate - 22: 0x7f358de7c9d0 - ::time::<(), ::resolve_crate::{closure#0}> - 23: 0x7f358ddbd269 - ::resolve_crate - 24: 0x7f3589b82301 - rustc_interface[91dfe8068dedb37f]::passes::resolver_for_lowering - 25: 0x7f358e46328a - rustc_query_impl[4e655a8ff60e5d3e]::plumbing::__rust_begin_short_backtrace::> - 26: 0x7f358e638998 - >::call_once - 27: 0x7f358e6d9dd7 - rustc_query_system[2ffd499e350ffcd1]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[4e655a8ff60e5d3e]::plumbing::QueryCtxt, true> - 28: 0x7f358e5c98de - rustc_query_impl[4e655a8ff60e5d3e]::query_impl::resolver_for_lowering::get_query_incr::__rust_end_short_backtrace - 29: 0x7f3589934da3 - ::enter::)>> - 30: 0x7f35899a26fb - ::enter::, rustc_span[b466c03c33b43973]::ErrorGuaranteed>> - 31: 0x7f3589976927 - rustc_span[b466c03c33b43973]::set_source_map::, rustc_interface[91dfe8068dedb37f]::interface::run_compiler, rustc_driver_impl[4c517d3e910738e6]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 32: 0x7f358995cb94 - >::set::, rustc_driver_impl[4c517d3e910738e6]::run_compiler::{closure#0}>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>> - 33: 0x7f3589976e19 - rustc_span[b466c03c33b43973]::create_session_globals_then::, rustc_interface[91dfe8068dedb37f]::util::run_in_thread_pool_with_globals, rustc_driver_impl[4c517d3e910738e6]::run_compiler::{closure#0}>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}> - 34: 0x7f358996384e - std[5286da1a7f1702bd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[4c517d3e910738e6]::run_compiler::{closure#0}>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>> - 35: 0x7f3589965851 - <::spawn_unchecked_, rustc_driver_impl[4c517d3e910738e6]::run_compiler::{closure#0}>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#1} as core[8a20573edde69916]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 36: 0x7f3588a822c5 - as core::ops::function::FnOnce>::call_once::hf616250a9953f5f4 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/alloc/src/boxed.rs:2007:9 - 37: 0x7f3588a822c5 - as core::ops::function::FnOnce>::call_once::h01da6fdf90df2f5c - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/alloc/src/boxed.rs:2007:9 - 38: 0x7f3588a822c5 - std::sys::unix::thread::Thread::new::thread_start::hc7b365d4f1703e67 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/sys/unix/thread.rs:108:17 - 39: 0x7f3593045bc2 - - - -rustc version: 1.76.0-nightly (3a85a5cfe 2023-11-20) -platform: x86_64-unknown-linux-musl - -query stack during panic: -#0 [resolver_for_lowering] getting the resolver for lowering -end of query stack diff --git a/rustc-ice-2023-12-30T16_17_52-3730.txt b/rustc-ice-2023-12-30T16_17_52-3730.txt deleted file mode 100644 index 428f9afcc1d..00000000000 --- a/rustc-ice-2023-12-30T16_17_52-3730.txt +++ /dev/null @@ -1,65 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_resolve/src/lib.rs:2006:67: -internal error: entered unreachable code -stack backtrace: - 0: 0x7f955cc5edf1 - std::backtrace_rs::backtrace::libunwind::trace::h6f3a1ccb73000b37 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 - 1: 0x7f955cc5edf1 - std::backtrace_rs::backtrace::trace_unsynchronized::hd0ff5fdd1bf60d6e - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 - 2: 0x7f955cc5edf1 - std::backtrace::Backtrace::create::h20f939ce9d7f40d9 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/backtrace.rs:332:13 - 3: 0x7f955cc5ed40 - std::backtrace::Backtrace::force_capture::h46973c2cb0e6bee4 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/backtrace.rs:313:9 - 4: 0x7f955db73b65 - std[5286da1a7f1702bd]::panicking::update_hook::>::{closure#0} - 5: 0x7f955cc78678 - as core::ops::function::Fn>::call::h8beb636fc6649401 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/alloc/src/boxed.rs:2021:9 - 6: 0x7f955cc78678 - std::panicking::rust_panic_with_hook::h793910703cc9c61f - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/panicking.rs:783:13 - 7: 0x7f955cc78399 - std::panicking::begin_panic_handler::{{closure}}::h6665f370f292bae4 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/panicking.rs:649:13 - 8: 0x7f955cc759f6 - std::sys_common::backtrace::__rust_end_short_backtrace::h9d63f7a0bd69415f - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/sys_common/backtrace.rs:171:18 - 9: 0x7f955cc78132 - rust_begin_unwind - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/panicking.rs:645:5 - 10: 0x7f955cc3d995 - core::panicking::panic_fmt::h1da727f5c08c6f04 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/core/src/panicking.rs:72:14 - 11: 0x7f955cc3da33 - core::panicking::panic::h63f9b841f6a58ec4 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/core/src/panicking.rs:127:5 - 12: 0x7f9561fc06fc - ::resolve_rustdoc_path - 13: 0x7f9561f6fde3 - ::resolve_and_cache_rustdoc_path - 14: 0x7f9561f703e7 - ::resolve_doc_links - 15: 0x7f9561f63c1b - ::resolve_impl_item - 16: 0x7f9561f5abbd - ::resolve_item - 17: 0x7f9561f41a2a - ::visit_item - 18: 0x7f95620036ab - rustc_ast[4c22f6135fa95ce6]::visit::walk_item:: - 19: 0x7f9561f51411 - ::resolve_item - 20: 0x7f9561f41a2a - ::visit_item - 21: 0x7f9561fac02a - ::late_resolve_crate - 22: 0x7f956207c9d0 - ::time::<(), ::resolve_crate::{closure#0}> - 23: 0x7f9561fbd269 - ::resolve_crate - 24: 0x7f955dd82301 - rustc_interface[91dfe8068dedb37f]::passes::resolver_for_lowering - 25: 0x7f956266328a - rustc_query_impl[4e655a8ff60e5d3e]::plumbing::__rust_begin_short_backtrace::> - 26: 0x7f9562838998 - >::call_once - 27: 0x7f95628d9dd7 - rustc_query_system[2ffd499e350ffcd1]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[4e655a8ff60e5d3e]::plumbing::QueryCtxt, true> - 28: 0x7f95627c98de - rustc_query_impl[4e655a8ff60e5d3e]::query_impl::resolver_for_lowering::get_query_incr::__rust_end_short_backtrace - 29: 0x7f955db34da3 - ::enter::)>> - 30: 0x7f955dba26fb - ::enter::, rustc_span[b466c03c33b43973]::ErrorGuaranteed>> - 31: 0x7f955db76927 - rustc_span[b466c03c33b43973]::set_source_map::, rustc_interface[91dfe8068dedb37f]::interface::run_compiler, rustc_driver_impl[4c517d3e910738e6]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 32: 0x7f955db5cb94 - >::set::, rustc_driver_impl[4c517d3e910738e6]::run_compiler::{closure#0}>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>> - 33: 0x7f955db76e19 - rustc_span[b466c03c33b43973]::create_session_globals_then::, rustc_interface[91dfe8068dedb37f]::util::run_in_thread_pool_with_globals, rustc_driver_impl[4c517d3e910738e6]::run_compiler::{closure#0}>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}> - 34: 0x7f955db6384e - std[5286da1a7f1702bd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[4c517d3e910738e6]::run_compiler::{closure#0}>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>> - 35: 0x7f955db65851 - <::spawn_unchecked_, rustc_driver_impl[4c517d3e910738e6]::run_compiler::{closure#0}>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[8a20573edde69916]::result::Result<(), rustc_span[b466c03c33b43973]::ErrorGuaranteed>>::{closure#1} as core[8a20573edde69916]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 36: 0x7f955cc822c5 - as core::ops::function::FnOnce>::call_once::hf616250a9953f5f4 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/alloc/src/boxed.rs:2007:9 - 37: 0x7f955cc822c5 - as core::ops::function::FnOnce>::call_once::h01da6fdf90df2f5c - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/alloc/src/boxed.rs:2007:9 - 38: 0x7f955cc822c5 - std::sys::unix::thread::Thread::new::thread_start::hc7b365d4f1703e67 - at /rustc/3a85a5cfe7884f94e3cb29a606913d7989ad9b48/library/std/src/sys/unix/thread.rs:108:17 - 39: 0x7f956735abc2 - - - -rustc version: 1.76.0-nightly (3a85a5cfe 2023-11-20) -platform: x86_64-unknown-linux-musl - -query stack during panic: -#0 [resolver_for_lowering] getting the resolver for lowering -end of query stack