Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stream: add StreamExt::partition() method #7065

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Change to single buffered value

ffcf729
Select commit
Loading
Failed to load commit list.
Open

stream: add StreamExt::partition() method #7065

Change to single buffered value
ffcf729
Select commit
Loading
Failed to load commit list.
Cirrus CI / FreeBSD 32-bit failed Jan 4, 2025 in 4m 14s

Task Summary

Instruction test failed in 03:55

Details

✅ 00:03 clone
✅ 00:14 setup
❌ 03:55 test

   Compiling unarray v0.1.4
   Compiling fragile v2.0.0
   Compiling downcast v0.11.0
   Compiling proptest v1.6.0
   Compiling mockall v0.11.4
   Compiling mio-aio v0.9.0
   Compiling pin-project-internal v1.1.7
   Compiling serde v1.0.217
   Compiling pin-project v1.1.7
   Compiling serde_derive v1.0.217
   Compiling futures-test v0.3.31
   Compiling itoa v1.0.14
   Compiling serde_json v1.0.134
   Compiling ryu v1.0.18
   Compiling regex-syntax v0.6.29
   Compiling regex-automata v0.1.10
   Compiling httparse v1.9.5
   Compiling overload v0.1.1
   Compiling nu-ansi-term v0.46.0
   Compiling matchers v0.1.0
   Compiling tracing-log v0.2.0
   Compiling sharded-slab v0.1.7
   Compiling thread_local v1.1.8
   Compiling tracing-subscriber v0.3.19
   Compiling http v0.2.12
   Compiling httpdate v1.0.3
   Compiling doc-comment v0.3.3
   Compiling tests-integration v0.1.0 (/tmp/cirrus-ci-build/tests-integration)
   Compiling hashbrown v0.15.2
   Compiling equivalent v1.0.1
   Compiling indexmap v2.7.0
   Compiling serde_spanned v0.6.8
   Compiling toml_datetime v0.6.8
   Compiling winnow v0.6.22
   Compiling target-triple v0.1.3
   Compiling termcolor v1.4.1
   Compiling glob v0.3.2
   Compiling toml_edit v0.22.22
   Compiling toml v0.8.19
   Compiling trybuild v1.0.101
   Compiling tests-build v0.1.0 (/tmp/cirrus-ci-build/tests-build)
   Compiling examples v0.0.0 (/tmp/cirrus-ci-build/examples)
   Compiling stress-test v0.1.0 (/tmp/cirrus-ci-build/stress-test)
error: function `unbounded_channel_stream` is never used
 --> tokio-stream/tests/support/mpsc.rs:5:8
  |
5 | pub fn unbounded_channel_stream<T: Unpin>() -> (UnboundedSender<T>, impl Stream<Item = T>) {
  |        ^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `-D dead-code` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(dead_code)]`

error: could not compile `tokio-stream` (test "stream_partition") due to 1 previous error
warning: build failed, waiting for other jobs to finish...

Exit status: 101