Rust 1.100.0 shipped on November 12, 2026, and the never type ! is finally stable. The release post counts "10 years and 5 failed stabilization attempts" to get here. The price is a change to never type fallback in editions 2015, 2018 and 2021, which the release team expects to be "largely unnoticeable".

For code you wrote, that holds, because the patterns the change breaks have been compile errors since Rust 1.92. The breakage arrives through old dependency versions pinned in your Cargo.lock. We built redis 0.25.4 on both toolchains: 1.99.0 compiled it with a future-incompatibility warning, 1.100.0 refused. One unsafe pattern is worse. Inside a dependency, 1.100.0 compiled it without a single warning, and the binary aborted at runtime.

What Rust 1.100 changes about the never type

You could already write -> ! on a function that never returns. The release post says 1.100 "allows naming the never type anywhere", so Result<T, !> is a legal type for an operation that cannot fail. The release post's example:

fn infallible_unwrap<T>(res: Result<T, !>) -> T {
    // ^^ writing `Result<_, !>` was not allowed before
    let Ok(v) = res;
    v
}

The standard library's Infallible is now an alias for !, which the post says "makes all old APIs that used Infallible be compatible with using !". The post is direct about the cost: "to allow changing Infallible, we had to introduce a breaking change." When the compiler meets a value of type ! and cannot work out what type it should coerce to, it picks a fallback. Before the 2024 edition the fallback was (). From 1.100 it is ! on every edition.

WaffleLapkin's PR #155499 made the change, merged on August 24 for the 1.100.0 milestone. It also deletes the dependency_on_unit_never_type_fallback lint, since there is no () fallback left for it to detect. The edition guide is plain about the migration: "There is no automatic fix to update code that assumed a fallback to ()."

Your own code has been rejected since Rust 1.92

Rollout took two years, which is why 1.100 looks quiet. Each step is in the release notes:

VersionReleasedWhat changed
1.80.02024-07-25New lint for never type fallback flowing into unsafe code
1.89.02025-08-07Never type future-incompatibility warnings start appearing for dependencies
1.92.02025-12-11never_type_fallback_flowing_into_unsafe and dependency_on_unit_never_type_fallback become deny-by-default
1.100.02026-11-12Fallback is ! on all editions, Infallible becomes !, the dependency lint is removed

We checked what that means on 1.99.0 with an edition 2021 library holding the two patterns the edition guide describes as common. One applies ? to a generic function whose Ok type is only constrained by Default. The other passes a closure that panics to a function whose return type must implement a trait. On 1.99.0 the build already failed:

error: this function depends on never type fallback being `()`
 --> src/lib.rs:8:1
  |
