# Rust 1.22.0 prerelease testing!

**URL:** <https://internals.rust-lang.org/t/rust-1-22-0-prerelease-testing/6282>\
**Category:** announcements\
**Created:** [November 20, 2017, 11:49pm UTC](https://internals.rust-lang.org/t/rust-1-22-0-prerelease-testing/6282 "2017-11-20T23:49:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexcrichton](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/alexcrichton/32/4501_2.png) [@alexcrichton](https://internals.rust-lang.org/u/alexcrichton)\
**Post date:** [November 20, 2017, 11:49pm UTC](https://internals.rust-lang.org/t/rust-1-22-0-prerelease-testing/6282/1 "2017-11-20T23:49:23Z")

</div>

Rust 1.22 is released on Thursday (US Thanksgiving!) and builds are available now for testing. Release artifacts are uploaded to _dev_ ([dev-static.rust-lang.org](http://dev-static.rust-lang.org)) currently and will be promoted to prod ([static.rust-lang.org](http://static.rust-lang.org)) this Thursday. The URL is [https://dev-static.rust-lang.org/dist/2017-11-20/](https://dev-static.rust-lang.org/dist/2017-11-20/)

You can test rustup with

```bash
RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup update stable

```

Please let us know if you run into any issues! Pending any detected regressions these are likely to be the exact artifacts that we’ll release on Thursday.

You can find the release notes on GitHub as well:

> <https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1220-2017-11-23>

---

<div class="post-metadata">

**Author:** ![kpy3](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kpy3/32/2354_2.png) [@kpy3](https://internals.rust-lang.org/u/kpy3)\
**Post date:** [November 22, 2017, 4:41am UTC](https://internals.rust-lang.org/t/rust-1-22-0-prerelease-testing/6282/2 "2017-11-22T04:41:39Z")

</div>

Hi,

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

```rust
% 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:

```rust
% ./target/debug/qringtool -V
qringtool 0.2.1

```

---

<div class="post-metadata">

**Author:** ![kennytm](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kennytm/32/161_2.png) [@kennytm](https://internals.rust-lang.org/u/kennytm)\
**Post date:** [November 22, 2017, 5:15am UTC](https://internals.rust-lang.org/t/rust-1-22-0-prerelease-testing/6282/3 "2017-11-22T05:15:03Z")

</div>

Hi, [this is a known issue](https://github.com/rust-lang/cargo/issues/4699), doing a `cargo clean` should make the error disappear.

---

<div class="post-metadata">

**Author:** ![kpy3](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kpy3/32/2354_2.png) [@kpy3](https://internals.rust-lang.org/u/kpy3)\
**Post date:** [November 22, 2017, 6:14am UTC](https://internals.rust-lang.org/t/rust-1-22-0-prerelease-testing/6282/4 "2017-11-22T06:14:12Z")

</div>

No, unfortunately doesn’t:

```rust
% cargo clean
% cargo build
   Compiling core-foundation-sys v0.2.3
   ...
   Compiling qringtool v0.2.1 (file:///private/tmp/2GinlUpbELdBN/qringtool)
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`

Caused by:
  the source path is not an existing regular file
% cargo --version
cargo 0.23.0 (cee38cd30 2017-11-12)

```

but it does on nightly:

```rust
% cargo +nightly clean
% cargo +nightly build
   ...
   Compiling qringtool v0.2.1 (file:///private/tmp/2GinlUpbELdBN/qringtool)
    Finished dev [unoptimized + debuginfo] target(s) in 85.94 secs
% cargo +nightly --version
cargo 0.24.0-nightly (abd137ad1 2017-11-12)

```

---

<div class="post-metadata">

**Author:** ![semarie](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/semarie/32/2012_2.png) [@semarie](https://internals.rust-lang.org/u/semarie)\
**Post date:** [November 22, 2017, 10:08am UTC](https://internals.rust-lang.org/t/rust-1-22-0-prerelease-testing/6282/5 "2017-11-22T10:08:14Z")

</div>

I have an important issue regarding 1.22 and `target_feature` when rustc is builded with system LLVM (not the embedded copy).

It seems that `target_feature` requires the embedded copy to be functional.

As distro generally avoid embedded LLVM if possible, it is really annoying: and as firefox-57 depends on `simd` and `simd` fails to build in such circunstances, it makes firefox-57 not buildable.

I opened [issue 46181](https://github.com/rust-lang/rust/issues/46181) on github.

---

<div class="post-metadata">

**Author:** ![kennytm](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kennytm/32/161_2.png) [@kennytm](https://internals.rust-lang.org/u/kennytm)\
**Post date:** [November 22, 2017, 10:14am UTC](https://internals.rust-lang.org/t/rust-1-22-0-prerelease-testing/6282/6 "2017-11-22T10:14:04Z")

</div>

Oh no, looks like [https://github.com/rust-lang/cargo/pull/4672](https://github.com/rust-lang/cargo/pull/4672) has not been backported to [cargo’s beta](https://github.com/rust-lang/cargo/commits/cee38cd30d16b343b13721ec813dc89eb1c1642d)

Edit: Filed [https://github.com/rust-lang/cargo/pull/4739](https://github.com/rust-lang/cargo/pull/4739) to backport 4672 to the RC cargo.

Edit 2: Cargo side merged, now on Rust itself: [https://github.com/rust-lang/rust/pull/46183](https://github.com/rust-lang/rust/pull/46183).

---

<div class="post-metadata">

**Author:** ![alexcrichton](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/alexcrichton/32/4501_2.png) [@alexcrichton](https://internals.rust-lang.org/u/alexcrichton)\
**Post date:** [March 25, 2019, 8:29am UTC](https://internals.rust-lang.org/t/rust-1-22-0-prerelease-testing/6282/7 "2019-03-25T08:29:17Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
