Skip to content

Conversation

Kobzol
Copy link
Member

@Kobzol Kobzol commented Sep 4, 2025

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Sep 4, 2025
Copy link
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jieyouxu
Copy link
Member

jieyouxu commented Sep 4, 2025

@bors r+

@bors
Copy link
Collaborator

bors commented Sep 4, 2025

📌 Commit b5f2a71 has been approved by jieyouxu

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 4, 2025
@bors
Copy link
Collaborator

bors commented Sep 4, 2025

⌛ Testing commit b5f2a71 with merge 30e8aea...

@rust-log-analyzer
Copy link
Collaborator

The job dist-x86_64-linux-alt failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
    Checking snapbox v0.6.21
error[E0725]: the feature `specialization` is not in the list of allowed features
   --> /rust/deps/im-rc-15.1.0/src/lib.rs:341:41
    |
341 | #![cfg_attr(has_specialisation, feature(specialization))]
    |                                         ^^^^^^^^^^^^^^

error[E0658]: specialization is unstable
   --> /rust/deps/im-rc-15.1.0/src/ord/map.rs:111:5
    |
111 | /     default fn search_key<BK>(slice: &[Self], key: &BK) -> Result<usize, usize>
112 | |     where
113 | |         BK: Ord + ?Sized,
114 | |         Self::Key: Borrow<BK>,
115 | |     {
116 | |         slice.binary_search_by(|value| Self::Key::borrow(&value.0).cmp(key))
117 | |     }
    | |_____^
    |
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
    = help: add `#![feature(specialization)]` to the crate attributes to enable
    = note: this compiler was built on 2025-09-04; consider upgrading it if it is out of date

error[E0658]: specialization is unstable
   --> /rust/deps/im-rc-15.1.0/src/ord/map.rs:119:5
    |
119 | /     default fn search_value(slice: &[Self], key: &Self) -> Result<usize, usize> {
120 | |         slice.binary_search_by(|value| value.0.cmp(&key.0))
121 | |     }
    | |_____^
    |
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
    = help: add `#![feature(specialization)]` to the crate attributes to enable
    = note: this compiler was built on 2025-09-04; consider upgrading it if it is out of date

error[E0658]: specialization is unstable
    --> /rust/deps/im-rc-15.1.0/src/ord/map.rs:1693:5
     |
1693 | /     default fn eq(&self, other: &Self) -> bool {
1694 | |         self.len() == other.len() && self.diff(other).next().is_none()
1695 | |     }
     | |_____^
     |
     = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
     = help: add `#![feature(specialization)]` to the crate attributes to enable
     = note: this compiler was built on 2025-09-04; consider upgrading it if it is out of date

error[E0658]: specialization is unstable
   --> /rust/deps/im-rc-15.1.0/src/ord/set.rs:119:5
    |
119 | /     default fn search_key<BK>(slice: &[Self], key: &BK) -> Result<usize, usize>
120 | |     where
121 | |         BK: Ord + ?Sized,
122 | |         Self::Key: Borrow<BK>,
123 | |     {
124 | |         slice.binary_search_by(|value| Self::Key::borrow(value).cmp(key))
125 | |     }
    | |_____^
    |
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
    = help: add `#![feature(specialization)]` to the crate attributes to enable
    = note: this compiler was built on 2025-09-04; consider upgrading it if it is out of date

error[E0658]: specialization is unstable
   --> /rust/deps/im-rc-15.1.0/src/ord/set.rs:127:5
    |
127 | /     default fn search_value(slice: &[Self], key: &Self) -> Result<usize, usize> {
128 | |         slice.binary_search_by(|value| value.cmp(key))
129 | |     }
    | |_____^
    |
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
    = help: add `#![feature(specialization)]` to the crate attributes to enable
    = note: this compiler was built on 2025-09-04; consider upgrading it if it is out of date

error[E0658]: specialization is unstable
    --> /rust/deps/im-rc-15.1.0/src/hash/map.rs:1583:5
     |
1583 | /     default fn eq(&self, other: &Self) -> bool {
1584 | |         self.test_eq(other)
1585 | |     }
     | |_____^
     |
     = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
     = help: add `#![feature(specialization)]` to the crate attributes to enable
     = note: this compiler was built on 2025-09-04; consider upgrading it if it is out of date

error[E0658]: specialization is unstable
    --> /rust/deps/im-rc-15.1.0/src/hash/map.rs:1783:5
     |
1783 | /     default fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
1784 | |         let mut d = f.debug_map();
1785 | |         for (k, v) in self {
1786 | |             d.entry(k, v);
1787 | |         }
1788 | |         d.finish()
1789 | |     }
     | |_____^
     |
     = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
     = help: add `#![feature(specialization)]` to the crate attributes to enable
     = note: this compiler was built on 2025-09-04; consider upgrading it if it is out of date

error[E0658]: specialization is unstable
   --> /rust/deps/im-rc-15.1.0/src/hash/set.rs:823:5
    |
823 | /     default fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> {
824 | |         f.debug_set().entries(self.iter()).finish()
825 | |     }
    | |_____^
    |
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
    = help: add `#![feature(specialization)]` to the crate attributes to enable
    = note: this compiler was built on 2025-09-04; consider upgrading it if it is out of date

error[E0658]: specialization is unstable
    --> /rust/deps/im-rc-15.1.0/src/vector/mod.rs:1724:5
     |
1724 | /     default fn eq(&self, other: &Self) -> bool {
1725 | |         self.len() == other.len() && self.iter().eq(other.iter())
1726 | |     }
     | |_____^
     |
     = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
     = help: add `#![feature(specialization)]` to the crate attributes to enable
     = note: this compiler was built on 2025-09-04; consider upgrading it if it is out of date

error[E0119]: conflicting implementations of trait `PartialEq` for type `OrdMap<_, _>`
    --> /rust/deps/im-rc-15.1.0/src/ord/map.rs:1699:1
     |
1688 | / impl<K, V> PartialEq for OrdMap<K, V>
1689 | | where
1690 | |     K: Ord + PartialEq,
1691 | |     V: PartialEq,
     | |_________________- first implementation here
...
1699 | / impl<K, V> PartialEq for OrdMap<K, V>
1700 | | where
1701 | |     K: Ord + Eq,
1702 | |     V: Eq,
     | |__________^ conflicting implementation for `OrdMap<_, _>`

error[E0119]: conflicting implementations of trait `PartialEq` for type `hash::map::HashMap<_, _, _>`
    --> /rust/deps/im-rc-15.1.0/src/hash/map.rs:1589:1
     |
1577 | / impl<K, V, S> PartialEq for HashMap<K, V, S>
---

error[E0119]: conflicting implementations of trait `PartialEq` for type `Vector<_>`
    --> /rust/deps/im-rc-15.1.0/src/vector/mod.rs:1730:1
     |
1723 | impl<A: Clone + PartialEq> PartialEq for Vector<A> {
     | -------------------------------------------------- first implementation here
...
1730 | impl<A: Clone + Eq> PartialEq for Vector<A> {
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Vector<_>`

error[E0119]: conflicting implementations of trait `Debug` for type `hash::map::HashMap<_, _, _>`
    --> /rust/deps/im-rc-15.1.0/src/hash/map.rs:1793:1
     |
1777 | / impl<K, V, S> Debug for HashMap<K, V, S>
1778 | | where
1779 | |     K: Hash + Eq + Debug,
1780 | |     V: Debug,
1781 | |     S: BuildHasher,
     | |___________________- first implementation here
...
1793 | / impl<K, V, S> Debug for HashMap<K, V, S>
1794 | | where
1795 | |     K: Hash + Eq + Ord + Debug,
1796 | |     V: Debug,
1797 | |     S: BuildHasher,
     | |___________________^ conflicting implementation for `hash::map::HashMap<_, _, _>`

error[E0119]: conflicting implementations of trait `Debug` for type `hash::set::HashSet<_, _>`
   --> /rust/deps/im-rc-15.1.0/src/hash/set.rs:829:1
    |
818 | / impl<A, S> Debug for HashSet<A, S>
819 | | where
820 | |     A: Hash + Eq + Debug,
821 | |     S: BuildHasher,
    | |___________________- first implementation here
...
829 | / impl<A, S> Debug for HashSet<A, S>
830 | | where
831 | |     A: Hash + Eq + Debug + Ord,
832 | |     S: BuildHasher,
    | |___________________^ conflicting implementation for `hash::set::HashSet<_, _>`

error[E0119]: conflicting implementations of trait `BTreeValue` for type `(_, _)`
   --> /rust/deps/im-rc-15.1.0/src/ord/map.rs:137:1
    |
104 | impl<K: Ord, V> BTreeValue for (K, V) {
    | ------------------------------------- first implementation here
...
137 | impl<K: Ord + Copy, V> BTreeValue for (K, V) {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(_, _)`

error[E0119]: conflicting implementations of trait `BTreeValue` for type `ord::set::Value<_>`
   --> /rust/deps/im-rc-15.1.0/src/ord/set.rs:145:1
    |
112 | impl<A: Ord> BTreeValue for Value<A> {
    | ------------------------------------ first implementation here
...
145 | impl<A: Ord + Copy> BTreeValue for Value<A> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `ord::set::Value<_>`

[RUSTC-TIMING] blake3 test:false 0.724
    Checking handlebars v6.3.1
error[E0308]: mismatched types
   --> /rust/deps/im-rc-15.1.0/src/ord/map.rs:143:73
    |
137 | impl<K: Ord + Copy, V> BTreeValue for (K, V) {
    |      - expected type parameter
138 |     fn search_key<BK>(slice: &[Self], key: &BK) -> Result<usize, usize>
    |                   -- found type parameter
...
143 |         linear_search_by(slice, |value| Self::Key::borrow(&value.0).cmp(key))
    |                                                                     --- ^^^ expected `&K`, found `&BK`
    |                                                                     |
    |                                                                     arguments to this method are incorrect
    |
    = note: expected reference `&K`
               found reference `&BK`
    = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound
    = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
note: method defined here
   --> /rustc/30e8aea19f1a447e0575eafbdd50b95799c6de1b/library/core/src/cmp.rs:979:8
    |
979 |     fn cmp(&self, other: &Self) -> Ordering;
    |        ^^^

[RUSTC-TIMING] clap_complete test:false 1.356
    Checking tracing-chrome v0.7.2
error[E0308]: mismatched types
   --> /rust/deps/im-rc-15.1.0/src/ord/set.rs:151:70
    |
146 |     fn search_key<BK>(slice: &[Self], key: &BK) -> Result<usize, usize>
    |                   -- found this type parameter
...
151 |         linear_search_by(slice, |value| Self::Key::borrow(value).cmp(key))
    |                                                                  --- ^^^ expected `&Value<A>`, found `&BK`
    |                                                                  |
    |                                                                  arguments to this method are incorrect
    |
    = note: expected reference `&ord::set::Value<A>`
               found reference `&BK`
note: method defined here
   --> /rustc/30e8aea19f1a447e0575eafbdd50b95799c6de1b/library/core/src/cmp.rs:979:8
    |
979 |     fn cmp(&self, other: &Self) -> Ordering;
    |        ^^^

[RUSTC-TIMING] tracing_chrome test:false 0.265
    Checking rand v0.9.2
[RUSTC-TIMING] snapbox test:false 1.533
---
[RUSTC-TIMING] pasetors test:false 1.058
[RUSTC-TIMING] rustfix test:false 0.672
[RUSTC-TIMING] handlebars test:false 2.709
[RUSTC-TIMING] cargo_util_schemas test:false 2.869
Bootstrap failed while executing `dist --host x86_64-unknown-linux-gnu --target x86_64-unknown-linux-gnu --include-default-paths build-manifest bootstrap`
Command `/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo doc --target x86_64-unknown-linux-gnu -Zbinary-dep-depinfo -j 8 -Zroot-dir=/checkout --locked --color always --release --manifest-path /checkout/src/tools/cargo/Cargo.toml --features all-static -Zskip-rustdoc-fingerprint --no-deps -p cargo -p cargo-credential -p cargo-platform -p cargo-test-macro -p cargo-test-support -p cargo-util -p cargo-util-schemas -p crates-io -p mdman -p rustfix [workdir=/checkout]` failed with exit code 101
Created at: src/bootstrap/src/core/build_steps/tool.rs:189:21
Executed at: src/bootstrap/src/core/build_steps/doc.rs:1122:1

Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 1:06:58
  local time: Thu Sep  4 16:24:31 UTC 2025
  network time: Thu, 04 Sep 2025 16:24:31 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

@bors
Copy link
Collaborator

bors commented Sep 4, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 4, 2025
@jieyouxu
Copy link
Member

jieyouxu commented Sep 4, 2025

... Nightly feature detection...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants