Skip to content

error[E0432]: unresolved import std::sync::atomic::AtomicU64 #62269

Closed
@andreas-schwab

Description

@andreas-schwab

https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:Factory/rust/p/ppc

Dist RLS stage2 (powerpc-unknown-linux-gnu)
Building stage2 tool clippy-driver (powerpc-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.59s
Building stage2 tool rls (powerpc-unknown-linux-gnu)
Compiling rls v1.35.0 (/home/abuild/rpmbuild/BUILD/rustc-1.35.0-src/src/tools
/rls)
error[E0432]: unresolved import std::sync::atomic::AtomicU64
--> src/tools/rls/rls/src/cmd.rs:10:25
|
10 | use std::sync::atomic::{AtomicU64, Ordering};
| ^^^^^^^^^
| |
| no AtomicU64 in sync::atomic
| help: a similar name exists in the module: AtomicU16

error[E0432]: unresolved import std::sync::atomic::AtomicU64
--> src/tools/rls/rls/src/server/io.rs:10:25
|
10 | use std::sync::atomic::{AtomicU64, Ordering};
| ^^^^^^^^^
| |
| no AtomicU64 in sync::atomic
| help: a similar name exists in the module: AtomicU16

error: aborting due to 2 previous errors

For more information about this error, try rustc --explain E0432.
error: Could not compile rls.

To learn more, run the command again with --verbose.
command did not execute successfully: "/home/abuild/rpmbuild/BUILD/rust-1.35.0-powerpc-unknown-linux-gnu/usr/bin/cargo" "build" "--target" "powerpc-unknown-linux-gnu" "-j" "8" "--release" "--frozen" "--manifest-path" "/home/abuild/rpmbuild/BUILD/rustc-1.35.0-src/src/tools/rls/Cargo.toml" "--features" "clippy" "--message-format" "json"
expected success, got: exit code: 101
thread 'main' panicked at 'Unable to build RLS', src/bootstrap/dist.rs:65:9
note: Run with RUST_BACKTRACE=1 environment variable to display a backtrace.
failed to run: /home/abuild/rpmbuild/BUILD/rustc-1.35.0-src/build/bootstrap/debug/bootstrap install

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationA-resolveArea: Name/path resolution done by `rustc_resolve` specificallyC-bugCategory: This is a bug.O-PowerPCTarget: PowerPC processorsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions