Merge 1.6.1
Merges #720 back into the master branch using a merge commit.

Must be merged from the command-line because we want an actual merge commit in the final history. We don't want to squash this change.

The history looks like this:
```
*   f8c7b57 - (3 minutes ago) Merge 'v1.6.1' into 'master' (#721) - Alice Ryhl (merge-1.6.1)
|\
| * fd13c7d - (9 minutes ago) chore: prepare bytes v1.6.1 (#720) - Alice Ryhl (v1.6.x)
| * 6b4b0ed - (9 hours ago) Fix `Bytes::is_unique` when created from shared `BytesMut` (#718) - Emily Crandall Fleischman
* | 9965a04 - (3 days ago) Remove unnecessary file (#719) - EXPLOSION (master)
* | 3443ca5 - (4 days ago) docs: clarify the behavior of `Buf::chunk` (#717) - vvvviiv
* | 8cc9407 - (2 weeks ago) Allow reclaiming the current allocation (#686) - Sebastian Hahn
* | 7a5154b - (3 weeks ago) Clarify how `BytesMut::zeroed` works and advantages to manual impl (#714) - Paolo Barbolini
* | fa1daac - (7 weeks ago) Change Bytes::make_mut to impl From<Bytes> for BytesMut (closes #709) (#710) - Anthony Ramine
* | caf520a - (8 weeks ago) Fix iter tests to use the actual bytes IntoIter instead of std (#707) - Paolo Barbolini
* | 4950c50 - (9 weeks ago) Offset from (#705) - Brad Dunbar
* | 86694b0 - (10 weeks ago) Add zero-copy make_mut (#695) - Émile Fugulin
* | 0c17e99 - (10 weeks ago) ci: silence unexpected-cfgs warnings due to `#[cfg(loom)]` (#703) - Alice Ryhl
* | cb7f844 - (3 months ago) Tweak clear and truncate length modifications (#700) - Alice Ryhl
* | a8806c2 - (3 months ago) Improve BytesMut::split suggestion (#699) - Paolo Barbolini
* | baa5053 - (3 months ago) Reuse capacity when possible in <BytesMut as Buf>::advance impl (#698) - Paolo Barbolini
* | ce09d7d - (3 months ago) Bytes::split_off - check fast path first (#693) - Brad Dunbar
* | 9d3ec1c - (3 months ago) Resize refactor (#696) - Brad Dunbar
* | 4e2c9c0 - (3 months ago) Truncate tweaks (#694) - Brad Dunbar
* | 327615e - (3 months ago) test(benches): encloses bytes into `test::black_box` for clone benches (#691) - Joseph Perez
* | b5fbfc3 - (3 months ago) perf: improve Bytes::copy_to_bytes (#688) - tison
* | 4eb62b9 - (3 months ago) Bytes::split_to - check fast path first (#689) - Brad Dunbar
* | e4af486 - (3 months ago) Don't set `len` in `BytesMut::reserve` (#682) - Brad Dunbar
* | 0d4cc7f - (3 months ago) Bytes: Use ManuallyDrop instead of mem::forget (#678) - Brad Dunbar
|/
* ce8d8a0 - (4 months ago) chore: prepare bytes v1.6.0 (#681) - Brad Dunbar (tag: v1.6.0)
```
`Bytes::make_mut` is a very good addition to the API but I think it would be better if it was instead exposed as `<BytesMut as From<Bytes>>::from`. Could this be done before the next bytes version is released? `Bytes::make_mut` isn't released yet.
Consider replacing Bytes::make_mut by impl From<Bytes> for BytesMut
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 23357174b..ac5d8d5ce 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+# 1.6.1 (July 13, 2024)
+
+This release fixes a bug where `Bytes::is_unique` returns incorrect values when
+the `Bytes` originates from a shared `BytesMut`. (#718)
+
 # 1.6.0 (March 22, 2024)
 
 ### Added
diff --git a/Cargo.toml b/Cargo.toml
index 793582af1..ef44fbb9d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,7 @@ name = "bytes"
 # When releasing to crates.io:
 # - Update CHANGELOG.md.
 # - Create "v1.x.y" git tag.
-version = "1.6.0"
+version = "1.6.1"
 edition = "2018"
 rust-version = "1.39"
 license = "MIT"
diff --git a/src/bytes_mut.rs b/src/bytes_mut.rs
index f2a3dab5c..2829a7cfb 100644
--- a/src/bytes_mut.rs
+++ b/src/bytes_mut.rs
@@ -1780,7 +1780,7 @@ static SHARED_VTABLE: Vtable = Vtable {
     clone: shared_v_clone,
     to_vec: shared_v_to_vec,
     to_mut: shared_v_to_mut,
-    is_unique: crate::bytes::shared_is_unique,
+    is_unique: shared_v_is_unique,
     drop: shared_v_drop,
 };
 
@@ -1843,6 +1843,12 @@ unsafe fn shared_v_to_mut(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> B
     }
 }
 
+unsafe fn shared_v_is_unique(data: &AtomicPtr<()>) -> bool {
+    let shared = data.load(Ordering::Acquire);
+    let ref_count = (*shared.cast::<Shared>()).ref_count.load(Ordering::Relaxed);
+    ref_count == 1
+}
+
 unsafe fn shared_v_drop(data: &mut AtomicPtr<()>, _ptr: *const u8, _len: usize) {
     data.with_mut(|shared| {
         release_shared(*shared as *mut Shared);

diff --git a/tests/test_bytes.rs b/tests/test_bytes.rs
index 017ce66ea..8e5d0ae1f 100644
--- a/tests/test_bytes.rs
+++ b/tests/test_bytes.rs
@@ -1173,6 +1173,15 @@ fn shared_is_unique() {
     assert!(c.is_unique());
 }
 
+#[test]
+fn mut_shared_is_unique() {
+    let mut b = BytesMut::from(LONG);
+    let c = b.split().freeze();
+    assert!(!c.is_unique());
+    drop(b);
+    assert!(c.is_unique());
+}
+
 #[test]
 fn test_bytesmut_from_bytes_static() {
     let bs = b"1b23exfcz3r";

{"vectored_read": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "buf_read": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytesmut_from_bytes_arc_offset": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytes_truncate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytesmut_from_bytes_arc_2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytes_from_vec_drop": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "read": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iter_len": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytesmut_from_bytes_arc_1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytes_advance": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chain_get_bytes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "take_copy_to_bytes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytes_truncate_and_advance": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "writing_chained": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterating_two_bufs": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "sanity_check_odd_allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytes_clone_drop": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "long_take": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chain_overflow_remaining_mut": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "collect_two_bufs": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytesmut_from_bytes_vec": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chain_growing_buffer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "mut_shared_is_unique": {"run": "NONE", "test": "FAIL", "fix": "PASS"}, "empty_iter_len": {"run": "PASS", "test": "NONE", "fix": "PASS"}}
{"test_maybe_uninit_buf_mut_small": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "freeze_after_advance_arc": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reserve_in_arc_nonunique_does_not_overallocate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_clone": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "copy_to_bytes_less": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "freeze_after_split_off": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reserve_vec_recycling": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytesmut_from_bytes_promotable_even_arc_2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "fmt": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "vec_is_unique": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "from_slice": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "len": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "slice_ref_empty_subslice": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "from_iter_no_size_hint": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_with_capacity_but_empty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_vec_as_mut_buf": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_mut_unsplit_arc_different": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_get_u16": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "freeze_after_split_to": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reserve_growth": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_vec_deque": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "arc_is_unique": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "extend_from_slice_mut": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_mut::tests::test_original_capacity_to_repr": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "box_slice_empty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "shared_is_unique": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_put_u16": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "split_to_2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "partial_eq_bytesmut": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "slice_ref_not_an_empty_subset": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "freeze_clone_shared": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytes_vec_conversion": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "advance_bytes_mut": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reserve_max_original_capacity_value": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "extend_mut_without_size_hint": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "slice_ref_works": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_mut_unsplit_arc_non_contiguous": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "fns_defined_for_bytes_mut": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_deref_buf_forwards": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "advance_static": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reserve_in_arc_unique_does_not_overallocate_after_multiple_splits": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_buf_mut_advance": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytes_into_vec_promotable_even": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_fresh_cursor_vec": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "split_off_to_at_gt_len": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "try_reclaim_vec": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "empty_slice_ref_not_an_empty_subset": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_put_bytes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "try_reclaim_empty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "split_off_uninitialized": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_buf_mut_reuse_when_fully_consumed": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_mut_unsplit_basic": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reserve_shared_reuse": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_mut_unsplit_empty_self": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_mut_unsplit_empty_other": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "freeze_after_advance": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytesmut_from_bytes_static": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bufs_vec": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reserve_in_arc_unique_does_not_overallocate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "extend_past_lower_limit_of_size_hint": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_maybe_uninit_buf_mut_large": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "slice": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_deref_bufmut_forwards": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_layout": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "index": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_get_u8": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "split_to_1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_mut::tests::test_original_capacity_from_repr": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "extend_mut_from_bytes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reserve_in_arc_unique_does_not_overallocate_after_split": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_put_u8": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "split_off_to_loop": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_slice_buf_mut_large": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "freeze_clone_unique": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "from_static": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_put_int_le": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_into_vec": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytes_mut_conversion": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytes_into_vec": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reserve_in_arc_unique_doubles": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "freeze_after_truncate_arc": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "slice_ref_empty": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "freeze_after_truncate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_mut_unsplit_empty_other_keeps_capacity": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "fmt_write": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytesmut_from_bytes_bytes_mut_shared": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reserve_allocates_at_least_original_capacity": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "extend_mut": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_mut_unsplit_two_split_offs": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytesmut_from_bytes_bytes_mut_vec": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytesmut_from_bytes_promotable_even_arc_offset": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "split_off": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytes_capacity_len": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_put_int": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytesmut_from_bytes_promotable_even_vec": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "static_is_unique": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "try_reclaim_arc": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_vec_put_bytes": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "advance_vec": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytesmut_from_bytes_bytes_mut_offset": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_slice_buf_mut_small": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bytes_mut_unsplit_other_keeps_capacity": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "stress": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "truncate": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bounds": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test_bytesmut_from_bytes_promotable_even_arc_1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reserve_convert": {"run": "PASS", "test": "PASS", "fix": "PASS"}}
{"mut_shared_is_unique": {"run": "NONE", "test": "FAIL", "fix": "PASS"}}
{"vectored_read": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "buf_read": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytesmut_from_bytes_arc_offset": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytes_truncate": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytesmut_from_bytes_arc_2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytes_from_vec_drop": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "read": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iter_len": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytesmut_from_bytes_arc_1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytes_advance": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chain_get_bytes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "take_copy_to_bytes": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytes_truncate_and_advance": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "writing_chained": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterating_two_bufs": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "sanity_check_odd_allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytes_clone_drop": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "long_take": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chain_overflow_remaining_mut": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "collect_two_bufs": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test_bytesmut_from_bytes_vec": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chain_growing_buffer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "empty_iter_len": {"run": "PASS", "test": "NONE", "fix": "PASS"}}
{"passed_count": 130, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test_maybe_uninit_buf_mut_small", "freeze_after_advance_arc", "vectored_read", "reserve_in_arc_nonunique_does_not_overallocate", "test_clone", "copy_to_bytes_less", "freeze_after_split_off", "reserve_vec_recycling", "test_bytesmut_from_bytes_promotable_even_arc_2", "fmt", "buf_read", "vec_is_unique", "from_slice", "len", "slice_ref_empty_subslice", "from_iter_no_size_hint", "bytes_with_capacity_but_empty", "test_bytesmut_from_bytes_arc_offset", "test_vec_as_mut_buf", "bytes_mut_unsplit_arc_different", "test_get_u16", "freeze_after_split_to", "reserve_growth", "test_vec_deque", "arc_is_unique", "extend_from_slice_mut", "bytes_mut::tests::test_original_capacity_to_repr", "box_slice_empty", "shared_is_unique", "test_put_u16", "split_to_2", "partial_eq_bytesmut", "slice_ref_not_an_empty_subset", "test_bytes_truncate", "test_bytesmut_from_bytes_arc_2", "freeze_clone_shared", "test_bytes_vec_conversion", "advance_bytes_mut", "reserve_max_original_capacity_value", "extend_mut_without_size_hint", "test_bytes_from_vec_drop", "slice_ref_works", "bytes_mut_unsplit_arc_non_contiguous", "fns_defined_for_bytes_mut", "test_deref_buf_forwards", "read", "advance_static", "reserve_in_arc_unique_does_not_overallocate_after_multiple_splits", "bytes_buf_mut_advance", "test_bytes_into_vec_promotable_even", "iter_len", "test_fresh_cursor_vec", "split_off_to_at_gt_len", "test_bytesmut_from_bytes_arc_1", "try_reclaim_vec", "empty_slice_ref_not_an_empty_subset", "bytes_put_bytes", "try_reclaim_empty", "split_off_uninitialized", "bytes_buf_mut_reuse_when_fully_consumed", "bytes_mut_unsplit_basic", "reserve_shared_reuse", "test_bytes_advance", "bytes_mut_unsplit_empty_self", "bytes_mut_unsplit_empty_other", "freeze_after_advance", "test_bytesmut_from_bytes_static", "chain_get_bytes", "take_copy_to_bytes", "test_bufs_vec", "reserve_in_arc_unique_does_not_overallocate", "extend_past_lower_limit_of_size_hint", "test_bytes_truncate_and_advance", "test_maybe_uninit_buf_mut_large", "slice", "test_deref_bufmut_forwards", "writing_chained", "iterating_two_bufs", "sanity_check_odd_allocator", "test_layout", "index", "test_get_u8", "split_to_1", "bytes_mut::tests::test_original_capacity_from_repr", "extend_mut_from_bytes", "reserve_in_arc_unique_does_not_overallocate_after_split", "test_put_u8", "split_off_to_loop", "test_slice_buf_mut_large", "freeze_clone_unique", "from_static", "test_put_int_le", "bytes_into_vec", "test_bytes_mut_conversion", "test_bytes_clone_drop", "test_bytes_into_vec", "reserve_in_arc_unique_doubles", "freeze_after_truncate_arc", "long_take", "slice_ref_empty", "freeze_after_truncate", "chain_overflow_remaining_mut", "bytes_mut_unsplit_empty_other_keeps_capacity", "fmt_write", "test_bytesmut_from_bytes_bytes_mut_shared", "reserve_allocates_at_least_original_capacity", "extend_mut", "bytes_mut_unsplit_two_split_offs", "test_bytesmut_from_bytes_bytes_mut_vec", "test_bytesmut_from_bytes_promotable_even_arc_offset", "split_off", "test_bytes_capacity_len", "test_put_int", "collect_two_bufs", "test_bytesmut_from_bytes_vec", "test_bytesmut_from_bytes_promotable_even_vec", "static_is_unique", "try_reclaim_arc", "test_vec_put_bytes", "advance_vec", "test_bytesmut_from_bytes_bytes_mut_offset", "test_slice_buf_mut_small", "bytes_mut_unsplit_other_keeps_capacity", "stress", "truncate", "chain_growing_buffer", "test_bounds", "test_bytesmut_from_bytes_promotable_even_arc_1", "empty_iter_len", "reserve_convert"], "failed_tests": [], "skipped_tests": []}
{"passed_count": 107, "failed_count": 1, "skipped_count": 0, "passed_tests": ["test_maybe_uninit_buf_mut_small", "freeze_after_advance_arc", "reserve_in_arc_nonunique_does_not_overallocate", "test_clone", "copy_to_bytes_less", "freeze_after_split_off", "reserve_vec_recycling", "test_bytesmut_from_bytes_promotable_even_arc_2", "fmt", "vec_is_unique", "from_slice", "len", "slice_ref_empty_subslice", "from_iter_no_size_hint", "bytes_with_capacity_but_empty", "test_vec_as_mut_buf", "bytes_mut_unsplit_arc_different", "test_get_u16", "freeze_after_split_to", "reserve_growth", "test_vec_deque", "arc_is_unique", "extend_from_slice_mut", "bytes_mut::tests::test_original_capacity_to_repr", "box_slice_empty", "shared_is_unique", "test_put_u16", "split_to_2", "partial_eq_bytesmut", "slice_ref_not_an_empty_subset", "freeze_clone_shared", "test_bytes_vec_conversion", "advance_bytes_mut", "reserve_max_original_capacity_value", "extend_mut_without_size_hint", "slice_ref_works", "bytes_mut_unsplit_arc_non_contiguous", "fns_defined_for_bytes_mut", "test_deref_buf_forwards", "advance_static", "reserve_in_arc_unique_does_not_overallocate_after_multiple_splits", "bytes_buf_mut_advance", "test_bytes_into_vec_promotable_even", "test_fresh_cursor_vec", "split_off_to_at_gt_len", "try_reclaim_vec", "empty_slice_ref_not_an_empty_subset", "bytes_put_bytes", "try_reclaim_empty", "split_off_uninitialized", "bytes_buf_mut_reuse_when_fully_consumed", "bytes_mut_unsplit_basic", "reserve_shared_reuse", "bytes_mut_unsplit_empty_self", "bytes_mut_unsplit_empty_other", "freeze_after_advance", "test_bytesmut_from_bytes_static", "test_bufs_vec", "reserve_in_arc_unique_does_not_overallocate", "extend_past_lower_limit_of_size_hint", "test_maybe_uninit_buf_mut_large", "slice", "test_deref_bufmut_forwards", "test_layout", "index", "test_get_u8", "split_to_1", "bytes_mut::tests::test_original_capacity_from_repr", "extend_mut_from_bytes", "reserve_in_arc_unique_does_not_overallocate_after_split", "test_put_u8", "split_off_to_loop", "test_slice_buf_mut_large", "freeze_clone_unique", "from_static", "test_put_int_le", "bytes_into_vec", "test_bytes_mut_conversion", "test_bytes_into_vec", "reserve_in_arc_unique_doubles", "freeze_after_truncate_arc", "slice_ref_empty", "freeze_after_truncate", "bytes_mut_unsplit_empty_other_keeps_capacity", "fmt_write", "test_bytesmut_from_bytes_bytes_mut_shared", "reserve_allocates_at_least_original_capacity", "extend_mut", "bytes_mut_unsplit_two_split_offs", "test_bytesmut_from_bytes_bytes_mut_vec", "test_bytesmut_from_bytes_promotable_even_arc_offset", "split_off", "test_bytes_capacity_len", "test_put_int", "test_bytesmut_from_bytes_promotable_even_vec", "static_is_unique", "try_reclaim_arc", "test_vec_put_bytes", "advance_vec", "test_bytesmut_from_bytes_bytes_mut_offset", "test_slice_buf_mut_small", "bytes_mut_unsplit_other_keeps_capacity", "stress", "truncate", "test_bounds", "test_bytesmut_from_bytes_promotable_even_arc_1", "reserve_convert"], "failed_tests": ["mut_shared_is_unique"], "skipped_tests": []}
{"passed_count": 131, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test_maybe_uninit_buf_mut_small", "freeze_after_advance_arc", "vectored_read", "reserve_in_arc_nonunique_does_not_overallocate", "test_clone", "copy_to_bytes_less", "freeze_after_split_off", "reserve_vec_recycling", "test_bytesmut_from_bytes_promotable_even_arc_2", "fmt", "buf_read", "vec_is_unique", "from_slice", "len", "slice_ref_empty_subslice", "from_iter_no_size_hint", "bytes_with_capacity_but_empty", "test_bytesmut_from_bytes_arc_offset", "test_vec_as_mut_buf", "bytes_mut_unsplit_arc_different", "test_get_u16", "freeze_after_split_to", "reserve_growth", "test_vec_deque", "arc_is_unique", "extend_from_slice_mut", "bytes_mut::tests::test_original_capacity_to_repr", "box_slice_empty", "shared_is_unique", "test_put_u16", "split_to_2", "partial_eq_bytesmut", "slice_ref_not_an_empty_subset", "test_bytes_truncate", "test_bytesmut_from_bytes_arc_2", "freeze_clone_shared", "test_bytes_vec_conversion", "advance_bytes_mut", "reserve_max_original_capacity_value", "extend_mut_without_size_hint", "test_bytes_from_vec_drop", "slice_ref_works", "bytes_mut_unsplit_arc_non_contiguous", "fns_defined_for_bytes_mut", "test_deref_buf_forwards", "read", "advance_static", "reserve_in_arc_unique_does_not_overallocate_after_multiple_splits", "bytes_buf_mut_advance", "test_bytes_into_vec_promotable_even", "iter_len", "test_fresh_cursor_vec", "split_off_to_at_gt_len", "test_bytesmut_from_bytes_arc_1", "try_reclaim_vec", "empty_slice_ref_not_an_empty_subset", "bytes_put_bytes", "try_reclaim_empty", "split_off_uninitialized", "bytes_buf_mut_reuse_when_fully_consumed", "bytes_mut_unsplit_basic", "reserve_shared_reuse", "test_bytes_advance", "bytes_mut_unsplit_empty_self", "bytes_mut_unsplit_empty_other", "freeze_after_advance", "test_bytesmut_from_bytes_static", "chain_get_bytes", "take_copy_to_bytes", "test_bufs_vec", "reserve_in_arc_unique_does_not_overallocate", "extend_past_lower_limit_of_size_hint", "test_bytes_truncate_and_advance", "test_maybe_uninit_buf_mut_large", "slice", "test_deref_bufmut_forwards", "writing_chained", "iterating_two_bufs", "sanity_check_odd_allocator", "test_layout", "index", "test_get_u8", "split_to_1", "bytes_mut::tests::test_original_capacity_from_repr", "extend_mut_from_bytes", "reserve_in_arc_unique_does_not_overallocate_after_split", "test_put_u8", "split_off_to_loop", "test_slice_buf_mut_large", "freeze_clone_unique", "from_static", "test_put_int_le", "bytes_into_vec", "test_bytes_mut_conversion", "test_bytes_clone_drop", "test_bytes_into_vec", "reserve_in_arc_unique_doubles", "freeze_after_truncate_arc", "long_take", "slice_ref_empty", "freeze_after_truncate", "chain_overflow_remaining_mut", "bytes_mut_unsplit_empty_other_keeps_capacity", "fmt_write", "test_bytesmut_from_bytes_bytes_mut_shared", "reserve_allocates_at_least_original_capacity", "extend_mut", "bytes_mut_unsplit_two_split_offs", "test_bytesmut_from_bytes_bytes_mut_vec", "test_bytesmut_from_bytes_promotable_even_arc_offset", "split_off", "test_bytes_capacity_len", "test_put_int", "collect_two_bufs", "test_bytesmut_from_bytes_vec", "test_bytesmut_from_bytes_promotable_even_vec", "static_is_unique", "try_reclaim_arc", "test_vec_put_bytes", "advance_vec", "test_bytesmut_from_bytes_bytes_mut_offset", "test_slice_buf_mut_small", "bytes_mut_unsplit_other_keeps_capacity", "stress", "truncate", "chain_growing_buffer", "test_bounds", "test_bytesmut_from_bytes_promotable_even_arc_1", "mut_shared_is_unique", "empty_iter_len", "reserve_convert"], "failed_tests": [], "skipped_tests": []}