Skip to content

1.100 beta crater regression: "can't find crate for docmatic" #164160

Closed as not planned

Description

@theemathas

This regression was discovered in the 1.100 beta crater run.

[INFO] [stdout] running 1 test
[INFO] [stdout] test README.md - docmatic::Usage (line 23) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- README.md - docmatic::Usage (line 23) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `docmatic`
[INFO] [stdout]   --> README.md:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | extern crate docmatic;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     README.md - docmatic::Usage (line 23)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stdout] test test_readme ... FAILED

https://crater-reports.s3.amazonaws.com/beta-1.100-4/1.100.0-beta.1/reg/docmatic-0.1.2/log.txt

Activity

  1. added
    C-bugCategory: This is a bug.
    E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
    E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
    on Oct 11, 2026
  2. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}
    on Oct 11, 2026
  3. theemathas commented on Oct 11, 2026

    @theemathas
    ContributorAuthor

    Bisection results:

    searched toolchains 96eb6d756bb98a82ae056c384575ff059bf80e8f through fd98695850065878fa7de48808dca4f0901cefbb
    
    
    ********************************************************************************
    Regression in 83709eedfff36840b0749ca429ac43f5479b268f
    ********************************************************************************
    
    Attempting to search unrolled perf builds
    ERROR: couldn't find perf build comment
    

    Regressed in #159857. Unsure if this is due to the cargo build dir v2 change.

  4. added
    T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.
    S-has-bisectionStatus: A bisection has been found for this issue
    and removed
    E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
    on Oct 11, 2026
  5. weihanglo commented on Oct 11, 2026

    @weihanglo
    Member

    This seems to be the same root cause of build dir layout v2

    It expect the deps directory in lib search path.
    https://github.com/assert-rs/docmatic/blob/e2e0492d5fafd85574d36113c905921e8bb04dfe/src/lib.rs#L104-L118

    It is anyway archived (and epage owns that).

  6. removed
    E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Oct 11, 2026
  7. theemathas commented on Oct 14, 2026

    @theemathas
    ContributorAuthor

    Closing as intended breakage, and the affected crate is archived.

  8. removed
    I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.S-has-bisectionStatus: A bisection has been found for this issueT-cargoRelevant to the cargo team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions