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

Custom build command failed. #719

Closed
HamishWHC opened this issue Jul 14, 2021 · 2 comments
Closed

Custom build command failed. #719

HamishWHC opened this issue Jul 14, 2021 · 2 comments

Comments

@HamishWHC
Copy link

❯ cargo build
   Compiling crossbeam-queue v0.3.2
   Compiling bitflags v1.2.1
   Compiling num-traits v0.2.14
   Compiling atomic v0.5.0
   Compiling proc-macro-nested v0.1.7
error: failed to run custom build command for `crossbeam-queue v0.3.2`

Caused by:
  process didn't exit successfully: `/home/hamishwhc/projects/tournament-infra/api/target/debug/build/crossbeam-queue-3b3201d87437fd2b/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: build failed

This error occurred during build of a rocket 0.5/sqlx project. Couldn't find any workarounds for this occurring in crossbeam.

@taiki-e
Copy link
Member

taiki-e commented Jul 14, 2021

This is probably a bug in the compiler. Which target are you compiling for?

related: rust-lang/rust#85543, rust-lang/rust#84576, rust-lang/rust#73661, rust-lang/rust#76021, rust-lang/rust#82193, rust-lang/rust#82912

@HamishWHC
Copy link
Author

Just realised I hadn't tried cargo clean. Seems to have fixed it. Sorry to post an issue unnecessarily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants