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

Fix bootstrap issue with git on MSYS + Experimental CI testing #117833

Closed
wants to merge 171 commits into from

Conversation

majaha
Copy link
Contributor

@majaha majaha commented Nov 12, 2023

src/bootstrap runs git to find the absolute path of the root of the repository, but this can go awry when building in MSYS for the mingw target. This is because MSYS git returns a unix-y path, but once compiled bootstrap is a Windows program, and requires a Windows-y path. I've solved this by using a relative path instead, which can be appended to any flavour of current working directory.

There's a more fundamental problem here, which is that compiling with mingw on MSYS is kind-of a cross compilation, at least from some perspectives. bootstrap needs to remain cognisant of that. It may make more sense for CI to use an all-native windows environment instead of MSYS in the future.

I'm also pushing some investigative changes to CI for the time being. I want to see if it's feasible to use MSYS's versions of git and python, and to make CI and the build instructions in the readme match. I've had success building LLVM that way on my machine, contrary the comments around the code that overrides MSYS python with native windows Python in CI.

I'm hoping this fixes #117567 and fixes #105696

src/bootstrap runs git to find the root of the repository, but this can
go awry when building in MSYS for the mingw target. This is because
MSYS git returns a unix-y path, but bootstrap requires a Windows-y path.
@rustbot
Copy link
Collaborator

rustbot commented Nov 12, 2023

r? @Kobzol

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Nov 12, 2023
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

This reverts commit d128930.
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer
Copy link
Collaborator

The job dist-i686-mingw failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Secret source: None
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'msys2/setup-msys2@v2.22.0' (SHA:cc11e9188b693c2b100158c3322424c4cc1dadea)
Download action repository 'actions/upload-artifact@v3' (SHA:a8a3f3ad30e3422c9c7b888a15615d19a852ae32)
Complete job name: PR - dist-i686-mingw
Complete job name: PR - dist-i686-mingw
##[group]Run msys2/setup-msys2@v2.22.0
  msystem: mingw32
  update: false
  release: true
  path-type: inherit
  path-type: inherit
  install: make dos2unix diffutils
  pacboy: false
  platform-check-severity: fatal
  cache: true
---
  CACHE_DOMAIN: ci-caches.rust-lang.org
##[endgroup]
##[group]Downloading MSYS2...
##[endgroup]
##[group]Extracting MSYS2...
[command]C:\hostedtoolcache\windows\msys2-installer\0.0.20240113\x64\base.exe -y

7-Zip SFX 22.01 ZS v1.5.5 R3 (x64) : Copyright (c) 1999-2022 Igor Pavlov, 2016-2023 Tino Reichardt : 2023-06-18

Extracting archive: C:\hostedtoolcache\windows\msys2-installer\0.0.20240113\x64\base.exe
--
Path = C:\hostedtoolcache\windows\msys2-installer\0.0.20240113\x64\base.exe

  0%
    
    
  0% 433 - msys64\usr\share\locale\ja\LC_MESSAGES
                                                 
  0% 884 - msys64\usr\share\zoneinfo\posix\Chile
                                                
  3% 1276 - msys64\usr\lib\perl5\core_perl\CORE\perl_inc_macro.h
                                                                
  5% 1661 - msys64\usr\lib\terminfo\61\ansi80x30-mono
                                                     
  5% 2092 - msys64\usr\lib\terminfo\64\d450-dg
                                              
  5% 2325 - msys64\usr\lib\terminfo\66\f110
                                           
  5% 2598 - msys64\usr\lib\terminfo\69\ibmpc3r-mono
                                                   
  5% 2981 - msys64\usr\lib\terminfo\6e\ntconsole-w
                                                  
  6% 3424 - msys64\usr\lib\terminfo\74\tek4025-ex
                                                 
  6% 3848 - msys64\usr\lib\terminfo\77\wy150-25-w
                                                 
  6% 4254 - msys64\usr\lib\terminfo\7a\z39a
                                           
  6% 4708 - msys64\usr\share\bash-completion\completions\mdadm
                                                              
  7% 5096 - msys64\usr\share\bash-completion\completions\_write
                                                               
 10% 5479 - msys64\usr\share\info\gpgme.info-1.gz
                                                 
 16% 5786 - msys64\usr\share\locale\eu\LC_MESSAGES\pacman-scripts.mo
                                                                    
 19% 5931 - msys64\usr\share\locale\ia\LC_MESSAGES\p11-kit.mo
                                                             
 25% 6205 - msys64\usr\share\locale\ru\LC_MESSAGES\coreutils.mo
                                                               
 32% 6516 - msys64\usr\share\makepkg\util\error.sh
                                                  
 33% 6937 - msys64\usr\share\man\man1\ps.1
                                          
 33% 7327 - msys64\usr\share\man\man3\CURLOPT_CRLF.3.gz
                                                       
 33% 7745 - msys64\usr\share\man\man3\curs_slk.3x.gz
                                                    
 33% 8133 - msys64\usr\share\man\man3\libssh2_channel_open_session.3.gz
                                                                       
 34% 8525 - msys64\usr\share\man\man3\scrollok.3x.gz
                                                    
 34% 8784 - msys64\usr\share\man\man3\wgetparent.3x.gz
                                                      
 39% 9175 - msys64\usr\share\perl5\core_perl\Encode\README.e2x
                                                              
 41% 9543 - msys64\usr\share\perl5\core_pe . \Hub\Interceptor\Terminator.pm
                                                                           
 43% 9945 - msys64\usr\share\perl5\core_perl\unicore\lib\NFKCQC\N.pl
                                                                    
 45% 10275 - msys64\usr\share\terminfo\35\5051
                                              
 45% 10720 - msys64\usr\share\terminfo\63\c104
                                              
 45% 11084 - msys64\usr\share\terminfo\64\djgpp204
                                                  
 45% 11559 - msys64\usr\share\terminfo\6d\mach-bold
                                                   
 45% 12024 - msys64\usr\share\terminfo\70\putty+fnkeys
                                                      
 46% 12469 - msys64\usr\share\terminfo\74\tvi920c-mc-vb
                                                       
 46% 12908 - msys64\usr\share\terminfo\77\wyse99gt-w
                                                    
 46% 13371 - msys64\usr\share\zoneinfo\Asia\Chongqing
                                                     
 46% 13829 - msys64\usr\share\zoneinfo\posix\America\Iqaluit
                                                            
 46% 14197 - msys64\usr\share\zoneinfo\posix\Indian\Comoro
                                                          
 46% 14637 - msys64\usr\share\zoneinfo\right\Atlantic\St_Helena
                                                               
 47% 15085 - msys64\var\lib\pacman\local\liblzma-5.4.5-1\desc
                                                             
 53% 15375 - msys64\usr\bin\gpg-wks-client.exe
                                              
 68% 15538 - msys64\usr\bin\msys-ssl-3.dll
 92% 15681 - msys64\usr\bin\xargs.exe
                                     
