Skip to content

Rewatch: panic on clean in analysis tests #7688

Description

@cknitt

When I run make test-analysis locally, I get

make -C tests/analysis_tests clean test
make -C tests clean
yarn clean
WARN:

Package name mismatch for /Users/christoph/projects/cca/rescript/tests/analysis_tests/tests:
The package.json name is "@tests/analysis", while the rescript.json name is "test"
This inconsistency will cause issues with package resolution.

WARN:

Package name mismatch for /Users/christoph/projects/cca/rescript/tests/dependencies/rescript-react:
The package.json name is "@tests/rescript-react", while the rescript.json name is "@rescript/react"
This inconsistency will cause issues with package resolution.

[1/2] 🧹 Cleaned compiler assets in 0.00s
[2/2] 🧹 Cleaning .res.js files...

thread 'main' panicked at src/build/clean.rs:68:78:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make[2]: *** [clean] Error 101
make[1]: *** [clean] Error 2
make: *** [test-analysis] Error 2

This must be the case since #7657 was merged.

Don't know why this does not occur in CI.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions