Skip to content
Permalink
Browse files
Auto merge of #673 - wesleywiser:update_rustwide, r=Mark-Simulacrum
Update rustwide to 0.15.2

`rustwide@0.15.2` contains support for installing targets other than the system default using `rustup-toolchain-install-master`. With this support, `try` builds of rustc can now be crater'd on targets other than `x86_64-unknown-linux-gnu`:

```
[2022-10-12T16:42:54Z INFO  rustwide::toolchain] installing toolchain e392e7b50913d5cb6e2c08d70cdeb72e56d289f9
[2022-10-12T16:42:54Z INFO  rustwide::cmd] running `Command { std: "/home/azureuser/disk1/crater/work/cargo-home/bin/rustup-toolchain-install-master" "e392e7b50913d5cb6e2c08d70cdeb72e56d289f9" "-c" "cargo", kill_on_drop: false }`
[2022-10-12T16:42:54Z INFO  rustwide::cmd] [stderr] toolchain `e392e7b50913d5cb6e2c08d70cdeb72e56d289f9` is already installed
[2022-10-12T16:42:54Z INFO  rustwide::toolchain] adding target i686-unknown-linux-musl for toolchain e392e7b50913d5cb6e2c08d70cdeb72e56d289f9
[2022-10-12T16:42:54Z INFO  rustwide::cmd] running `Command { std: "/home/azureuser/disk1/crater/work/cargo-home/bin/rustup-toolchain-install-master" "-f" "--targets" "i686-unknown-linux-musl" "--" "e392e7b50913d5cb6e2c08d70cdeb72e56d289f9", kill_on_drop: false }`
[2022-10-12T16:42:54Z INFO  rustwide::cmd] [stderr] detecting the channel of the `e392e7b50913d5cb6e2c08d70cdeb72e56d289f9` toolchain...
[2022-10-12T16:42:54Z INFO  rustwide::cmd] [stderr] downloading <https://ci-artifacts.rust-lang.org/rustc-builds/e392e7b50913d5cb6e2c08d70cdeb72e56d289f9/rustc-nightly-x86_64-unknown-linux-gnu.tar.xz>...
66.23 MB / 66.23 MB [=====================================] 100.00 % 13.74 MB/s
[2022-10-12T16:42:59Z INFO  rustwide::cmd] [stderr] downloading <https://ci-artifacts.rust-lang.org/rustc-builds/e392e7b50913d5cb6e2c08d70cdeb72e56d289f9/rust-std-nightly-i686-unknown-linux-musl.tar.xz>...
24.86 MB / 24.86 MB [=====================================] 100.00 % 10.85 MB/s
[2022-10-12T16:43:02Z INFO  rustwide::cmd] [stderr] downloading <https://ci-artifacts.rust-lang.org/rustc-builds/e392e7b50913d5cb6e2c08d70cdeb72e56d289f9/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz>...
30.11 MB / 30.11 MB [=====================================] 100.00 % 12.33 MB/s
[2022-10-12T16:43:04Z INFO  rustwide::cmd] [stderr] toolchain `e392e7b50913d5cb6e2c08d70cdeb72e56d289f9` is successfully installed!
[2022-10-12T16:43:04Z INFO  rustwide::toolchain] installing toolchain 8dae881ac166f8debe04e17604ebbe2ab47083fd
...
[2022-10-12T16:43:15Z INFO  rustwide::cmd] running `Command { std: "docker" "create" "-v" "/home/azureuser/disk1/crater/work/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/home/azureuser/disk1/crater/work/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/azureuser/disk1/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/azureuser/disk1/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "1000:1000" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+e392e7b50913d5cb6e2c08d70cdeb72e56d289f9" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }`
[2022-10-12T16:43:15Z INFO  rustwide::cmd] [stdout] 45dd4059711ff8dba19c347ca7bad238c9f6435480bd6adbcc5f8c8355866580
[2022-10-12T16:43:15Z INFO  rustwide::cmd] running `Command { std: "docker" "start" "-a" "45dd4059711ff8dba19c347ca7bad238c9f6435480bd6adbcc5f8c8355866580", kill_on_drop: false }`
[2022-10-12T16:43:16Z INFO  rustwide::cmd] [stderr]    Compiling hello-rs v0.1.0 (/opt/rustwide/workdir)
[2022-10-12T16:43:16Z INFO  rustwide::cmd] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.18s
...
```
  • Loading branch information
bors committed Nov 14, 2022
2 parents 2f1d1de + ffc2aec commit 9053459eff163a012e6a1ac29e06471252650cee
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.

Some generated files are not rendered by default. Learn more.

@@ -51,7 +51,7 @@ hmac = "0.12"
sha-1 = "0.10"
rust_team_data = { git = "https://github.com/rust-lang/team" }
systemstat = "0.1.11"
rustwide = { version = "0.14.0", features = ["unstable", "unstable-toolchain-ci"] }
rustwide = { version = "0.15.0", features = ["unstable", "unstable-toolchain-ci"] }
percent-encoding = "2.1.0"
remove_dir_all = "0.7"
ctrlc = "3.1.3"

0 comments on commit 9053459

Please sign in to comment.