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

Linking issue with rust nightly #45607

Closed
jrozner opened this issue Oct 29, 2017 · 3 comments
Closed

Linking issue with rust nightly #45607

jrozner opened this issue Oct 29, 2017 · 3 comments
Labels
C-bug Category: This is a bug. P-high High priority regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-cargo Relevant to the cargo team, which will review and decide on the PR/issue.

Comments

@jrozner
Copy link

jrozner commented Oct 29, 2017

As of nightly-2017-10-28 I'm getting linking failures on OS X. Don't have rust setup on any other platforms to see if it occurs there as well but I'm getting the following error message while attempting to run cargo build.

error: failed to link or copy `/Users/joe/bug/target/debug/deps/bug-bfd5e2b3eb22d858.dSYM` to `/Users/joe/bug/target/debug/bug.dSYM`

Caused by:
  the source path is not an existing regular file

The code to recreate this test can be created simply by running cargo new --bin bug. Rolling back to 2017-10-24 results in a working compiler again.

@messense
Copy link
Contributor

Same issue on macOS 10.13 with rustc 1.23.0-nightly (269cf5026 2017-10-28)

@sinkuu
Copy link
Contributor

sinkuu commented Oct 29, 2017

This seems to be the same issue as rust-lang/cargo#4671

@lorepozo
Copy link
Contributor

You can revert to an older nightly where this isn't an issue using rustup:

rustup install nightly-2017-10-24
rustup override set nightly-2017-10-24

@Mark-Simulacrum Mark-Simulacrum added C-bug Category: This is a bug. P-high High priority regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-cargo Relevant to the cargo team, which will review and decide on the PR/issue. labels Oct 30, 2017
bors added a commit that referenced this issue Oct 30, 2017
Update cargo.

Brings in rust-lang/cargo#4672, unbreaks nightly on macOS APFS.

Fixes #45607.

r? @alexcrichton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. P-high High priority regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-cargo Relevant to the cargo team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants