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

Add a flat address space to librustc_codegen_llvm #62565

Closed

Conversation

YakoYakoYokuYoku
Copy link

To achieve compatibility with LLVM target machines which place allocas in another address space we need to the presence of a flat address space (an address space that is shared with other address spaces).

Also this PR updates #51576.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @cramertj (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 10, 2019
@cramertj
Copy link
Member

r? @eddyb
cc @alexcrichton

@rust-highfive rust-highfive assigned eddyb and unassigned cramertj Jul 10, 2019
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-07-10T17:36:30.6438343Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-07-10T17:36:30.6610699Z ##[command]git config gc.auto 0
2019-07-10T17:36:30.6680228Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-07-10T17:36:30.6727538Z ##[command]git config --get-all http.proxy
2019-07-10T17:36:30.6865560Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/62565/merge:refs/remotes/pull/62565/merge
---
2019-07-10T17:37:05.5372800Z do so (now or later) by using -b with the checkout command again. Example:
2019-07-10T17:37:05.5372837Z 
2019-07-10T17:37:05.5373044Z   git checkout -b <new-branch-name>
2019-07-10T17:37:05.5373392Z 
2019-07-10T17:37:05.5374748Z HEAD is now at 77b72b7a4 Merge 759ef8603affb7980b0522dff2e3b412e3921952 into c6a9e766f90a5271c2356fbc7941e38559200ab5
2019-07-10T17:37:05.5525645Z ##[section]Starting: Collect CPU-usage statistics in the background
2019-07-10T17:37:05.5529021Z ==============================================================================
2019-07-10T17:37:05.5529073Z Task         : Bash
2019-07-10T17:37:05.5529128Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-07-10T17:38:57.1036538Z Attempting with retry: curl -y 30 -Y 10 --connect-timeout 30 -f -L -C - -o /tmp/rustci_docker_cache https://.s3.amazonaws.com/docker/c7688a42c3598c0b7dfe0f9f69838f24b25841ef6f7f87b4686f4da367d970f5a477b9c1277bdc58ebfc14a49c51c0e2ddb2b3366d867d7aae1de3d9233c8624
2019-07-10T17:38:57.1112671Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-10T17:38:57.1113023Z                                  Dload  Upload   Total   Spent    Left  Speed
2019-07-10T17:38:57.1113309Z 
2019-07-10T17:38:57.1116736Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: .s3.amazonaws.com
2019-07-10T17:38:58.1191381Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-10T17:38:58.1191712Z                                  Dload  Upload   Total   Spent    Left  Speed
2019-07-10T17:38:58.1192053Z 
2019-07-10T17:38:58.1192053Z 
2019-07-10T17:38:58.1238185Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: .s3.amazonaws.com
2019-07-10T17:39:00.1310261Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-10T17:39:00.1310333Z                                  Dload  Upload   Total   Spent    Left  Speed
2019-07-10T17:39:00.1310365Z 
2019-07-10T17:39:00.1310365Z 
2019-07-10T17:39:00.1352610Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: .s3.amazonaws.com
2019-07-10T17:39:03.1435985Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-10T17:39:03.1436205Z                                  Dload  Upload   Total   Spent    Left  Speed
2019-07-10T17:39:03.1436243Z 
2019-07-10T17:39:03.1436243Z 
2019-07-10T17:39:03.1468116Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: .s3.amazonaws.com
2019-07-10T17:39:07.1531664Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-10T17:39:07.1532023Z                                  Dload  Upload   Total   Spent    Left  Speed
2019-07-10T17:39:07.1532290Z 
2019-07-10T17:39:07.1532290Z 
2019-07-10T17:39:07.1575931Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: .s3.amazonaws.com
2019-07-10T17:39:07.1581373Z The command has failed after 5 attempts.
2019-07-10T17:39:07.2591722Z open /tmp/rustci_docker_cache: no such file or directory
2019-07-10T17:39:07.2618591Z Attempting with retry: docker build --rm -t rust-ci -f /home/vsts/work/1/s/src/ci/docker/x86_64-gnu-llvm-6.0/Dockerfile /home/vsts/work/1/s/src/ci/docker
2019-07-10T17:39:07.4004182Z Sending build context to Docker daemon  521.7kB
2019-07-10T17:39:07.4004794Z 
2019-07-10T17:39:07.4308296Z Step 1/8 : FROM ubuntu:16.04
---
2019-07-10T17:39:23.4855466Z Reading package lists...
2019-07-10T17:39:24.3806432Z Reading package lists...
2019-07-10T17:39:24.5299132Z Building dependency tree...
2019-07-10T17:39:24.5299512Z Reading state information...
2019-07-10T17:39:24.6412622Z The following additional packages will be installed:
2019-07-10T17:39:24.6466713Z   binfmt-support binutils bzip2 cmake-data cpp cpp-5 dpkg-dev g++-5 gcc gcc-5
2019-07-10T17:39:24.6467204Z   git-man libarchive13 libasan2 libasn1-8-heimdal libatomic1
2019-07-10T17:39:24.6467790Z   libbabeltrace-ctf1 libbabeltrace1 libbsd-dev libbsd0 libbz2-1.0 libc-dev-bin
2019-07-10T17:39:24.6468625Z   libedit2 liberror-perl libexpat1 libffi-dev libffi6 libgcc-5-dev libgdbm3
2019-07-10T17:39:24.6468839Z   libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgssapi-krb5-2
2019-07-10T17:39:24.6469091Z   libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal
2019-07-10T17:39:24.6469331Z   libheimntlm0-heimdal libhogweed4 libhx509-5-heimdal libicu55 libidn11
2019-07-10T17:39:24.6469331Z   libheimntlm0-heimdal libhogweed4 libhx509-5-heimdal libicu55 libidn11
2019-07-10T17:39:24.6469722Z   libisl15 libitm1 libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-26-heimdal
2019-07-10T17:39:24.6469990Z   libkrb5-3 libkrb5support0 libldap-2.4-2 libllvm6.0 liblsan0 liblzo2-2
2019-07-10T17:39:24.6470199Z   libmagic1 libmpc3 libmpdec2 libmpfr4 libmpx0 libnettle6 libp11-kit0
2019-07-10T17:39:24.6470401Z   libperl5.22 libpipeline1 libpython-stdlib libpython2.7-minimal
2019-07-10T17:39:24.6470656Z   libpython2.7-stdlib libpython3.5 libpython3.5-minimal libpython3.5-stdlib
2019-07-10T17:39:24.6470869Z   libquadmath0 libroken18-heimdal librtmp1 libsasl2-2 libsasl2-modules-db
2019-07-10T17:39:24.6471082Z   libsqlite3-0 libssl1.0.0 libstdc++-5-dev libtasn1-6 libtinfo-dev libtsan0
2019-07-10T17:39:24.6471330Z   libubsan0 libwind0-heimdal libxml2 linux-libc-dev llvm-6.0 llvm-6.0-dev
2019-07-10T17:39:24.6471589Z   llvm-6.0-runtime mime-support openssl patch perl perl-modules-5.22 python
2019-07-10T17:39:24.6471770Z   python-minimal python2.7-minimal
2019-07-10T17:39:24.6518984Z Suggested packages:
2019-07-10T17:39:24.6519429Z   binutils-doc bzip2-doc codeblocks eclipse ninja-build cpp-doc gcc-5-locales
2019-07-10T17:39:24.6519988Z   debian-keyring g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg
2019-07-10T17:39:24.6520219Z   gcc-multilib manpages-dev autoconf automake libtool flex bison gcc-doc
2019-07-10T17:39:24.6520670Z   libasan2-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg
2019-07-10T17:39:24.6520880Z   libmpx0-dbg libquadmath0-dbg gdb-doc gettext-base git-daemon-run
2019-07-10T17:39:24.6520880Z   libmpx0-dbg libquadmath0-dbg gdb-doc gettext-base git-daemon-run
2019-07-10T17:39:24.6521091Z   | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch
2019-07-10T17:39:24.6521319Z   git-cvs git-mediawiki git-svn lrzip glibc-doc gnutls-bin krb5-doc krb5-user
2019-07-10T17:39:24.6521526Z   libstdc++-5-doc llvm-6.0-doc make-doc ed diffutils-doc perl-doc
2019-07-10T17:39:24.6521744Z   libterm-readline-gnu-perl | libterm-readline-perl-perl python-doc python-tk
2019-07-10T17:39:24.6521939Z   python2.7-doc
2019-07-10T17:39:24.6521990Z Recommended packages:
2019-07-10T17:39:24.6522384Z   build-essential fakeroot libalgorithm-merge-perl libc-dbg gdbserver less
2019-07-10T17:39:24.6522587Z   rsync ssh-client manpages manpages-dev libfile-fcntllock-perl
2019-07-10T17:39:24.6522823Z   libglib2.0-data shared-mime-info xdg-user-dirs krb5-locales libsasl2-modules
2019-07-10T17:39:24.6523007Z   libssl-doc xml-core netbase rename
2019-07-10T17:39:24.6523052Z The following NEW packages will be installed:
2019-07-10T17:39:24.6523343Z   binfmt-support binutils bzip2 ca-certificates cmake cmake-data cpp cpp-5
2019-07-10T17:39:24.6523988Z   curl dpkg-dev file g++ g++-5 gcc gcc-5 gdb git git-man libarchive13 libasan2
2019-07-10T17:39:24.6524291Z   libasn1-8-heimdal libatomic1 libbabeltrace-ctf1 libbabeltrace1 libbsd-dev
2019-07-10T17:39:24.6524609Z   libbsd0 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcurl3 libcurl3-gnutls
2019-07-10T17:39:24.6525081Z   libdpkg-perl libedit-dev libedit2 liberror-perl libexpat1 libffi-dev libffi6
2019-07-10T17:39:24.6525767Z   libgcc-5-dev libgdbm3 libglib2.0-0 libgmp10 libgnutls30 libgomp1
2019-07-10T17:39:24.6526345Z   libheimntlm0-heimdal libhogweed4 libhx509-5-heimdal libicu55 libidn11
2019-07-10T17:39:24.6526598Z   libisl15 libitm1 libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-26-heimdal
2019-07-10T17:39:24.6526902Z   libkrb5-3 libkrb5support0 libldap-2.4-2 libllvm6.0 liblsan0 liblzo2-2
2019-07-10T17:39:24.6527147Z   libmagic1 libmpc3 libmpdec2 libmpfr4 libmpx0 libnettle6 libp11-kit0
2019-07-10T17:39:24.6527147Z   libmagic1 libmpc3 libmpdec2 libmpfr4 libmpx0 libnettle6 libp11-kit0
2019-07-10T17:39:24.6527387Z   libperl5.22 libpipeline1 libpython-stdlib libpython2.7-minimal
2019-07-10T17:39:24.6527685Z   libpython2.7-stdlib libpython3.5 libpython3.5-minimal libpython3.5-stdlib
2019-07-10T17:39:24.6527937Z   libquadmath0 libroken18-heimdal librtmp1 libsasl2-2 libsasl2-modules-db
2019-07-10T17:39:24.6528201Z   libsqlite3-0 libssl-dev libssl1.0.0 libstdc++-5-dev libtasn1-6 libtinfo-dev
2019-07-10T17:39:24.6528667Z   libtsan0 libubsan0 libwind0-heimdal libxml2 linux-libc-dev llvm-6.0
2019-07-10T17:39:24.6529044Z   llvm-6.0-dev llvm-6.0-runtime llvm-6.0-tools make mime-support openssl patch
2019-07-10T17:39:24.6529248Z   perl perl-modules-5.22 pkg-config python python-minimal python2.7
2019-07-10T17:39:24.6529477Z   python2.7-minimal sudo xz-utils zlib1g-dev
2019-07-10T17:39:24.6529523Z The following packages will be upgraded:
2019-07-10T17:39:24.9078466Z 1 upgraded, 115 newly installed, 0 to remove and 4 not upgraded.
2019-07-10T17:39:24.9078574Z Need to get 121 MB of archives.
2019-07-10T17:39:24.9078623Z After this operation, 592 MB of additional disk space will be used.
2019-07-10T17:39:24.9080325Z Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgdbm3 amd64 1.8.3-13.1 [16.9 kB]
---
2019-07-10T17:39:25.9806880Z Get:61 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 sudo amd64 1.8.16-0ubuntu1.7 [390 kB]
2019-07-10T17:39:25.9881314Z Get:62 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssl amd64 1.0.2g-1ubuntu4.15 [492 kB]
2019-07-10T17:39:25.9954740Z Get:63 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ca-certificates all 20170717~16.04.2 [167 kB]
2019-07-10T17:39:25.9982210Z Get:64 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcurl3-gnutls amd64 7.47.0-1ubuntu2.13 [184 kB]
2019-07-10T17:39:26.0009951Z Get:65 http://archive.ubuntu.com/ubuntu xenial/main amd64 libedit2 amd64 3.1-20150325-1ubuntu2 [76.5 kB]
2019-07-10T17:39:26.0022946Z Get:66 http://archive.ubuntu.com/ubuntu xenial/main amd64 libpipeline1 amd64 1.4.1-2 [24.6 kB]
2019-07-10T17:39:26.0028631Z Get:67 http://archive.ubuntu.com/ubuntu xenial/main amd64 binfmt-support amd64 2.1.6-1 [50.7 kB]
2019-07-10T17:39:26.0650232Z Get:69 http://archive.ubuntu.com/ubuntu xenial/main amd64 libisl15 amd64 0.16.1-1 [524 kB]
2019-07-10T17:39:26.0717718Z Get:70 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 cpp-5 amd64 5.4.0-6ubuntu1~16.04.11 [7660 kB]
2019-07-10T17:39:26.1930330Z Get:71 http://archive.ubuntu.com/ubuntu xenial/main amd64 cpp amd64 4:5.3.1-1ubuntu1 [27.7 kB]
2019-07-10T17:39:26.1936168Z Get:72 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 curl amd64 7.47.0-1ubuntu2.13 [139 kB]
---
2019-07-10T17:39:44.2044444Z Unpacking ca-certificates (20170717~16.04.2) ...
2019-07-10T17:39:44.3709072Z Selecting previously unselected package libcurl3-gnutls:amd64.
2019-07-10T17:39:44.3736827Z Preparing to unpack .../libcurl3-gnutls_7.47.0-1ubuntu2.13_amd64.deb ...
2019-07-10T17:39:44.3866302Z Unpacking libcurl3-gnutls:amd64 (7.47.0-1ubuntu2.13) ...
2019-07-10T17:39:44.5224942Z Selecting previously unselected package libedit2:amd64.
2019-07-10T17:39:44.5242279Z Preparing to unpack .../libedit2_3.1-20150325-1ubuntu2_amd64.deb ...
2019-07-10T17:39:44.5379930Z Unpacking libedit2:amd64 (3.1-20150325-1ubuntu2) ...
2019-07-10T17:39:44.6619013Z Selecting previously unselected package libpipeline1:amd64.
2019-07-10T17:39:44.6633474Z Preparing to unpack .../libpipeline1_1.4.1-2_amd64.deb ...
2019-07-10T17:39:44.6771968Z Unpacking libpipeline1:amd64 (1.4.1-2) ...
2019-07-10T17:39:44.8001953Z Selecting previously unselected package binfmt-support.
2019-07-10T17:39:44.8018819Z Preparing to unpack .../binfmt-support_2.1.6-1_amd64.deb ...
2019-07-10T17:39:44.8159067Z Unpacking binfmt-support (2.1.6-1) ...
2019-07-10T17:39:44.9365819Z Preparing to unpack .../binutils_2.26.1-1ubuntu1~16.04.8_amd64.deb ...
2019-07-10T17:39:44.9499172Z Unpacking binutils (2.26.1-1ubuntu1~16.04.8) ...
2019-07-10T17:39:45.4159231Z Selecting previously unselected package libisl15:amd64.
2019-07-10T17:39:45.4173629Z Preparing to unpack .../libisl15_0.16.1-1_amd64.deb ...
---
2019-07-10T17:39:57.1875435Z Selecting previously unselected package libtinfo-dev:amd64.
2019-07-10T17:39:57.1898834Z Preparing to unpack .../libtinfo-dev_6.0+20160213-1ubuntu1_amd64.deb ...
2019-07-10T17:39:57.2078051Z Unpacking libtinfo-dev:amd64 (6.0+20160213-1ubuntu1) ...
2019-07-10T17:39:57.3175992Z Selecting previously unselected package libedit-dev:amd64.
2019-07-10T17:39:57.3196426Z Preparing to unpack .../libedit-dev_3.1-20150325-1ubuntu2_amd64.deb ...
2019-07-10T17:39:57.3360688Z Unpacking libedit-dev:amd64 (3.1-20150325-1ubuntu2) ...
2019-07-10T17:39:57.4685426Z Selecting previously unselected package libllvm6.0:amd64.
2019-07-10T17:39:57.4704682Z Preparing to unpack .../libllvm6.0_1%3a6.0-1ubuntu2~16.04.1_amd64.deb ...
2019-07-10T17:39:57.4862921Z Unpacking libllvm6.0:amd64 (1:6.0-1ubuntu2~16.04.1) ...
2019-07-10T17:40:00.2958963Z Selecting previously unselected package zlib1g-dev:amd64.
2019-07-10T17:40:00.2975588Z Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2ubuntu4.1_amd64.deb ...
2019-07-10T17:40:00.3117174Z Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.1) ...
2019-07-10T17:40:00.4258089Z Preparing to unpack .../libssl-dev_1.0.2g-1ubuntu4.15_amd64.deb ...
2019-07-10T17:40:00.4405809Z Unpacking libssl-dev:amd64 (1.0.2g-1ubuntu4.15) ...
2019-07-10T17:40:00.7491009Z Selecting previously unselected package llvm-6.0-runtime.
2019-07-10T17:40:00.7491009Z Selecting previously unselected package llvm-6.0-runtime.
2019-07-10T17:40:00.7516518Z Preparing to unpack .../llvm-6.0-runtime_1%3a6.0-1ubuntu2~16.04.1_amd64.deb ...
2019-07-10T17:40:00.7656953Z Unpacking llvm-6.0-runtime (1:6.0-1ubuntu2~16.04.1) ...
2019-07-10T17:40:00.9074286Z Selecting previously unselected package llvm-6.0.
2019-07-10T17:40:00.9094458Z Preparing to unpack .../llvm-6.0_1%3a6.0-1ubuntu2~16.04.1_amd64.deb ...
2019-07-10T17:40:00.9252865Z Unpacking llvm-6.0 (1:6.0-1ubuntu2~16.04.1) ...
2019-07-10T17:40:01.5778441Z Selecting previously unselected package libffi-dev:amd64.
2019-07-10T17:40:01.5804569Z Preparing to unpack .../libffi-dev_3.2.1-4_amd64.deb ...
2019-07-10T17:40:01.5970549Z Unpacking libffi-dev:amd64 (3.2.1-4) ...
2019-07-10T17:40:01.7214908Z Selecting previously unselected package llvm-6.0-dev.
2019-07-10T17:40:01.7233347Z Preparing to unpack .../llvm-6.0-dev_1%3a6.0-1ubuntu2~16.04.1_amd64.deb ...
2019-07-10T17:40:01.7375947Z Unpacking llvm-6.0-dev (1:6.0-1ubuntu2~16.04.1) ...
2019-07-10T17:40:06.1841928Z Selecting previously unselected package llvm-6.0-tools.
2019-07-10T17:40:06.1842906Z Preparing to unpack .../llvm-6.0-tools_1%3a6.0-1ubuntu2~16.04.1_amd64.deb ...
2019-07-10T17:40:06.2034285Z Unpacking llvm-6.0-tools (1:6.0-1ubuntu2~16.04.1) ...
2019-07-10T17:40:06.3591753Z Selecting previously unselected package pkg-config.
2019-07-10T17:40:06.3612037Z Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
2019-07-10T17:40:06.3748464Z Unpacking pkg-config (0.29.1-0ubuntu1) ...
2019-07-10T17:40:06.4922145Z Processing triggers for systemd (229-4ubuntu21.21) ...
2019-07-10T17:40:06.8645488Z Setting up libgdbm3:amd64 (1.8.3-13.1) ...
2019-07-10T17:40:06.9429353Z Setting up libffi6:amd64 (3.2.1-4) ...
2019-07-10T17:40:06.9857801Z Setting up libglib2.0-0:amd64 (2.48.2-0ubuntu4.3) ...
---
2019-07-10T17:40:10.8349431Z debconf: unable to initialize frontend: Dialog
2019-07-10T17:40:10.8349704Z debconf: (TERM is not set, so the dialog frontend is not usable.)
2019-07-10T17:40:10.8349896Z debconf: falling back to frontend: Readline
2019-07-10T17:40:11.3404448Z Setting up libcurl3-gnutls:amd64 (7.47.0-1ubuntu2.13) ...
2019-07-10T17:40:11.3843202Z Setting up libedit2:amd64 (3.1-20150325-1ubuntu2) ...
2019-07-10T17:40:11.4276801Z Setting up libpipeline1:amd64 (1.4.1-2) ...
2019-07-10T17:40:11.4708390Z Setting up binfmt-support (2.1.6-1) ...
2019-07-10T17:40:11.5473180Z mount: permission denied
2019-07-10T17:40:11.5478523Z update-binfmts: warning: Couldn't mount the binfmt_misc filesystem on /proc/sys/fs/binfmt_misc.
2019-07-10T17:40:11.5491698Z mount: permission denied
2019-07-10T17:40:11.5496119Z update-binfmts: warning: Couldn't mount the binfmt_misc filesystem on /proc/sys/fs/binfmt_misc.
2019-07-10T17:40:11.6985100Z invoke-rc.d: could not determine current runlevel
2019-07-10T17:40:11.7012110Z invoke-rc.d: policy-rc.d denied execution of start.
2019-07-10T17:40:11.7650075Z Setting up libisl15:amd64 (0.16.1-1) ...
2019-07-10T17:40:11.8111518Z Setting up cpp-5 (5.4.0-6ubuntu1~16.04.11) ...
2019-07-10T17:40:11.8521547Z Setting up cpp (4:5.3.1-1ubuntu1) ...
2019-07-10T17:40:11.9055407Z Setting up curl (7.47.0-1ubuntu2.13) ...
---
2019-07-10T17:40:13.6397503Z Setting up libedit-dev:amd64 (3.1-20150325-1ubuntu2) ...
2019-07-10T17:40:13.6815602Z Setting up libllvm6.0:amd64 (1:6.0-1ubuntu2~16.04.1) ...
2019-07-10T17:40:13.7239125Z Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.1) ...
2019-07-10T17:40:13.7671616Z Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4.15) ...
2019-07-10T17:40:13.8091925Z Setting up llvm-6.0-runtime (1:6.0-1ubuntu2~16.04.1) ...
2019-07-10T17:40:13.8430423Z mount: permission denied
2019-07-10T17:40:13.8433697Z update-binfmts: warning: Couldn't mount the binfmt_misc filesystem on /proc/sys/fs/binfmt_misc.
2019-07-10T17:40:13.8631451Z Setting up llvm-6.0 (1:6.0-1ubuntu2~16.04.1) ...
2019-07-10T17:40:13.9063148Z Setting up libffi-dev:amd64 (3.2.1-4) ...
2019-07-10T17:40:13.9509994Z Setting up llvm-6.0-dev (1:6.0-1ubuntu2~16.04.1) ...
2019-07-10T17:40:13.9945613Z Setting up llvm-6.0-tools (1:6.0-1ubuntu2~16.04.1) ...
2019-07-10T17:40:14.0384611Z Setting up pkg-config (0.29.1-0ubuntu1) ...
2019-07-10T17:40:14.1791800Z Processing triggers for ca-certificates (20170717~16.04.2) ...
2019-07-10T17:40:14.1983181Z Updating certificates in /etc/ssl/certs...
2019-07-10T17:40:15.7877971Z 148 added, 0 removed; done.
2019-07-10T17:40:15.7878793Z Running hooks in /etc/ca-certificates/update.d...
---
2019-07-10T17:40:49.0963017Z Removing intermediate container 44887c7a5d0d
2019-07-10T17:40:49.0964453Z  ---> 116f93548cc1
2019-07-10T17:40:49.1002047Z Successfully built 116f93548cc1
2019-07-10T17:40:49.2816529Z Successfully tagged rust-ci:latest
2019-07-10T17:40:49.3764923Z Built container sha256:116f93548cc117bc8d298148f6444c93db7c070c2c296f3be8dff24e035e1ba5
2019-07-10T17:40:49.3783513Z Uploading finished image to https://.s3.amazonaws.com/docker/c7688a42c3598c0b7dfe0f9f69838f24b25841ef6f7f87b4686f4da367d970f5a477b9c1277bdc58ebfc14a49c51c0e2ddb2b3366d867d7aae1de3d9233c8624
2019-07-10T17:41:48.4047939Z upload failed: - to s3:///docker/c7688a42c3598c0b7dfe0f9f69838f24b25841ef6f7f87b4686f4da367d970f5a477b9c1277bdc58ebfc14a49c51c0e2ddb2b3366d867d7aae1de3d9233c8624 Parameter validation failed:
2019-07-10T17:41:48.4049798Z Invalid bucket name "": Bucket name must match the regex "^[a-zA-Z0-9.\-_]{1,255}$"
2019-07-10T17:41:49.3906363Z [CI_JOB_NAME=x86_64-gnu-llvm-6.0]
2019-07-10T17:41:49.3958582Z Starting sccache server...
2019-07-10T17:41:49.4447737Z configure: processing command line
2019-07-10T17:41:49.4448118Z configure: 
---
2019-07-10T18:34:43.1584447Z .................................................................................................... 200/5785
2019-07-10T18:34:47.0429598Z .................................................................................................... 300/5785
2019-07-10T18:34:50.4662471Z .................................................................................................... 400/5785
2019-07-10T18:34:53.9515344Z .................................................................................................... 500/5785
2019-07-10T18:34:57.7061125Z ..................................................................i................................. 600/5785
2019-07-10T18:35:06.1296094Z .................................................................................................... 800/5785
2019-07-10T18:35:11.3075060Z .................................................................................................... 900/5785
2019-07-10T18:35:11.3075060Z .................................................................................................... 900/5785
2019-07-10T18:35:16.7176535Z .....................................................................................i...........i.. 1000/5785
2019-07-10T18:35:20.6760169Z .................................................................................................... 1100/5785
2019-07-10T18:35:24.8036548Z ..............iiiii................................................................................. 1200/5785
2019-07-10T18:35:30.5019765Z .................................................................................................... 1400/5785
2019-07-10T18:35:33.5101282Z .................................................................................................... 1500/5785
2019-07-10T18:35:36.9341082Z .................................................................................................... 1600/5785
2019-07-10T18:35:39.5734215Z .................................................................................................... 1700/5785
2019-07-10T18:35:39.5734215Z .................................................................................................... 1700/5785
2019-07-10T18:35:42.8584349Z ....................................................i............................................... 1800/5785
2019-07-10T18:35:50.7770140Z .................................................................................................... 2000/5785
2019-07-10T18:35:54.5060213Z .................................................................................................... 2100/5785
2019-07-10T18:35:58.3818900Z .................................................................................................... 2200/5785
2019-07-10T18:35:58.3818900Z .................................................................................................... 2200/5785
2019-07-10T18:36:01.8547328Z .............i...................................................................................... 2300/5785
2019-07-10T18:36:11.3766347Z .................................................................................................... 2500/5785
2019-07-10T18:36:16.4532924Z .................................................................................................... 2600/5785
2019-07-10T18:36:19.9251956Z .................................................................................................... 2700/5785
2019-07-10T18:36:24.1034766Z .................................................................................................... 2800/5785
2019-07-10T18:36:24.1034766Z .................................................................................................... 2800/5785
2019-07-10T18:36:28.6346210Z .................................................................................................... 2900/5785
2019-07-10T18:36:33.4629000Z .................................................................................................... 3000/5785
2019-07-10T18:36:37.9205617Z .................................................................................................... 3100/5785
2019-07-10T18:36:42.2287497Z .................................................................................................... 3200/5785
2019-07-10T18:36:45.0536513Z .................................................................................................... 3300/5785
2019-07-10T18:36:49.9969119Z .................................................................................................... 3400/5785
2019-07-10T18:36:53.9135716Z ....................................................................i............................... 3500/5785
2019-07-10T18:36:57.6211264Z .................................................................................................... 3600/5785
2019-07-10T18:37:01.5934623Z ..........................................ii...i..ii................................................ 3700/5785
2019-07-10T18:37:10.0367726Z .................................................................................................... 3900/5785
2019-07-10T18:37:10.0367726Z .................................................................................................... 3900/5785
2019-07-10T18:37:13.7913214Z ........................................................ii.......................................... 4000/5785
2019-07-10T18:37:16.2177955Z .............................................................................i...................... 4100/5785
2019-07-10T18:37:18.5167349Z .................................................................................................... 4200/5785
2019-07-10T18:37:20.5389904Z .........................................i.......................................................... 4300/5785
2019-07-10T18:37:37.7443147Z .................................................................................................... 4500/5785
2019-07-10T18:37:44.3904532Z .................................................................................................... 4600/5785
2019-07-10T18:37:47.5563831Z .................................................................................................... 4700/5785
2019-07-10T18:37:51.7948785Z .................................................................................................... 4800/5785
---
2019-07-10T18:38:22.6475224Z .................................................................................................... 5400/5785
2019-07-10T18:38:27.1743363Z .................................................................................................... 5500/5785
2019-07-10T18:38:30.0385920Z .................................................................................................... 5600/5785
2019-07-10T18:38:32.9145826Z .................................................................................................... 5700/5785
2019-07-10T18:38:35.5795090Z .........................i...........................................................
2019-07-10T18:38:35.5799092Z 
2019-07-10T18:38:35.5864974Z  finished in 246.837
2019-07-10T18:38:35.6028538Z Check compiletest suite=run-pass mode=run-pass (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-07-10T18:38:35.8197061Z 
2019-07-10T18:38:35.8197061Z 
2019-07-10T18:38:35.8197966Z running 2921 tests
2019-07-10T18:38:49.8598643Z .................................................................................................... 100/2921
2019-07-10T18:39:04.5546399Z ...............................................................................i.................... 200/2921
2019-07-10T18:39:27.8732398Z .................................................................................................... 400/2921
2019-07-10T18:39:39.3323431Z .................................................................................................... 500/2921
2019-07-10T18:39:53.7434992Z .................................................................................................... 600/2921
2019-07-10T18:40:14.3981016Z .................................................................................................... 700/2921
2019-07-10T18:40:14.3981016Z .................................................................................................... 700/2921
2019-07-10T18:40:28.0900713Z .................................................................................................... 800/2921
2019-07-10T18:40:39.1846322Z .................................................................................................... 900/2921
2019-07-10T18:40:56.2586257Z .................................................................................................... 1000/2921
2019-07-10T18:41:09.6653799Z .................................................................................................... 1100/2921
2019-07-10T18:41:20.3639828Z .................................................................................................... 1200/2921
2019-07-10T18:41:32.6391693Z .................................................................................................... 1300/2921
2019-07-10T18:41:48.1955257Z .........................ii......................................................................... 1400/2921
2019-07-10T18:42:00.6426202Z .................................................................................................... 1500/2921
2019-07-10T18:42:11.5962004Z .............................................................................i.......i.............. 1600/2921
2019-07-10T18:42:44.2177113Z .................................................................................................... 1800/2921
2019-07-10T18:42:56.9833848Z .................................................................................................... 1900/2921
2019-07-10T18:42:56.9833848Z .................................................................................................... 1900/2921
2019-07-10T18:43:13.2583564Z .......i.......................................................................i.................... 2000/2921
2019-07-10T18:43:59.8429791Z .................................................................................................... 2200/2921
2019-07-10T18:44:11.3742377Z .................................................................................................... 2300/2921
2019-07-10T18:44:11.3742377Z .................................................................................................... 2300/2921
2019-07-10T18:44:32.4674845Z ..............ii.................................................................................... 2400/2921
2019-07-10T18:45:27.0411300Z .................................................................................................... 2600/2921
2019-07-10T18:45:39.2246597Z .................................................................................................... 2700/2921
2019-07-10T18:45:51.4724941Z .................................................................................................... 2800/2921
2019-07-10T18:46:06.4411298Z .................................................................................................... 2900/2921
---
2019-07-10T18:47:00.7415464Z  finished in 29.895
2019-07-10T18:47:00.7581727Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-07-10T18:47:00.9149334Z 
2019-07-10T18:47:00.9150007Z running 146 tests
2019-07-10T18:47:03.9366520Z i....iii......iii..iiii....i............................i..i................i....i.........ii.i.i..i 100/146
2019-07-10T18:47:05.6974862Z .ii..............i.........iii.i......ii......
2019-07-10T18:47:05.6976595Z 
2019-07-10T18:47:05.6976842Z  finished in 4.939
2019-07-10T18:47:05.7158009Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-07-10T18:47:05.8710571Z 
2019-07-10T18:47:05.8710571Z 
2019-07-10T18:47:05.8710826Z running 39 tests
2019-07-10T18:47:07.8603942Z i.........i......................i.....
2019-07-10T18:47:07.8604487Z 
2019-07-10T18:47:07.8607875Z  finished in 2.145
2019-07-10T18:47:07.8823651Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-07-10T18:47:08.0285740Z 
2019-07-10T18:47:08.0285740Z 
2019-07-10T18:47:08.0286057Z running 9 tests
2019-07-10T18:47:08.0287509Z iiiiiiiii
2019-07-10T18:47:08.0288205Z 
2019-07-10T18:47:08.0290507Z  finished in 0.147
2019-07-10T18:47:08.0471724Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-07-10T18:47:08.1988096Z 
---
2019-07-10T18:47:25.4474580Z  finished in 17.400
2019-07-10T18:47:25.4665903Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-07-10T18:47:25.6252579Z 
2019-07-10T18:47:25.6253874Z running 122 tests
2019-07-10T18:47:47.7804765Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....i..........iiii..........i...ii...i.......ii.i 100/122
2019-07-10T18:47:52.0295822Z .i.i......iii.i.....ii
2019-07-10T18:47:52.0297080Z 
2019-07-10T18:47:52.0297374Z  finished in 26.563
2019-07-10T18:47:52.0303932Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-07-10T18:47:52.0305148Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-07-10T18:51:21.6152937Z     Finished release [optimized] target(s) in 2m 35s
2019-07-10T18:51:21.6376326Z Check compiletest suite=rustdoc mode=rustdoc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-07-10T18:51:21.7922237Z 
2019-07-10T18:51:21.7923420Z running 315 tests
2019-07-10T18:52:32.5094398Z ....................................i............................................................... 100/315
2019-07-10T18:53:37.7927275Z ....................................................i............................................... 200/315
2019-07-10T18:54:47.1581436Z ...............
2019-07-10T18:54:47.1581864Z test result: ok. 313 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out
2019-07-10T18:54:47.1581906Z 
2019-07-10T18:54:47.1587990Z  finished in 205.521
---
2019-07-10T18:58:30.9543501Z 
2019-07-10T18:58:30.9637920Z 
2019-07-10T18:58:30.9638447Z running 438 tests
2019-07-10T18:58:48.5227630Z .................................................................................................... 100/438
2019-07-10T18:59:04.3592224Z ...................................................................................i................ 200/438
2019-07-10T18:59:31.1843226Z .................................................................................................... 400/438
2019-07-10T18:59:36.7082531Z ......................................
2019-07-10T18:59:36.7083038Z test result: ok. 437 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out
2019-07-10T18:59:36.7083106Z 
---
2019-07-10T19:00:50.0655904Z running 961 tests
2019-07-10T19:00:50.0746068Z .................................................................................................... 100/961
2019-07-10T19:00:50.0863544Z .................................................................................................... 200/961
2019-07-10T19:00:50.0965658Z .................................................................................................... 300/961
2019-07-10T19:00:50.1976338Z ............................................................................................ii...... 400/961
2019-07-10T19:00:50.3005323Z .................................................................................................... 600/961
2019-07-10T19:00:50.3105495Z .................................................................................................... 700/961
2019-07-10T19:00:50.3376882Z .................................................................................................... 800/961
2019-07-10T19:00:50.7743496Z .................................................................................................... 900/961
2019-07-10T19:00:50.7743496Z .................................................................................................... 900/961
2019-07-10T19:00:51.8176237Z .............................................................
2019-07-10T19:00:51.8177198Z test result: ok. 959 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out
2019-07-10T19:00:51.8177769Z 
2019-07-10T19:00:51.8178750Z    Doc-tests core
2019-07-10T19:00:55.6084687Z 
2019-07-10T19:00:55.6085240Z running 2372 tests
2019-07-10T19:01:07.2250713Z ......iiiii......................................................................................... 100/2372
2019-07-10T19:01:18.7020271Z .........................................................................ii......................... 200/2372
2019-07-10T19:01:31.5832830Z ...............................................................................................i.... 300/2372
2019-07-10T19:01:46.2144561Z .................................................................................................... 400/2372
2019-07-10T19:01:56.8241069Z ..............................i..i.................iiii............................................. 500/2372
2019-07-10T19:02:18.4219744Z .................................................................................................... 700/2372
2019-07-10T19:02:29.5262905Z .................................................................................................... 800/2372
2019-07-10T19:02:40.5869685Z .................................................................................................... 900/2372
2019-07-10T19:02:51.4659864Z .................................................................................................... 1000/2372
---
2019-07-10T19:04:31.6976163Z .................................................................................................... 1900/2372
2019-07-10T19:04:43.5383037Z .................................................................................................... 2000/2372
2019-07-10T19:04:54.7285790Z .................................................................................................... 2100/2372
2019-07-10T19:05:08.6501149Z .................................................................................................... 2200/2372
2019-07-10T19:05:23.5398858Z .................................................................................i.................. 2300/2372
2019-07-10T19:05:31.9074173Z test result: ok. 2357 passed; 0 failed; 15 ignored; 0 measured; 0 filtered out
2019-07-10T19:05:31.9121572Z 
2019-07-10T19:05:31.9323195Z  finished in 355.208
2019-07-10T19:05:31.9324215Z Testing panic_abort stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2019-07-10T19:07:34.0286779Z 
2019-07-10T19:07:34.0287009Z running 1009 tests
2019-07-10T19:07:54.9480978Z i................................................................................................... 100/1009
2019-07-10T19:08:06.7233107Z .................................................................................................... 200/1009
2019-07-10T19:08:14.7453698Z .................iii......i......i...i......i....................................................... 300/1009
2019-07-10T19:08:19.1531058Z .................................................................................................... 400/1009
2019-07-10T19:08:26.1587940Z ................................i..i..........................................iiii.......ii......... 500/1009
2019-07-10T19:08:39.3061175Z .................................................................................................... 700/1009
2019-07-10T19:08:39.3061175Z .................................................................................................... 700/1009
2019-07-10T19:08:46.6063226Z ...................................iiii............................................................. 800/1009
2019-07-10T19:09:01.3753674Z .................................................................................................... 900/1009
2019-07-10T19:09:08.5590081Z .........................................................iiii....................................... 1000/1009
2019-07-10T19:09:08.8875675Z test result: ok. 985 passed; 0 failed; 24 ignored; 0 measured; 0 filtered out
2019-07-10T19:09:08.8876103Z 
2019-07-10T19:09:08.9063239Z  finished in 216.535
2019-07-10T19:09:08.9081410Z Testing unwind stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2019-07-10T19:11:22.3112112Z    Compiling rustc_target v0.0.0 (/checkout/src/librustc_target)
2019-07-10T19:11:22.3159056Z error[E0432]: unresolved import `spec`
2019-07-10T19:11:22.3159312Z     --> src/librustc_target/abi/mod.rs:1052:9
2019-07-10T19:11:22.3159487Z      |
2019-07-10T19:11:22.3160288Z 1052 |     use spec::{Target, TargetTriple, };
2019-07-10T19:11:22.3160643Z      |         ^^^^ help: a similar path exists: `crate::spec`
2019-07-10T19:11:22.3161208Z      |
2019-07-10T19:11:22.3161678Z      = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
2019-07-10T19:11:23.4115859Z error: aborting due to previous error
2019-07-10T19:11:23.4116421Z 
2019-07-10T19:11:23.4116871Z For more information about this error, try `rustc --explain E0432`.
2019-07-10T19:11:23.4479486Z error: Could not compile `rustc_target`.
2019-07-10T19:11:23.4479486Z error: Could not compile `rustc_target`.
2019-07-10T19:11:23.4480733Z 
2019-07-10T19:11:23.4481246Z To learn more, run the command again with --verbose.
2019-07-10T19:11:23.4500699Z 
2019-07-10T19:11:23.4500787Z 
2019-07-10T19:11:23.4501769Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "x86_64-unknown-linux-gnu" "-j" "2" "--release" "--locked" "--color" "always" "--features" "" "--manifest-path" "/checkout/src/rustc/Cargo.toml" "-p" "rustc_target" "--" "--quiet"
2019-07-10T19:11:23.4502139Z 
2019-07-10T19:11:23.4502168Z 
2019-07-10T19:11:23.4505841Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-07-10T19:11:23.4506048Z Build completed unsuccessfully in 1:26:06
2019-07-10T19:11:23.4506048Z Build completed unsuccessfully in 1:26:06
2019-07-10T19:11:24.0184375Z ##[error]Bash exited with code '1'.
2019-07-10T19:11:24.0221223Z ##[section]Starting: Checkout
2019-07-10T19:11:24.0223165Z ==============================================================================
2019-07-10T19:11:24.0223244Z Task         : Get sources
2019-07-10T19:11:24.0223292Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@rust-highfive
Copy link
Collaborator

The job mingw-check of your PR failed (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-07-10T19:24:03.0450470Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-07-10T19:24:03.0641116Z ##[command]git config gc.auto 0
2019-07-10T19:24:03.0722842Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-07-10T19:24:03.0788882Z ##[command]git config --get-all http.proxy
2019-07-10T19:24:03.0930088Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/62565/merge:refs/remotes/pull/62565/merge
---
2019-07-10T19:24:38.0324324Z do so (now or later) by using -b with the checkout command again. Example:
2019-07-10T19:24:38.0324377Z 
2019-07-10T19:24:38.0324597Z   git checkout -b <new-branch-name>
2019-07-10T19:24:38.0324627Z 
2019-07-10T19:24:38.0324675Z HEAD is now at 1cb6f8e82 Merge 67b23c3684fee05edf532d6f1eb1df589dc372ed into c6a9e766f90a5271c2356fbc7941e38559200ab5
2019-07-10T19:24:38.0464820Z ##[section]Starting: Collect CPU-usage statistics in the background
2019-07-10T19:24:38.0552772Z ==============================================================================
2019-07-10T19:24:38.0552849Z Task         : Bash
2019-07-10T19:24:38.0552898Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-07-10T19:26:32.8005371Z Attempting with retry: curl -y 30 -Y 10 --connect-timeout 30 -f -L -C - -o /tmp/rustci_docker_cache https://.s3.amazonaws.com/docker/a4940e6914a5e1f6360ebc241d0d850aff083be5c43d268fd716ce48f63cb24e84238becb662f27f8c5d7740413ca17da24bb9cdc003ef32d7b03d2c9052b94d
2019-07-10T19:26:32.8069681Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-10T19:26:32.8070370Z                                  Dload  Upload   Total   Spent    Left  Speed
2019-07-10T19:26:32.8070871Z 
2019-07-10T19:26:32.8071935Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: .s3.amazonaws.com
2019-07-10T19:26:33.8160127Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-10T19:26:33.8160686Z                                  Dload  Upload   Total   Spent    Left  Speed
2019-07-10T19:26:33.8161031Z 
2019-07-10T19:26:33.8161031Z 
2019-07-10T19:26:33.8162352Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: .s3.amazonaws.com
2019-07-10T19:26:35.8228581Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-10T19:26:35.8229024Z                                  Dload  Upload   Total   Spent    Left  Speed
2019-07-10T19:26:35.8229230Z 
2019-07-10T19:26:35.8229230Z 
2019-07-10T19:26:35.8271551Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: .s3.amazonaws.com
2019-07-10T19:26:38.8341809Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-10T19:26:38.8342228Z                                  Dload  Upload   Total   Spent    Left  Speed
2019-07-10T19:26:38.8342266Z 
2019-07-10T19:26:38.8342266Z 
2019-07-10T19:26:38.8384524Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: .s3.amazonaws.com
2019-07-10T19:26:42.8483832Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2019-07-10T19:26:42.8484452Z                                  Dload  Upload   Total   Spent    Left  Speed
2019-07-10T19:26:42.8493872Z 
2019-07-10T19:26:42.8493872Z 
2019-07-10T19:26:42.8526640Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: .s3.amazonaws.com
2019-07-10T19:26:42.8531618Z The command has failed after 5 attempts.
2019-07-10T19:26:43.0097869Z open /tmp/rustci_docker_cache: no such file or directory
2019-07-10T19:26:43.0127479Z Attempting with retry: docker build --rm -t rust-ci -f /home/vsts/work/1/s/src/ci/docker/mingw-check/Dockerfile /home/vsts/work/1/s/src/ci/docker
2019-07-10T19:26:43.1604051Z Sending build context to Docker daemon  521.7kB
2019-07-10T19:26:43.1604793Z 
2019-07-10T19:26:43.1695524Z Step 1/6 : FROM ubuntu:16.04
---
2019-07-10T19:27:03.1004691Z Reading package lists...
2019-07-10T19:27:04.0658465Z Reading package lists...
2019-07-10T19:27:05.0498184Z Building dependency tree...
2019-07-10T19:27:05.0498712Z Reading state information...
2019-07-10T19:27:05.0499203Z The following additional packages will be installed:
2019-07-10T19:27:05.0500239Z   binutils binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 bzip2 cmake-data
2019-07-10T19:27:05.0500633Z   cpp cpp-5 dpkg-dev g++-5 g++-mingw-w64 g++-mingw-w64-i686
2019-07-10T19:27:05.0501088Z   g++-mingw-w64-x86-64 gcc gcc-5 gcc-mingw-w64 gcc-mingw-w64-base
2019-07-10T19:27:05.0501355Z   gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 git-man libarchive13 libasan2
2019-07-10T19:27:05.0501620Z   libasn1-8-heimdal libatomic1 libbabeltrace-ctf1 libbabeltrace1 libbz2-1.0
2019-07-10T19:27:05.0502184Z   libdpkg-perl liberror-perl libexpat1 libffi6 libgcc-5-dev libgdbm3
2019-07-10T19:27:05.0502433Z   libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgssapi-krb5-2
2019-07-10T19:27:05.0502746Z   libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal
2019-07-10T19:27:05.0503010Z   libheimntlm0-heimdal libhogweed4 libhx509-5-heimdal libicu55 libidn11
2019-07-10T19:27:05.0503010Z   libheimntlm0-heimdal libhogweed4 libhx509-5-heimdal libicu55 libidn11
2019-07-10T19:27:05.0503283Z   libisl15 libitm1 libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-26-heimdal
2019-07-10T19:27:05.0503601Z   libkrb5-3 libkrb5support0 libldap-2.4-2 liblsan0 liblzo2-2 libmagic1 libmpc3
2019-07-10T19:27:05.0503852Z   libmpdec2 libmpfr4 libmpx0 libnettle6 libp11-kit0 libperl5.22
2019-07-10T19:27:05.0504116Z   libpython2.7-minimal libpython2.7-stdlib libpython3.5 libpython3.5-minimal
2019-07-10T19:27:05.0504428Z   libpython3.5-stdlib libquadmath0 libroken18-heimdal librtmp1 libsasl2-2
2019-07-10T19:27:05.0504689Z   libsasl2-modules-db libsqlite3-0 libssl1.0.0 libstdc++-5-dev libtasn1-6
2019-07-10T19:27:05.0504945Z   libtsan0 libubsan0 libwind0-heimdal libxml2 linux-libc-dev mime-support
2019-07-10T19:27:05.0505261Z   mingw-w64-common mingw-w64-i686-dev mingw-w64-x86-64-dev openssl patch perl
2019-07-10T19:27:05.0505509Z   perl-modules-5.22 python2.7-minimal zlib1g-dev
2019-07-10T19:27:05.0505562Z Suggested packages:
2019-07-10T19:27:05.0505884Z   binutils-doc bzip2-doc codeblocks eclipse ninja-build cpp-doc gcc-5-locales
2019-07-10T19:27:05.0506142Z   debian-keyring g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg
2019-07-10T19:27:05.0506396Z   gcc-multilib manpages-dev autoconf automake libtool flex bison gcc-doc
2019-07-10T19:27:05.0506957Z   libasan2-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg
2019-07-10T19:27:05.0507210Z   libmpx0-dbg libquadmath0-dbg gdb-doc gettext-base git-daemon-run
2019-07-10T19:27:05.0507210Z   libmpx0-dbg libquadmath0-dbg gdb-doc gettext-base git-daemon-run
2019-07-10T19:27:05.0507516Z   | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch
2019-07-10T19:27:05.0507778Z   git-cvs git-mediawiki git-svn lrzip glibc-doc gnutls-bin krb5-doc krb5-user
2019-07-10T19:27:05.0508027Z   libstdc++-5-doc make-doc wine wine64 ed diffutils-doc perl-doc
2019-07-10T19:27:05.0508338Z   libterm-readline-gnu-perl | libterm-readline-perl-perl python2.7-doc
2019-07-10T19:27:05.0508810Z   binfmt-support
2019-07-10T19:27:05.0508862Z Recommended packages:
2019-07-10T19:27:05.0509169Z   build-essential fakeroot libalgorithm-merge-perl gfortran-mingw-w64
2019-07-10T19:27:05.0509429Z   gnat-mingw-w64 libc-dbg gdbserver less rsync ssh-client manpages
2019-07-10T19:27:05.0509682Z   manpages-dev libfile-fcntllock-perl libglib2.0-data shared-mime-info
2019-07-10T19:27:05.0509982Z   xdg-user-dirs krb5-locales libsasl2-modules libssl-doc xml-core netbase
2019-07-10T19:27:05.0510033Z   rename
2019-07-10T19:27:05.0510078Z The following NEW packages will be installed:
2019-07-10T19:27:05.0510379Z   binutils binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 bzip2
2019-07-10T19:27:05.0510773Z   ca-certificates cmake cmake-data cpp cpp-5 curl dpkg-dev file g++ g++-5
2019-07-10T19:27:05.0511039Z   g++-mingw-w64 g++-mingw-w64-i686 g++-mingw-w64-x86-64 gcc gcc-5
2019-07-10T19:27:05.0511473Z   gcc-mingw-w64 gcc-mingw-w64-base gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 gdb
2019-07-10T19:27:05.0511782Z   git git-man libarchive13 libasan2 libasn1-8-heimdal libatomic1
2019-07-10T19:27:05.0512089Z   libbabeltrace-ctf1 libbabeltrace1 libc-dev-bin libc6-dev libcc1-0
2019-07-10T19:27:05.0512701Z   libffi6 libgcc-5-dev libgdbm3 libglib2.0-0 libgmp10 libgnutls30 libgomp1
2019-07-10T19:27:05.0512964Z   libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal
2019-07-10T19:27:05.0513264Z   libheimntlm0-heimdal libhogweed4 libhx509-5-heimdal libicu55 libidn11
2019-07-10T19:27:05.0513533Z   libisl15 libitm1 libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-26-heimdal
2019-07-10T19:27:05.0513533Z   libisl15 libitm1 libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-26-heimdal
2019-07-10T19:27:05.0513799Z   libkrb5-3 libkrb5support0 libldap-2.4-2 liblsan0 liblzo2-2 libmagic1 libmpc3
2019-07-10T19:27:05.0514091Z   libmpdec2 libmpfr4 libmpx0 libnettle6 libp11-kit0 libperl5.22
2019-07-10T19:27:05.0514369Z   libpython2.7-minimal libpython2.7-stdlib libpython3.5 libpython3.5-minimal
2019-07-10T19:27:05.0514633Z   libpython3.5-stdlib libquadmath0 libroken18-heimdal librtmp1 libsasl2-2
2019-07-10T19:27:05.0514944Z   libsasl2-modules-db libsqlite3-0 libssl-dev libssl1.0.0 libstdc++-5-dev
2019-07-10T19:27:05.0515211Z   libtasn1-6 libtsan0 libubsan0 libwind0-heimdal libxml2 linux-libc-dev make
2019-07-10T19:27:05.0515458Z   mime-support mingw-w64 mingw-w64-common mingw-w64-i686-dev
2019-07-10T19:27:05.0515756Z   mingw-w64-x86-64-dev openssl patch perl perl-modules-5.22 pkg-config
2019-07-10T19:27:05.0516003Z   python2.7 python2.7-minimal sudo xz-utils zlib1g-dev
2019-07-10T19:27:05.0516057Z The following packages will be upgraded:
2019-07-10T19:27:05.0516351Z 1 upgraded, 112 newly installed, 0 to remove and 4 not upgraded.
2019-07-10T19:27:05.0516399Z Need to get 187 MB of archives.
2019-07-10T19:27:05.0516448Z After this operation, 968 MB of additional disk space will be used.
2019-07-10T19:27:05.0516784Z Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgdbm3 amd64 1.8.3-13.1 [16.9 kB]
---
2019-07-10T19:27:09.0699796Z Get:97 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-2ubuntu4.1 [168 kB]
2019-07-10T19:27:09.0725453Z Get:98 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-dev amd64 1.0.2g-1ubuntu4.15 [1344 kB]
2019-07-10T19:27:09.1633929Z Get:99 http://archive.ubuntu.com/ubuntu xenial/main amd64 pkg-config amd64 0.29.1-0ubuntu1 [45.0 kB]
2019-07-10T19:27:09.1643532Z Get:100 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7 amd64 2.7.12-1ubuntu0~16.04.4 [224 kB]
2019-07-10T19:27:09.1682159Z Get:101 http://archive.ubuntu.com/ubuntu xenial/universe amd64 binutils-mingw-w64-i686 amd64 2.26-3ubuntu1+6.6 [1782 kB]
2019-07-10T19:27:09.4134640Z Get:102 http://archive.ubuntu.com/ubuntu xenial/universe amd64 binutils-mingw-w64-x86-64 amd64 2.26-3ubuntu1+6.6 [2029 kB]
2019-07-10T19:27:10.3431768Z Get:103 http://archive.ubuntu.com/ubuntu xenial/universe amd64 mingw-w64-common all 4.0.4-2 [4787 kB]
2019-07-10T19:27:10.5512638Z Get:104 http://archive.ubuntu.com/ubuntu xenial/universe amd64 mingw-w64-i686-dev all 4.0.4-2 [2059 kB]
2019-07-10T19:27:10.6283661Z Get:105 http://archive.ubuntu.com/ubuntu xenial/universe amd64 gcc-mingw-w64-base amd64 5.3.1-8ubuntu3+17 [11.2 kB]
2019-07-10T19:27:10.6289495Z Get:106 http://archive.ubuntu.com/ubuntu xenial/universe amd64 gcc-mingw-w64-i686 amd64 5.3.1-8ubuntu3+17 [27.3 MB]
2019-07-10T19:27:11.6661033Z Get:107 http://archive.ubuntu.com/ubuntu xenial/universe amd64 g++-mingw-w64-i686 amd64 5.3.1-8ubuntu3+17 [19.8 MB]
2019-07-10T19:27:12.3950249Z Get:108 http://archive.ubuntu.com/ubuntu xenial/universe amd64 mingw-w64-x86-64-dev all 4.0.4-2 [3238 kB]
2019-07-10T19:27:12.6617005Z Get:109 http://archive.ubuntu.com/ubuntu xenial/universe amd64 gcc-mingw-w64-x86-64 amd64 5.3.1-8ubuntu3+17 [27.4 MB]
2019-07-10T19:27:13.8311027Z Get:110 http://archive.ubuntu.com/ubuntu xenial/universe amd64 g++-mingw-w64-x86-64 amd64 5.3.1-8ubuntu3+17 [20.4 MB]
2019-07-10T19:27:14.5954597Z Get:111 http://archive.ubuntu.com/ubuntu xenial/universe amd64 g++-mingw-w64 all 5.3.1-8ubuntu3+17 [10.7 kB]
2019-07-10T19:27:14.5960636Z Get:112 http://archive.ubuntu.com/ubuntu xenial/universe amd64 gcc-mingw-w64 all 5.3.1-8ubuntu3+17 [10.7 kB]
2019-07-10T19:27:14.5965136Z Get:113 http://archive.ubuntu.com/ubuntu xenial/universe amd64 mingw-w64 all 4.0.4-2 [9274 B]
2019-07-10T19:27:16.8554283Z debconf: delaying package configuration, since apt-utils is not installed
2019-07-10T19:27:16.8763313Z Fetched 187 MB in 9s (18.7 MB/s)
2019-07-10T19:27:16.9316297Z (Reading database ... 
2019-07-10T19:27:16.9316826Z (Reading database ... 5%
2019-07-10T19:27:16.9316911Z (Reading database ... 10%
2019-07-10T19:27:16.9316986Z (Reading database ... 15%
---
2019-07-10T19:27:40.5256732Z Unpacking git (1:2.7.4-0ubuntu1.6) ...
2019-07-10T19:27:41.2159766Z Selecting previously unselected package libpython2.7-stdlib:amd64.
2019-07-10T19:27:41.2179587Z Preparing to unpack .../libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.4_amd64.deb ...
2019-07-10T19:27:41.2308799Z Unpacking libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.4) ...
2019-07-10T19:27:41.5856289Z Selecting previously unselected package zlib1g-dev:amd64.
2019-07-10T19:27:41.5878589Z Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2ubuntu4.1_amd64.deb ...
2019-07-10T19:27:41.6000275Z Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.1) ...
2019-07-10T19:27:41.7023431Z Preparing to unpack .../libssl-dev_1.0.2g-1ubuntu4.15_amd64.deb ...
2019-07-10T19:27:41.7190111Z Unpacking libssl-dev:amd64 (1.0.2g-1ubuntu4.15) ...
2019-07-10T19:27:42.0297678Z Selecting previously unselected package pkg-config.
2019-07-10T19:27:42.0314910Z Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
2019-07-10T19:27:42.0314910Z Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
2019-07-10T19:27:42.0464711Z Unpacking pkg-config (0.29.1-0ubuntu1) ...
2019-07-10T19:27:42.1531534Z Selecting previously unselected package python2.7.
2019-07-10T19:27:42.1553021Z Preparing to unpack .../python2.7_2.7.12-1ubuntu0~16.04.4_amd64.deb ...
2019-07-10T19:27:42.1676047Z Unpacking python2.7 (2.7.12-1ubuntu0~16.04.4) ...
2019-07-10T19:27:42.2690115Z Selecting previously unselected package binutils-mingw-w64-i686.
2019-07-10T19:27:42.2705971Z Preparing to unpack .../binutils-mingw-w64-i686_2.26-3ubuntu1+6.6_amd64.deb ...
2019-07-10T19:27:42.2839214Z Unpacking binutils-mingw-w64-i686 (2.26-3ubuntu1+6.6) ...
2019-07-10T19:27:42.8125979Z Selecting previously unselected package binutils-mingw-w64-x86-64.
2019-07-10T19:27:42.8142614Z Preparing to unpack .../binutils-mingw-w64-x86-64_2.26-3ubuntu1+6.6_amd64.deb ...
2019-07-10T19:27:42.8264335Z Unpacking binutils-mingw-w64-x86-64 (2.26-3ubuntu1+6.6) ...
2019-07-10T19:27:43.4176065Z Selecting previously unselected package mingw-w64-common.
2019-07-10T19:27:43.4196152Z Preparing to unpack .../mingw-w64-common_4.0.4-2_all.deb ...
2019-07-10T19:27:43.4320786Z Unpacking mingw-w64-common (4.0.4-2) ...
2019-07-10T19:27:44.9023913Z Selecting previously unselected package mingw-w64-i686-dev.
2019-07-10T19:27:44.9047827Z Preparing to unpack .../mingw-w64-i686-dev_4.0.4-2_all.deb ...
2019-07-10T19:27:44.9172115Z Unpacking mingw-w64-i686-dev (4.0.4-2) ...
2019-07-10T19:27:46.0128816Z Selecting previously unselected package gcc-mingw-w64-base.
2019-07-10T19:27:46.0154022Z Preparing to unpack .../gcc-mingw-w64-base_5.3.1-8ubuntu3+17_amd64.deb ...
2019-07-10T19:27:46.0316278Z Unpacking gcc-mingw-w64-base (5.3.1-8ubuntu3+17) ...
2019-07-10T19:27:46.1269494Z Selecting previously unselected package gcc-mingw-w64-i686.
2019-07-10T19:27:46.1292623Z Preparing to unpack .../gcc-mingw-w64-i686_5.3.1-8ubuntu3+17_amd64.deb ...
2019-07-10T19:27:46.1421161Z Unpacking gcc-mingw-w64-i686 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:27:50.1111675Z Selecting previously unselected package g++-mingw-w64-i686.
2019-07-10T19:27:50.1133359Z Preparing to unpack .../g++-mingw-w64-i686_5.3.1-8ubuntu3+17_amd64.deb ...
2019-07-10T19:27:50.1266905Z Unpacking g++-mingw-w64-i686 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:27:53.8025671Z Selecting previously unselected package mingw-w64-x86-64-dev.
2019-07-10T19:27:53.8050309Z Preparing to unpack .../mingw-w64-x86-64-dev_4.0.4-2_all.deb ...
2019-07-10T19:27:53.8238790Z Unpacking mingw-w64-x86-64-dev (4.0.4-2) ...
2019-07-10T19:27:55.7540881Z Selecting previously unselected package gcc-mingw-w64-x86-64.
2019-07-10T19:27:55.7571003Z Preparing to unpack .../gcc-mingw-w64-x86-64_5.3.1-8ubuntu3+17_amd64.deb ...
2019-07-10T19:27:55.7693949Z Unpacking gcc-mingw-w64-x86-64 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:28:00.0062132Z Selecting previously unselected package g++-mingw-w64-x86-64.
2019-07-10T19:28:00.0087170Z Preparing to unpack .../g++-mingw-w64-x86-64_5.3.1-8ubuntu3+17_amd64.deb ...
2019-07-10T19:28:00.0211116Z Unpacking g++-mingw-w64-x86-64 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:28:03.7724994Z Selecting previously unselected package g++-mingw-w64.
2019-07-10T19:28:03.7755118Z Preparing to unpack .../g++-mingw-w64_5.3.1-8ubuntu3+17_all.deb ...
2019-07-10T19:28:03.7913642Z Unpacking g++-mingw-w64 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:28:03.8926908Z Selecting previously unselected package gcc-mingw-w64.
2019-07-10T19:28:03.8955142Z Preparing to unpack .../gcc-mingw-w64_5.3.1-8ubuntu3+17_all.deb ...
2019-07-10T19:28:03.9111711Z Unpacking gcc-mingw-w64 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:28:03.9898308Z Selecting previously unselected package mingw-w64.
2019-07-10T19:28:03.9927143Z Preparing to unpack .../mingw-w64_4.0.4-2_all.deb ...
2019-07-10T19:28:04.0044360Z Unpacking mingw-w64 (4.0.4-2) ...
2019-07-10T19:28:04.2442205Z Setting up libgdbm3:amd64 (1.8.3-13.1) ...
2019-07-10T19:28:04.3140631Z Setting up libffi6:amd64 (3.2.1-4) ...
2019-07-10T19:28:04.3511717Z Setting up libglib2.0-0:amd64 (2.48.2-0ubuntu4.3) ...
2019-07-10T19:28:04.3778101Z No schema files found: doing nothing.
---
2019-07-10T19:28:09.4605178Z Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.1) ...
2019-07-10T19:28:09.5003987Z Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4.15) ...
2019-07-10T19:28:09.5397057Z Setting up pkg-config (0.29.1-0ubuntu1) ...
2019-07-10T19:28:09.6202314Z Setting up python2.7 (2.7.12-1ubuntu0~16.04.4) ...
2019-07-10T19:28:10.4349228Z Setting up binutils-mingw-w64-i686 (2.26-3ubuntu1+6.6) ...
2019-07-10T19:28:10.4729493Z Setting up binutils-mingw-w64-x86-64 (2.26-3ubuntu1+6.6) ...
2019-07-10T19:28:10.5123674Z Setting up mingw-w64-common (4.0.4-2) ...
2019-07-10T19:28:10.5501618Z Setting up mingw-w64-i686-dev (4.0.4-2) ...
2019-07-10T19:28:11.0666516Z Setting up gcc-mingw-w64-base (5.3.1-8ubuntu3+17) ...
2019-07-10T19:28:11.0666813Z Setting up gcc-mingw-w64-i686 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:28:11.0667476Z update-alternatives: using /usr/bin/i686-w64-mingw32-gcc-posix to provide /usr/bin/i686-w64-mingw32-gcc (i686-w64-mingw32-gcc) in auto mode
2019-07-10T19:28:11.0667888Z update-alternatives: warning: skip creation of /usr/bin/i686-w64-mingw32-gcc-5 because associated file /usr/bin/i686-w64-mingw32-gcc-5-posix (of link group i686-w64-mingw32-gcc) doesn't exist
2019-07-10T19:28:11.0668310Z update-alternatives: using /usr/bin/i686-w64-mingw32-gcc-win32 to provide /usr/bin/i686-w64-mingw32-gcc (i686-w64-mingw32-gcc) in auto mode
2019-07-10T19:28:11.0668931Z update-alternatives: warning: skip creation of /usr/bin/i686-w64-mingw32-gcc-5 because associated file /usr/bin/i686-w64-mingw32-gcc-5-win32 (of link group i686-w64-mingw32-gcc) doesn't exist
2019-07-10T19:28:11.0669251Z Setting up g++-mingw-w64-i686 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:28:11.0669619Z update-alternatives: using /usr/bin/i686-w64-mingw32-g++-posix to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode
2019-07-10T19:28:11.0669952Z update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode
2019-07-10T19:28:11.0670192Z Setting up mingw-w64-x86-64-dev (4.0.4-2) ...
2019-07-10T19:28:11.0670454Z Setting up gcc-mingw-w64-x86-64 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:28:11.0670783Z update-alternatives: using /usr/bin/x86_64-w64-mingw32-gcc-posix to provide /usr/bin/x86_64-w64-mingw32-gcc (x86_64-w64-mingw32-gcc) in auto mode
2019-07-10T19:28:11.0671179Z update-alternatives: warning: skip creation of /usr/bin/x86_64-w64-mingw32-gcc-5 because associated file /usr/bin/x86_64-w64-mingw32-gcc-5-posix (of link group x86_64-w64-mingw32-gcc) doesn't exist
2019-07-10T19:28:11.0671542Z update-alternatives: using /usr/bin/x86_64-w64-mingw32-gcc-win32 to provide /usr/bin/x86_64-w64-mingw32-gcc (x86_64-w64-mingw32-gcc) in auto mode
2019-07-10T19:28:11.0671939Z update-alternatives: warning: skip creation of /usr/bin/x86_64-w64-mingw32-gcc-5 because associated file /usr/bin/x86_64-w64-mingw32-gcc-5-win32 (of link group x86_64-w64-mingw32-gcc) doesn't exist
2019-07-10T19:28:11.0672212Z Setting up g++-mingw-w64-x86-64 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:28:11.0672541Z update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-posix to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode
2019-07-10T19:28:11.0672983Z update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode
2019-07-10T19:28:11.0673259Z Setting up g++-mingw-w64 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:28:11.0673499Z Setting up gcc-mingw-w64 (5.3.1-8ubuntu3+17) ...
2019-07-10T19:28:11.0673729Z Setting up mingw-w64 (4.0.4-2) ...
2019-07-10T19:28:11.0796078Z Processing triggers for ca-certificates (20170717~16.04.2) ...
2019-07-10T19:28:11.0956159Z Updating certificates in /etc/ssl/certs...
2019-07-10T19:28:12.6096376Z 148 added, 0 removed; done.
2019-07-10T19:28:12.6097219Z Running hooks in /etc/ca-certificates/update.d...
---
2019-07-10T19:28:52.0988752Z  ---> 17d50bb8bc42
2019-07-10T19:28:52.1026736Z Successfully built 17d50bb8bc42
2019-07-10T19:28:52.2813444Z Successfully tagged rust-ci:latest
2019-07-10T19:28:52.3350521Z Built container sha256:17d50bb8bc4277f2059a8e89e1233d507cc9cff45e3d9d6e363c33f70053eed5
2019-07-10T19:28:52.3369333Z Uploading finished image to https://.s3.amazonaws.com/docker/a4940e6914a5e1f6360ebc241d0d850aff083be5c43d268fd716ce48f63cb24e84238becb662f27f8c5d7740413ca17da24bb9cdc003ef32d7b03d2c9052b94d
2019-07-10T19:30:16.6776261Z upload failed: - to s3:///docker/a4940e6914a5e1f6360ebc241d0d850aff083be5c43d268fd716ce48f63cb24e84238becb662f27f8c5d7740413ca17da24bb9cdc003ef32d7b03d2c9052b94d Parameter validation failed:
2019-07-10T19:30:16.6778711Z Invalid bucket name "": Bucket name must match the regex "^[a-zA-Z0-9.\-_]{1,255}$"
2019-07-10T19:30:17.6681137Z [CI_JOB_NAME=mingw-check]
2019-07-10T19:30:17.6729786Z Starting sccache server...
2019-07-10T19:30:17.7225705Z configure: processing command line
2019-07-10T19:30:17.7226442Z configure: 
---
2019-07-10T19:30:37.0554094Z ########################################################                  77.9%
2019-07-10T19:30:37.0554185Z ######################################################################## 100.0%
2019-07-10T19:30:37.7574082Z extracting /checkout/obj/build/cache/2019-07-04/cargo-beta-x86_64-unknown-linux-gnu.tar.gz
2019-07-10T19:30:37.8005882Z warning: /checkout/src/tools/miri/Cargo.toml: the cargo feature `default-run` is now stable and is no longer necessary to be listed in the manifest
2019-07-10T19:30:37.8358375Z error: failed to resolve patches for `https://github.com/rust-lang/cargo`
2019-07-10T19:30:37.8358638Z Caused by:
2019-07-10T19:30:37.8358638Z Caused by:
2019-07-10T19:30:37.8359131Z   patch for `cargo` in `https://github.com/rust-lang/cargo` did not resolve to any crates. If this is unexpected, you may wish to consult: https://github.com/rust-lang/cargo/issues/4678
2019-07-10T19:30:37.8367183Z failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml
2019-07-10T19:30:37.8367317Z Build completed unsuccessfully in 0:00:20
2019-07-10T19:30:51.4873606Z ##[error]Bash exited with code '1'.
2019-07-10T19:30:51.4917424Z ##[section]Starting: Checkout
2019-07-10T19:30:51.4919429Z ==============================================================================
2019-07-10T19:30:51.4919485Z Task         : Get sources
2019-07-10T19:30:51.4919532Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@mati865
Copy link
Contributor

mati865 commented Jul 11, 2019

Changes to llvm-project and cargo submodules seem to be messed up.

@eddyb
Copy link
Member

eddyb commented Jul 11, 2019

There's a merge commit that shouldn't exist - you might need to rebase.

@eddyb
Copy link
Member

eddyb commented Jul 11, 2019

This seems to contain #51576, which was never shrunk enough for inclusion.
I'd suggest implementing it from scratch, casting everything that might not be in the flat address space to it right away, to avoid ever having to represent non-flat address spaces.

@YakoYakoYokuYoku
Copy link
Author

YakoYakoYokuYoku commented Jul 11, 2019

Last night I was panicking that everything wasn't working because I've crashed miserably with the nightly release, now It's solved 🤠 .

While reviewing the code locally I've seen a lot of the code problems pointed out by @eddyb, like a few lines we could change.

I've left them untouched 'cause I wanted to see if the PR itself could work with nightly (and it worked with the Linux mingw-check in the first checks). As for now I'll start fixing the casting problems 🔧 .

Edit: I'll add the tests in the tests folder later.

@Alexendoo
Copy link
Member

Ping from triage, any updates? @eddyb

@eddyb eddyb added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 24, 2019
@eddyb
Copy link
Member

eddyb commented Jul 24, 2019

@Alexendoo Sorry, this was incorrectly tagged.
I don't think this is done, and there are merge commits that should be rebased out.

@bors
Copy link
Contributor

bors commented Jul 25, 2019

☔ The latest upstream changes (presumably #62961) made this pull request unmergeable. Please resolve the merge conflicts.

@Dylan-DPC-zz
Copy link

@eddyb they have pushed a new commit. You can review it now.

@bors
Copy link
Contributor

bors commented Jul 28, 2019

☔ The latest upstream changes (presumably #63074) made this pull request unmergeable. Please resolve the merge conflicts.

@YakoYakoYokuYoku
Copy link
Author

@eddyb the conflicts are now solved, you can review this freely 👓 ✏️

@Dylan-DPC-zz Dylan-DPC-zz added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jul 29, 2019
@edmilsonefs
Copy link

Hey! This is a ping from triage, we would like to know if you @eddyb could give us a few more minutes to update us from last changes made by @YakoYakoYokuYoku .

Thanks.

assert!(!layout.is_unsized(), "tried to statically allocate unsized place");
let tmp = bx.alloca(bx.cx().backend_type(layout), name, layout.align.abi);
Self::new_sized(tmp, layout, layout.align.abi)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is identical to alloca above though?

@@ -292,7 +293,8 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
bx.load(addr, self.fn_ty.ret.layout.align.abi)
}
};
bx.ret(llval);
let llvalc = bx.flat_addr_cast(llval);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO the only way this PR will be accepted without an RFC is if everything is cast to the flat address space as soon as possible (as opposed to when needed).

}
fn type_ptr_to_mut(&self, ty: Self::Type) -> Self::Type {
self.type_as_ptr_to(ty, self.mutable_addr_space())
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These methods shouldn't be added if they're unused.

}

pub fn val_addr_space(v: &'ll Value) -> AddrSpaceIdx {
val_addr_space_opt(v).unwrap_or_default()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reflecting LLVM values should be avoided as much as possible. New uses of val_ty shouldn't be added.

@wirelessringo
Copy link

Ping from triage. @YakoYakoYokuYoku any updates on this? Thanks

@rustbot modify labels to +S-waiting-on-author, -S-waiting-on-review

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 16, 2019
@YakoYakoYokuYoku
Copy link
Author

Think It's better to prepare a proper RFC, closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet