Component/s: Package Manager
Windows 10 Home in a Parallels 16 VM on macOS 11.5 (Intel) using swift-5.4.2-RELEASE; the Swift package is https://github.com/stefanspringer1/SwiftXMLParserDemo.
Sorry, this is a duplicate to
SR-14976 because I already tried to add the issue before, but did not see it then.
I had a Windows system with German as the only installed language, and SPM got stuck after displaying the first "Fetching ..." (see my comments from July 25 and 26, 2021 on https://forums.swift.org/t/stochastic-errors-resolving-dependencies-and-or-building-with-feb-18-2021-snapshot/44929/10). Using Process Monitor I found:
swift.exe: RegQueryValue: BUFFER OVERFLOW: HKCU\Control Panel\Desktop\PreferredUILanguages
swift.exe: RegQueryValue: BUFFER OVERFLOW: HKCU\Control Panel\Desktop\MuiCached\MachinePreferredUILanguages
After adding "English (United States)" as additional language and then setting the system language to English, SPM then got further (and displayed another uncorrect error message about versions of the packages being not right, but this should be another issue), but on another try, I again git the above errors with SPM getting stuck after the "Fetching ...".
The following error was always display in Process Monitor:
swift.exe: RegQueryValue: BUFFER TOO SMALL: HKLM\System\CurrentControlSet\Control\Notifications\418A073AA3BC8075