Skip to content

Error on projection of dyn noncompat type in old trait solver - #154992

Merged
rust-bors[bot] merged 4 commits into
rust-lang:mainfrom
spirali:fix-dyn-projection
Aug 22, 2026
Merged

rust-bors[bot] merged 4 commits into
rust-lang:mainfrom
spirali:fix-dyn-projection

Conversation

@spirali

@spirali spirali commented Apr 8, 2026 •

Copy link
Copy Markdown
Contributor

View all comments

Trying to fix rust-lang/trait-system-refactor-initiative#269

I am not sure that the check is placed into the right place in the code.

r? lcnr

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 8, 2026
@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Apr 8, 2026
//~^ ERROR the trait `Foo` is not dyn compatible
x.method();
//~^ ERROR the trait `Foo` is not dyn compatible
//~^ ERROR no method named `method` found for reference `&dyn Foo`

@lcnr lcnr Apr 9, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

View changes since the review

that's annoying :< ideally we'd silence method errors if the self type is not well-formed, tracking that is non-trivial and I don't know how we'd do so myself rn

@lcnr

lcnr commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

lgtm, let's do a crater run, there should be exactly 1 regression from this

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Apr 9, 2026
Error on projection of dyn noncompat type in old trait solver
@rust-bors

rust-bors Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: a611f2a (a611f2a14e38407ec6717a86a01424ee6fc80762, parent: 1fe72d35998dea48aeecaf7fc07783b0b553f24f)

@lcnr

lcnr commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

@craterbot check

@craterbot

Copy link
Copy Markdown
Collaborator

👌 Experiment pr-154992 created and queued.
🤖 Automatically detected try build a611f2a
🔍 You can check out the queue and this experiment's details.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot craterbot added S-waiting-on-crater Status: Waiting on a crater run to be completed. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 9, 2026
@craterbot

Copy link
Copy Markdown
Collaborator

🚧 Experiment pr-154992 is now running

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot

Copy link
Copy Markdown
Collaborator

🎉 Experiment pr-154992 is completed!
📊 18 regressed and 6 fixed (886019 total)
📊 5676 spurious results on the retry-regressed-list.txt, consider a retry1 if this is a significant amount.
📰 Open the summary report.

⚠️ If you notice any spurious failure please add them to the denylist!
ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

Footnotes

  1. re-run the experiment with crates=https://crater-reports.s3.amazonaws.com/pr-154992/retry-regressed-list.txt ↩

@craterbot craterbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-crater Status: Waiting on a crater run to be completed. labels Apr 22, 2026
@lcnr

lcnr commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

@craterbot

Copy link
Copy Markdown
Collaborator

👌 Experiment pr-154992-1 created and queued.
🤖 Automatically detected try build a611f2a
🔍 You can check out the queue and this experiment's details.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot craterbot added S-waiting-on-crater Status: Waiting on a crater run to be completed. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 27, 2026
@lcnr

lcnr commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

@craterbot p=1

@craterbot

Copy link
Copy Markdown
Collaborator

📝 Configuration of the pr-154992-1 experiment changed.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot

Copy link
Copy Markdown
Collaborator

🚧 Experiment pr-154992-1 is now running

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot

Copy link
Copy Markdown
Collaborator

🎉 Experiment pr-154992-1 is completed!
📊 13 regressed and 0 fixed (5381 total)
📊 968 spurious results on the retry-regressed-list.txt, consider a retry1 if this is a significant amount.
📰 Open the summary report.

⚠️ If you notice any spurious failure please add them to the denylist!
ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

Footnotes

  1. re-run the experiment with crates=https://crater-reports.s3.amazonaws.com/pr-154992-1/retry-regressed-list.txt ↩

@craterbot craterbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-crater Status: Waiting on a crater run to be completed. labels Apr 27, 2026
@lcnr

lcnr commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

@craterbot check crates=https://crater-reports.s3.amazonaws.com/pr-154992-1/retry-regressed-list.txt p=1

surprising that we have that many spurious regressions still?

it's caused by build OOMs and unlike the new solver, this PR shouldn't really change max-rss in any way 😅 cc @rust-lang/infra

@craterbot

Copy link
Copy Markdown
Collaborator

