Tests assumes the location of build artifacts - This isn't the case when a user sets `build.build-dir` (added as of Cargo 1.91) - This isn't the case if we approve the new `build-dir` layout (https://github.com/rust-lang/cargo/issues/15010) - This isn't the case if we change the `build.build-dir` default (https://github.com/rust-lang/cargo/issues/16147) You can reproduce this by running either: ```console $ cargo +nightly test -Zbuild-dir-new-layout $ CARGO_BUILD_BUILD_DIR=build cargo test ``` This is being tracked upstream at https://github.com/emk/subtitles-rs/issues/65. Alternatives with a fix available include - https://crates.io/crates/executable-path - https://crates.io/crates/assert_cmd - https://crates.io/crates/snapbox This problem was identified by the following crater run: https://github.com/rust-lang/rust/pull/149852
Tests assumes the location of build artifacts
build.build-dir(added as of Cargo 1.91)build-dirlayout (Re-organize build-dir by package + hash, rather than artifact type rust-lang/cargo#15010)build.build-dirdefault (Movebuild-dirout of the workspace tocargo-cache-homeby default rust-lang/cargo#16147)You can reproduce this by running either:
This is being tracked upstream at emk/subtitles-rs#65. Alternatives with a fix available include
This problem was identified by the following crater run: rust-lang/rust#149852