Everything is Ok
##[endgroup]
##[endgroup]
##[group]Disable Key Refresh...
##[endgroup]
##[group]Restoring package cache...
Cache Size: ~11 MB (11225082 B)
[command]"C:\Program Files\Git\usr\bin\tar.exe" -xf C:/a/_temp/e42f5568-0b39-4e90-a0fb-1e5218a16246/cache.tzst -P -C C:/a/rust/rust --force-local --use-compress-program "zstd -d"
Cache restored successfully
Cache restore for msys2-pkgs-upd:false-conf:151ada77, got msys2-pkgs-upd:false-conf:1125d781-files:373c8be2fa87323b683d88d1e7eccf9eaaa7700f
Cache restore for msys2-pkgs-upd:false-conf:151ada77, got msys2-pkgs-upd:false-conf:1125d781-files:373c8be2fa87323b683d88d1e7eccf9eaaa7700f
##[group]Starting MSYS2 for the first time...
##[group]Starting MSYS2 for the first time...
[command]C:\Windows\system32\cmd.exe /D /S /C C:\a\_temp\setup-msys2\msys2.cmd -c "'uname' '-a'"
MSYS2 is starting for the first time. Executing the initial setup.
Copying skeleton files.
These files are for the users to personalise their msys2 experience.

They will never be overwritten nor automatically updated.

'./.bashrc' -> '/home/runneradmin/.bashrc'
'./.bash_logout' -> '/home/runneradmin/.bash_logout'
'./.bash_profile' -> '/home/runneradmin/.bash_profile'
'./.profile' -> '/home/runneradmin/.profile'
'C:\Windows\system32\drivers\etc\hosts' -> '/etc/hosts'
'C:\Windows\system32\drivers\etc\protocol' -> '/etc/protocols'
'C:\Windows\system32\drivers\etc\services' -> '/etc/services'
'C:\Windows\system32\drivers\etc\networks' -> '/etc/networks'
Received 11225082 of 11225082 (100.0%), 10.6 MBs/sec
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key...
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/C86679C0456787AC2AF9B9782195C8347C1D65B4.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Appending keys from msys2.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signed 5 keys.
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
  -> Disabled 4 keys.
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   5  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   5  signed:   7  trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2  valid:   4  signed:   2  trust: 4-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2024-04-10
pacman-key (pacman) 6.0.2
Copyright (c) 2010-2021 Pacman Development Team <pacman-dev@archlinux.org>.
This is free software; see the source for copying conditions.
This is free software; see the source for copying conditions.
There is NO WARRANTY, to the extent permitted by law.
Initial setup complete. MSYS2 is now ready to use.
MINGW32_NT-10.0-17763 runner 3.4.10.x86_64 2023-12-22 10:06 UTC x86_64 Msys
##[group]Disable CheckSpace...
##[group]Disable CheckSpace...
[command]C:\Windows\system32\cmd.exe /D /S /C C:\a\_temp\setup-msys2\msys2.cmd -c "'sed' '-i' 's/^CheckSpace/#CheckSpace/g' '/etc/pacman.conf'"
##[group]Installing additional packages through pacman...
##[group]Installing additional packages through pacman...
[command]C:\Windows\system32\cmd.exe /D /S /C C:\a\_temp\setup-msys2\msys2.cmd -c "'pacman' '--noconfirm' '-S' '--needed' '--overwrite' '*' 'make' 'dos2unix' 'diffutils'"
looking for conflicting packages...


Packages (3) diffutils-3.10-1  dos2unix-7.5.1-1  make-4.4.1-1
Total Installed Size:  5.84 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
---
installing diffutils...
:: Running post-transaction hooks...
(1/1) Updating the info directory file...
##[endgroup]
##[group]Saving package cache...
[command]C:\Windows\system32\cmd.exe /D /S /C C:\a\_temp\setup-msys2\msys2.cmd -c "'paccache' '-r' '-f' '-u' '-k0'"

==> finished: 34 packages removed (disk space saved: 9.4 MiB)
[command]C:\Windows\system32\cmd.exe /D /S /C C:\a\_temp\setup-msys2\msys2.cmd -c "'paccache' '-r' '-f' '-k1'"
==> no candidate packages found for pruning
[command]"C:\Program Files\Git\usr\bin\tar.exe" --posix -cf cache.tzst --exclude cache.tzst -P -C C:/a/rust/rust --files-from manifest.txt --force-local --use-compress-program "zstd -T0"
Cache Size: ~1 MB (1363390 B)
Cache saved successfully
Cache saved as ID 160 using key msys2-pkgs-upd:false-conf:151ada77-files:c7bd2894f33f12029617f9e89abb697412345fee
[command]C:\Windows\system32\cmd.exe /D /S /C C:\a\_temp\setup-msys2\msys2.cmd -c "'pacman' '--noconfirm' '-Scc'"
Cache directory: /var/cache/pacman/pkg/
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove ALL files from cache? [Y/n] 

Database directory: /var/lib/pacman/
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] 
removing unused sync repositories...
##[group]Run git config --global core.autocrlf false
git config --global core.autocrlf false
git config --global core.autocrlf false
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
Updating files:  98% (44737/45649)
Updating files:  99% (45193/45649)
Updating files: 100% (45649/45649)
Updating files: 100% (45649/45649), done.
Note: switching to 'refs/remotes/pull/117833/merge'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

---
HEAD is now at 8608069b Merge b59241864c155e1f61bd1b16d17578c29970ad66 into 0f806a9812b62c36bdab08d33c14cf2d3ecf4355
##[endgroup]
[command]"C:\Program Files\Git\bin\git.exe" log -1 --format='%H'
'8608069b4641d7bdcc827b9a75536612ce13cdc9'
##[group]Run echo "[CI_PR_NUMBER=$num]"
echo "[CI_PR_NUMBER=$num]"
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
##[endgroup]
[CI_PR_NUMBER=117833]
##[group]Run src/ci/scripts/setup-environment.sh
src/ci/scripts/setup-environment.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
adding extra environment variable SCRIPT
normal dist builder detected, setting DEPLOY=1
##[group]Run src/ci/scripts/should-skip-this.sh
src/ci/scripts/should-skip-this.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
##[endgroup]
Executing the job since there is no skip rule preventing the execution
##[group]Run src/ci/scripts/verify-channel.sh
src/ci/scripts/verify-channel.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
  DEPLOY: 1
##[endgroup]
##[group]Run src/ci/scripts/collect-cpu-stats.sh
src/ci/scripts/collect-cpu-stats.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=runner
COMSPEC=C:\Windows\system32\cmd.exe
CONDA=C:\Miniconda
CONFIG_SITE=/etc/config.site
DEPLOY=1
DIST_REQUIRE_ALL_TOOLS=1
DOCKER_TOKEN=***
DOTNET_MULTILEVEL_LOOKUP=0
---
HOSTNAME=runner
IEWebDriver=C:\SeleniumWebDrivers\IEDriver
ImageOS=win19
ImageVersion=20240211.1.0
INFOPATH=/mingw32/local/info:/mingw32/share/info:/usr/local/info:/usr/share/info:/usr/info:/share/info
JAVA_HOME_17_X64=C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.10-7\x64
JAVA_HOME_21_X64=C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\21.0.2-13.0\x64
JAVA_HOME_8_X64=C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.402-6\x64
JAVA_HOME=C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.402-6\x64
JAVA_HOME=C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.402-6\x64
LANG=en_US.UTF-8
LOCALAPPDATA=C:\Users\runneradmin\AppData\Local
LOGONSERVER=\\runner
M2_REPO=C:\ProgramData\m2
M2=C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.7\bin
MANPATH=/mingw32/local/man:/mingw32/share/man:/usr/local/man:/usr/share/man:/usr/man:/share/man
MAVEN_OPTS=-Xms256m
MINGW_CHOST=i686-w64-mingw32
MINGW_PACKAGE_PREFIX=mingw-w64-i686
MINGW_PREFIX=/mingw32
MonAgentClientLocation=C:\Packages\Plugins\Microsoft.Azure.Geneva.GenevaMonitoring\2.43.0.5\Monitoring\Agent
MonAgentClientLocation=C:\Packages\Plugins\Microsoft.Azure.Geneva.GenevaMonitoring\2.43.0.5\Monitoring\Agent
MSYS2_PATH_TYPE=inherit
MSYSTEM_CARCH=i686
MSYSTEM_CHOST=i686-w64-mingw32
MSYSTEM_PREFIX=/mingw32
NO_DOWNLOAD_CI_LLVM=1
npm_config_prefix=C:\npm\prefix
NUMBER_OF_PROCESSORS=8
NUMBER_OF_PROCESSORS=8
ORIGINAL_PATH=/c/a/_temp/setup-msys2:/c/Program Files/MongoDB/Server/5.0/bin:/c/aliyun-cli:/c/vcpkg:/c/cf-cli:/c/Program Files (x86)/NSIS:/c/tools/zstd:/c/Program Files/Mercurial:/c/hostedtoolcache/windows/stack/2.15.1/x64:/c/cabal/bin:/c/ghcup/bin:/c/mingw64/bin:/c/Program Files/dotnet:/c/Program Files/MySQL/MySQL Server 5.7/bin:/c/Program Files/R/R-4.3.2/bin/x64:/c/SeleniumWebDrivers/GeckoDriver:/c/SeleniumWebDrivers/EdgeDriver:/c/SeleniumWebDrivers/ChromeDriver:/c/Program Files (x86)/sbt/bin:/c/Program Files (x86)/GitHub CLI:/c/Program Files/Git/bin:/c/Program Files (x86)/pipx_bin:/c/npm/prefix:/c/hostedtoolcache/windows/go/1.20.14/x64/bin:/c/hostedtoolcache/windows/Python/3.7.9/x64/Scripts:/c/hostedtoolcache/windows/Python/3.7.9/x64:/c/hostedtoolcache/windows/Ruby/2.5.9/x64/bin:/c/Program Files/OpenSSL/bin:/c/tools/kotlinc/bin:/c/hostedtoolcache/windows/Java_Temurin-Hotspot_jdk/8.0.402-6/x64/bin:/c/Program Files/ImageMagick-7.1.1-Q16-HDRI:/c/Program Files/Microsoft SDKs/Azure/CLI2/wbin:/c/ProgramData/kind:/c/Program Files/Eclipse Foundation/jdk-8.0.302.8-hotspot/bin:/c/ProgramData/Chocolatey/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Windows/System32/OpenSSH:/c/Program Files/PowerShell/7:/c/Program Files/Microsoft/Web Platform Installer:/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/c/Program Files (x86)/Microsoft SQL Server/110/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/120/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/130/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/140/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/150/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn:/c/Strawberry/c/bin:/c/Strawberry/perl/site/bin:/c/Strawberry/perl/bin:/c/ProgramData/chocolatey/lib/pulumi/tools/Pulumi/bin:/c/Program Files/TortoiseSVN/bin:/c/Program Files/CMake/bin:/c/ProgramData/chocolatey/lib/maven/apache-maven-3.8.7/bin:/c/Program Files/Microsoft Service Fabric/bin/Fabric/Fabric.Code:/c/Program Files/Microsoft SDKs/Service Fabric/Tools/ServiceFabricLocalClusterManager:/c/Program Files/nodejs:/c/Program Files/Git/cmd:/c/Program Files/Git/mingw64/bin:/c/Program Files/Git/usr/bin:/c/Program Files/GitHub CLI:/c/tools/php:/c/Program Files (x86)/sbt/bin:/c/Program Files/Amazon/AWSCLIV2:/c/Program Files/Amazon/SessionManagerPlugin/bin:/c/Program Files/Amazon/AWSSAMCLI/bin:/c/Program Files (x86)/Google/Cloud SDK/google-cloud-sdk/bin:/c/Program Files (x86)/Microsoft BizTalk Server:/c/Program Files/LLVM/bin:/c/Users/runneradmin/.dotnet/tools:/c/Users/runneradmin/.cargo/bin:/c/Users/runneradmin/AppData/Local/Microsoft/WindowsApps
ORIGINAL_TEMP=/c/Users/RUNNER~1/AppData/Local/Temp
ORIGINAL_TMP=/c/Users/RUNNER~1/AppData/Local/Temp
OS=Windows_NT
PATH=/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/a/_temp/setup-msys2:/c/Program Files/MongoDB/Server/5.0/bin:/c/aliyun-cli:/c/vcpkg:/c/cf-cli:/c/Program Files (x86)/NSIS:/c/tools/zstd:/c/Program Files/Mercurial:/c/hostedtoolcache/windows/stack/2.15.1/x64:/c/cabal/bin:/c/ghcup/bin:/c/mingw64/bin:/c/Program Files/dotnet:/c/Program Files/MySQL/MySQL Server 5.7/bin:/c/Program Files/R/R-4.3.2/bin/x64:/c/SeleniumWebDrivers/GeckoDriver:/c/SeleniumWebDrivers/EdgeDriver:/c/SeleniumWebDrivers/ChromeDriver:/c/Program Files (x86)/sbt/bin:/c/Program Files (x86)/GitHub CLI:/c/Program Files/Git/bin:/c/Program Files (x86)/pipx_bin:/c/npm/prefix:/c/hostedtoolcache/windows/go/1.20.14/x64/bin:/c/hostedtoolcache/windows/Python/3.7.9/x64/Scripts:/c/hostedtoolcache/windows/Python/3.7.9/x64:/c/hostedtoolcache/windows/Ruby/2.5.9/x64/bin:/c/Program Files/OpenSSL/bin:/c/tools/kotlinc/bin:/c/hostedtoolcache/windows/Java_Temurin-Hotspot_jdk/8.0.402-6/x64/bin:/c/Program Files/ImageMagick-7.1.1-Q16-HDRI:/c/Program Files/Microsoft SDKs/Azure/CLI2/wbin:/c/ProgramData/kind:/c/Program Files/Eclipse Foundation/jdk-8.0.302.8-hotspot/bin:/c/ProgramData/Chocolatey/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Windows/System32/OpenSSH:/c/Program Files/PowerShell/7:/c/Program Files/Microsoft/Web Platform Installer:/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/c/Program Files (x86)/Microsoft SQL Server/110/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/120/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/130/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/140/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/150/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn:/c/Strawberry/c/bin:/c/Strawberry/perl/site/bin:/c/Strawberry/perl/bin:/c/ProgramData/chocolatey/lib/pulumi/tools/Pulumi/bin:/c/Program Files/TortoiseSVN/bin:/c/Program Files/CMake/bin:/c/ProgramData/chocolatey/lib/maven/apache-maven-3.8.7/bin:/c/Program Files/Microsoft Service Fabric/bin/Fabric/Fabric.Code:/c/Program Files/Microsoft SDKs/Service Fabric/Tools/ServiceFabricLocalClusterManager:/c/Program Files/nodejs:/c/Program Files/Git/cmd:/c/Program Files/Git/mingw64/bin:/c/Program Files/Git/usr/bin:/c/Program Files/GitHub CLI:/c/tools/php:/c/Program Files (x86)/sbt/bin:/c/Program Files/Amazon/AWSCLIV2:/c/Program Files/Amazon/SessionManagerPlugin/bin:/c/Program Files/Amazon/AWSSAMCLI/bin:/c/Program Files (x86)/Google/Cloud SDK/google-cloud-sdk/bin:/c/Program Files (x86)/Microsoft BizTalk Server:/c/Program Files/LLVM/bin:/c/Users/runneradmin/.dotnet/tools:/c/Users/runneradmin/.cargo/bin:/c/Users/runneradmin/AppData/Local/Microsoft/WindowsApps:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PGBIN=C:\Program Files\PostgreSQL\14\bin
PGDATA=C:\Program Files\PostgreSQL\14\data
PGPASSWORD=root
PGROOT=C:\Program Files\PostgreSQL\14
PGROOT=C:\Program Files\PostgreSQL\14
PGUSER=postgres
PHPROOT=c:\tools\php
PIPX_BIN_DIR=C:\Program Files (x86)\pipx_bin
PIPX_HOME=C:\Program Files (x86)\pipx
PKG_CONFIG_PATH=/mingw32/lib/pkgconfig:/mingw32/share/pkgconfig
PKG_CONFIG_SYSTEM_LIBRARY_PATH=/mingw32/lib
POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows Server 2019 Datacenter
POWERSHELL_UPDATECHECK=Off
PR_CI_JOB=1
---
VERBOSE_ARG='SilentlyContinue'
VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
WINDIR=C:\Windows
WIX=C:\Program Files (x86)\WiX Toolset v3.11\
XDG_DATA_DIRS=/mingw32/share/:/usr/local/share/:/usr/share/
disk usage:
Filesystem         Size  Used Avail Use% Mounted on
Filesystem         Size  Used Avail Use% Mounted on
C:/a/_temp/msys64  300G  176G  124G  59% /
biggest files in the working dir:
242998 .
94445 ./tests
77434 ./tests/ui
---
  DEPLOY: 1
##[endgroup]
##[group]Run src/ci/scripts/install-sccache.sh
src/ci/scripts/install-sccache.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 5495k  100 5495k    0     0  59.3M      0 --:--:-- --:--:-- --:--:-- 60.2M
##[group]Run src/ci/scripts/select-xcode.sh
src/ci/scripts/select-xcode.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
  DEPLOY: 1
##[endgroup]
##[group]Run src/ci/scripts/install-clang.sh
src/ci/scripts/install-clang.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
  DEPLOY: 1
##[endgroup]
##[group]Run src/ci/scripts/install-tidy.sh
src/ci/scripts/install-tidy.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
  DEPLOY: 1
##[endgroup]
##[group]Run src/ci/scripts/install-wix.sh
src/ci/scripts/install-wix.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
Size:       103746900
Compressed: 34358269
##[group]Run src/ci/scripts/disable-git-crlf-conversion.sh
src/ci/scripts/disable-git-crlf-conversion.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
 * branch            fc1d58fd0531a57a6b942a14cdcdbcb82ece16f3 -> FETCH_HEAD
Submodule path 'src/tools/cargo': checked out 'fc1d58fd0531a57a6b942a14cdcdbcb82ece16f3'
##[group]Run src/ci/scripts/install-msys2.sh
src/ci/scripts/install-msys2.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
##[endgroup]
resolving dependencies...
looking for conflicting packages...

Packages (1) pactoys-r55.8860e1f-1
Total Download Size:   0.02 MiB
Total Installed Size:  0.09 MiB

:: Proceed with installation? [Y/n] 
:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 pactoys-r55.8860e1f-1-x86_64 downloading...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
:: Processing package changes...
installing pactoys...
resolving dependencies...
looking for conflicting packages...

Packages (33) mingw-w64-i686-brotli-1.1.0-1  mingw-w64-i686-bzip2-1.0.8-3  mingw-w64-i686-c-ares-1.25.0-1  mingw-w64-i686-ca-certificates-20230311-1  mingw-w64-i686-curl-8.5.0-1  mingw-w64-i686-expat-2.5.0-1  mingw-w64-i686-gcc-libs-13.2.0-3  mingw-w64-i686-gettext-0.22.4-3  mingw-w64-i686-jsoncpp-1.9.5-3  mingw-w64-i686-libarchive-3.7.2-1  mingw-w64-i686-libb2-0.98.1-2  mingw-w64-i686-libffi-3.4.4-1  mingw-w64-i686-libiconv-1.17-3  mingw-w64-i686-libidn2-2.3.4-1  mingw-w64-i686-libpsl-0.21.2-4  mingw-w64-i686-libssh2-1.11.0-2  mingw-w64-i686-libsystre-1.0.1-5  mingw-w64-i686-libtasn1-4.19.0-1  mingw-w64-i686-libtre-git-r177.07e66d0-1  mingw-w64-i686-libunistring-1.1-1  mingw-w64-i686-libuv-1.47.0-1  mingw-w64-i686-libwinpthread-git-11.0.0.r547.g4c8123efb-1  mingw-w64-i686-lz4-1.9.4-1  mingw-w64-i686-nghttp2-1.58.0-1  mingw-w64-i686-ninja-1.11.1-3  mingw-w64-i686-openssl-3.2.0-1  mingw-w64-i686-p11-kit-0.25.3-1  mingw-w64-i686-pkgconf-1~2.1.0-1  mingw-w64-i686-rhash-1.4.4-2  mingw-w64-i686-xz-5.4.5-1  mingw-w64-i686-zlib-1.3-1  mingw-w64-i686-zstd-1.5.5-1  mingw-w64-i686-cmake-3.28.1-1
Total Download Size:    30.33 MiB
Total Installed Size:  166.93 MiB

:: Proceed with installation? [Y/n] 
:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 mingw-w64-i686-cmake-3.28.1-1-any downloading...
 mingw-w64-i686-openssl-3.2.0-1-any downloading...
 mingw-w64-i686-gettext-0.22.4-3-any downloading...
 mingw-w64-i686-curl-8.5.0-1-any downloading...
 mingw-w64-i686-gcc-libs-13.2.0-3-any downloading...
 mingw-w64-i686-libarchive-3.7.2-1-any downloading...
 mingw-w64-i686-libunistring-1.1-1-any downloading...
 mingw-w64-i686-libiconv-1.17-3-any downloading...
 mingw-w64-i686-xz-5.4.5-1-any downloading...
 mingw-w64-i686-zstd-1.5.5-1-any downloading...
 mingw-w64-i686-ninja-1.11.1-3-any downloading...
 mingw-w64-i686-p11-kit-0.25.3-1-any downloading...
 mingw-w64-i686-brotli-1.1.0-1-any downloading...
 mingw-w64-i686-ca-certificates-20230311-1-any downloading...
 mingw-w64-i686-libssh2-1.11.0-2-any downloading...
 mingw-w64-i686-c-ares-1.25.0-1-any downloading...
 mingw-w64-i686-libuv-1.47.0-1-any downloading...
 mingw-w64-i686-rhash-1.4.4-2-any downloading...
 mingw-w64-i686-nghttp2-1.58.0-1-any downloading...
 mingw-w64-i686-libtasn1-4.19.0-1-any downloading...
 mingw-w64-i686-jsoncpp-1.9.5-3-any downloading...
 mingw-w64-i686-libidn2-2.3.4-1-any downloading...
 mingw-w64-i686-expat-2.5.0-1-any downloading...
 mingw-w64-i686-lz4-1.9.4-1-any downloading...
 mingw-w64-i686-zlib-1.3-1-any downloading...
 mingw-w64-i686-libpsl-0.21.2-4-any downloading...
 mingw-w64-i686-bzip2-1.0.8-3-any downloading...
 mingw-w64-i686-pkgconf-1~2.1.0-1-any downloading...
 mingw-w64-i686-libtre-git-r177.07e66d0-1-any downloading...
 mingw-w64-i686-libffi-3.4.4-1-any downloading...
 mingw-w64-i686-libwinpthread-git-11.0.0.r547.g4c8123efb-1-any downloading...
 mingw-w64-i686-libb2-0.98.1-2-any downloading...
 mingw-w64-i686-libsystre-1.0.1-5-any downloading...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
:: Processing package changes...
installing mingw-w64-i686-libwinpthread-git...
installing mingw-w64-i686-gcc-libs...
installing mingw-w64-i686-pkgconf...
installing mingw-w64-i686-c-ares...
installing mingw-w64-i686-brotli...
installing mingw-w64-i686-expat...
installing mingw-w64-i686-gettext...
installing mingw-w64-i686-libunistring...
installing mingw-w64-i686-libidn2...
installing mingw-w64-i686-libpsl...
installing mingw-w64-i686-libpsl...
installing mingw-w64-i686-zlib...
installing mingw-w64-i686-zstd...
installing mingw-w64-i686-libtasn1...
installing mingw-w64-i686-libffi...
installing mingw-w64-i686-p11-kit...
installing mingw-w64-i686-ca-certificates...
installing mingw-w64-i686-openssl...
Optional dependencies for mingw-w64-i686-openssl
    mingw-w64-i686-ca-certificates [installed]
installing mingw-w64-i686-libssh2...
installing mingw-w64-i686-nghttp2...
installing mingw-w64-i686-curl...
installing mingw-w64-i686-jsoncpp...
installing mingw-w64-i686-bzip2...
installing mingw-w64-i686-libb2...
installing mingw-w64-i686-lz4...
installing mingw-w64-i686-libtre-git...
installing mingw-w64-i686-libsystre...
installing mingw-w64-i686-xz...
installing mingw-w64-i686-libuv...
installing mingw-w64-i686-ninja...
installing mingw-w64-i686-rhash...
installing mingw-w64-i686-cmake...
installing mingw-w64-i686-cmake...
resolving dependencies...
looking for conflicting packages...

Packages (34) heimdal-7.8.0-4  libcbor-0.10.2-1  libfido2-1.14.0-1  openssh-9.6p1-1  perl-Authen-SASL-2.1700-1  perl-Clone-0.46-2  perl-Convert-BinHex-1.125-2  perl-Encode-Locale-1.05-2  perl-Error-0.17029-2  perl-File-Listing-6.16-1  perl-HTML-Parser-3.81-2  perl-HTML-Tagset-3.20-3  perl-HTTP-Cookies-6.10-2  perl-HTTP-Daemon-6.16-1  perl-HTTP-Date-6.06-1  perl-HTTP-Message-6.45-1  perl-HTTP-Negotiate-6.01-3  perl-IO-HTML-1.004-2  perl-IO-Socket-SSL-2.084-1  perl-IO-Stringy-2.113-2  perl-LWP-MediaTypes-6.04-2  perl-MIME-tools-5.510-1  perl-MailTools-2.21-2  perl-Net-HTTP-6.23-1  perl-Net-SMTP-SSL-1.04-2  perl-Net-SSLeay-1.92-6  perl-TermReadKey-2.38-6  perl-TimeDate-2.33-2  perl-Try-Tiny-0.31-1  perl-URI-5.21-1  perl-WWW-RobotRules-6.02-3  perl-http-cookiejar-0.014-1  perl-libwww-6.72-1  git-2.43.0-1
Total Download Size:    9.39 MiB
Total Installed Size:  48.76 MiB

:: Proceed with installation? [Y/n] 
:: Proceed with installation? [Y/n] 
:: Retrieving packages...
error: failed retrieving file 'openssh-9.6p1-1-x86_64.pkg.tar.zst' from mirror.msys2.org : Failed to connect to mirror.umd.edu port 443 after 10016 ms: Timeout was reached
error: failed retrieving file 'perl-MIME-tools-5.510-1-any.pkg.tar.zst' from mirror.msys2.org : Failed to connect to mirror.umd.edu port 443 after 10016 ms: Timeout was reached
 git-2.43.0-1-x86_64 downloading...
 openssh-9.6p1-1-x86_64 downloading...
 heimdal-7.8.0-4-x86_64 downloading...
 perl-Net-SSLeay-1.92-6-x86_64 downloading...
 perl-MIME-tools-5.510-1-any downloading...
 perl-IO-Socket-SSL-2.084-1-any downloading...
 perl-libwww-6.72-1-any downloading...
 perl-URI-5.21-1-any downloading...
 perl-HTML-Parser-3.81-2-x86_64 downloading...
 perl-HTTP-Message-6.45-1-any downloading...
 libfido2-1.14.0-1-x86_64 downloading...
 perl-MailTools-2.21-2-any downloading...
 perl-IO-Stringy-2.113-2-any downloading...
 perl-Authen-SASL-2.1700-1-any downloading...
 perl-TimeDate-2.33-2-any downloading...
 perl-Convert-BinHex-1.125-2-any downloading...
 perl-Net-HTTP-6.23-1-any downloading...
 perl-HTTP-Cookies-6.10-2-any downloading...
 perl-Error-0.17029-2-any downloading...
 perl-TermReadKey-2.38-6-x86_64 downloading...
 perl-Try-Tiny-0.31-1-any downloading...
 perl-LWP-MediaTypes-6.04-2-any downloading...
 perl-HTTP-Daemon-6.16-1-any downloading...
 libcbor-0.10.2-1-x86_64 downloading...
 perl-IO-HTML-1.004-2-any downloading...
 perl-http-cookiejar-0.014-1-any downloading...
 perl-HTTP-Negotiate-6.01-3-any downloading...
 perl-WWW-RobotRules-6.02-3-any downloading...
 perl-HTML-Tagset-3.20-3-any downloading...
 perl-Encode-Locale-1.05-2-any downloading...
 perl-File-Listing-6.16-1-any downloading...
 perl-Clone-0.46-2-x86_64 downloading...
 perl-HTTP-Date-6.06-1-any downloading...
 perl-Net-SMTP-SSL-1.04-2-any downloading...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
