Rust 1.22.0 prerelease testing!

Hi,

found strange behaviour with 1.22.0 on macOS High Sierra, and it looks like a regress:

% RUST_LOG=debug cargo run
[SKIP A LOT OF DEBUG INFO]

INFO:rustc_trans::back::link: linker stderr:

INFO:rustc_trans::back::link: linker stdout:

INFO:cargo::ops::cargo_rustc: Renaming dep_info "/private/tmp/2GinlUpbELdBN/qringtool/target/debug/deps/qringtool-219c27fe46a7576a.d" to "/private/tmp/2GinlUpbELdBN/qringtool/target/debug/.fingerprint/qringtool-219c27fe46a7576a/dep-bin-qringtool-219c27fe46a7576a"
DEBUG:cargo::ops::cargo_rustc::fingerprint: appending /private/tmp/2GinlUpbELdBN/qringtool/target/debug/.fingerprint/qringtool-219c27fe46a7576a/dep-bin-qringtool-219c27fe46a7576a <- /private/tmp/2GinlUpbELdBN/qringtool
DEBUG:cargo::ops::cargo_rustc: linking /private/tmp/2GinlUpbELdBN/qringtool/target/debug/deps/qringtool-219c27fe46a7576a to /private/tmp/2GinlUpbELdBN/qringtool/target/debug/qringtool
DEBUG:cargo::ops::cargo_rustc: linking /private/tmp/2GinlUpbELdBN/qringtool/target/debug/deps/qringtool-219c27fe46a7576a.dSYM to /private/tmp/2GinlUpbELdBN/qringtool/target/debug/qringtool.dSYM
DEBUG:cargo::ops::cargo_rustc: hard link failed Operation not permitted (os error 1). falling back to fs::copy
INFO:cargo::ops::cargo_rustc::job_queue: end: qringtool v0.2.1 (file:///private/tmp/2GinlUpbELdBN/qringtool) => Target(bin: qringtool)/Profile(build) => Host
DEBUG:cargo: exit_with_error; err=CliError { error: Some(CargoError(Msg("failed to link or copy `/private/tmp/2GinlUpbELdBN/qringtool/target/debug/deps/qringtool-219c27fe46a7576a.dSYM` to `/private/tmp/2GinlUpbELdBN/qringtool/target/debug/qringtool.dSYM`"), State { next_error: Some(Error { repr: Custom(Custom { kind: InvalidInput, error: StringError("the source path is not an existing regular file") }) }), backtrace: None })), unknown: false, exit_code: 101 }
error: failed to link or copy `/private/tmp/2GinlUpbELdBN/qringtool/target/debug/deps/qringtool-219c27fe46a7576a.dSYM` to `/private/tmp/2GinlUpbELdBN/qringtool/target/debug/qringtool.dSYM`

% stat /private/tmp/2GinlUpbELdBN/qringtool/target/debug/deps/qringtool-219c27fe46a7576a.dSYM
16777220 8597678553 drwxr-xr-x 3 yes wheel 0 96 "Nov 22 07:36:36 2017" "Nov 22 07:36:36 2017" "Nov 22 07:36:36 2017" "Nov 22 07:36:36 2017" 4194304 0 0 /private/tmp/2GinlUpbELdBN/qringtool/target/debug/deps/qringtool-219c27fe46a7576a.dSYM

% tree /private/tmp/2GinlUpbELdBN/qringtool/target/debug/deps/qringtool-219c27fe46a7576a.dSYM
/private/tmp/2GinlUpbELdBN/qringtool/target/debug/deps/qringtool-219c27fe46a7576a.dSYM
└── Contents
    ├── Info.plist
    └── Resources
        └── DWARF
            └── qringtool-219c27fe46a7576a

3 directories, 2 files

But executable has been build and run OK:

% ./target/debug/qringtool -V
qringtool 0.2.1
1 Like