Topic discussion checklist
fuelup show
active toolchain
----------------
latest-x86_64-unknown-linux-gnu (default)
forc : 0.67.0
- forc-client
- forc-deploy : 0.67.0
- forc-run : 0.67.0
- forc-submit : 0.67.0
- forc-crypto : 0.67.0
- forc-debug : 0.67.0
- forc-doc : 0.67.0
- forc-fmt : 0.67.0
- forc-lsp : 0.67.0
- forc-migrate : 0.67.0
- forc-tx : 0.67.0
- forc-wallet : 0.12.0
fuel-core : 0.41.9
fuel-core-keygen : 0.41.9
fuels versions
--------------
forc : 0.70
forc-wallet : 0.70
My old code which was compiling fine now started to throw errors:
forc build
Building /home/tit4n/lync/fuel/fuelup/fuelup-fun-smart-contracts
Creating a new `Forc.lock` file. (Cause: lock file did not match manifest)
Removing core
Removing standards git+https://github.com/FuelLabs/sway-standards?default-branch#a50375e03c746d3a8f75ea069a5cad1b55831209
Removing std git+https://github.com/fuellabs/sway?tag=v0.66.5#94a066652468b4afa3bd396dacef482ed590976b
Removing sway_libs git+https://github.com/FuelLabs/sway-libs?default-branch#205e0e617cea37649c31b93563393ded79c76493
Adding standards git+https://github.com/FuelLabs/sway-standards?default-branch#90951da15fa97fc40e3b6ad6967f369e81df6095
Adding std git+https://github.com/fuellabs/sway?tag=v0.67.0#d821dcb0c7edb1d6e2a772f5a1ccefe38902eaec
Adding sway_libs git+https://github.com/FuelLabs/sway-libs?default-branch#c151254d423a8b8262c8b0d1187ef6f24dbdefc3
Compiling library std (git+https://github.com/fuellabs/sway?tag=v0.67.0#d821dcb0c7edb1d6e2a772f5a1ccefe38902eaec)
Compiling library standards (git+https://github.com/FuelLabs/sway-standards?tag=v0.6.0#65e09f95ea8b9476b171a66c8a47108f352fa32c)
error
--> /home/tit4n/.forc/git/checkouts/standards-a75010d5ab7a85a4/65e09f95ea8b9476b171a66c8a47108f352fa32c/standards/src/src5.sw:13:6
|
11 | }
12 |
13 | impl core::ops::Eq for State {
| ^^^^ Could not find symbol "core" in this scope.
14 | fn eq(self, other: Self) -> bool {
15 | match (self, other) {
|
____
error
--> /home/tit4n/.forc/git/checkouts/standards-a75010d5ab7a85a4/65e09f95ea8b9476b171a66c8a47108f352fa32c/standards/src/src5.sw:13:6
|
11 | }
12 |
13 | impl core::ops::Eq for State {
| ^^^^^^^^^^^^^ Trait "Eq" cannot be found in the current scope.
14 | fn eq(self, other: Self) -> bool {
15 | match (self, other) {
|
____
error
--> /home/tit4n/.forc/git/checkouts/standards-a75010d5ab7a85a4/65e09f95ea8b9476b171a66c8a47108f352fa32c/standards/src/src7.sw:58:6
|
56 | }
57 |
58 | impl core::ops::Eq for Metadata {
| ^^^^ Could not find symbol "core" in this scope.
59 | fn eq(self, other: Self) -> bool {
60 | match (self, other) {
|
____
error
--> /home/tit4n/.forc/git/checkouts/standards-a75010d5ab7a85a4/65e09f95ea8b9476b171a66c8a47108f352fa32c/standards/src/src7.sw:58:6
|
56 | }
57 |
58 | impl core::ops::Eq for Metadata {
| ^^^^^^^^^^^^^ Trait "Eq" cannot be found in the current scope.
59 | fn eq(self, other: Self) -> bool {
60 | match (self, other) {
|
____
Aborting due to 4 errors.
error: Failed to compile standards
I tried the forc migrate check
it did not help:
There are currently no migration steps defined for the upcoming breaking change version of Sway.
There seems to be some issue with the standards library. How can I resolve this?