mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 18:04:54 +02:00
Update traitobject crate to fix build error with rust 1.87. ``` error[E0119]: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)` --> /home/buildozer/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/traitobject-0.1.0/src/impls.rs:72:1 | 71 | unsafe impl Trait for ::std::marker::Send + Sync { } | ------------------------------------------------ first implementation here 72 | unsafe impl Trait for ::std::marker::Send + Send + Sync { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` error[E0119]: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)` --> /home/buildozer/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/traitobject-0.1.0/src/impls.rs:73:1 | 71 | unsafe impl Trait for ::std::marker::Send + Sync { } | ------------------------------------------------ first implementation here 72 | unsafe impl Trait for ::std::marker::Send + Send + Sync { } 73 | unsafe impl Trait for ::std::marker::Sync + Send { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` error[E0119]: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)` --> /home/buildozer/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/traitobject-0.1.0/src/impls.rs:75:1 | 71 | unsafe impl Trait for ::std::marker::Send + Sync { } | ------------------------------------------------ first implementation here ... 75 | unsafe impl Trait for ::std::marker::Sync + Send + Sync { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)` For more information about this error, try `rustc --explain E0119`. Compiling textwrap v0.11.0 error: could not compile `traitobject` (lib) due to 3 previous errors ```
15 lines
497 B
Diff
15 lines
497 B
Diff
diff -ruN a/Cargo.lock b/Cargo.lock
|
|
--- a/Cargo.lock 2025-05-21 18:52:56.401944403 +0000
|
|
+++ b/Cargo.lock 2025-05-21 19:01:50.132017971 +0000
|
|
@@ -1768,9 +1768,9 @@
|
|
|
|
[[package]]
|
|
name = "traitobject"
|
|
-version = "0.1.0"
|
|
+version = "0.1.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079"
|
|
+checksum = "04a79e25382e2e852e8da874249358d382ebaf259d0d34e75d8db16a7efabbc7"
|
|
|
|
[[package]]
|
|
name = "typeable"
|