Skip to content

Unexpected test failure on CI for scrape_examples_basic #10120

Closed
@ehuss

Description

The doc::scrape_examples_basic test unexpectedly failed in CI for PR #10116:

---- doc::scrape_examples_basic stdout ----
running `D:\a\cargo\cargo\target\debug\cargo.exe doc -Zunstable-options -Z rustdoc-scrape-examples=all`
thread 'doc::scrape_examples_basic' panicked at 'assertion failed: p.build_dir().join(\"doc/src/ex/ex.rs.html\").exists()', tests\testsuite\doc.rs:2187:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    doc::scrape_examples_basic

I cannot reproduce this locally using macOS or nightly-x86_64-pc-windows-gnu.

Perhaps the CI machine was having a bad day? Opening this to track to see if it ever happens again.

nightly-x86_64-pc-windows-gnu
rustc 1.58.0-nightly (b426445c6 2021-11-24)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions