spacemeowx2 / slp-server-rust

Switch-lan-play Server written in Rust
https://github.com/spacemeowx2/switch-lan-play
115 stars 16 forks source link

Build failing #26

Closed treyturner closed 3 years ago

treyturner commented 3 years ago

The build is failing with the following errors. Fixed by https://github.com/spacemeowx2/slp-server-rust/pull/25.

   Compiling bson v1.1.0
error[E0658]: use of unstable library feature 'str_strip': newly added
  --> /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/async-graphql-parser-1.18.1/src/types/mod.rs:65:53
   |
65 |         let (nullable, ty) = if let Some(rest) = ty.strip_suffix('!') {
   |                                                     ^^^^^^^^^^^^
   |
   = note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information

error[E0658]: use of unstable library feature 'str_strip': newly added
  --> /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/async-graphql-parser-1.18.1/src/types/mod.rs:72:40
   |
72 |             base: if let Some(ty) = ty.strip_prefix('[') {
   |                                        ^^^^^^^^^^^^
   |
   = note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information

error[E0658]: use of unstable library feature 'str_strip': newly added
  --> /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/async-graphql-parser-1.18.1/src/types/mod.rs:73:54
   |
73 |                 BaseType::List(Box::new(Self::new(ty.strip_suffix(']')?)?))
   |                                                      ^^^^^^^^^^^^
   |
   = note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information

error[E0658]: use of unstable library feature 'option_zip'
  --> /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/async-graphql-parser-1.18.1/src/types/executable.rs:29:26
   |
29 |                         .zip(op.node.name.as_ref())
   |                          ^^^
   |
   = note: see issue #70086 <https://github.com/rust-lang/rust/issues/70086> for more information

error[E0658]: use of unstable library feature 'str_strip': newly added
  --> /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/async-graphql-parser-1.18.1/src/types/mod.rs:65:53
   |
65 |         let (nullable, ty) = if let Some(rest) = ty.strip_suffix('!') {
   |                                                     ^^^^^^^^^^^^
   |
   = note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information

error[E0658]: use of unstable library feature 'str_strip': newly added
  --> /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/async-graphql-parser-1.18.1/src/types/mod.rs:72:40
   |
72 |             base: if let Some(ty) = ty.strip_prefix('[') {
   |                                        ^^^^^^^^^^^^
   |
   = note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information

error[E0658]: use of unstable library feature 'str_strip': newly added
  --> /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/async-graphql-parser-1.18.1/src/types/mod.rs:73:54
   |
73 |                 BaseType::List(Box::new(Self::new(ty.strip_suffix(']')?)?))
   |                                                      ^^^^^^^^^^^^
   |
   = note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information

error[E0658]: use of unstable library feature 'option_zip'
  --> /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/async-graphql-parser-1.18.1/src/types/executable.rs:29:26
   |
29 |                         .zip(op.node.name.as_ref())
   |                          ^^^
   |
   = note: see issue #70086 <https://github.com/rust-lang/rust/issues/70086> for more information

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0658`.
error: could not compile `async-graphql-parser`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0658`.
error: could not compile `async-graphql-parser`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
The command '/bin/sh -c cargo build --release' returned a non-zero code: 101