8 | pub fn warm_up() -> Result<(), ConfigError> {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: specify the types explicitly
note: in edition 2024, the requirement `!: Default` will fail
...
  = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
help: use `()` annotations to avoid fallback changes
  |
9 |     load_section::<()>("cache")?;
  |                 ++++++

On 1.100.0 the same code fails with a plain type error, the trait bound `!: Default` is not satisfied, plus a note pointing at the tracking issue #148922 and the hint "you might have intended to use the type `()` here instead". The fix is identical on both versions. Name the type in the call, load_section::<()>("cache")?;, or bind it with () = load_section("cache")?;. For the closure, the edition guide's fix is an explicit return type, || -> () { panic!() }. If your workspace builds on 1.99 and you have not allowed either lint, your own crates are already clean.

The break arrives through Cargo.lock

Dependencies get different treatment. When we moved the same library into a git dependency, 1.99.0 built the whole project, exit code 0, and printed a two-line warning after the build finished:

warning: the following packages contain code that will be rejected by a future version of Rust: oldconfig v0.1.0 (file:///tmp/hands-on/rust-1-100/oldconfig#977de8a7)
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`

In the crater analysis on the stabilization PR, WaffleLapkin found "only 7 failures" in crates broken directly, and wrote that "practically all ~3K crater failures are coming from crates which depend on old versions of libraries, which already have a patched version." LWN's write-up adds that backported fixes cleared 1,553 of the failing crates, and that some maintainers refused to backport to versions past their end of life. Crater only covers public code, so your private crates were never part of that count.

To see one of these break for real, we built a project whose only dependency was redis = "=0.25.4", the last version in the affected range on the crater list. On 1.99.0 it finished in 10.98 s with the same future-incompatibility warning. On 1.100.0:

error[E0277]: the trait bound `!: FromRedisValue` is not satisfied
   --> .../redis-0.25.4/src/script.rs:150:37
    |
150 |                     self.load_cmd().query(con)?;
    |                                     ^^^^^ the trait `FromRedisValue` is not implemented for `!`
...
error: could not compile `redis` (lib) due to 1 previous error

The failing line is exactly the case the release post describes: the result of query<T: FromRedisValue>, a function generic over its return type, is discarded with ?. The redis-rs maintainers saw the warning in June 2024 (issue #1228) and merged a fix in PR #1229 that July. In our tests, redis 0.26.0 builds on 1.100.0, and so does 0.25.5, a patch release on the old line. With the requirement written as redis = "0.25", a plain cargo update moved the lockfile from 0.25.4 to 0.25.5 and the 1.100.0 build went green without touching application code.

Several names on the crater list turn up in ordinary backend services. Reverse-dependency counts come from the crater run, so they show reach, not market share:

CrateAffected versions in craterMost-used affected versionFix per the crater analysis
redis0.13.0 to 0.25.40.24.0 (117), 0.25.4 (112)redis-rs PR #1229; 0.25.5 and 0.26.0 build in our tests
sqlx-postgres0.7.1 to 0.8.00.7.4 (618)"seems to be fixed by the same commit as sqlx"
solana-client1.17.0 to 2.0.251.18.26 (211)fixed in an agave commit
bluer0.13.1 to 0.17.30.17.3 (46)0.17.4
domain0.8.0 to 0.10.10.10.0 and 0.10.1 (4 each)0.10.2
rlua0.16.2 to 0.19.80.17.1 (13)deprecated; mlua is fixed

This has the same shape as TypeScript 7's compiler API break: the language change is small, and the cost lands on whoever is still pinned to an old library version.

Build once on 1.99 before you switch

Rust 1.100 also removes the warning that would have told you about the problem. After the fallback flip there is nothing left to warn about, and in our tests cargo report future-incompatibilities on 1.100.0 answered "no reports are currently available". The information exists only on 1.99 and earlier, so run the check there first:

rustup toolchain install 1.99.0 --profile minimal
cargo clean
cargo +1.99.0 build
cargo +1.99.0 report future-incompatibilities

That is the sequence we ran against the redis 0.25.4 project. The report names the package, quotes the lint down to the file and line inside the registry source (redis-0.25.4/src/script.rs:150:37), and lists the newer versions available, 0.25.5 first. Build every target you ship, since a dependency behind a feature flag or a second binary only gets checked if it compiles.

For each package the report lists, LWN describes the options: update to a version that carries the fix, patch the call sites yourself, or stay on Rust 1.99. LWN notes the backports shipped as new patch versions, "which many Rust build environments will pick up automatically". For a crate with no fixed release, the report itself points at the [patch] section in Cargo.toml.

One unsafe pattern compiles clean and aborts

The other lint, never_type_fallback_flowing_into_unsafe, covers the case where fallback decides the type an unsafe function returns. Rust 1.100 keeps it, still deny-by-default, so this fails to compile in your own crate on both 1.99.0 and 1.100.0:

fn reset_slot(ready: bool) {
    if ready {
        unsafe { std::mem::zeroed() }
    } else {
        return;
    };
}

On 1.100.0 the compiler adds a second message, warning: the type `!` does not permit zero-initialization, with the note "this code causes undefined behavior when executed". With () as the fallback, mem::zeroed() produced a harmless unit value. With !, it is asked for a value of a type that has none.

A sealed inspection gate lets a crate pass without a scan while an alarm lamp lights further down the line

We moved that function into a git dependency and called it from a binary. On 1.99.0, Cargo reported the dependency as future-incompatible and the program printed "slot reset". On 1.100.0 the build printed nothing but the usual Compiling and Finished lines, cargo report future-incompatibilities answered "no reports are currently available", and the binary died:

thread 'main' (2419105) panicked at /rustc/0ef1bc386059596dada8fb65b50425aab2ea637a/library/core/src/panicking.rs:225:5:
attempted to instantiate uninhabited type `!`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.

The process exited with code 134 in both debug and --release builds. We only tested mem::zeroed and have no data on how many published crates contain the pattern. Crates heavy on unsafe are where we would look first; Bun's Rust rewrite merged with 13,000 unsafe blocks. On 1.99 this case appears in the same future-incompatibility report as the compile errors, and on 1.100 nothing reports it before it runs.

Cargo moved your test binaries

Cargo brings the second change that breaks pipelines. The release post says the build directory now organizes files "around their build step, rather than their file type", "moving the hash from a file's name to the parent directory." Here is what cargo test --no-run reported for the same project on each version:

# 1.99.0
Executable unittests src/main.rs (target/debug/deps/layout-1edb7919e3e7bb17)
Executable tests/api.rs (target/debug/deps/api-56732c6711639ac2)

# 1.100.0
Executable unittests src/main.rs (target/debug/build/layout/291c927df3c2e2a2/out/layout-291c927df3c2e2a2)
Executable tests/api.rs (target/debug/build/layout/06e9b9a17c342f6d/out/api-06e9b9a17c342f6d)

After a 1.100.0 build there is no target/debug/deps/ directory at all. Any script that globs target/debug/deps/api-* to find a test binary, whether to run it under a coverage tool, copy it into a container stage or hand it to a custom runner, now finds nothing. cargo#17287 collects these use cases and lists code coverage, naming cargo-llvm-cov, and custom test runners among them. We did not test whether those tools already handle the new layout.

The Cargo book calls the layout "internal to Cargo", and the release notes say it "is not a stable interface and is subject to change". The supported route is Cargo's JSON messages, which worked on 1.100.0:

cargo test --no-run --message-format=json \
  | jq -r 'select(.executable != null and .profile.test == true) | .executable'

Integration tests that need the path of the package's own binary can use std::env::var("CARGO_BIN_EXE_<name>") instead. Per cargo#17287 that variable only exists for integration tests under tests/, not for unit tests in src/.

Dependency cooldowns only hold when Cargo 1.100 resolves

Rust 1.100 also stabilizes min-publish-age, which the release post calls "dependency cooldowns": Cargo skips versions published more recently than a window you set. It is opt-in, in .cargo/config.toml:

[registry]
global-min-publish-age = "14 days"

With that set, a fresh lockfile for a small manifest (serde, tokio, clap, anyhow, regex, syn) held one package back:

Locking 31 packages to highest Rust 1.100.0 compatible versions as of 14 days ago
  Adding syn v3.0.9 (available: v3.0.10, published 7 days ago)

The gap is older toolchains. Cargo 1.99.0 read the same config, printed warning: ignoring `registry.global-min-publish-age` without `-Zmin-publish-age`, and locked syn 3.0.10. Cargo 1.100.0 then built the project against that lockfile, exit code 0, with no publish-age warning and syn still at 3.0.10, because the resolver keeps a too-new version "unless they already exist in the Cargo.lock file". Only an explicit cargo update on 1.100.0 put it right, with Downgrading syn v3.0.10 -> v3.0.9. A cooldown is only as strong as the oldest Cargo that writes your lockfile, whether that is a teammate's toolchain or an update job pinned to an older image.

A few more limits from the release post: versions without a pubtime field in the index are never held back, cargo install ignores the setting entirely, and CARGO_RESOLVER_INCOMPATIBLE_PUBLISH_AGE=allow overrides it for one update when you need a security fix today. RFC 3923 also allows per-registry values and describes a CI job that sets that variable to test the newest versions while developers stay behind the window. The post is careful to say cooldowns "are not a complete defense on their own". Like npm v12 turning off install scripts, it is a supply-chain safeguard that only protects machines running the new version.

One more Cargo change can catch release scripts: cargo install now uses the lockfile shipped in the .crate tarball by default, which makes --locked a no-op.

The unused-dependency warning will not fail CI

Cargo now reports dependencies no target uses. On our test crate with an unused itoa, 1.100.0 printed warning: unused dependency `itoa` and 1.99.0 printed nothing. The warning only appears when Cargo builds every target that could use the dependency, so cargo check --bin unused stayed silent, and the docs say [dev-dependencies] are never checked.

If your CI relies on RUSTFLAGS="-D warnings" to keep builds clean, this one slips through: our build printed the warning and exited 0. RUSTFLAGS goes to rustc, and this is a Cargo lint. To enforce it, set the level in the manifest, as the Cargo lints reference shows. With unused_dependencies = "deny" under [lints.cargo], the same check failed with error: unused dependency `itoa` and exit code 101.

What to do before you bump the toolchain

Run these in order, before anyone changes the pinned toolchain in CI:

  1. On 1.99, run cargo clean, build every target you ship, then read cargo report future-incompatibilities. Update or patch each package it names.
  2. Search CI scripts, Dockerfiles and coverage jobs for target/debug/deps and target/release/deps, and switch them to --message-format=json.
  3. If you adopt global-min-publish-age, make sure everything that writes Cargo.lock runs Cargo 1.100 or later, then run cargo update once on 1.100 so held-back versions are applied.
  4. Decide whether unused_dependencies should be deny in CI.
  5. Run rustup update stable and a full CI pass on 1.100.

If the 1.99 report comes back empty, there is no reason to wait. If it names an abandoned crate with no fixed release, staying on 1.99 while you replace it is an option LWN lists outright, but every later stable release will need the same fix. Two things are worth watching from here: cargo#17287, where the Cargo team is collecting what tools need from the build directory, and the crates.io supply chain hardening goal, which the release post says will bring quarantine support and automated detection of suspicious releases on top of cooldowns.