You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yesterday I re-pulled the code on another computer. The following problem occurred during compilation
version
0.30.1
system
ubuntu
error
error[E0433]: failed to resolve: use of undeclared crate or module serde
--> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mpl-token-metadata-4.1.2/src/generated/accounts/metadata.rs:20:11
|
20 | #[ derive(serde::Serialize, serde::Deserialize)]
| ^^^^^ use of undeclared crate or module serde
error[E0433]: failed to resolve: use of undeclared crate or module serde
--> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mpl-token-metadata-4.1.2/src/generated/accounts/metadata.rs:20:29
|
20 | #[ derive(serde::Serialize, serde::Deserialize)]
| ^^^^^ use of undeclared crate or module serde
error[E0599]: no function or associated item named deserialize found for struct metadata::Metadata in the current scope
--> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mpl-token-metadata-4.1.2/src/generated/accounts/metadata.rs:88:15
|
22 | pub struct Metadata {
| ------------------- function or associated item deserialize not found for this struct
...
88 | Self::deserialize(&mut data)
| ^^^^^^^^^^^ function or associated item not found in Metadata
The text was updated successfully, but these errors were encountered:
What code is this that you re-pulled? by what process did you do that?What is the command that you used to compile? that generated the output you are showing?
Description
Yesterday I re-pulled the code on another computer. The following problem occurred during compilation
version
0.30.1
system
ubuntu
error
error[E0433]: failed to resolve: use of undeclared crate or module
serde
--> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mpl-token-metadata-4.1.2/src/generated/accounts/metadata.rs:20:11
|
20 | #[ derive(serde::Serialize, serde::Deserialize)]
| ^^^^^ use of undeclared crate or module
serde
error[E0433]: failed to resolve: use of undeclared crate or module
serde
--> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mpl-token-metadata-4.1.2/src/generated/accounts/metadata.rs:20:29
|
20 | #[ derive(serde::Serialize, serde::Deserialize)]
| ^^^^^ use of undeclared crate or module
serde
error[E0599]: no function or associated item named
deserialize
found for structmetadata::Metadata
in the current scope--> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mpl-token-metadata-4.1.2/src/generated/accounts/metadata.rs:88:15
|
22 | pub struct Metadata {
| ------------------- function or associated item
deserialize
not found for this struct...
88 | Self::deserialize(&mut data)
| ^^^^^^^^^^^ function or associated item not found in
Metadata
The text was updated successfully, but these errors were encountered: