user/rust: (ppc) FTBFS: error[E0432]: unresolved imports `core::sync::atomic::AtomicI64`, `core::sync::atomic::AtomicU64`
Found on ppc:
...
Compiling thread_local v1.1.4
Running `/root/packages/user/rust/src/prebuilt/bin/rustc --crate-name thread_local --edition=2018 /root/packages/user/rust/src/rustc-1.60.0-src/vendor/thread_local/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type >
error[E0432]: unresolved imports `core::sync::atomic::AtomicI64`, `core::sync::atomic::AtomicU64`
--> /root/packages/user/rust/src/rustc-1.60.0-src/vendor/crossbeam-utils-0.8.6/src/lib.rs:79:49
|
79 | pub(crate) use core::sync::atomic::{AtomicI64, AtomicU64};
| ^^^^^^^^^ ^^^^^^^^^ no `AtomicU64` in `sync::atomic`
| |
| no `AtomicI64` in `sync::atomic`
|
help: a similar name exists in the module
|
79 | pub(crate) use core::sync::atomic::{AtomicI8, AtomicU64};
| ~~~~~~~~
help: a similar name exists in the module
|
79 | pub(crate) use core::sync::atomic::{AtomicI64, AtomicU8};
| ~~~~~~~~
Running `/root/packages/user/rust/src/rustc-1.60.0-src/build/bootstrap/debug/build/serde-217274bab6646baa/build-script-build`
Running `/root/packages/user/rust/src/rustc-1.60.0-src/build/bootstrap/debug/build/bootstrap-23aac4fd8344b766/build-script-build`
Running `/root/packages/user/rust/src/rustc-1.60.0-src/build/bootstrap/debug/build/serde_derive-5e1b8a6f277842bb/build-script-build`
Running `/root/packages/user/rust/src/rustc-1.60.0-src/build/bootstrap/debug/build/libc-db1c8901eeca2c0a/build-script-build`
error[E0412]: cannot find type `AtomicU64` in module `core::sync::atomic`
--> /root/packages/user/rust/src/rustc-1.60.0-src/vendor/crossbeam-utils-0.8.6/src/atomic/consume.rs:78:14
|
78 | impl_atomic!(AtomicU64, u64);
| ^^^^^^^^^ help: a struct with a similar name exists: `AtomicU16`
error[E0412]: cannot find type `AtomicI64` in module `core::sync::atomic`
--> /root/packages/user/rust/src/rustc-1.60.0-src/vendor/crossbeam-utils-0.8.6/src/atomic/consume.rs:80:14
|
80 | impl_atomic!(AtomicI64, i64);
| ^^^^^^^^^ help: a struct with a similar name exists: `AtomicI16`
Running `/root/packages/user/rust/src/prebuilt/bin/rustc --crate-name libc /root/packages/user/rust/src/rustc-1.60.0-src/vendor/libc-0.2.116/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,met>
Running `/root/packages/user/rust/src/rustc-1.60.0-src/build/bootstrap/debug/build/proc-macro2-31159eab223f7d03/build-script-build`
Running `/root/packages/user/rust/src/rustc-1.60.0-src/build/bootstrap/debug/build/syn-44aab57b7b7cd66e/build-script-build`
Running `/root/packages/user/rust/src/prebuilt/bin/rustc --crate-name proc_macro2 --edition=2018 /root/packages/user/rust/src/rustc-1.60.0-src/vendor/proc-macro2-1.0.30/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate->
Some errors have detailed explanations: E0412, E0432.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `crossbeam-utils` due to 3 previous errors
Caused by:
process didn't exit successfully: `/root/packages/user/rust/src/prebuilt/bin/rustc --crate-name crossbeam_utils --edition=2018 /root/packages/user/rust/src/rustc-1.60.0-src/vendor/crossbeam-utils-0.8.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,arti>
warning: build failed, waiting for other jobs to finish...
error: build failed
Traceback (most recent call last):
File "/root/packages/user/rust/src/rustc-1.60.0-src/x.py", line 27, in <module>
bootstrap.main()
File "/root/packages/user/rust/src/rustc-1.60.0-src/src/bootstrap/bootstrap.py", line 1325, in main
bootstrap(help_triggered)
File "/root/packages/user/rust/src/rustc-1.60.0-src/src/bootstrap/bootstrap.py", line 1296, in bootstrap
build.build_bootstrap()
File "/root/packages/user/rust/src/rustc-1.60.0-src/src/bootstrap/bootstrap.py", line 1043, in build_bootstrap
run(args, env=env, verbose=self.verbose)
File "/root/packages/user/rust/src/rustc-1.60.0-src/src/bootstrap/bootstrap.py", line 185, in run
raise RuntimeError(err)
RuntimeError: failed to run: /root/packages/user/rust/src/prebuilt/bin/cargo build --manifest-path /root/packages/user/rust/src/rustc-1.60.0-src/src/bootstrap/Cargo.toml --verbose --locked --frozen
>>> ERROR: rust: build failed