[INFO] fetching crate comms 0.1.4... [INFO] testing comms-0.1.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate comms 0.1.4 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate comms 0.1.4 [INFO] finished tweaking crates.io crate comms 0.1.4 [INFO] tweaked toml for crates.io crate comms 0.1.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate comms 0.1.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding quickcheck v0.2.27 (available: v1.0.3) [INFO] [stderr] Adding tokio-timer v0.1.2 (available: v0.2.13) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5aac81e3c62b377766fa04769807f0973a60bb8e01ba7fac4884e45994c9d47 [INFO] running `Command { std: "docker" "start" "-a" "b5aac81e3c62b377766fa04769807f0973a60bb8e01ba7fac4884e45994c9d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5aac81e3c62b377766fa04769807f0973a60bb8e01ba7fac4884e45994c9d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5aac81e3c62b377766fa04769807f0973a60bb8e01ba7fac4884e45994c9d47", kill_on_drop: false }` [INFO] [stdout] b5aac81e3c62b377766fa04769807f0973a60bb8e01ba7fac4884e45994c9d47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c62abcc0efdd5f2b8990c91c4e427b17ff2d1a3a636f6cceb7bc26815c6721f9 [INFO] running `Command { std: "docker" "start" "-a" "c62abcc0efdd5f2b8990c91c4e427b17ff2d1a3a636f6cceb7bc26815c6721f9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling comms v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::transmit::*` [INFO] [stdout] --> src/room/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::transmit::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "c62abcc0efdd5f2b8990c91c4e427b17ff2d1a3a636f6cceb7bc26815c6721f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c62abcc0efdd5f2b8990c91c4e427b17ff2d1a3a636f6cceb7bc26815c6721f9", kill_on_drop: false }` [INFO] [stdout] c62abcc0efdd5f2b8990c91c4e427b17ff2d1a3a636f6cceb7bc26815c6721f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 12a9f788af5a24b6980f70e0c0ad1ec0ecd6bdcd93dcd3c1b7c1917f86232914 [INFO] running `Command { std: "docker" "start" "-a" "12a9f788af5a24b6980f70e0c0ad1ec0ecd6bdcd93dcd3c1b7c1917f86232914", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stdout] warning: unused import: `self::transmit::*` [INFO] [stdout] --> src/room/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::transmit::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling quickcheck v0.2.27 [INFO] [stderr] Compiling comms v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::transmit::*` [INFO] [stdout] --> src/room/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::transmit::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `futures::task::Unpark`: recommended to use `Notify` instead [INFO] [stdout] --> src/lib.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn unpark_noop() -> Arc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `futures::task::Unpark`: recommended to use `Notify` instead [INFO] [stdout] --> src/lib.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | impl executor::Unpark for Foo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn unpark_noop() -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn unpark_noop() -> Arc { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `futures::task_impl::std::>::poll_future`: recommended to use `poll_future_notify` instead [INFO] [stdout] --> src/client/mod.rs:391:49 [INFO] [stdout] | [INFO] [stdout] 391 | if let Ok(Async::NotReady) = future.poll_future(unpark_noop()) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `futures::task_impl::std::>::poll_future`: recommended to use `poll_future_notify` instead [INFO] [stdout] --> src/room/mod.rs:294:24 [INFO] [stdout] | [INFO] [stdout] 294 | assert!(future.poll_future(unpark_noop()).unwrap().is_not_ready()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/client/mod.rs:336:53 [INFO] [stdout] | [INFO] [stdout] 336 | let (_, _, client0) = mock_client(client0_id.clone(), 1); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/client/mod.rs:338:53 [INFO] [stdout] | [INFO] [stdout] 338 | let (_, _, client1) = mock_client(client1_id.clone(), 1); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.70s [INFO] running `Command { std: "docker" "inspect" "12a9f788af5a24b6980f70e0c0ad1ec0ecd6bdcd93dcd3c1b7c1917f86232914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a9f788af5a24b6980f70e0c0ad1ec0ecd6bdcd93dcd3c1b7c1917f86232914", kill_on_drop: false }` [INFO] [stdout] 12a9f788af5a24b6980f70e0c0ad1ec0ecd6bdcd93dcd3c1b7c1917f86232914 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e8094c354113229c529939381b6f837a0e3ff94bd75f15d64ad3f26f6059026d [INFO] running `Command { std: "docker" "start" "-a" "e8094c354113229c529939381b6f837a0e3ff94bd75f15d64ad3f26f6059026d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stderr] warning: unused import: `self::transmit::*` [INFO] [stderr] --> src/room/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use self::transmit::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/client/mod.rs:126:39 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `comms` (lib) generated 2 warnings (run `cargo fix --lib -p comms` to apply 2 suggestions) [INFO] [stderr] warning: use of deprecated trait `futures::task::Unpark`: recommended to use `Notify` instead [INFO] [stderr] --> src/lib.rs:56:43 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn unpark_noop() -> Arc { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `futures::task::Unpark`: recommended to use `Notify` instead [INFO] [stderr] --> src/lib.rs:59:24 [INFO] [stderr] | [INFO] [stderr] 59 | impl executor::Unpark for Foo { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:56:33 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn unpark_noop() -> Arc { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 | pub fn unpark_noop() -> Arc { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `futures::task_impl::std::>::poll_future`: recommended to use `poll_future_notify` instead [INFO] [stderr] --> src/client/mod.rs:391:49 [INFO] [stderr] | [INFO] [stderr] 391 | if let Ok(Async::NotReady) = future.poll_future(unpark_noop()) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `futures::task_impl::std::>::poll_future`: recommended to use `poll_future_notify` instead [INFO] [stderr] --> src/room/mod.rs:294:24 [INFO] [stderr] | [INFO] [stderr] 294 | assert!(future.poll_future(unpark_noop()).unwrap().is_not_ready()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/client/mod.rs:336:53 [INFO] [stderr] | [INFO] [stderr] 336 | let (_, _, client0) = mock_client(client0_id.clone(), 1); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/client/mod.rs:338:53 [INFO] [stderr] | [INFO] [stderr] 338 | let (_, _, client1) = mock_client(client1_id.clone(), 1); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `comms` (lib test) generated 9 warnings (2 duplicates) (run `cargo fix --lib -p comms --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/comms-1d441810465707aa) [INFO] [stdout] test client::receive::tests::can_receive ... ok [INFO] [stdout] test client::receive::tests::can_receive_an_error ... ok [INFO] [stdout] test client::receive::tests::can_hard_receive_an_error ... ok [INFO] [stdout] test client::receive::tests::can_hard_receive_in_time ... ok [INFO] [stdout] test client::receive::tests::can_soft_receive_an_error ... ok [INFO] [stdout] test client::tests::can_join_room ... ok [INFO] [stdout] test client::tests::can_close ... ok [INFO] [stdout] test client::tests::can_status ... ok [INFO] [stdout] test client::tests::can_receive ... ok [INFO] [stdout] test client::receive::tests::can_receive_well_behaved ... ok [INFO] [stdout] test client::receive::tests::can_soft_receive_in_time ... ok [INFO] [stdout] test room::tests::can_statuses ... ok [INFO] [stdout] test room::tests::can_broadcast_all ... ok [INFO] [stdout] test room::tests::can_receive_all ... ok [INFO] [stdout] test room::tests::can_transmit ... ok [INFO] [stdout] test client::tests::can_transmit ... ok [INFO] [stdout] test client::tests::stream_and_sink_separate ... FAILED [INFO] [stdout] test client::receive::tests::can_receive_for_3_seconds ... ok [INFO] [stdout] test client::receive::tests::can_hard_receive_a_timeout ... ok [INFO] [stdout] test client::receive::tests::can_soft_receive_a_timeout ... ok [INFO] [stdout] test client::receive::tests::can_receive_with_soft_timeout_well_behaved ... ok [INFO] [stdout] test client::receive::tests::can_receive_with_hard_timeout_well_behaved ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- client::tests::stream_and_sink_separate stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'client::tests::stream_and_sink_separate' panicked at src/client/mod.rs:442:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Ok(NotReady) [INFO] [stdout] right: Ok(Ready(())) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x793cdfd3ed42 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x793cdfd3ed42 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x793cdfd3ed42 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x793cdfd3ed42 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x793cdfd79413 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x793cdfd79413 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x793cdfd3c003 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x793cdfd3c003 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x793cdfd3eb92 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x793cdfd4031c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x793cdfd40172 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x793cdfcebc34 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x793cdfcebc34 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x793cdfd40d83 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x793cdfd40d83 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x793cdfd40a6a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x793cdfd3f249 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x793cdfd406fd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x793cdfc59e90 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x793cdfc5a1e3 - core::panicking::assert_failed_inner::h483faaa3ae844fd5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x793cdfc7da4a - core::panicking::assert_failed::he386b5b3a67b0b69 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x793cdfc98401 - comms::client::tests::stream_and_sink_separate::{{closure}}::h2c41f2e3b15e195c [INFO] [stdout] at /opt/rustwide/workdir/src/client/mod.rs:442:17 [INFO] [stdout] 22: 0x793cdfcabdc5 - futures::future::lazy::Lazy::get::h755f632865ae9c36 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/lazy.rs:64:59 [INFO] [stdout] 23: 0x793cdfcacb2a - as futures::future::Future>::poll::h1190d715c09a8685 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/lazy.rs:82:14 [INFO] [stdout] 24: 0x793cdfc8abce - futures::task_impl::Spawn::poll_future_notify::{{closure}}::h19a6ca33017a85e7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/task_impl/mod.rs:329:47 [INFO] [stdout] 25: 0x793cdfc8c3c1 - futures::task_impl::Spawn::enter::{{closure}}::h60550395f5f4e4cd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/task_impl/mod.rs:399:27 [INFO] [stdout] 26: 0x793cdfc9fb6e - futures::task_impl::std::set::hd5109d4640e7dfdb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/task_impl/std/mod.rs:86:13 [INFO] [stdout] 27: 0x793cdfc8b1c1 - futures::task_impl::Spawn::enter::h2f5779a661ca4786 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/task_impl/mod.rs:399:9 [INFO] [stdout] 28: 0x793cdfc8a4f4 - futures::task_impl::Spawn::poll_fn_notify::hffd4734e881620f5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/task_impl/mod.rs:291:14 [INFO] [stdout] 29: 0x793cdfc8ab07 - futures::task_impl::Spawn::poll_future_notify::hd7bbcfac26ff9c45 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/task_impl/mod.rs:329:14 [INFO] [stdout] 30: 0x793cdfca0bf7 - futures::task_impl::std::>::wait_future::{{closure}}::h54ab8388696bc766 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/task_impl/std/mod.rs:239:28 [INFO] [stdout] 31: 0x793cdfc9d613 - futures::task_impl::std::ThreadNotify::with_current::{{closure}}::hb009a9c73c9b9471 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/task_impl/std/mod.rs:486:45 [INFO] [stdout] 32: 0x793cdfc7c2d8 - std::thread::local::LocalKey::try_with::h632ae00914a7e221 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 33: 0x793cdfc7bc13 - std::thread::local::LocalKey::with::h8d9d54e3b41f891a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 34: 0x793cdfc9d284 - futures::task_impl::std::ThreadNotify::with_current::h911b4b5c541a2c29 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/task_impl/std/mod.rs:486:31 [INFO] [stdout] 35: 0x793cdfc8c9bd - futures::task_impl::std::>::wait_future::he5bc28854118cf25 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/task_impl/std/mod.rs:236:9 [INFO] [stdout] 36: 0x793cdfcac901 - futures::future::Future::wait::h6a86655aff58d63f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/mod.rs:300:33 [INFO] [stdout] 37: 0x793cdfc977e5 - comms::client::tests::stream_and_sink_separate::hd9f7481a7caacf0a [INFO] [stdout] at /opt/rustwide/workdir/src/client/mod.rs:463:14 [INFO] [stdout] 38: 0x793cdfc97607 - comms::client::tests::stream_and_sink_separate::{{closure}}::h2aa7f36751002418 [INFO] [stdout] at /opt/rustwide/workdir/src/client/mod.rs:412:34 [INFO] [stdout] 39: 0x793cdfca6c16 - core::ops::function::FnOnce::call_once::haec400da0b5557d1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x793cdfcf132b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x793cdfcf132b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 42: 0x793cdfcf059e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 43: 0x793cdfcf059e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 44: 0x793cdfcf059e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 45: 0x793cdfcf059e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 46: 0x793cdfcf059e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 47: 0x793cdfcf059e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 48: 0x793cdfcf059e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 49: 0x793cdfcb5424 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 50: 0x793cdfcb5424 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 51: 0x793cdfcb8c1a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 52: 0x793cdfcb8c1a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 53: 0x793cdfcb8c1a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 54: 0x793cdfcb8c1a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 55: 0x793cdfcb8c1a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 56: 0x793cdfcb8c1a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 57: 0x793cdfcb8c1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 58: 0x793cdfd437d7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 59: 0x793cdfd437d7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 60: 0x793cdfd437d7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] client::tests::stream_and_sink_separate [INFO] [stdout] [INFO] [stdout] test result: FAILED. 21 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 11.55s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e8094c354113229c529939381b6f837a0e3ff94bd75f15d64ad3f26f6059026d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8094c354113229c529939381b6f837a0e3ff94bd75f15d64ad3f26f6059026d", kill_on_drop: false }` [INFO] [stdout] e8094c354113229c529939381b6f837a0e3ff94bd75f15d64ad3f26f6059026d