-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
breaking(nightly
): Ambiguous import. Multiple matching files found inside base path and/or include paths
#9365
breaking(nightly
): Ambiguous import. Multiple matching files found inside base path and/or include paths
#9365
Comments
nightly
): Ambiguous import. Multiple matching files found inside base path and/or include paths
Source of the error in
Possibly related to recent changes in https://github.com/foundry-rs/compilers? cc @klkvr / @DaniPopes / @grandizzy |
yeah, was able to confirm was working before compilers update in #8668 |
pretty sure the right fix would be the one for #9146 which should just ignore remappings from deps if already present in project root remapping |
I am not sure is the same issue, I am not able to replicate the failure locally with master, did you try with latest nightly and still fails? thank you |
I can't reproduce our issue locally either, even after foundryup and forge clean. Happy to open another issue if you think this is different @grandizzy! But, yes, latest nightly still fails |
The root cause is that solc does not receive the @DaniPopes I'm seeing such errors related to comments in unusual places in logs:
|
I suspect that's a CI caching issue, on a successful run the missing deps are found and installed https://github.com/ScopeLift/flexible-voting/actions/runs/11821757268/job/32937233608#step:4:9 whereas on the failure it is starts building directly hence no file present in path https://github.com/ScopeLift/flexible-voting/actions/runs/11821757268/job/33208886192#step:4:9 @klkvr do you think this is the same issue as the original one? thanks |
It is not the same issue but probably also related to path resolution, unsure what exactly is happening there without a repro |
👍 @davidlaprade please retry with tomorrow's build (that should include fix for this issue) and open a ticket if you still see the ptoblem. Thank you. |
Thanks! Will do |
A nightly with a fix has been released: https://github.com/foundry-rs/foundry/releases/tag/nightly-fb5f0e1c4d9b9b0861be3e3bd07963524c5ac08e |
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
nightly
What command(s) is the bug in?
forge build
Operating System
None
Describe the bug
Recent nightly from 2 days ago giving errors both on local and on CI
You can check a run https://github.com/superform-xyz/SuperVaults/actions/runs/11918496623/job/33216055316
If you run this repo on foundryup -C 9d74675 the error won't exist
Note: this is urgent as it is breaking all of our CI runs
The text was updated successfully, but these errors were encountered: