Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution of build.py was failed with error of issue #53491 of rust #2759

Closed
7k8m opened this issue Aug 10, 2019 · 3 comments
Closed

Execution of build.py was failed with error of issue #53491 of rust #2759

7k8m opened this issue Aug 10, 2019 · 3 comments

Comments

@7k8m
Copy link
Contributor

7k8m commented Aug 10, 2019

This seems to have something to do with.
rust-lang/rust#53491

@7k8m
Copy link
Contributor Author

7k8m commented Aug 10, 2019

[tomohito.nakayama@shorthair deno (master=)]$ ./tools/build.py 
ninja: Entering directory `/Users/tomohito.nakayama/dev/deno/target/debug'
[23/266] ACTION //build_extra/rust:arrayvec_rustc(//build/toolchain/mac:clang_x64)
FAILED: rust_crates/libarrayvec.rlib 
python ../../build_extra/rust/run.py /Users/tomohito.nakayama/dev/deno/prebuilt/mac/sccache rustc ../../third_party/rust_crates/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/src/lib.rs --crate-name=arrayvec --crate-type=rlib --emit=link,dep-info --edition=2015 --out-dir=rust_crates -Cextra-filename= -Cmetadata=\"_rustc\ 1.35.0\ \(3c235d560\ 2019-05-20\)\" -L dependency=rust_crates --color=always -g -Dwarnings --cap-lints allow --cfg has_stable_maybe_uninit --extern nodrop=rust_crates/libnodrop.rlib
error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
 --> ../../third_party/rust_crates/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/src/maybe_uninit_stable.rs:4:5
  |
4 | use std::mem::MaybeUninit as StdMaybeUninit;
  |     ^^^^^^^^^^^^^^^^^^^^^

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
 --> ../../third_party/rust_crates/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/src/maybe_uninit_stable.rs:7:12
  |
7 |     inner: StdMaybeUninit<T>,
  |            ^^^^^^^^^^^^^^^^^

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
  --> ../../third_party/rust_crates/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/src/maybe_uninit_stable.rs:13:30
   |
13 |         MaybeUninit { inner: StdMaybeUninit::uninit() }
   |                              ^^^^^^^^^^^^^^^^^^^^^^

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
  --> ../../third_party/rust_crates/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/src/maybe_uninit_stable.rs:18:30
   |
18 |         MaybeUninit { inner: StdMaybeUninit::new(v) }
   |                              ^^^^^^^^^^^^^^^^^^^

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
  --> ../../third_party/rust_crates/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/src/maybe_uninit_stable.rs:31:20
   |
31 |         self.inner.as_ptr() as *const T::Item
   |                    ^^^^^^

error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
  --> ../../third_party/rust_crates/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/src/maybe_uninit_stable.rs:38:20
   |
38 |         self.inner.as_mut_ptr() as *mut T::Item
   |                    ^^^^^^^^^^

error: aborting due to 6 previous errors

For more information about this error, try `rustc --explain E0658`.
[36/266] ACTION //build_extra/rust:rustls_rustc(//build/toolchain/mac:clang_x64)
ninja: build stopped: subcommand failed.

@7k8m 7k8m changed the title Execution of build.py was failed with error of issue #53491 of rustc Execution of build.py was failed with error of issue #53491 of rust Aug 10, 2019
@7k8m
Copy link
Contributor Author

7k8m commented Aug 10, 2019

rustup update and setup.py again, then resolved.

@7k8m
Copy link
Contributor Author

7k8m commented Aug 10, 2019

Passed with rustc of next version.

[tomohito.nakayama@shorthair deno (master=)]$ rustc --version
rustc 1.36.0 (a53f9df32 2019-07-03)

@7k8m 7k8m closed this as completed Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant