Closed ginty closed 2 years ago
Yep something to do with this keyring crate, @coreyeng you got any thoughts/experience with this error?
It builds fine on my local machine, just not here.
Actually I think its related to the Rust version, I'm using a newer version that here and I can see it fail locally using the older version used in the regression test
I had some issues with this as well and had the specs passing with this toml and this actions update, which is along what Priyavadan had linked.
I did update Rust to 2021 but I've been only running Windows so far.
Keyring is so far only used by the users
though for password storage and is something I'll be working on if it fails for me when I get around to a PR. If you can't get it, I'm fine with you just removing it for now and I'll deal with it in my branch.
Thanks @coreyeng I've removed that patch and now running with latest rust and latest keyring seems to work fine,
This is a big diff but is just refactoring without any functional changes.
The end goal was to make the STIL parser available in Origen Metal and to make the AST infrastructure (e.g. the Node type) more generic and also available from Metal.
The following has changed:
Node
type is now generic and no longer coupled to the single node Attr type that previously encompassed all pattern and flow nodes. There are now 3 types of nodes used in O2 -Node<PAT>
(Origen pattern),Node<PGM>
(Origen test flow) andNode<STIL>
.origen_metal::ast
origen_metal::stil
origen_metal::Error
andorigen::Error
types and so this also removes the Error type and all associates error macros from Origen, everything is now anorigen_metal::Error
(although it is aliased toorigen::Error
). Use thebail!
macro anytime you want to generate and return an error from anywhere.