👌 Experiment pr-154992-2 created and queued.
🤖 Automatically detected try build a611f2a
🔍 You can check out the queue and this experiment's details.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot craterbot added S-waiting-on-crater Status: Waiting on a crater run to be completed. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 29, 2026
@spirali

spirali commented Aug 22, 2026

Copy link
Copy Markdown
Contributor Author

@bors r=lcnr

@rust-bors

rust-bors Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

📌 Commit e2fcf35 has been approved by lcnr

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Aug 22, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 22, 2026
Error on projection of dyn noncompat type in old trait solver

Trying to fix rust-lang/trait-system-refactor-initiative#269

I am not sure that the check is placed into the right place in the code.

r? lcnr
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 22, 2026
Error on projection of dyn noncompat type in old trait solver

Trying to fix rust-lang/trait-system-refactor-initiative#269

I am not sure that the check is placed into the right place in the code.

r? lcnr
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 22, 2026
Error on projection of dyn noncompat type in old trait solver

Trying to fix rust-lang/trait-system-refactor-initiative#269

I am not sure that the check is placed into the right place in the code.

r? lcnr
rust-bors Bot pushed a commit that referenced this pull request Aug 22, 2026
…uwer

Rollup of 19 pull requests

Successful merges:

 - #151061 (Build rustc and codegen backends with -Zembed-metadata=no)
 - #154992 (Error on projection of dyn noncompat type in old trait solver)
 - #157949 (Allow self in const generics)
 - #158588 (trait_selection: fix assumptions-on-binders diagnostics)
 - #159954 (core: implement float conversion methods)
 - #160136 (Add `Default` implementation for `std::sync::Once`)
 - #160835 (resolver diagnostics: don't swallow labels and point out  similar items as a note, not a label)
 - #161048 (Improve the ABI between the panic runtime and libstd)
 - #161292 (Add safety comments in alloc::Wtf8)
 - #161444 (Add some `rustc_type_ir` comments)
 - #161465 (Remove leftover immediate creation)
 - #159098 (Add Arc/Rc::strong_count_from_raw)
 - #159282 (Update documentation for `-Zdump-dep-graph`)
 - #161401 (Remove fields from TypeKind: Bool, Char, Float and Int)
 - #161431 (bootstrap: (offload) be stricter about selected compiler and paths)
 - #161451 (Avoid arming the Windows TLS destructor guard in fibers)
 - #161463 (Add myself to mailmap)
 - #161476 (Use bitset for locals_with_use_data)
 - #161483 (Warn about running ui-fulldeps tests in stage 1)

Failed merges:

 - #161443 (add internal DSL for testing binders)
@rust-bors
rust-bors Bot merged commit 9c98028 into rust-lang:main Aug 22, 2026
13 checks passed
@rustbot rustbot added this to the 1.100.0 milestone Aug 22, 2026
rust-bors Bot pushed a commit that referenced this pull request Aug 22, 2026
Rollup merge of #154992 - spirali:fix-dyn-projection, r=lcnr

Error on projection of dyn noncompat type in old trait solver

Trying to fix rust-lang/trait-system-refactor-initiative#269

I am not sure that the check is placed into the right place in the code.

r? lcnr
@dimpolo

dimpolo commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

I noticed some breakage in todays nightly #161536 and my LLM pointed me at this issue

github-actions Bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Aug 24, 2026
…uwer

Rollup of 19 pull requests

Successful merges:

 - rust-lang/rust#151061 (Build rustc and codegen backends with -Zembed-metadata=no)
 - rust-lang/rust#154992 (Error on projection of dyn noncompat type in old trait solver)
 - rust-lang/rust#157949 (Allow self in const generics)
 - rust-lang/rust#158588 (trait_selection: fix assumptions-on-binders diagnostics)
 - rust-lang/rust#159954 (core: implement float conversion methods)
 - rust-lang/rust#160136 (Add `Default` implementation for `std::sync::Once`)
 - rust-lang/rust#160835 (resolver diagnostics: don't swallow labels and point out  similar items as a note, not a label)
 - rust-lang/rust#161048 (Improve the ABI between the panic runtime and libstd)
 - rust-lang/rust#161292 (Add safety comments in alloc::Wtf8)
 - rust-lang/rust#161444 (Add some `rustc_type_ir` comments)
 - rust-lang/rust#161465 (Remove leftover immediate creation)
 - rust-lang/rust#159098 (Add Arc/Rc::strong_count_from_raw)
 - rust-lang/rust#159282 (Update documentation for `-Zdump-dep-graph`)
 - rust-lang/rust#161401 (Remove fields from TypeKind: Bool, Char, Float and Int)
 - rust-lang/rust#161431 (bootstrap: (offload) be stricter about selected compiler and paths)
 - rust-lang/rust#161451 (Avoid arming the Windows TLS destructor guard in fibers)
 - rust-lang/rust#161463 (Add myself to mailmap)
 - rust-lang/rust#161476 (Use bitset for locals_with_use_data)
 - rust-lang/rust#161483 (Warn about running ui-fulldeps tests in stage 1)

Failed merges:

 - rust-lang/rust#161443 (add internal DSL for testing binders)
@apiraino apiraino removed the to-announce Announce this issue on triage meeting label Sep 10, 2026
wip-sync pushed a commit to NetBSD/pkgsrc-wip that referenced this pull request Nov 13, 2026
Pkgsrc changes:
 * Version & checksum changes.
 * Adapt patches to match.

Upstream changes:

Version 1.100.0 (2026-11-12)
==========================

Language
--------
- [Stabilize never type]
  (rust-lang/rust#155499)
- [Lint against repeated `#[repr(..)]` attributes]
  (rust-lang/rust#157036)
- [Stabilize `extern "custom"`]
  (rust-lang/rust#158504)
- [Extend `dropping_references`, `dropping_copy_types` and
  `undropped_manually_drops` lints to `drop_in_place`]
  (rust-lang/rust#160229)
- [`unfulfilled_lint_expectations` no longer fires on
  `#[expect(dead_code)]` inside code that is covered by a dead parent's
  diagnostic] (rust-lang/rust#161005)
- [Turn the error for `repr(align)` fields in a `repr(packed)` type
  into a deny-by-default lint `aligned_fields_in_packed`]
  (rust-lang/rust#162160)
- [volatile: allow accesses to non-AM memory to trap]
  (rust-lang/rust#160564)

Compiler
--------
- [Stabilize `-Cprofile-sample-use`]
  (rust-lang/rust#155942)
- [Enable next solver by default in orphanck]
  (rust-lang/rust#160668)

Platform Support
----------------
- [`i686-pc-windows-gnu` is now a tier 2 without host tools target]
  (rust-lang/rust#161681)
- [Promote `wasm32-wasip3` to Tier 2]
  (rust-lang/rust#161940)
- [Add new Tier 3 target `powerpc64-sony-ps3`]
  (rust-lang/rust#162072)

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

[platform-support-doc]: https://doc.rust-lang.org/rustc/platform-support.html

Libraries
---------
- [Stabilize custom allocators]
  (rust-lang/rust#156882)
- [Map `ENOTSUP` to `ErrorKind::Unsupported`]
  (rust-lang/rust#158580)
- [Fix soundness issues in `std::sys::pal::sgx::waitqueue::unsafe_list`]
  (rust-lang/rust#161334)

Stabilized APIs
---------------

- [`impl PartialEq<Cow<'_, [U]>> for Vec<T, A>`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-Vec%3CT,+A%3E)
- [`impl PartialEq<Cow<'_, [U]>> for &[T]`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-%26%5BT%5D)
- [`impl PartialEq<Cow<'_, [U]>> for &mut [T]`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-%26mut+%5BT%5D)
- [`std::alloc::Allocator`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html)
- [`std::alloc::Global`]
  (https://doc.rust-lang.org/stable/std/alloc/struct.Global.html)
- [`std::alloc::System`]
  (https://doc.rust-lang.org/stable/std/alloc/struct.System.html)
- [`impl Allocator for Global`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Global)
- [`impl Allocator for System`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-System)
- [`impl<A: Allocator> Allocator for &A`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-%26A)
- [`impl<T: Allocator, A: Allocator> Allocator for Box<T, A>`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Box%3CT,+A%3E)
- [`impl<A: Allocator> Allocator for &mut A`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-%26mut+A)
- [`impl<T: Allocator, A: Allocator> Allocator for Arc<T, A>`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Arc%3CT,+A%3E)
- [`impl<T: Allocator, A: Allocator> Allocator for Rc<T, A>`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Rc%3CT,+A%3E)
- [`Box::new_in`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.new_in)
- [`Box::from_raw_in`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.from_raw_in)
- [`Box::from_non_null_in`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.from_non_null_in)
- [`Box::into_raw_with_allocator`]
  (https://doc.rust-lang.org/std/std/boxed/struct.Box.html#method.into_raw_with_allocator)
- [`Box::into_non_null_with_allocator`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.into_non_null_with_allocator)
- [`Box::allocator`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.allocator)
- [`Vec::new_in`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.new_in)
- [`Vec::with_capacity_in`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.with_capacity_in)
- [`Vec::from_raw_parts_in`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_raw_parts_in)
- [`Vec::from_parts_in`]
  (https://doc.rust-lang.org/stable/stable/vec/struct.Vec.html#method.from_parts_in)
- [`Vec::into_raw_parts_with_allocator`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.into_raw_parts_with_allocator)
- [`Vec::into_parts_with_allocator`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.into_parts_with_allocator)
- [`Vec::allocator`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.allocator)
- [`Child::main_thread_handle`]
  (https://doc.rust-lang.org/stable/std/os/windows/process/trait.ChildExt.html#tymethod.main_thread_handle)
- [`impl Default for std::sync::Once`]
  (https://doc.rust-lang.org/stable/std/sync/struct.Once.html#impl-Default-for-Once)
- [`bool::toggle`]
  (https://doc.rust-lang.org/stable/std/primitive.bool.html#method.toggle)
- [`Box::take`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.take)
- [`Box::map`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.map)
- [`Rc::map`]
  (https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#method.map)
- [`Arc::map`]
  (https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#method.map)
- [`impl AsRef<T> for !`]
  (https://doc.rust-lang.org/stable/std/primitive.never.html#impl-AsRef<T>-for-!)
- [`impl AsMut<T> for !`]
  (https://doc.rust-lang.org/stable/std/primitive.never.html#impl-AsMut<T>-for-!)
- [`core::mem::DropGuard`]
  (https://doc.rust-lang.org/stable/core/mem/struct.DropGuard.html)
- [`core::mem::conjure_zst`]
  (https://doc.rust-lang.org/stable/core/mem/fn.conjure_zst.html)
- [`UnsafeCell::replace`]
  (https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.replace)
- [`UnsafeCell::as_ref_unchecked`]
  (https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.as_ref_unchecked)
- [`UnsafeCell::as_mut_unchecked`]
  (https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.as_mut_unchecked)
- [`str::trim_prefix`]
  (https://doc.rust-lang.org/stable/std/primitive.str.html#method.trim_prefix)
- [`str::trim_suffix`]
  (https://doc.rust-lang.org/stable/std/primitive.str.html#method.trim_suffix)
- [`[T]::trim_prefix`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.trim_prefix)
- [`[T]::trim_suffix`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.trim_suffix)
- [`Path::trim_prefix`]
  (https://doc.rust-lang.org/stable/std/path/struct.Path.html#method.trim_prefix)
- [`Vec::from_fn`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_fn)
- [`os::windows::process::CommandExt::show_window`]
  (https://doc.rust-lang.org/stable/std/os/windows/process/trait.CommandExt.html#tymethod.show_window)

Cargo
-----
- Introduced Cargo's own linting system: some Cargo warnings are
  now emitted as lints that users can control in the `[lints.cargo]`
  table. This includes a new built-in unused dependency check via
  the `cargo::unused_dependencies` lint.
  [docs](https://doc.rust-lang.org/stable/cargo/reference/lints.html)
  [#17298](rust-lang/cargo#17298)
- Introduced minimum publish age configurations, also known as
  dependency cooldowns. When the relevant config is set, the resolver
  ignores versions published more recently than that, unless they
  are already in `Cargo.lock`. ([RFC 3923]
  (https://rust-lang.github.io/rfcs/3923-cargo-min-publish-age.html))
  [docs]
  (https://doc.rust-lang.org/stable/cargo/reference/resolver.html#publish-age)
  [#17335]
  (rust-lang/cargo#17335)
- cargo-install: now uses the existing lockfile in the `.crate`
  tarball by default. `--locked` in cargo install becomes a no-op.
  [#17388](rust-lang/cargo#17388)
- Cargo now uses a new directory layout for intermediate build
  artifacts. Tools that inspect the build directory may need to use
  [Cargoâs JSON messages]
  (https://doc.rust-lang.org/stable/cargo/reference/external-tools.html#json-messages)
  to locate build artifacts instead of relying on the build directory
  layout. The layout is not a stable interface and is subject to
  change. ([build cache doc]
  (https://doc.rust-lang.org/stable/cargo/reference/build-cache.html))
  [#17354](rust-lang/cargo#17354)

Rustdoc
-----
- [Add new `invalid_markdown_table` rustdoc lint]
  (rust-lang/rust#159583)

Compatibility Notes
-------------------
- [Closures now more precisely capture variables used in `if let`. This may cause new errors]
  (rust-lang/rust#154210)
- [Check dyn-compatibility of trait objects in more places]
  (rust-lang/rust#154992)
- [`Infallible` is now a type alias to `!`]
  (rust-lang/rust#155499)
- [The never type fallback was changed to `!` on all editions]
  (rust-lang/rust#155499)
- [`box` patterns are no longer syntactically allowed]
  (rust-lang/rust#156749)
- [Report Query Cycle errors in more cases when computing the layout of enums with explicit discriminants]
  (rust-lang/rust#157562)
- [Always escape grapheme extenders in `str::escape_debug`]
  (rust-lang/rust#158303)
- [Make let-else respect `macro_rules` `expr` metavariable grouping]
  (rust-lang/rust#158515)
- [`Iterator::{min,max}(_by_key)` changed which `Ord` methods they use.]
  (rust-lang/rust#160203) This cannot change
  behaviour (other than being potentially faster) for types correctly
  following the [`Ord` rules]
  (https://doc.rust-lang.org/std/cmp/trait.Ord.html), but may impact
  types with inconsistent trait implementations.
- [Emit an error when trying to enable SSE/AVX on an x86 (32bit or
  64bit) softfloat target]
  (rust-lang/rust#160302)
- [Require windowed (and exception) for Xtensa ABI]
  (rust-lang/rust#160643)
- [windows-gnullvm: always link libunwind statically]
  (rust-lang/rust#160712)
- [From version 1.94 up to 1.100 a number of ARMv7-A hardfloat
  targets required the `VFPv3-D32` FPU as a minimum, as they erroneously
  had the `d32` feature in their baseline list of features. Breakage
  introduced as a result of correcting this can be fixed by passing
  `-Ctarget-feature=+d32` to Rust.]
  (rust-lang/rust#160911)
- [Change "Rust" ABI on x86 to use SSE registers if they are
  always-available for the current target]
  (rust-lang/rust#161583)
- [Make the `ambiguous_glob_imported_traits` lint fire in slightly more cases]
  (rust-lang/rust#161805)
- [Make `+fix-cortex-a53-835769` a default feature for
`aarch64-unknown-fuchsia`]
  (rust-lang/rust#161886)
- [Some impls on `Box` have been generalised to arbitrary allocators,
  which may cause new type inference errors]
  (rust-lang/rust#161946)
- [The standard library now uses Unicode version 18.0.0]
  (https://doc.rust-lang.org/stable/std/primitive.char.html#associatedconstant.UNICODE_VERSION)
- [WASI SDK version was bumped from 33 to 34]
  (rust-lang/rust#163809)
- [On ARM targets, `-Ctarget-feature`/`-Ctarget-cpu` values that
  would alter the ABI are rejected as hard errors now.]
  (rust-lang/rust#161280)

Other
-----
- [Test harness now allows passing `--test-threads` and `--color`
  multiple times, with later arguments overriding earlier ones]
  (rust-lang/rust#161312)
markharding pushed a commit to futo-org/Harbor that referenced this pull request Nov 17, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rust](https://rust-lang.org/) ([source](https://github.com/rust-lang/rust), [changelog](https://github.com/rust-lang/rust/blob/main/RELEASES.md)) | tools | minor | `1.99.1` → `1.100.0` |
| [rust](https://hub.docker.com/_/rust) ([source](https://github.com/rust-lang/docker-rust)) | stage | minor | `1.99-slim-trixie` → `1.100-slim-trixie` |
| [rust](https://hub.docker.com/_/rust) ([source](https://github.com/rust-lang/docker-rust)) | final | minor | `1.99-slim-trixie` → `1.100-slim-trixie` |

---

### Release Notes

<details>
<summary>rust-lang/rust (rust)</summary>

### [`v1.100.0`](https://github.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-11000-2026-11-12)

[Compare Source](rust-lang/rust@1.99.1...1.100.0)

\==========================

<a id="1.100.0-Language"></a>

## Language

- [Stabilize never type](rust-lang/rust#155499)
- [Lint against repeated `#[repr(..)]` attributes](rust-lang/rust#157036)
- [Stabilize `extern "custom"`](rust-lang/rust#158504)
- [Extend `dropping_references`, `dropping_copy_types` and `undropped_manually_drops` lints to `drop_in_place`](rust-lang/rust#160229)
- [`unfulfilled_lint_expectations` no longer fires on `#[expect(dead_code)]` inside code that is covered by a dead parent's diagnostic](rust-lang/rust#161005)
- [Turn the error for `repr(align)` fields in a `repr(packed)` type into a deny-by-default lint `aligned_fields_in_packed`](rust-lang/rust#162160)
- [volatile: allow accesses to non-AM memory to trap](rust-lang/rust#160564)

<a id="1.100.0-Compiler"></a>

## Compiler

- [Stabilize `-Cprofile-sample-use`](rust-lang/rust#155942)
- [Enable next solver by default in orphanck](rust-lang/rust#160668)

<a id="1.100.0-Platform-Support"></a>

## Platform Support

- [`i686-pc-windows-gnu` is now a tier 2 without host tools target](rust-lang/rust#161681)
- [Promote `wasm32-wasip3` to Tier 2](rust-lang/rust#161940)
- [Add new Tier 3 target `powerpc64-sony-ps3`](rust-lang/rust#162072)

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

[platform-support-doc]: https://doc.rust-lang.org/rustc/platform-support.html

<a id="1.100.0-Libraries"></a>

## Libraries

- [Stabilize custom allocators](rust-lang/rust#156882)
- [Map `ENOTSUP` to `ErrorKind::Unsupported`](rust-lang/rust#158580)
- [Fix soundness issues in `std::sys::pal::sgx::waitqueue::unsafe_list`](rust-lang/rust#161334)

<a id="1.100.0-Stabilized-APIs"></a>

## Stabilized APIs

- [`impl PartialEq<Cow<'_, [U]>> for Vec<T, A>`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-Vec%3CT,+A%3E)
- [`impl PartialEq<Cow<'_, [U]>> for &[T]`](https://doc.rust-lang.org/stable/std/primitive.slice.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-%26%5BT%5D)
- [`impl PartialEq<Cow<'_, [U]>> for &mut [T]`](https://doc.rust-lang.org/stable/std/primitive.slice.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-%26mut+%5BT%5D)
- [`std::alloc::Allocator`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html)
- [`std::alloc::Global`](https://doc.rust-lang.org/stable/std/alloc/struct.Global.html)
- [`std::alloc::System`](https://doc.rust-lang.org/stable/std/alloc/struct.System.html)
- [`impl Allocator for Global`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Global)
- [`impl Allocator for System`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-System)
- [`impl<A: Allocator> Allocator for &A`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-%26A)
- [`impl<T: Allocator, A: Allocator> Allocator for Box<T, A>`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Box%3CT,+A%3E)
- [`impl<A: Allocator> Allocator for &mut A`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-%26mut+A)
- [`impl<T: Allocator, A: Allocator> Allocator for Arc<T, A>`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Arc%3CT,+A%3E)
- [`impl<T: Allocator, A: Allocator> Allocator for Rc<T, A>`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Rc%3CT,+A%3E)
- [`Box::new_in`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.new_in)
- [`Box::from_raw_in`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.from_raw_in)
- [`Box::from_non_null_in`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.from_non_null_in)
- [`Box::into_raw_with_allocator`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.into_raw_with_allocator)
- [`Box::into_non_null_with_allocator`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.into_non_null_with_allocator)
- [`Box::allocator`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.allocator)
- [`Vec::new_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.new_in)
- [`Vec::with_capacity_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.with_capacity_in)
- [`Vec::from_raw_parts_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_raw_parts_in)
- [`Vec::from_parts_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_parts_in)
- [`Vec::into_raw_parts_with_allocator`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.into_raw_parts_with_allocator)
- [`Vec::into_parts_with_allocator`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.into_parts_with_allocator)
- [`Vec::allocator`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.allocator)
- [`Child::main_thread_handle`](https://doc.rust-lang.org/stable/std/os/windows/process/trait.ChildExt.html#tymethod.main_thread_handle)
- [`impl Default for std::sync::Once`](https://doc.rust-lang.org/stable/std/sync/struct.Once.html#impl-Default-for-Once)
- [`bool::toggle`](https://doc.rust-lang.org/stable/std/primitive.bool.html#method.toggle)
- [`Box::take`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.take)
- [`Box::map`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.map)
- [`Rc::map`](https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#method.map)
- [`Arc::map`](https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#method.map)
- [`impl AsRef<T> for !`](https://doc.rust-lang.org/stable/std/primitive.never.html#impl-AsRef<T>-for-!)
- [`impl AsMut<T> for !`](https://doc.rust-lang.org/stable/std/primitive.never.html#impl-AsMut<T>-for-!)
- [`core::mem::DropGuard`](https://doc.rust-lang.org/stable/core/mem/struct.DropGuard.html)
- [`core::mem::conjure_zst`](https://doc.rust-lang.org/stable/core/mem/fn.conjure_zst.html)
- [`UnsafeCell::replace`](https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.replace)
- [`UnsafeCell::as_ref_unchecked`](https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.as_ref_unchecked)
- [`UnsafeCell::as_mut_unchecked`](https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.as_mut_unchecked)
- [`str::trim_prefix`](https://doc.rust-lang.org/stable/std/primitive.str.html#method.trim_prefix)
- [`str::trim_suffix`](https://doc.rust-lang.org/stable/std/primitive.str.html#method.trim_suffix)
- [`[T]::trim_prefix`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.trim_prefix)
- [`[T]::trim_suffix`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.trim_suffix)
- [`Path::trim_prefix`](https://doc.rust-lang.org/stable/std/path/struct.Path.html#method.trim_prefix)
- [`Vec::from_fn`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_fn)
- [`os::windows::process::CommandExt::show_window`](https://doc.rust-lang.org/stable/std/os/windows/process/trait.CommandExt.html#tymethod.show_window)

<a id="1.100.0-Cargo"></a>

## Cargo

- Introduced Cargo's own linting system: some Cargo warnings are now emitted as lints that users can control in the `[lints.cargo]` table. This includes a new built-in unused dependency check via the `cargo::unused_dependencies` lint. [docs](https://doc.rust-lang.org/stable/cargo/reference/lints.html) [#&#8203;17298](rust-lang/cargo#17298)
- Introduced minimum publish age configurations, also known as dependency cooldowns. When the relevant config is set, the resolver ignores versions published more recently than that, unless they are already in `Cargo.lock`. ([RFC 3923](https://rust-lang.github.io/rfcs/3923-cargo-min-publish-age.html)) [docs](https://doc.rust-lang.org/stable/cargo/reference/resolver.html#publish-age) [#&#8203;17335](rust-lang/cargo#17335)
- cargo-install: now uses the existing lockfile in the `.crate` tarball by default. `--locked` in cargo install becomes a no-op. [#&#8203;17388](rust-lang/cargo#17388)
- Cargo now uses a new directory layout for intermediate build artifacts. Tools that inspect the build directory may need to use [Cargo’s JSON messages](https://doc.rust-lang.org/stable/cargo/reference/external-tools.html#json-messages) to locate build artifacts instead of relying on the build directory layout. The layout is not a stable interface and is subject to change. ([build cache doc](https://doc.rust-lang.org/stable/cargo/reference/build-cache.html)) [#&#8203;17354](rust-lang/cargo#17354)

## Rustdoc

- [Add new `invalid_markdown_table` rustdoc lint](rust-lang/rust#159583)

<a id="1.100.0-Compatibility-Notes"></a>

## Compatibility Notes

- [Closures now more precisely capture variables used in `if let`. This may cause new errors](rust-lang/rust#154210)
- [Check dyn-compatibility of trait objects in more places](rust-lang/rust#154992)
- [`Infallible` is now a type alias to `!`](rust-lang/rust#155499)
- [The never type fallback was changed to `!` on all editions](rust-lang/rust#155499)
- [`box` patterns are no longer syntactically allowed](rust-lang/rust#156749)
- [Report Query Cycle errors in more cases when computing the layout of enums with explicit discriminants](rust-lang/rust#157562)
- [Always escape grapheme extenders in `str::escape_debug`](rust-lang/rust#158303)
- [Make let-else respect `macro_rules` `expr` metavariable grouping](rust-lang/rust#158515)
- [`Iterator::{min,max}(_by_key)` changed which `Ord` methods they use.](rust-lang/rust#160203) This cannot change behaviour (other than being potentially faster) for types correctly following the [`Ord` rules](https://doc.rust-lang.org/std/cmp/trait.Ord.html), but may impact types with inconsistent trait implementations.
- [Emit an error when trying to enable SSE/AVX on an x86 (32bit or 64bit) softfloat target](rust-lang/rust#160302)
- [Require windowed (and exception) for Xtensa ABI](rust-lang/rust#160643)
- [windows-gnullvm: always link libunwind statically](rust-lang/rust#160712)
- [From version 1.94 up to 1.100 a number of ARMv7-A hardfloat targets required the `VFPv3-D32` FPU as a minimum, as they erroneously had the `d32` feature in their baseline list of features. Breakage introduced as a result of correcting this can be fixed by passing `-Ctarget-feature=+d32` to Rust.](rust-lang/rust#160911)
- [Change "Rust" ABI on x86 to use SSE registers if they are always-available for the current target](rust-lang/rust#161583)
- [Make the `ambiguous_glob_imported_traits` lint fire in slightly more cases](rust-lang/rust#161805)
- [Make `+fix-cortex-a53-835769` a default feature for `aarch64-unknown-fuchsia`](rust-lang/rust#161886)
- [Some impls on `Box` have been generalised to arbitrary allocators, which may cause new type inference errors](rust-lang/rust#161946)
- [The standard library now uses Unicode version 18.0.0](https://doc.rust-lang.org/stable/std/primitive.char.html#associatedconstant.UNICODE_VERSION)
- [WASI SDK version was bumped from 33 to 34](rust-lang/rust#163809)
- [On ARM targets, `-Ctarget-feature`/`-Ctarget-cpu` values that would alter the ABI are rejected as hard errors now.](rust-lang/rust#161280)

<a id="1.100.0-Internal-Changes"></a>

## Other

- [Test harness now allows passing `--test-threads` and `--color` multiple times, with later arguments overriding earlier ones](rust-lang/rust#161312)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 9am on tuesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjcuNCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyNy40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==-->

Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2356
Reviewed-by: Thomas de Zeeuw <thomas@futo.org>
theJC pushed a commit to theJC/rover that referenced this pull request Dec 2, 2026
…hql#4205)

`git-url-parse` 0.6.0 doesn't compile on Rust 1.100, which blocks the
toolchain update. Its parsers name their return types as `<dyn Parser<…>
as Parser>::Output`. nom 8's `Parser` trait isn't dyn compatible, and
rust-lang/rust#154992 stops the compiler from accepting that pattern. A
fix is open upstream (tjtelan/git-url-parse-rs#84), but nothing has been
released.

This switches `rover-client`'s git remote sanitizing to
[`gix-url`](https://crates.io/crates/gix-url) from gitoxide:

- It parses the same remote forms, including scp-like `user@host:path`
remotes.
- It returns errors instead of panicking, so the `catch_unwind` and
global panic-hook swap around parsing are removed.
- The sanitizing rules are unchanged: no host means no remote URL, the
password is always dropped, and the user is dropped unless it's `git`.

### Behavior change

`ssh://` remotes, and `https://` remotes with a `git` user, are now sent
to GraphOS as valid URLs. `git-url-parse` printed `ssh://` remotes with
a `:` after the host, and put `git@` in front of the whole URL when the
user was `git`.

| Remote | Before | After |
|---|---|---|
| `ssh://user@github.com/org/repo` | `ssh://github.com:org/repo` |
`ssh://github.com/org/repo` |
| `ssh://git@github.com/org/repo.git` |
`git@ssh://github.com:org/repo.git` |
`ssh://git@github.com/org/repo.git` |
| `https://git:secret@github.com/org/repo.git` |
`git@https://github.com/org/repo.git` |
`https://git@github.com/org/repo.git` |

https remotes without a `git` user and `git@host:path` remotes are
unchanged. The tests for the `ssh://` cases are updated, and new tests
cover a `git` user in `ssh://` and `https://` URLs and host-less remotes
(`file://`, absolute and relative paths).

It builds on both 1.99.1 and 1.100, so it can merge ahead of the
toolchain update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

old solver: check dyn compatability when normalizing

9 participants