---
installing perl-Authen-SASL...
installing perl-Encode-Locale...
installing perl-HTTP-Date...
installing perl-File-Listing...
installing perl-HTML-Tagset...
installing perl-Clone...
installing perl-IO-HTML...
installing perl-LWP-MediaTypes...
installing perl-URI...
installing perl-HTML-Parser...
installing perl-HTTP-Cookies...
installing perl-HTTP-Daemon...
installing perl-http-cookiejar...
installing perl-http-cookiejar...
installing perl-HTTP-Negotiate...
installing perl-Net-HTTP...
installing perl-WWW-RobotRules...
installing perl-Try-Tiny...
installing perl-libwww...
Optional dependencies for perl-libwww
    perl-LWP-Protocol-https: for https:// url schemes
installing perl-MailTools...
installing perl-MailTools...
installing perl-IO-Stringy...
installing perl-Convert-BinHex...
installing perl-MIME-tools...
installing perl-MIME-tools...
installing perl-Net-SSLeay...
installing perl-IO-Socket-SSL...
installing perl-Net-SMTP-SSL...
installing git...
Optional dependencies for git
    python: various helper scripts
    subversion: git svn
    subversion: git svn
##[group]Run src/ci/scripts/install-mingw.sh
src/ci/scripts/install-mingw.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
 21 70.8M   21 15.1M    0     0  11.6M      0  0:00:06  0:00:01  0:00:05 11.6M
100 70.8M  100 70.8M    0     0  31.7M      0  0:00:02  0:00:02 --:--:-- 31.7M
##[group]Run src/ci/scripts/install-ninja.sh
src/ci/scripts/install-ninja.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
Size:       399872
Compressed: 188813
##[group]Run src/ci/scripts/enable-docker-ipv6.sh
src/ci/scripts/enable-docker-ipv6.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
  WIX: /c/a/rust/rust/wix
##[endgroup]
##[group]Run src/ci/scripts/disable-git-crlf-conversion.sh
src/ci/scripts/disable-git-crlf-conversion.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
  WIX: /c/a/rust/rust/wix
##[endgroup]
##[group]Run src/ci/scripts/verify-line-endings.sh
src/ci/scripts/verify-line-endings.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
       0    6560       0  no_bom    text    Cargo.lock
       0     999       0  no_bom    text    src/tools/rust-installer/install-template.sh
##[group]Run src/ci/scripts/verify-backported-commits.sh
src/ci/scripts/verify-backported-commits.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
##[endgroup]
Skipping. This is only run when merging to the beta or stable branches.
##[group]Run src/ci/scripts/verify-stable-version-number.sh
src/ci/scripts/verify-stable-version-number.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
##[endgroup]
This script only works on the stable channel. Skipping the check.
##[group]Run src/ci/scripts/run-build-from-ci.sh
src/ci/scripts/run-build-from-ci.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
info: removing rustup binaries
info: rustup is uninstalled
[CI_JOB_NAME=dist-i686-mingw]
##[group]Clock drift check
  local time: Fri, Feb 16, 2024  6:03:14 AM
##[endgroup]
Starting sccache server...
##[group]Configure the build
configure: processing command line
---
-- Performing Test HAS_WERROR_GLOBAL_CTORS
-- Performing Test HAS_WERROR_GLOBAL_CTORS - Failed
-- Looking for __x86_64__
-- Looking for __x86_64__ - not found
-- Found Git: C:/a/_temp/msys64/usr/bin/git.exe (found version "2.43.0") 
-- Targeting AArch64
-- Targeting ARM
-- Targeting BPF
-- Targeting Hexagon
---
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- LLD version: 18.1.0
-- Found Git: C:/a/_temp/msys64/usr/bin/git.exe (found version "2.43.0") 
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

---
Average cache read hit       0.109 s
Cache location             S3, bucket: Bucket(name=rust-lang-ci-sccache2, base_url=http://rust-lang-ci-sccache2.s3.amazonaws.com/)
##[endgroup]
##[group]Clock drift check
  local time: Fri, Feb 16, 2024  7:07:52 AM
##[endgroup]
##[group]Run src/ci/scripts/create-doc-artifacts.sh
src/ci/scripts/create-doc-artifacts.sh
src/ci/scripts/create-doc-artifacts.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}
---
##[endgroup]
No files were found with the provided path: obj/artifacts/doc. No artifacts will be uploaded.
##[group]Run src/ci/scripts/upload-artifacts.sh
src/ci/scripts/upload-artifacts.sh
shell: C:\a\_temp\setup-msys2\msys2.CMD {0}

@Dylan-DPC Dylan-DPC added AsyncAwait-Polish Async-await issues that are part of the "polish" area 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. AsyncAwait-Polish Async-await issues that are part of the "polish" area labels Feb 17, 2024
@bors
Copy link
Contributor

bors commented Feb 25, 2024

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

@majaha majaha closed this Apr 8, 2024
@majaha majaha deleted the mingw_ci branch April 8, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
6 participants