Skip to content

Refactor of stream_all_messages, fix flaky stream tests #2771

Refactor of stream_all_messages, fix flaky stream tests

Refactor of stream_all_messages, fix flaky stream tests #2771

Triggered via pull request June 27, 2024 20:25
Status Failure
Total duration 4m 51s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 15 warnings
Test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
unused import: `tracing_test::traced_test`: xmtp_mls/src/lib.rs#L64
warning: unused import: `tracing_test::traced_test` --> xmtp_mls/src/lib.rs:64:9 | 64 | use tracing_test::traced_test; | ^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `log::LevelFilter`: xmtp_mls/src/lib.rs#L63
warning: unused import: `log::LevelFilter` --> xmtp_mls/src/lib.rs:63:9 | 63 | use log::LevelFilter; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test
/home/runner/work/libxmtp/libxmtp/xmtp_id/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
Test
/home/runner/work/libxmtp/libxmtp/xmtp_proto/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
Test
/home/runner/work/libxmtp/libxmtp/mls_validation_service/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
Test
/home/runner/work/libxmtp/libxmtp/xmtp_mls/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
Test: xmtp_mls/src/lib.rs#L63
unused import: `log::LevelFilter`
Test: xmtp_mls/src/lib.rs#L64
unused import: `tracing_test::traced_test`
Test
`xmtp_mls` (lib test) generated 2 warnings (run `cargo fix --lib -p xmtp_mls --tests` to apply 2 suggestions)
very complex type used. Consider factoring parts into `type` definitions: src/mls.rs#L962
warning: very complex type used. Consider factoring parts into `type` definitions --> src/mls.rs:962:13 | 962 | handle: Arc<Mutex<Option<JoinHandle<Result<(), ClientError>>>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `#[warn(clippy::type_complexity)]` on by default
very complex type used. Consider factoring parts into `type` definitions: src/mls.rs#L962
warning: very complex type used. Consider factoring parts into `type` definitions --> src/mls.rs:962:13 | 962 | handle: Arc<Mutex<Option<JoinHandle<Result<(), ClientError>>>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `#[warn(clippy::type_complexity)]` on by default
unused import: `crate::logger::init_logger`: src/mls.rs#L2
warning: unused import: `crate::logger::init_logger` --> src/mls.rs:2:5 | 2 | use crate::logger::init_logger; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused import: `crate::logger::init_logger`: src/mls.rs#L2
warning: unused import: `crate::logger::init_logger` --> src/mls.rs:2:5 | 2 | use crate::logger::init_logger; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default