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
panda@panda-virtual-machine:~/rust/wasm/hello$ wasm-pack build
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
Compiling autocfg v0.1.7
Compiling rustc-serialize v0.3.24
Compiling wasm-bindgen-macro-support v0.2.54
error[E0046]: not all trait items implemented, missing: encode
--> /home/panda/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustc-serialize-0.3.24/src/serialize.rs:1358:1
|
853 | fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>;
| ---------------------------------------------------------------- encode from trait
...
1358 | impl Encodable for path::Path {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing encode in implementation
error[E0046]: not all trait items implemented, missing: decode
--> /home/panda/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustc-serialize-0.3.24/src/serialize.rs:1382:1
|
904 | fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>;
| ----------------------------------------------------------- decode from trait
...
1382 | impl Decodable for path::PathBuf {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing decode in implementation
Compiling num-traits v0.2.8
Compiling num-integer v0.1.41
error: aborting due to 2 previous errors
For more information about this error, try rustc --explain E0046.
error: could not compile rustc-serialize.
warning: build failed, waiting for other jobs to finish...
error: build failed
Error: Compiling your crate to WebAssembly failed
Caused by: failed to execute cargo build: exited with exit code: 101
The text was updated successfully, but these errors were encountered:
This project is unmaintained and effectively deprecated. If you look for a pure Rust implementation of cryptographic algorithms, take a look for example at RustCrypto crates.
panda@panda-virtual-machine:~/rust/wasm/hello$ wasm-pack build
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
Compiling autocfg v0.1.7
Compiling rustc-serialize v0.3.24
Compiling wasm-bindgen-macro-support v0.2.54
error[E0046]: not all trait items implemented, missing:
encode
--> /home/panda/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustc-serialize-0.3.24/src/serialize.rs:1358:1
|
853 | fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>;
| ----------------------------------------------------------------
encode
from trait...
1358 | impl Encodable for path::Path {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing
encode
in implementationerror[E0046]: not all trait items implemented, missing:
decode
--> /home/panda/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustc-serialize-0.3.24/src/serialize.rs:1382:1
|
904 | fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>;
| -----------------------------------------------------------
decode
from trait...
1382 | impl Decodable for path::PathBuf {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing
decode
in implementationCompiling num-traits v0.2.8
Compiling num-integer v0.1.41
error: aborting due to 2 previous errors
For more information about this error, try
rustc --explain E0046
.error: could not compile
rustc-serialize
.warning: build failed, waiting for other jobs to finish...
error: build failed
Error: Compiling your crate to WebAssembly failed
Caused by: failed to execute
cargo build
: exited with exit code: 101The text was updated successfully, but these errors were encountered: