oasislabs / game-box

A Truffle box for a barebones Oasis Game
4 stars 3 forks source link

install wasm-bindgen build failed #19

Open rjgeek opened 5 years ago

rjgeek commented 5 years ago

Description of the bug Running "cargo install wasm-bindgen-cli --vers 0.2.37" inside the new oasislabs/contract-kit container.

cargo install wasm-bindgen-cli --vers 0.2.37

error[E0412]: cannot find type NonZeroI8 in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/de/impls.rs:2416:5 | 2416 | NonZeroI8, | ^^^^^^^^^ help: a struct with a similar name exists: NonZeroU8

error[E0412]: cannot find type NonZeroI16 in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/de/impls.rs:2417:5 | 2417 | NonZeroI16, | ^^^^^^^^^^ help: a struct with a similar name exists: NonZeroU16

error[E0412]: cannot find type NonZeroI32 in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/de/impls.rs:2418:5 | 2418 | NonZeroI32, | ^^^^^^^^^^ help: a struct with a similar name exists: NonZeroU32

error[E0412]: cannot find type NonZeroI64 in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/de/impls.rs:2419:5 | 2419 | NonZeroI64, | ^^^^^^^^^^ help: a struct with a similar name exists: NonZeroU64

error[E0412]: cannot find type NonZeroIsize in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/de/impls.rs:2420:5 | 2420 | NonZeroIsize, | ^^^^^^^^^^^^ help: a struct with a similar name exists: NonZeroUsize

error[E0412]: cannot find type NonZeroI128 in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/de/impls.rs:2432:9 | 2432 | NonZeroI128, | ^^^^^^^^^^^ help: a struct with a similar name exists: NonZeroU128

error[E0412]: cannot find type NonZeroI8 in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/ser/impls.rs:493:5 | 493 | NonZeroI8, | ^^^^^^^^^ help: a struct with a similar name exists: NonZeroU8

error[E0412]: cannot find type NonZeroI16 in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/ser/impls.rs:494:5 | 494 | NonZeroI16, | ^^^^^^^^^^ help: a struct with a similar name exists: NonZeroU16

error[E0412]: cannot find type NonZeroI32 in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/ser/impls.rs:495:5 | 495 | NonZeroI32, | ^^^^^^^^^^ help: a struct with a similar name exists: NonZeroU32

error[E0412]: cannot find type NonZeroI64 in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/ser/impls.rs:496:5 | 496 | NonZeroI64, | ^^^^^^^^^^ help: a struct with a similar name exists: NonZeroU64

error[E0412]: cannot find type NonZeroIsize in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/ser/impls.rs:497:5 | 497 | NonZeroIsize, | ^^^^^^^^^^^^ help: a struct with a similar name exists: NonZeroUsize

error[E0412]: cannot find type NonZeroI128 in module num --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/ser/impls.rs:509:9 | 509 | NonZeroI128, | ^^^^^^^^^^^ help: a struct with a similar name exists: NonZeroU128

error[E0658]: use of unstable library feature 'try_from' (see issue #33417) --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/export.rs:15:9 15 pub use lib::convert::TryFrom; ^^^^^^^^^^^^^^^^^^^^^

= help: add #![feature(try_from)] to the crate attributes to enable

Compiling crossbeam-deque v0.7.1 Compiling tempfile v3.1.0 error: aborting due to 13 previous errors

Some errors occurred: E0412, E0658. For more information about an error, try rustc --explain E0412. error: Could not compile serde. warning: build failed, waiting for other jobs to finish... error: failed to compile wasm-bindgen-cli v0.2.37, intermediate artifacts can be found at /tmp/cargo-installTJoSpi

Caused by: build failed