Skip to content
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

Cannot precompile SimpleMock.jl on Julia nightly (1.12) #20

Closed
DilumAluthge opened this issue Oct 21, 2024 · 4 comments
Closed

Cannot precompile SimpleMock.jl on Julia nightly (1.12) #20

DilumAluthge opened this issue Oct 21, 2024 · 4 comments

Comments

@DilumAluthge
Copy link
Member

ERROR: LoadError: The following 1 direct dependency failed to precompile:

SimpleMock --code-coverage=@/home/runner/work/RegistryCI.jl/RegistryCI.jl --color=yes --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none --check-bounds=yes --compiled-modules=yes 

Failed to precompile SimpleMock [a896ed2c-15a5-4479-b61d-a0e88e2a1d25] to "/home/runner/.julia/compiled/v1.12/SimpleMock/jl_uTn9Ae".
ERROR: LoadError: FieldError: type CodeInfo has no field `linetable`, available fields: `code`, `debuginfo`, `ssavaluetypes`, `ssaflags`, `slotnames`, `slotflags`, `slottypes`, `rettype`, `parent`, `edges`, `min_world`, `max_world`, `method_for_inference_limit_heuristics`, `nargs`, `propagate_inbounds`, `has_fcall`, `nospecializeinfer`, `isva`, `inlining`, `constprop`, `purity`, `inlining_cost`
@vchuravy
Copy link

Likely a Cassette issue since I don't see code here that accesses internals

@DilumAluthge
Copy link
Member Author

Indeed.

@DilumAluthge
Copy link
Member Author

@DilumAluthge
Copy link
Member Author

Fixed by JuliaLabs/Cassette.jl#210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants