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

Rollup of 14 pull requests #80994

Closed
wants to merge 31 commits into from
Closed

Conversation

JohnTitor
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

alexcrichton and others added 30 commits November 30, 2020 13:19
This brings in an implementation of `current_dir` and `set_current_dir`
(emulation in `wasi-libc`) as well as an updated version of finding
relative paths. This also additionally updates clang to the latest
release to build wasi-libc with.
The equivalent of `std::fs::read_to_string`, but generalized to all
`Read` impls.

As the documentation on `std::io::read_to_string` says, the advantage of
this function is that it means you don't have to create a variable first
and it provides more type safety since you can only get the buffer out
if there were no errors. If you use `Read::read_to_string`, you have to
remember to check whether the read succeeded because otherwise your
buffer will be empty.

It's friendlier to newcomers and better in most cases to use an explicit
return value instead of an out parameter.
The ICE message is somewhat confusing and overly specific - the issue is
that there's no MIR available.

This should make debugging these ICEs easier since the error tells you
what's actually wrong, not what it was trying to do when it failed.

cc rust-lang#80952 (comment)
">" is right alignment, not left
std: Update wasi-libc commit of the wasm32-wasi target

This brings in an implementation of `current_dir` and `set_current_dir`
(emulation in `wasi-libc`) as well as an updated version of finding
relative paths. This also additionally updates clang to the latest
release to build wasi-libc with.
Recommend panic::resume_unwind instead of panicking.

Fixes rust-lang#79950.
Add a `std::io::read_to_string` function

I recognize that you're usually supposed to open an issue first, but the
implementation is very small so it's okay if this is closed and it was 'wasted
work' :)

-----

The equivalent of `std::fs::read_to_string`, but generalized to all
`Read` impls.

As the documentation on `std::io::read_to_string` says, the advantage of
this function is that it means you don't have to create a variable first
and it provides more type safety since you can only get the buffer out
if there were no errors. If you use `Read::read_to_string`, you have to
remember to check whether the read succeeded because otherwise your
buffer will be empty.

It's friendlier to newcomers and better in most cases to use an explicit
return value instead of an out parameter.
Remove unreachable panics from VecDeque::{front/back}[_mut]

`VecDeque`'s `front`, `front_mut`, `back` and `back_mut` methods are implemented in terms of the index operator, which causes these functions to contain [unreachable panic calls](https://rust.godbolt.org/z/MTnq1o).

This PR reimplements these methods in terms of `get[_mut]` instead.
Use Option::map_or instead of `.map(..).unwrap_or(..)`

`@rustbot` modify labels +C-cleanup +T-compiler
Deprecate-in-future the constants superceded by RFC 2700

Successor to rust-lang#78335, re-opened after addressing the issues tracked in rust-lang#68490.

