Hello! I’m writing a library in racket and I’ve got a strange error message on building the library:
write: cannot marshal value that is embedded in compiled code
I’ve googled a bit about this error message but it provides me no clue on how to solve it.
This error happens only when building the library on github CI service
it does not happen when running the test cases on my desktop machine
any pointers would be really helpful.
Have you seen this? https://lists.racket-lang.org/dev/archive/2012-July/010101.html
It might give a clue wrt what to look for.
It is odd, that you don’t get an error on both machines - unless the issue is that you are generating some value in your own machine that can’t later be read by the instance on the CI service.
Hi!
Yeah, that’s weird.
The library is a simple language
and I manage to get some tests running on the interpreter
but whenever I push the code on github, it runs the CI service and returns the error message
It’s an uncommon error, so it hard to guess what is wrong.
By “interpreter” do you mean your own?
No, in racket interpreter
the code runs just fine
I’ll try to add the prefab thing to the datatypes and see what happens
Same version of Racket on your machine and the CI service?