This PR makes use of the new ability to explicitly annotate an item as triggering the deprecated-in-future lint (via `rustc_deprecated(since="TBD"`, see rust-lang#78381). We might call this *soft deprecation*; unlike with deprecation, users will *not* receive warnings when compiling code that uses these items *unless* they opt-in via `#[warn(deprecated_in_future)]`. Like deprecation, soft deprecation causes documentation to formally acknowledge that an item is marked for eventual deprecation (at a non-specific point in the future).

With this new ability, we can sidestep all debate about when or on what timeframe something ought to be deprecated; as long as we can agree that something ought to be deprecated, we can receive much of the benefits of deprecation with none of the drawbacks. For these items specifically, the libs team has already agreed that they should be deprecated (see rust-lang#68490 (comment)).
…=m-ou-se

Deprecate atomic::spin_loop_hint in favour of hint::spin_loop

For rust-lang#55002

We wanted to leave `atomic::spin_loop_hint` alone when stabilizing `hint::spin_loop` so folks had some time to migrate. This now deprecates `atomic_spin_loop_hint`.
Use better ICE message when no MIR is available

The ICE message is somewhat confusing and overly specific - the issue is
that there's no MIR available.

This should make debugging these ICEs easier since the error tells you
what's actually wrong, not what it was trying to do when it failed.

cc rust-lang#80952 (comment)
cc `@jyn514`
…gisa

Remove unstable deprecated Vec::remove_item

Closes rust-lang#40062

The `Vec::remove_item` method was deprecated in `1.46.0` (in August of 2020). This PR now removes that unstable method entirely.
Update books

## nomicon

2 commits in a5a48441d411f61556b57d762b03d6874afe575d..a8584998eacdea7106a1dfafcbf6c1c06fcdf925
2020-12-06 10:39:41 +0900 to 2021-01-06 12:49:49 -0500
- Update vector code examples
- Remove outdated information about `jemalloc`

## reference

13 commits in b278478b766178491a8b6f67afa4bcd6b64d977a..50af691f838937c300b47812d0507c6d88c14f97
2020-12-21 18:18:03 -0800 to 2021-01-12 21:19:20 -0800
- Update grammar for parser unification. (rust-lang/reference#927)
- Define constraining an implementation (rust-lang/reference#928)
- Document extra behavior of #[no_mangle] (rust-lang/reference#930)
- Add a float examle without a `.`. (rust-lang/reference#929)
- Add more details about const generics. (rust-lang/reference#921)
- Fix footnotes. (rust-lang/reference#926)
- Add "Logic errors" as behavior not considered unsafe (rust-lang/reference#919)
- Update grammar for order of parameters/arguments. (rust-lang/reference#920)
- Fix formatting in the tuple section (rust-lang/reference#923)
- document const generics (rust-lang/reference#901)
- Update mdbook (rust-lang/reference#918)
- linkage.md: update link to FFI section of the Book. (rust-lang/reference#917)
- Document array expression with a const. (rust-lang/reference#914)

## book

8 commits in 5bb44f8b5b0aa105c8b22602e9b18800484afa21..ac57a0ddd23d173b26731ccf939f3ba729753275
2020-12-18 20:07:31 -0500 to 2021-01-09 14:18:45 -0500
- Update version of mdbook we're testing with to 0.4.5 (rust-lang/book#2561)
- Fix grammar in ch13-01-closures.md (rust-lang/book#2534)
- Merge remote-tracking branch 'origin/pr/2527'
- Clarify code example ch6.3 (rust-lang/book#2485)
- Fix link added in rust-lang/book#2495 to be relative and at the bottom
- Merge remote-tracking branch 'origin/pr/2495'
- Update output to match the updated poem punctuation
- Fix rust-lang/book#2539 - Remove fancy apostrophes from poem for Windows

## rust-by-example

3 commits in 1cce0737d6a7d3ceafb139b4a206861fb1dcb2ab..03e23af01f0b4f83a3a513da280e1ca92587f2ec
2020-12-21 17:36:29 -0300 to 2021-01-09 10:20:28 -0300
- Replace for loop with iteration (rust-lang/rust-by-example#1404)
- Update mdbook (rust-lang/rust-by-example#1402)
- Add note for match guards to include catch-all (rust-lang/rust-by-example#1401)

## embedded-book

1 commits in ba34b8a968f9531d38c4dc4411d5568b7c076bfe..ceec19e873be87c6ee5666b030c6bb612f889a96
2020-11-17 00:20:43 +0000 to 2021-01-03 13:13:10 +0000
- book.toml: add link to GitHub repo  (rust-embedded/book#276)
Fixed incorrect doc comment

">" is right alignment, not left
…evink

Fix -Cpasses=list and llvm version print with -vV

cc rust-lang#77975 (comment)
Fix stabilisation version of slice_strip

See rust-lang#77853 (review)

Signed-off-by: Ian Jackson <[email protected]>
llvm: Remove the unused context from CreateDebugLocation

This went unused in commit 88d874d, part of rust-lang#68965.
@rustbot rustbot added the rollup A PR which is a rollup label Jan 14, 2021
@JohnTitor
Copy link
Member Author

@bors r+ p=14 rollup=never

@bors
Copy link
Contributor

bors commented Jan 14, 2021

📌 Commit 800aa61 has been approved by JohnTitor

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jan 14, 2021
@bors
Copy link
Contributor

bors commented Jan 14, 2021

⌛ Testing commit 800aa61 with merge 0f9926d02de7ebbe319d991f90a4dfb64ed100ed...

@rust-log-analyzer
Copy link
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Get:20 http://archive.ubuntu.com/ubuntu bionic-backports/universe Sources [5759 B]
Fetched 14.7 MB in 2s (6616 kB/s)
Reading package lists...
Reading package lists...
Picking 'llvm-defaults' as source package instead of 'clang'
Picking 'llvm-defaults' as source package instead of 'llvm'
Reading state information...
The following NEW packages will be installed:
The following NEW packages will be installed:
  autopoint bsdmainutils build-essential debhelper dh-autoreconf
  dh-strip-nondeterminism distro-info-data gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libbsd0 libcroco3
  libfile-stripnondeterminism-perl libpipeline1 libtimedate-perl lsb-release
  man-db po-debconf
Need to get 5669 kB of archives.
After this operation, 17.6 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 bsdmainutils amd64 11.1.2ubuntu1 [181 kB]
---
Unpacking libfile-stripnondeterminism-perl (0.040-1.1~build1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../13-libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../14-dh-strip-nondeterminism_0.040-1.1~build1_all.deb ...
Unpacking dh-strip-nondeterminism (0.040-1.1~build1) ...
Selecting previously unselected package libcroco3:amd64.
Preparing to unpack .../15-libcroco3_0.6.12-2_amd64.deb ...
Unpacking libcroco3:amd64 (0.6.12-2) ...
Preparing to unpack .../16-gettext_0.19.8.1-6ubuntu0.3_amd64.deb ...
Unpacking gettext (0.19.8.1-6ubuntu0.3) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../17-intltool-debian_0.35.0+20060710.4_all.deb ...
---
Setting up gettext-base (0.19.8.1-6ubuntu0.3) ...
Setting up libpipeline1:amd64 (1.5.0-1) ...
Setting up lsb-release (9.20170808ubuntu1) ...
Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ...
Setting up libcroco3:amd64 (0.6.12-2) ...
Setting up bsdmainutils (11.1.2ubuntu1) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/write.1.gz because associated file /usr/share/man/man1/bsd-write.1.gz (of link group write) doesn't exist
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/from.1.gz because associated file /usr/share/man/man1/bsd-from.1.gz (of link group from) doesn't exist
Setting up autopoint (0.19.8.1-6ubuntu0.3) ...
Setting up libfile-stripnondeterminism-perl (0.040-1.1~build1) ...
Setting up gettext (0.19.8.1-6ubuntu0.3) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up man-db (2.8.3-2ubuntu0.1) ...
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Building database of manual pages ...
Setting up po-debconf (1.0.20) ...
---
  linux-libc-dev-armel-cross pinentry-curses python-apt-common python3-apt
  python3-dbus python3-distutils python3-gi python3-lib2to3
  python3-software-properties python3.6-dev
Suggested packages:
  binutils-doc gcc-7-locales dbus-user-session libpam-systemd pinentry-gnome3
  tor g++-7-multilib-arm-linux-gnueabi gcc-7-doc libstdc++6-7-dbg-armel-cross
  libgomp1-dbg-armel-cross libitm1-dbg-armel-cross libatomic1-dbg-armel-cross
  libasan4-dbg-armel-cross liblsan0-dbg-armel-cross libtsan0-dbg-armel-cross
  libubsan0-dbg-armel-cross libcilkrts5-dbg-armel-cross
  libubsan0-dbg-armel-cross libcilkrts5-dbg-armel-cross
  libmpx2-dbg-armel-cross libquadmath0-dbg-armel-cross scdaemon isoquery
  gmp-doc libgmp10-doc libmpfr-doc pinentry-doc python3-apt-dbg python-apt-doc
  python-dbus-doc python3-dbus-dbg
Recommended packages:
  gnupg gcc-multilib dbus nodejs-doc unattended-upgrades
  binutils-arm-linux-gnueabi cpp-7-arm-linux-gnueabi dh-python dirmngr
  g++-7-arm-linux-gnueabi gcc-7-arm-linux-gnueabi gcc-7-arm-linux-gnueabi-base
  gcc-7-cross-base gcc-7-multilib gcc-8-cross-base gir1.2-glib-2.0 gpg
  gpg-agent gpgconf iso-codes lib32asan4 lib32atomic1 lib32cilkrts5
---
Setting up libx32asan4 (7.5.0-3ubuntu1~18.04) ...
Setting up python3-dbus (1.2.6-1) ...
Setting up libgcc1-armel-cross (1:8.4.0-1ubuntu1~18.04cross2) ...
Setting up libx32cilkrts5 (7.5.0-3ubuntu1~18.04) ...
Setting up nodejs (8.10.0~dfsg-2ubuntu0.4) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/js.1.gz because associated file /usr/share/man/man1/nodejs.1.gz (of link group js) doesn't exist
Setting up libx32ubsan0 (7.5.0-3ubuntu1~18.04) ...
Setting up gpgconf (2.2.4-1ubuntu1.3) ...
Setting up lib32asan4 (7.5.0-3ubuntu1~18.04) ...
Setting up lib32mpx2 (8.4.0-1ubuntu1~18.04) ...
---
Processing triggers for libc-bin (2.27-3ubuntu1.3) ...
Removing intermediate container 8ff4919e07aa
 ---> 6d9b35cbc77f
Step 6/47 : RUN apt-key adv --batch --yes --keyserver keyserver.ubuntu.com --recv-keys 74DA7924C5513486
 ---> Running in 8843d61accad
Warning: apt-key output should not be parsed (stdout is not a terminal)
Executing: /tmp/apt-key-gpghome.qc4GeqR7aA/gpg.1.sh --batch --yes --keyserver keyserver.ubuntu.com --recv-keys 74DA7924C5513486
gpg: key 74DA7924C5513486: public key "Igor Kozhukhov <[email protected]>" imported
gpg:               imported: 1
Removing intermediate container 8843d61accad
 ---> 751190a6c411
Step 7/47 : RUN add-apt-repository -y 'deb http://apt.dilos.org/dilos dilos2 main'
---
+ ZIRCON=e9a26dbc70d631029f8ee9763103910b7e3a2fe1
+ mkdir -p zircon
+ pushd zircon
+ git init
Initialized empty Git repository in /tmp/zircon/.git/
+ git remote add origin https://github.com/rust-lang-nursery/mirror-google-fuchsia-zircon
+ git fetch --depth=1 origin e9a26dbc70d631029f8ee9763103910b7e3a2fe1
From https://github.com/rust-lang-nursery/mirror-google-fuchsia-zircon
 * branch            e9a26dbc70d631029f8ee9763103910b7e3a2fe1 -> FETCH_HEAD
+ git reset --hard FETCH_HEAD
HEAD is now at e9a26db [dev][usb-bus] Handle stalls while reading string descriptors
+ ./scripts/download-toolchain
Downloading https://fuchsia-build.storage.googleapis.com/magenta/toolchain/x86_64-elf/Linux-x86_64/509cd48809f5252ffc8ef0c72dbf208151750f66

                                                                           0.0%
#############                                                             18.9%
#############################################                             62.6%
#############################################                             62.6%
######################################################################## 100.0%
Unpacking /tmp/zircon/prebuilt/downloads/x86_64-elf-Linux-x86_64.tar.bz2
Downloading https://fuchsia-build.storage.googleapis.com/magenta/toolchain/aarch64-elf/Linux-x86_64/509cd48809f5252ffc8ef0c72dbf208151750f66

##############                                                            20.5%
#############################                                             41.2%
###############################################                           66.5%
###############################################                           66.5%
######################################################################## 100.0%
Unpacking /tmp/zircon/prebuilt/downloads/aarch64-elf-Linux-x86_64.tar.bz2
Downloading https://storage.googleapis.com/fuchsia/clang/linux-amd64/86d57720455e2d6aff2b48f9cea3ef77ab2af06a

                                                                           0.0%
###                                                                        5.3%
#######                                                                   10.6%
---
#################################################                         68.8%
###########################################################               82.1%
################################################################          90.0%
######################################################################## 100.0%
Unpacking /tmp/zircon/prebuilt/downloads/clang+llvm-x86_64-linux.zip
+ chmod -R a+rx prebuilt/downloads/clang+llvm-x86_64-linux
+ cp -a prebuilt/downloads/clang+llvm-x86_64-linux/. /usr/local
+ for arch in x86_64 aarch64
+ build x86_64
+ local arch=x86_64
+ case "${arch}" in
+ tgt=zircon-pc-x86-64
+ hide_output make -j16 zircon-pc-x86-64
Thu Jan 14 02:13:52 UTC 2021 - building ...
+ dst=/usr/local/x86_64-fuchsia
+ mkdir -p /usr/local/x86_64-fuchsia
+ mkdir -p /usr/local/x86_64-fuchsia
/tmp/build-fuchsia-toolchain.sh: line 22:    56 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
+ cp -a build-zircon-pc-x86-64/sysroot/include /usr/local/x86_64-fuchsia/
+ cp -a build-zircon-pc-x86-64/sysroot/lib /usr/local/x86_64-fuchsia/
+ for arch in x86_64 aarch64
+ build aarch64
+ local arch=aarch64
+ case "${arch}" in
+ tgt=zircon-qemu-arm64
+ hide_output make -j16 zircon-qemu-arm64
Thu Jan 14 02:14:25 UTC 2021 - building ...
+ dst=/usr/local/aarch64-fuchsia
+ mkdir -p /usr/local/aarch64-fuchsia
---
Hit:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:9 http://apt.dilos.org/dilos dilos2/main solaris-i386 Packages [1915 kB]
Fetched 1915 kB in 3s (592 kB/s)
Reading package lists...
++ apt-cache depends --recurse --no-replaces libc-dev:solaris-i386 libm-dev:solaris-i386 libpthread-dev:solaris-i386 libresolv-dev:solaris-i386 librt-dev:solaris-i386 libsocket-dev:solaris-i386 system-crt:solaris-i386 system-header:solaris-i386
++ grep '^\w'
+ apt-get download libc-dev:solaris-i386 libm-dev:solaris-i386 libpthread-dev:solaris-i386 libresolv-dev:solaris-i386 librt-dev:solaris-i386 libsocket-dev:solaris-i386 system-crt:solaris-i386 system-header:solaris-i386 libc:solaris-i386 libm:solaris-i386 libmvec:solaris-i386 libpthread:solaris-i386 libresolv:solaris-i386 librt:solaris-i386 libsocket:solaris-i386 libelf:solaris-i386 libld:solaris-i386 libmd:solaris-i386 libnsl:solaris-i386 libmp:solaris-i386
Get:1 http://apt.dilos.org/dilos dilos2/main solaris-i386 libc solaris-i386 2.0.2.48 [1638 kB]
Get:3 http://apt.dilos.org/dilos dilos2/main solaris-i386 libelf solaris-i386 2.0.2.48 [103 kB]
Get:4 http://apt.dilos.org/dilos dilos2/main solaris-i386 libld solaris-i386 2.0.2.48 [622 kB]
Get:5 http://apt.dilos.org/dilos dilos2/main solaris-i386 libm solaris-i386 2.0.2.48 [312 kB]
Get:6 http://apt.dilos.org/dilos dilos2/main solaris-i386 libm-dev solaris-i386 2.0.2.48 [230 kB]
---
Get:18 http://apt.dilos.org/dilos dilos2/main solaris-i386 libsocket-dev solaris-i386 2.0.2.48 [1580 B]
Get:19 http://apt.dilos.org/dilos dilos2/main solaris-i386 system-crt solaris-i386 2.0.2.48 [4372 B]
Get:20 http://apt.dilos.org/dilos dilos2/main solaris-i386 system-header solaris-i386 2.0.2.48 [2259 kB]
Fetched 6278 kB in 4s (1452 kB/s)
W: Download is performed unsandboxed as root as file '/tmp/solaris/libc_2.0.2.48_solaris-i386.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
+ dpkg -x libc-dev_2.0.2.48_solaris-i386.deb .
+ for deb in *$APT_ARCH.deb
+ dpkg -x libc_2.0.2.48_solaris-i386.deb .
+ for deb in *$APT_ARCH.deb
---
+ dpkg -x libsocket_2.0.2.48_solaris-i386.deb .
+ for deb in *$APT_ARCH.deb
+ dpkg -x system-crt_2.0.2.48_solaris-i386.deb .
+ for deb in *$APT_ARCH.deb
+ dpkg -x system-header_2.0.2.48_solaris-i386.deb .
+ rm usr/include/link.h
+ patch -p0
patching file usr/include/string.h
+ mkdir /usr/local/x86_64-sun-solaris2.10/usr
+ mv usr/include /usr/local/x86_64-sun-solaris2.10/usr/include
+ mv usr/lib/amd64/crt1.o usr/lib/amd64/crti.o usr/lib/amd64/crtn.o usr/lib/amd64/gcrt1.o usr/lib/amd64/ld.so.1 usr/lib/amd64/libc.so usr/lib/amd64/libc.so.1 usr/lib/amd64/libc_db.so usr/lib/amd64/libc_db.so.1 usr/lib/amd64/libelf.so.1 usr/lib/amd64/liblddbg.so.4 usr/lib/amd64/libm.so usr/lib/amd64/libm.so.1 usr/lib/amd64/libm.so.2 usr/lib/amd64/libmd.so.1 usr/lib/amd64/libmp.so.2 usr/lib/amd64/libmvec.so usr/lib/amd64/libmvec.so.1 usr/lib/amd64/libnsl.so.1 usr/lib/amd64/libposix4.so usr/lib/amd64/libposix4.so.1 usr/lib/amd64/libpthread.so usr/lib/amd64/libpthread.so.1 usr/lib/amd64/libresolv.so usr/lib/amd64/libresolv.so.2 usr/lib/amd64/librt.so usr/lib/amd64/librt.so.1 usr/lib/amd64/librtld.so.1 usr/lib/amd64/librtld_db.so usr/lib/amd64/librtld_db.so.1 usr/lib/amd64/libsocket.so usr/lib/amd64/libsocket.so.1 usr/lib/amd64/values-Xa.o usr/lib/amd64/values-Xc.o usr/lib/amd64/values-Xs.o usr/lib/amd64/values-Xt.o usr/lib/amd64/values-xpg4.o usr/lib/amd64/values-xpg6.o /usr/local/x86_64-sun-solaris2.10/lib
+ mv lib/amd64/ld.so.1 lib/amd64/libc.so lib/amd64/libc.so.1 lib/amd64/libc_db.so lib/amd64/libc_db.so.1 lib/amd64/libelf.so.1 lib/amd64/libld.so.4 lib/amd64/liblddbg.so.4 lib/amd64/libm.so lib/amd64/libm.so.1 lib/amd64/libm.so.2 lib/amd64/libmd.so.1 lib/amd64/libmp.so.2 lib/amd64/libmvec.so lib/amd64/libmvec.so.1 lib/amd64/libnsl.so.1 lib/amd64/libposix4.so lib/amd64/libposix4.so.1 lib/amd64/libpthread.so lib/amd64/libpthread.so.1 lib/amd64/libresolv.so lib/amd64/libresolv.so.2 lib/amd64/librt.so lib/amd64/librt.so.1 lib/amd64/librtld.so.1 lib/amd64/librtld_db.so lib/amd64/librtld_db.so.1 lib/amd64/libsocket.so lib/amd64/libsocket.so.1 /usr/local/x86_64-sun-solaris2.10/lib
+ ln -s usr/include /usr/local/x86_64-sun-solaris2.10/sys-include
+ ln -s usr/include /usr/local/x86_64-sun-solaris2.10/include
+ rm -rf solaris
+ mkdir gcc
+ cd gcc
+ curl https://ftp.gnu.org/gnu/gcc/gcc-6.4.0/gcc-6.4.0.tar.xz
---
100 72.6M  100 72.6M    0     0  7838k      0  0:00:09  0:00:09 --:--:-- 7834k
+ cd gcc-6.4.0
+ mkdir ../gcc-build
+ cd ../gcc-build
+ hide_output ../gcc-6.4.0/configure --enable-languages=c,c++ --target=x86_64-sun-solaris2.10 --with-gnu-as --with-gnu-ld --disable-multilib --disable-nls --disable-libgomp --disable-libquadmath --disable-libssp --disable-libvtv --disable-libcilkrts --disable-libada --disable-libsanitizer --disable-libquadmath-support --disable-lto
Thu Jan 14 02:16:18 UTC 2021 - building ...
Thu Jan 14 02:16:48 UTC 2021 - building ...
Thu Jan 14 02:17:18 UTC 2021 - building ...
Thu Jan 14 02:17:48 UTC 2021 - building ...
---
Hit:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:9 http://apt.dilos.org/dilos dilos2/main solaris-sparc Packages [1873 kB]
Fetched 1873 kB in 3s (587 kB/s)
Reading package lists...
++ apt-cache depends --recurse --no-replaces libc-dev:solaris-sparc libm-dev:solaris-sparc libpthread-dev:solaris-sparc libresolv-dev:solaris-sparc librt-dev:solaris-sparc libsocket-dev:solaris-sparc system-crt:solaris-sparc system-header:solaris-sparc
++ grep '^\w'
+ apt-get download libc-dev:solaris-sparc libm-dev:solaris-sparc libpthread-dev:solaris-sparc libresolv-dev:solaris-sparc librt-dev:solaris-sparc libsocket-dev:solaris-sparc system-crt:solaris-sparc system-header:solaris-sparc libc:solaris-sparc libm:solaris-sparc libmvec:solaris-sparc libpthread:solaris-sparc libresolv:solaris-sparc librt:solaris-sparc libsocket:solaris-sparc libelf:solaris-sparc libld:solaris-sparc libmd:solaris-sparc libnsl:solaris-sparc libmp:solaris-sparc
Get:1 http://apt.dilos.org/dilos dilos2/main solaris-sparc libc solaris-sparc 2.0.2.48 [1129 kB]
Get:3 http://apt.dilos.org/dilos dilos2/main solaris-sparc libelf solaris-sparc 2.0.2.48 [88.7 kB]
Get:4 http://apt.dilos.org/dilos dilos2/main solaris-sparc libld solaris-sparc 2.0.2.48 [544 kB]
Get:5 http://apt.dilos.org/dilos dilos2/main solaris-sparc libm solaris-sparc 2.0.2.48 [395 kB]
Get:6 http://apt.dilos.org/dilos dilos2/main solaris-sparc libm-dev solaris-sparc 2.0.2.48 [230 kB]
---
Get:18 http://apt.dilos.org/dilos dilos2/main solaris-sparc libsocket-dev solaris-sparc 2.0.2.48 [1584 B]
Get:19 http://apt.dilos.org/dilos dilos2/main solaris-sparc system-crt solaris-sparc 2.0.2.48 [3724 B]
Get:20 http://apt.dilos.org/dilos dilos2/main solaris-sparc system-header solaris-sparc 2.0.2.48 [2316 kB]
Fetched 5755 kB in 4s (1444 kB/s)
W: Download is performed unsandboxed as root as file '/tmp/solaris/libc_2.0.2.48_solaris-sparc.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
+ dpkg -x libc-dev_2.0.2.48_solaris-sparc.deb .
+ for deb in *$APT_ARCH.deb
+ dpkg -x libc_2.0.2.48_solaris-sparc.deb .
+ for deb in *$APT_ARCH.deb
---
+ dpkg -x libsocket_2.0.2.48_solaris-sparc.deb .
+ for deb in *$APT_ARCH.deb
+ dpkg -x system-crt_2.0.2.48_solaris-sparc.deb .
+ for deb in *$APT_ARCH.deb
+ dpkg -x system-header_2.0.2.48_solaris-sparc.deb .
+ rm usr/include/link.h
+ patch -p0
patching file usr/include/string.h
+ mkdir /usr/local/sparcv9-sun-solaris2.10/usr
+ mv usr/include /usr/local/sparcv9-sun-solaris2.10/usr/include
+ mv usr/lib/sparcv9/crt1.o usr/lib/sparcv9/crti.o usr/lib/sparcv9/crtn.o usr/lib/sparcv9/ld.so.1 usr/lib/sparcv9/libc.so usr/lib/sparcv9/libc.so.1 usr/lib/sparcv9/libc_db.so usr/lib/sparcv9/libc_db.so.1 usr/lib/sparcv9/libelf.so.1 usr/lib/sparcv9/liblddbg.so.4 usr/lib/sparcv9/libm.so usr/lib/sparcv9/libm.so.1 usr/lib/sparcv9/libm.so.2 usr/lib/sparcv9/libmd.so.1 usr/lib/sparcv9/libmp.so.2 usr/lib/sparcv9/libmvec.so usr/lib/sparcv9/libmvec.so.1 usr/lib/sparcv9/libnsl.so.1 usr/lib/sparcv9/libposix4.so usr/lib/sparcv9/libposix4.so.1 usr/lib/sparcv9/libpthread.so usr/lib/sparcv9/libpthread.so.1 usr/lib/sparcv9/libresolv.so usr/lib/sparcv9/libresolv.so.2 usr/lib/sparcv9/librt.so usr/lib/sparcv9/librt.so.1 usr/lib/sparcv9/librtld.so.1 usr/lib/sparcv9/librtld_db.so usr/lib/sparcv9/librtld_db.so.1 usr/lib/sparcv9/libsocket.so usr/lib/sparcv9/libsocket.so.1 usr/lib/sparcv9/values-Xa.o usr/lib/sparcv9/values-Xc.o usr/lib/sparcv9/values-Xs.o usr/lib/sparcv9/values-Xt.o usr/lib/sparcv9/values-xpg4.o usr/lib/sparcv9/values-xpg6.o /usr/local/sparcv9-sun-solaris2.10/lib
+ mv lib/sparcv9/ld.so.1 lib/sparcv9/libc.so lib/sparcv9/libc.so.1 lib/sparcv9/libc_db.so lib/sparcv9/libc_db.so.1 lib/sparcv9/libelf.so.1 lib/sparcv9/libld.so.4 lib/sparcv9/liblddbg.so.4 lib/sparcv9/libm.so lib/sparcv9/libm.so.1 lib/sparcv9/libm.so.2 lib/sparcv9/libmd.so.1 lib/sparcv9/libmp.so.2 lib/sparcv9/libmvec.so lib/sparcv9/libmvec.so.1 lib/sparcv9/libnsl.so.1 lib/sparcv9/libposix4.so lib/sparcv9/libposix4.so.1 lib/sparcv9/libpthread.so lib/sparcv9/libpthread.so.1 lib/sparcv9/libresolv.so lib/sparcv9/libresolv.so.2 lib/sparcv9/librt.so lib/sparcv9/librt.so.1 lib/sparcv9/librtld.so.1 lib/sparcv9/librtld_db.so lib/sparcv9/librtld_db.so.1 lib/sparcv9/libsocket.so lib/sparcv9/libsocket.so.1 /usr/local/sparcv9-sun-solaris2.10/lib
+ ln -s usr/include /usr/local/sparcv9-sun-solaris2.10/sys-include
+ ln -s usr/include /usr/local/sparcv9-sun-solaris2.10/include
+ rm -rf solaris
+ mkdir gcc
+ cd gcc
+ curl https://ftp.gnu.org/gnu/gcc/gcc-6.4.0/gcc-6.4.0.tar.xz
---
100 72.6M  100 72.6M    0     0  7658k      0  0:00:09  0:00:09 --:--:-- 8379k
+ cd gcc-6.4.0
+ mkdir ../gcc-build
+ cd ../gcc-build
+ hide_output ../gcc-6.4.0/configure --enable-languages=c,c++ --target=sparcv9-sun-solaris2.10 --with-gnu-as --with-gnu-ld --disable-multilib --disable-nls --disable-libgomp --disable-libquadmath --disable-libssp --disable-libvtv --disable-libcilkrts --disable-libada --disable-libsanitizer --disable-libquadmath-support --disable-lto
Thu Jan 14 02:20:55 UTC 2021 - building ...
Thu Jan 14 02:21:25 UTC 2021 - building ...
Thu Jan 14 02:21:55 UTC 2021 - building ...
Thu Jan 14 02:22:25 UTC 2021 - building ...
---
Step 23/47 : COPY host-x86_64/dist-various-2/build-wasi-toolchain.sh /tmp/
 ---> ced0c0370a42
Step 24/47 : RUN /tmp/build-wasi-toolchain.sh
 ---> Running in 241329fc637f
+ curl https://ci-mirrors.rust-lang.org/rustc/clang%2Bllvm-11.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   243    0   243    0     0    290      0 --:--:-- --:--:-- --:--:--   289
100   243    0   243    0     0    290      0 --:--:-- --:--:-- --:--:--   289
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c /tmp/build-wasi-toolchain.sh' returned a non-zero code: 2
Sending build context to Docker daemon  488.4kB

Step 1/47 : FROM ubuntu:18.04
 ---> 2c047404e52d
---
 ---> Using cache
 ---> ced0c0370a42
Step 24/47 : RUN /tmp/build-wasi-toolchain.sh
 ---> Running in 76b0e0817106
+ curl https://ci-mirrors.rust-lang.org/rustc/clang%2Bllvm-11.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   243    0   243    0     0    421      0 --:--:-- --:--:-- --:--:--   420
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c /tmp/build-wasi-toolchain.sh' returned a non-zero code: 2
Sending build context to Docker daemon  488.4kB

Step 1/47 : FROM ubuntu:18.04
 ---> 2c047404e52d
---
 ---> Using cache
 ---> ced0c0370a42
Step 24/47 : RUN /tmp/build-wasi-toolchain.sh
 ---> Running in e732561fd37f
+ curl https://ci-mirrors.rust-lang.org/rustc/clang%2Bllvm-11.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   243    0   243    0     0    549      0 --:--:-- --:--:-- --:--:--   549
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c /tmp/build-wasi-toolchain.sh' returned a non-zero code: 2
Sending build context to Docker daemon  488.4kB

Step 1/47 : FROM ubuntu:18.04
 ---> 2c047404e52d
---
 ---> Using cache
 ---> ced0c0370a42
Step 24/47 : RUN /tmp/build-wasi-toolchain.sh
 ---> Running in ef320ce85b58
+ curl https://ci-mirrors.rust-lang.org/rustc/clang%2Bllvm-11.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   243    0   243    0     0    649      0 --:--:-- --:--:-- --:--:--   649
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c /tmp/build-wasi-toolchain.sh' returned a non-zero code: 2
Sending build context to Docker daemon  488.4kB

Step 1/47 : FROM ubuntu:18.04
 ---> 2c047404e52d
---
Step 23/47 : COPY host-x86_64/dist-various-2/build-wasi-toolchain.sh /tmp/
 ---> Using cache
 ---> ced0c0370a42
Step 24/47 : RUN /tmp/build-wasi-toolchain.sh
 ---> Running in b479074d50ec
+ curl https://ci-mirrors.rust-lang.org/rustc/clang%2Bllvm-11.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   243    0   243    0     0    662      0 --:--:-- --:--:-- --:--:--   660
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c /tmp/build-wasi-toolchain.sh' returned a non-zero code: 2
##[error]Process completed with exit code 1.
Post job cleanup.

@bors
Copy link
Contributor

bors commented Jan 14, 2021

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jan 14, 2021
@JohnTitor JohnTitor closed this Jan 14, 2021
@JohnTitor JohnTitor deleted the rollup-lf3c8xe branch January 14, 2021 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.