thebrowsercompany / windows-samples

Sample Apps for Swift on Windows
MIT License
271 stars 15 forks source link

Error building with Visual Studio Build Tools 2022 #4

Closed softwarehangar7 closed 10 months ago

softwarehangar7 commented 1 year ago

Trying to build the sample application with no success. Instaled:

Opened WinUI3AnimationsPreview workspace on Visual Studio Code, selected the debug preset, hit build button.

The process fails on [build] [1/12] Linking C:\Users\LSCARMIN\git\windows-samples\build\spm\x86_64-unknown-windows-msvc\debug\CWinRT.dll

Console output is:

[main] Building folder: WinUI3AnimationsPreview 
[build] Starting build
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --build C:/Users/LSCARMIN/git/windows-samples/WinUI3AnimationsPreview/build
[build] [  0%] Built target WinUI3AnimationsPreview
[build] [  7%] Running Swift build...
[build] [0/1] Planning build
[build] Building for debugging...
[build] [0/12] Compiling CWinRT shim.c
[build] [1/12] Linking C:\Users\LSCARMIN\git\windows-samples\build\spm\x86_64-unknown-windows-msvc\debug\CWinRT.dll
[build] error: emit-module command failed due to exception 3 (use -v to see invocation)
[build] error: failed parsing the Swift compiler output: unexpected JSON message: {
[build]   "exception" : 3,
[build]   "kind" : "abnormal-exit",
[build]   "name" : "emit-module",
[build]   "output" : "<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:54:29: error: call to undeclared function 'SysAllocString'; ISO C99 and later do not support implicit function declarations\r\n    return (BSTR_Workaround)SysAllocString((const OLECHAR*)psz);\r\n                            ^\r\n<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:54:29: error: missing '#include <oleauto.h>'; 'SysAllocString' must be declared before it is used\r\n    return (BSTR_Workaround)SysAllocString((const OLECHAR*)psz);\r\n                            ^\r\nC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\um\\oleauto.h:74:21: note: declaration here is not visible\r\nWINOLEAUTAPI_(BSTR) SysAllocString(_In_opt_z_ const OLECHAR * psz);\r\n                    ^\r\n<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:54:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration\r\n    return (BSTR_Workaround)SysAllocString((const OLECHAR*)psz);\r\n                            ^\r\nC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\um\\oleauto.h:74:21: note: conflicting prototype is here\r\nWINOLEAUTAPI_(BSTR) SysAllocString(_In_opt_z_ const OLECHAR * psz);\r\n                    ^\r\n<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:54:29: error: conflicting types for 'SysAllocString'\r\n    return (BSTR_Workaround)SysAllocString((const OLECHAR*)psz);\r\n                            ^\r\nC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\um\\oleauto.h:74:21: note: previous declaration is here\r\nWINOLEAUTAPI_(BSTR) SysAllocString(_In_opt_z_ const OLECHAR * psz);\r\n                    ^\r\n<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:58:5: error: call to undeclared function 'SysFreeString'; ISO C99 and later do not support implicit function declarations\r\n    SysFreeString((BSTR)bstrString);\r\n    ^\r\n<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:58:5: error: missing '#include <oleauto.h>'; 'SysFreeString' must be declared before it is used\r\n    SysFreeString((BSTR)bstrString);\r\n    ^\r\nC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\um\\oleauto.h:80:21: note: declaration here is not visible\r\nWINOLEAUTAPI_(void) SysFreeString(_In_opt_ BSTR bstrString);\r\n                    ^\r\n<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:58:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration\r\n    SysFreeString((BSTR)bstrString);\r\n    ^\r\nC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\um\\oleauto.h:80:21: note: conflicting prototype is here\r\nWINOLEAUTAPI_(void) SysFreeString(_In_opt_ BSTR bstrString);\r\n                    ^\r\n<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:58:5: error: conflicting types for 'SysFreeString'\r\n    SysFreeString((BSTR)bstrString);\r\n    ^\r\nC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\um\\oleauto.h:80:21: note: previous declaration is here\r\nWINOLEAUTAPI_(void) SysFreeString(_In_opt_ BSTR bstrString);\r\n                    ^\r\n<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:62:12: error: call to undeclared function 'SysStringLen'; ISO C99 and later do not support implicit function declarations\r\n    return SysStringLen((BSTR)pbstr);\r\n           ^\r\n<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:62:12: error: missing '#include <oleauto.h>'; 'SysStringLen' must be declared before it is used\r\n    return SysStringLen((BSTR)pbstr);\r\n           ^\r\nC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\um\\oleauto.h:81:81: note: declaration here is not visible\r\nWINOLEAUTAPI_(_Post_equal_to_(pbstr == NULL ? 0 : _String_length_(pbstr)) UINT) SysStringLen(_In_opt_ BSTR pbstr);\r\n                                                                                ^\r\n<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:62:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration\r\n    return SysStringLen((BSTR)pbstr);\r\n           ^\r\nC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\um\\oleauto.h:81:81: note: conflicting prototype is here\r\nWINOLEAUTAPI_(_Post_equal_to_(pbstr == NULL ? 0 : _String_length_(pbstr)) UINT) SysStringLen(_In_opt_ BSTR pbstr);\r\n                                                                                ^\r\n<module-includes>:1:10: note: in file included from <module-includes>:1:\r\n#include \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: note: in file included from C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n         ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:62:12: error: conflicting types for 'SysStringLen'\r\n    return SysStringLen((BSTR)pbstr);\r\n           ^\r\nC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\um\\oleauto.h:81:81: note: previous declaration is here\r\nWINOLEAUTAPI_(_Post_equal_to_(pbstr == NULL ? 0 : _String_length_(pbstr)) UINT) SysStringLen(_In_opt_ BSTR pbstr);\r\n                                                                                ^\r\nC:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Support\\AGGREGATION.swift:1:8: error: could not build C module 'CWinRT'\r\nimport CWinRT\r\n       ^\r\nMeet operation was not commutative:\r\n\r\nLHS: [concrete: Optional<IKeyValuePair<[IMap].K, [IMap].V>>]\r\nRHS: [concrete: Optional<IKeyValuePair<[IMap:K], [IMap:V]>>]\r\nAbstract differences with LHS < RHS:\r\nAbstract differences with RHS < LHS:\r\n- [IMap].K (#0) -> [IMap:K]\r\nConcrete differences with LHS < RHS:\r\nConcrete differences with RHS < LHS:\r\nConcrete conflicts:\r\n\r\nLHS ∧ RHS: [concrete: Optional<IKeyValuePair<[IMap:K], [IMap].V>>]\r\nRHS ∧ LHS: [concrete: Optional<IKeyValuePair<[IMap:K], [IMap:V]>>]\r\nPlease submit a bug report (https:\/\/swift.org\/contributing\/#reporting-bugs) and include the crash backtrace.\r\nStack dump:\r\n0.\tProgram arguments: C:\/Library\/Developer\/Toolchains\/unknown-Asserts-development.xctoolchain\/usr\/bin\/swift-frontend.exe -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\AGGREGATION.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\ARRAY+TOVECTOR.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\COM+EXTENSIONS.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\CPPINTEROPWORKAROUND.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\CUSTOMQUERYINTERFACE.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\DEBUGGING.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\DICTIONARY+TOMAP.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\ERROR.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\ERRORHANDLING.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\EVENT.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\EVENTHANDLERSUBSCRIPTION.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\EVENTSOURCE.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\GUID.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\HSTRING.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IINSPECTABLE+SWIFT.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IINSPECTABLE.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IMAP+SWIFT.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IUNKNOWN+SWIFT.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IUNKNOWN.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IUNKNOWNREF.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IVECTOR+SWIFT.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\MAKEFROMABI.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\PROPERTYVALUE+ABI.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\PROPERTYVALUE.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\RAWTYPED.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\RUNTIME+SWIFT.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\STRINGHELPERS.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\SWIFT+EXTENSIONS.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\TRUSTLEVEL+SWIFT.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\WAITABLEEVENT.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\WINRTDELEGATE.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\WINRTPROTOCOLS.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\WINRTWRAPPERBASE.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\WINSDK+EXTENSIONS.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation+ABI.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation+Impl.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Collections+ABI.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Collections+Impl.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Collections.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Numerics+ABI.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Numerics+Impl.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Numerics.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\WindowsFoundation+Generics.swift C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\WindowsFoundation+MakeFromAbi.swift -target x86_64-unknown-windows-msvc -disable-objc-interop -sdk C:\\\\Library\\\\Developer\\\\Platforms\\\\Windows.platform\\\\Developer\\\\SDKs\\\\Windows.sdk -I C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug -I C:\\\\Library\\\\Developer\\\\Platforms\\\\Windows.platform\\\\Developer\\\\Library\\\\XCTest-development\\\\usr\\\\lib\\\\swift\\\\windows -I C:\\\\Library\\\\Developer\\\\Platforms\\\\Windows.platform\\\\Developer\\\\Library\\\\XCTest-development\\\\usr\\\\lib\\\\swift\\\\windows\\\\x86_64 -enable-testing -g -module-cache-path C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -resource-dir C:\\\\Library\\\\Developer\\\\Toolchains\\\\unknown-Asserts-development.xctoolchain\\\\usr\\\\lib\\\\swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file=C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\CWinRT.build\\\\module.modulemap -Xcc -I -Xcc C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\CWinRT\\\\include -Xcc -D_MT -Xcc -D_DLL -Xcc -Xclang -Xcc --dependent-lib=msvcrt -Xcc -IC:\/Users\/LSCARMIN\/git\/windows-samples\/build\/NugetPackages\/Microsoft.WindowsAppSDK.1.4.231008000\/include -module-name WindowsFoundation -plugin-path C:\\\\Library\\\\Developer\\\\Toolchains\\\\unknown-Asserts-development.xctoolchain\\\\usr\\\\lib\\\\swift\\\\host\\\\plugins -plugin-path C:\\\\Library\\\\Developer\\\\Toolchains\\\\unknown-Asserts-development.xctoolchain\\\\usr\\\\local\\\\lib\\\\swift\\\\host\\\\plugins -emit-module-doc-path C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\WindowsFoundation.swiftdoc -emit-module-source-info-path C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\WindowsFoundation.swiftsourceinfo -emit-dependencies-path C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\WindowsFoundation.build\\\\WindowsFoundation.emit-module.d -parse-as-library -o C:\\\\Users\\\\LSCARMIN\\\\git\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\WindowsFoundation.swiftmodule\r\n1.\tcompnerd.org Swift version 5.9 (swift-5.9-RELEASE)\r\n2.\tCompiling with the current language version\r\n3.\tWhile evaluating request TypeCheckSourceFileRequest(source_file \"C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Support\\DICTIONARY+TOMAP.swift\")\r\n4.\tWhile type-checking 'DictionaryMap' (at C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Support\\DICTIONARY+TOMAP.swift:10:10)\r\n5.\tWhile type-checking 'T' (at C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Support\\DICTIONARY+TOMAP.swift:11:5)\r\n6.\tWhile evaluating request UnderlyingTypeRequest(WindowsFoundation.(file).DictionaryMap.T@C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Support\\DICTIONARY+TOMAP.swift:11:15)\r\n7.\tWhile evaluating request ResolveTypeRequest(while resolving type , AnyIKeyValuePair<Key, Value>?)\r\n8.\tWhile evaluating request ResolveTypeRequest(while resolving type , Key)\r\n9.\tWhile evaluating request TypeWitnessRequest(<K, V where K : Hashable> DictionaryMap<K, V>: IMap module WindowsFoundation, WindowsFoundation.(file).IMap.K@C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Windows.Foundation.Collections.swift:72:20)\r\n10.\tWhile building rewrite system for generic signature <τ_0_0 where τ_0_0 : IMap>\r\n11.\tWhile evaluating request RequirementSignatureRequest(WindowsFoundation.(file).IMap@C:\\Users\\LSCARMIN\\git\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Windows.Foundation.Collections.swift:71:17)\r\nException Code: 0x80000003\r\n #0 0x00007ff668b3a075 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x569a075)\r\n #1 0x00007ff8931d1881 (C:\\Windows\\System32\\ucrtbase.dll+0x71881)\r\n #2 0x00007ff8931d2851 (C:\\Windows\\System32\\ucrtbase.dll+0x72851)\r\n #3 0x00007ff664f3a8c2 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a9a8c2)\r\n #4 0x00007ff664f46abd (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1aa6abd)\r\n #5 0x00007ff664f46747 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1aa6747)\r\n #6 0x00007ff664f43f2f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1aa3f2f)\r\n #7 0x00007ff664f22b95 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a82b95)\r\n #8 0x00007ff664f0ad4c (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a6ad4c)\r\n #9 0x00007ff664f0c565 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a6c565)\r\n#10 0x00007ff664ed18fe (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a318fe)\r\n#11 0x00007ff6646080ca (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11680ca)\r\n#12 0x00007ff664cea89a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x184a89a)\r\n#13 0x00007ff664cc2d96 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1822d96)\r\n#14 0x00007ff664d3946f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x189946f)\r\n#15 0x00007ff664ef4b80 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a54b80)\r\n#16 0x00007ff664f37e70 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a97e70)\r\n#17 0x00007ff664f38217 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a98217)\r\n#18 0x00007ff664f0b90c (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a6b90c)\r\n#19 0x00007ff664ef50d3 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a550d3)\r\n#20 0x00007ff664c8d6c6 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x17ed6c6)\r\n#21 0x00007ff66464ed04 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11aed04)\r\n#22 0x00007ff66492f104 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x148f104)\r\n#23 0x00007ff66492e3a3 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x148e3a3)\r\n#24 0x00007ff6649312b6 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x14912b6)\r\n#25 0x00007ff664930a91 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1490a91)\r\n#26 0x00007ff664930624 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1490624)\r\n#27 0x00007ff664656389 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11b6389)\r\n#28 0x00007ff6646078a3 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11678a3)\r\n#29 0x00007ff664dcdbd0 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x192dbd0)\r\n#30 0x00007ff664dcbdb0 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x192bdb0)\r\n#31 0x00007ff664dd3c4e (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1933c4e)\r\n#32 0x00007ff664dd3ddb (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1933ddb)\r\n#33 0x00007ff664e2b4a5 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x198b4a5)\r\n#34 0x00007ff664e28060 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1988060)\r\n#35 0x00007ff664e27907 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1987907)\r\n#36 0x00007ff664dac1e2 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x190c1e2)\r\n#37 0x00007ff664dc3b8d (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1923b8d)\r\n#38 0x00007ff664dc39e0 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x19239e0)\r\n#39 0x00007ff664e2dc4d (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x198dc4d)\r\n#40 0x00007ff664e2c69f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x198c69f)\r\n#41 0x00007ff6646ce4c8 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x122e4c8)\r\n#42 0x00007ff6646ccef5 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x122cef5)\r\n#43 0x00007ff6646cd573 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x122d573)\r\n#44 0x00007ff6646c40bb (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x12240bb)\r\n#45 0x00007ff6646cb709 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x122b709)\r\n#46 0x00007ff6646be01a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x121e01a)\r\n#47 0x00007ff6646bdfaf (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x121dfaf)\r\n#48 0x00007ff6646083e3 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11683e3)\r\n#49 0x00007ff6646b6a2b (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1216a2b)\r\n#50 0x00007ff6646b652e (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x121652e)\r\n#51 0x00007ff6646cb39b (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x122b39b)\r\n#52 0x00007ff6646b88b6 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x12188b6)\r\n#53 0x00007ff6646cd67b (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x122d67b)\r\n#54 0x00007ff6646c40bb (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x12240bb)\r\n#55 0x00007ff6646cb709 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x122b709)\r\n#56 0x00007ff6646c6da4 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1226da4)\r\n#57 0x00007ff6646cb920 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x122b920)\r\n#58 0x00007ff6646be01a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x121e01a)\r\n#59 0x00007ff6646bdfaf (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x121dfaf)\r\n#60 0x00007ff6646083e3 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11683e3)\r\n#61 0x00007ff6646b6a2b (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1216a2b)\r\n#62 0x00007ff6646b652e (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x121652e)\r\n#63 0x00007ff6646cb39b (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x122b39b)\r\n#64 0x00007ff664710311 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1270311)\r\n#65 0x00007ff66460796a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x116796a)\r\n#66 0x00007ff664cefb00 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x184fb00)\r\n#67 0x00007ff664cc6c06 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1826c06)\r\n#68 0x00007ff664d3ceec (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x189ceec)\r\n#69 0x00007ff6647b610b (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x131610b)\r\n#70 0x00007ff6647b786f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x131786f)\r\n#71 0x00007ff6647b932d (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x131932d)\r\n#72 0x00007ff6647b60ae (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x13160ae)\r\n#73 0x00007ff6647b786f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x131786f)\r\n#74 0x00007ff6647b6032 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1316032)\r\n#75 0x00007ff664629aba (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1189aba)\r\n#76 0x00007ff66460821a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x116821a)\r\n#77 0x00007ff664623988 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1183988)\r\n#78 0x00007ff664621edc (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1181edc)\r\n#79 0x00007ff66461fe86 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x117fe86)\r\n#80 0x00007ff66462da6a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x118da6a)\r\n#81 0x00007ff663751d4c (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x2b1d4c)\r\n#82 0x00007ff663758c06 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x2b8c06)\r\n#83 0x00007ff66375e165 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x2be165)\r\n#84 0x00007ff66356a1d7 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0xca1d7)\r\n#85 0x00007ff66356c9e2 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0xcc9e2)\r\n#86 0x00007ff663529436 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x89436)\r\n#87 0x00007ff663528f69 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x88f69)\r\n#88 0x00007ff668bc9dbc (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x5729dbc)\r\n#89 0x00007ff895047614 (C:\\Windows\\System32\\KERNEL32.DLL+0x17614)\r\n#90 0x00007ff895a626b1 (C:\\Windows\\SYSTEM32\\ntdll.dll+0x526b1)\r\n",
[build]   "pid" : 11704,
[build]   "process" : {
[build]     "real_pid" : 11704
[build]   }
[build] }: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "kind", intValue: nil)], debugDescription: "invalid kind", underlyingError: nil))
[proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" --build C:/Users/LSCARMIN/git/windows-samples/WinUI3AnimationsPreview/build exited with code: 2
[build] NMAKE : fatal error U1077: 'echo >nul && "C:\Program Files\CMake\bin\cmake.exe" -E env --unset=VCINSTALLDIR CC=clang CXX=clang++ -- swift build --disable-automatic-resolution -Xswiftc -g -Xlinker -debug:dwarf -Xlinker -ignore:4217 -Xcc -IC:/Users/LSCARMIN/git/windows-samples/build/NugetPackages/Microsoft.WindowsAppSDK.1.4.231008000/include -Xlinker -LC:/Users/LSCARMIN/git/windows-samples/build/NugetPackages/Microsoft.WindowsAppSDK.1.4.231008000/lib/win10-x64 -c debug --scratch-path C:/Users/LSCARMIN/git/windows-samples/build/spm' : return code '0x1'
[build] Stop.
[build] NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64\nmake.exe" -s -f CMakeFiles\WinUI3AnimationsPreview-SPM.dir\build.make /nologo -SL                 CMakeFiles\WinUI3AnimationsPreview-SPM.dir\build' : return code '0x2'
[build] Stop.
[build] NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64\nmake.exe" -s -f CMakeFiles\Makefile2 /nologo -LS                 all' : return code '0x2'
[build] Stop.
[driver] Build completed: 00:02:17.776
[build] Build finished with exit code 2
alexvinidiktov commented 1 year ago

I'm experiencing a similar issue.

(C:\\WINDOWS\\SYSTEM32\\ntdll.dll+0x485b)\r\n",
[build]   "pid" : 14056,
[build]   "process" : {
[build]     "real_pid" : 14056
[build]   }
[build] }: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "kind", intValue: nil)], debugDescription: "invalid kind", underlyingError: nil))
[proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" --build C:/Users/Alexei/Dev/swift/windows-samples-main/WinUI3AnimationsPreview/build exited with code: 2
[build] NMAKE : fatal error U1077: 'echo >nul && "C:\Program Files\CMake\bin\cmake.exe" -E env --unset=VCINSTALLDIR CC=clang CXX=clang++ -- swift build --disable-automatic-resolution -Xswiftc -g -Xlinker -debug:dwarf -Xlinker -ignore:4217 -Xcc -IC:/Users/Alexei/Dev/swift/windows-samples-main/build/NugetPackages/Microsoft.WindowsAppSDK.1.4.231008000/include -Xlinker -LC:/Users/Alexei/Dev/swift/windows-samples-main/build/NugetPackages/Microsoft.WindowsAppSDK.1.4.231008000/lib/win10-x64 -c debug --scratch-path C:/Users/Alexei/Dev/swift/windows-samples-main/build/spm' : return code '0x1'
[build] Stop.
[build] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64\nmake.exe" -s -f CMakeFiles\WinUI3AnimationsPreview-SPM.dir\build.make /nologo -SL                 CMakeFiles\WinUI3AnimationsPreview-SPM.dir\build' : return code '0x2'
[build] Stop.
[build] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX64\x64\nmake.exe" -s -f CMakeFiles\Makefile2 /nologo -LS                 all' : return code '0x2'
[build] Stop.
[driver] Build completed: 00:02:34.427
[build] Build finished with exit code 2
softwarehangar7 commented 1 year ago

Does the Windows SDK must be exactly Windows SDK 10.0.20348.0?

softwarehangar7 commented 1 year ago

Does the Windows SDK must be exactly Windows SDK 10.0.20348.0?

I installed Visual Studio Pro 2022, and now the error message is different. So the question still remains if the SDK must be exactly Windows SDK 10.0.20348.0?

alexvinidiktov commented 1 year ago

As for me, I already have Windows SDK 10.0.20348.0 installed along with another version of the SDK. How do I make cmake use Windows SDK 10.0.20348.0?

alexvinidiktov commented 1 year ago

OK. So the SDK version is already set in WinRTPreBuild.cmake but it doesn't make any difference.

set(WindowsSDK_Ver 10.0.20348.0)

softwarehangar7 commented 1 year ago

The first error occurs at the CppInteropWorkaround.h

#include <oleauto.h>
inline BSTR_Workaround SysAllocString_Workaround(const OLECHAR_Workaround *psz) {
    // Swift toolchains below 202309?? will hit a build error below
    // because of a bug in the WinSDK modulemap for OLE headers.
    return (BSTR_Workaround)SysAllocString((const OLECHAR*)psz);
}

I have Windows SDK Version 10.0.22621.0. Is there still a bug with WinSDK?

paytontech commented 1 year ago

same issue here! using sdk 10.0.20348

error: failed parsing the Swift compiler output: unexpected JSON message: {
  "exception" : 3,
  "kind" : "abnormal-exit",
  "name" : "compile",
  "output" : "\u001b[1m<module-includes>:1:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from <module-includes>:1:\r\n\u001b[0m#include \"C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n\u001b[0m#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:54:29: \u001b[0m\u001b[0;1;31merror: \u001b[0m\u001b[1mcall to undeclared function 'SysAllocString'; ISO C99 and later do not support implicit function declarations\r\n\u001b[0m    return (BSTR_Workaround)SysAllocString((const OLECHAR*)psz);\r\n\u001b[0;1;32m
           ^\r\n\u001b[0m\u001b[1m<module-includes>:1:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from <module-includes>:1:\r\n\u001b[0m#include \"C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n\u001b[0m#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:54:29: \u001b[0m\u001b[0;1;31merror: \u001b[0m\u001b[1mmissing '#include <oleauto.h>'; 'SysAllocString' must be declared before it is used\r\n\u001b[0m    return (BSTR_Workaround)SysAllocString((const OLECHAR*)psz);\r\n\u001b[0;1;32m                            ^\r\n\u001b[0m\u001b[1mC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.20348.0\\\\um\\oleauto.h:74:21: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1mdeclaration here is not visible\r\n\u001b[0mWINOLEAUTAPI_(BSTR) SysAllocString(_In_opt_z_ const OLECHAR * psz);\r\n\u001b[0;1;32m                    ^\r\n\u001b[0m\u001b[1m<module-includes>:1:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from <module-includes>:1:\r\n\u001b[0m#include \"C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n\u001b[0m#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:54:29: \u001b[0m\u001b[0;1;31merror: \u001b[0m\u001b[1mconflicting types for 'SysAllocString'\r\n\u001b[0m    return (BSTR_Workaround)SysAllocString((const OLECHAR*)psz);\r\n\u001b[0;1;32m
      ^\r\n\u001b[0m\u001b[1mC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.20348.0\\\\um\\oleauto.h:74:21: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1mprevious declaration is here\r\n\u001b[0mWINOLEAUTAPI_(BSTR) SysAllocString(_In_opt_z_ const OLECHAR * psz);\r\n\u001b[0;1;32m                    ^\r\n\u001b[0m\u001b[1m<module-includes>:1:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from <module-includes>:1:\r\n\u001b[0m#include \"C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n\u001b[0m#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:58:5: \u001b[0m\u001b[0;1;31merror: \u001b[0m\u001b[1mcall to undeclared function 'SysFreeString'; ISO C99 and later do not support implicit function declarations\r\n\u001b[0m    SysFreeString((BSTR)bstrString);\r\n\u001b[0;1;32m    ^\r\n\u001b[0m\u001b[1m<module-includes>:1:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from <module-includes>:1:\r\n\u001b[0m#include \"C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n\u001b[0m#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:58:5: \u001b[0m\u001b[0;1;31merror: \u001b[0m\u001b[1mmissing '#include <oleauto.h>'; 'SysFreeString' must be declared before it is used\r\n\u001b[0m    SysFreeString((BSTR)bstrString);\r\n\u001b[0;1;32m    ^\r\n\u001b[0m\u001b[1mC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.20348.0\\\\um\\oleauto.h:80:21: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1mdeclaration here is not visible\r\n\u001b[0mWINOLEAUTAPI_(void) SysFreeString(_In_opt_ BSTR bstrString);\r\n\u001b[0;1;32m                    ^\r\n\u001b[0m\u001b[1m<module-includes>:1:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from <module-includes>:1:\r\n\u001b[0m#include \"C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n\u001b[0m#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:58:5: \u001b[0m\u001b[0;1;31merror: \u001b[0m\u001b[1mconflicting types for 'SysFreeString'\r\n\u001b[0m    SysFreeString((BSTR)bstrString);\r\n\u001b[0;1;32m    ^\r\n\u001b[0m\u001b[1mC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.20348.0\\\\um\\oleauto.h:80:21: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1mprevious declaration is here\r\n\u001b[0mWINOLEAUTAPI_(void) SysFreeString(_In_opt_ BSTR bstrString);\r\n\u001b[0;1;32m                    ^\r\n\u001b[0m\u001b[1m<module-includes>:1:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from <module-includes>:1:\r\n\u001b[0m#include \"C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n\u001b[0m#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:62:12: \u001b[0m\u001b[0;1;31merror: \u001b[0m\u001b[1mcall to undeclared function 'SysStringLen'; ISO C99 and later do not support implicit function declarations\r\n\u001b[0m    return SysStringLen((BSTR)pbstr);\r\n\u001b[0;1;32m           ^\r\n\u001b[0m\u001b[1m<module-includes>:1:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from <module-includes>:1:\r\n\u001b[0m#include \"C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n\u001b[0m#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:62:12: \u001b[0m\u001b[0;1;31merror: \u001b[0m\u001b[1mmissing '#include <oleauto.h>'; 'SysStringLen' must be declared before it is used\r\n\u001b[0m    return SysStringLen((BSTR)pbstr);\r\n\u001b[0;1;32m           ^\r\n\u001b[0m\u001b[1mC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.20348.0\\\\um\\oleauto.h:81:81: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1mdeclaration here is not visible\r\n\u001b[0mWINOLEAUTAPI_(_Post_equal_to_(pbstr == NULL ? 0 : _String_length_(pbstr)) UINT) SysStringLen(_In_opt_ BSTR pbstr);\r\n\u001b[0;1;32m
                                                   ^\r\n\u001b[0m\u001b[1m<module-includes>:1:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from <module-includes>:1:\r\n\u001b[0m#include \"C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h\"\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:10: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1min file included from C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\\CWinRT.h:25:\r\n\u001b[0m#include \"CppInteropWorkaround.h\" \/\/ TODO(WIN-860): Remove workaround once C++ interop issues with WinSDK.GUID are fixed.\r\n\u001b[0;1;32m         ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\CWinRT\\include\/CppInteropWorkaround.h:62:12: \u001b[0m\u001b[0;1;31merror: \u001b[0m\u001b[1mconflicting types for 'SysStringLen'\r\n\u001b[0m    return SysStringLen((BSTR)pbstr);\r\n\u001b[0;1;32m           ^\r\n\u001b[0m\u001b[1mC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.20348.0\\\\um\\oleauto.h:81:81: \u001b[0m\u001b[0;1;30mnote: \u001b[0m\u001b[1mprevious declaration is here\r\n\u001b[0mWINOLEAUTAPI_(_Post_equal_to_(pbstr == NULL ? 0 : _String_length_(pbstr)) UINT) SysStringLen(_In_opt_ BSTR pbstr);\r\n\u001b[0;1;32m                                                                                ^\r\n\u001b[0m\u001b[1mC:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Support\\AGGREGATION.swift:1:8: \u001b[0m\u001b[0;1;31merror: \u001b[0m\u001b[1mcould not build C module 'CWinRT'\r\n\u001b[0mimport CWinRT\r\n\u001b[0;1;32m       ^\r\n\u001b[0mMeet operation was not commutative:\r\n\r\nLHS: [concrete: Optional<IKeyValuePair<[IMap].K, [IMap].V>>]\r\nRHS: [concrete: Optional<IKeyValuePair<[IMap:K], [IMap:V]>>]\r\nAbstract differences with LHS < RHS:\r\nAbstract differences with RHS < LHS:\r\n- [IMap].K (#0) -> [IMap:K]\r\nConcrete differences with LHS < RHS:\r\nConcrete differences with RHS < LHS:\r\nConcrete conflicts:\r\n\r\nLHS ∧ RHS: [concrete: Optional<IKeyValuePair<[IMap:K], [IMap].V>>]\r\nRHS ∧ LHS: [concrete: Optional<IKeyValuePair<[IMap:K], [IMap:V]>>]\r\nPlease submit a bug report (https:\/\/swift.org\/contributing\/#reporting-bugs) and include the crash backtrace.\r\nStack dump:\r\n0.\tProgram arguments: C:\/Library\/Developer\/Toolchains\/unknown-Asserts-development.xctoolchain\/usr\/bin\/swift-frontend.exe -frontend -c C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\AGGREGATION.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\ARRAY+TOVECTOR.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\COM+EXTENSIONS.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\CPPINTEROPWORKAROUND.swift -primary-file C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\CUSTOMQUERYINTERFACE.swift -primary-file C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\DEBUGGING.swift -primary-file C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\DICTIONARY+TOMAP.swift -primary-file C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\ERROR.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\ERRORHANDLING.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\EVENT.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\EVENTHANDLERSUBSCRIPTION.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\EVENTSOURCE.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\GUID.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\HSTRING.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IINSPECTABLE+SWIFT.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IINSPECTABLE.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IMAP+SWIFT.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IUNKNOWN+SWIFT.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IUNKNOWN.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IUNKNOWNREF.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\IVECTOR+SWIFT.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\MAKEFROMABI.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\PROPERTYVALUE+ABI.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\PROPERTYVALUE.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\RAWTYPED.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\RUNTIME+SWIFT.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\STRINGHELPERS.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\SWIFT+EXTENSIONS.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\TRUSTLEVEL+SWIFT.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\WAITABLEEVENT.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\WINRTDELEGATE.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\WINRTPROTOCOLS.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\WINRTWRAPPERBASE.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Support\\\\WINSDK+EXTENSIONS.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation+ABI.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation+Impl.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Collections+ABI.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Collections+Impl.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Collections.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Numerics+ABI.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Numerics+Impl.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.Numerics.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\Windows.Foundation.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\WindowsFoundation+Generics.swift C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\WindowsFoundation\\\\WindowsFoundation+MakeFromAbi.swift -supplementary-output-file-map C:\\\\Users\\\\PAYTON~1\\\\AppData\\\\Local\\\\Temp\\\\TemporaryDirectory.wvN9Y7\\\\supplementaryOutputs-2 -target x86_64-unknown-windows-msvc -disable-objc-interop -sdk C:\\\\Library\\\\Developer\\\\Platforms\\\\Windows.platform\\\\Developer\\\\SDKs\\\\Windows.sdk -I C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug -I C:\\\\Library\\\\Developer\\\\Platforms\\\\Windows.platform\\\\Developer\\\\Library\\\\XCTest-development\\\\usr\\\\lib\\\\swift\\\\windows -I C:\\\\Library\\\\Developer\\\\Platforms\\\\Windows.platform\\\\Developer\\\\Library\\\\XCTest-development\\\\usr\\\\lib\\\\swift\\\\windows\\\\x86_64 -color-diagnostics -enable-testing -g -module-cache-path C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -resource-dir C:\\\\Library\\\\Developer\\\\Toolchains\\\\unknown-Asserts-development.xctoolchain\\\\usr\\\\lib\\\\swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file=C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\CWinRT.build\\\\module.modulemap -Xcc -I -Xcc C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\Shared\\\\WinRT\\\\Sources\\\\CWinRT\\\\include -Xcc -D_MT -Xcc -D_DLL -Xcc -Xclang -Xcc --dependent-lib=msvcrt -Xcc -IC:\/Users\/paytondev\/Documents\/GitHub\/windows-samples\/build\/NugetPackages\/Microsoft.WindowsAppSDK.1.4.231008000\/include -module-name WindowsFoundation -plugin-path C:\\\\Library\\\\Developer\\\\Toolchains\\\\unknown-Asserts-development.xctoolchain\\\\usr\\\\bin -plugin-path C:\\\\Library\\\\Developer\\\\Toolchains\\\\unknown-Asserts-development.xctoolchain\\\\usr\\\\local\\\\bin -parse-as-library -o C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\WindowsFoundation.build\\\\Support\\\\CUSTOMQUERYINTERFACE.swift.o -o C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\WindowsFoundation.build\\\\Support\\\\DEBUGGING.swift.o -o C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\WindowsFoundation.build\\\\Support\\\\DICTIONARY+TOMAP.swift.o -o C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\WindowsFoundation.build\\\\Support\\\\ERROR.swift.o -index-store-path C:\\\\Users\\\\paytondev\\\\Documents\\\\GitHub\\\\windows-samples\\\\build\\\\spm\\\\x86_64-unknown-windows-msvc\\\\debug\\\\index\\\\store -index-system-modules\r\n1.\tSwift version 5.9.1 (swift-5.9.1-RELEASE)\r\n2.\tCompiling with the current language version\r\n3.\tWhile evaluating request TypeCheckSourceFileRequest(source_file \"C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Support\\DICTIONARY+TOMAP.swift\")\r\n4.\tWhile type-checking 'DictionaryMap' (at C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Support\\DICTIONARY+TOMAP.swift:10:10)\r\n5.\tWhile type-checking 'T' (at C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Support\\DICTIONARY+TOMAP.swift:11:5)\r\n6.\tWhile evaluating request UnderlyingTypeRequest(WindowsFoundation.(file).DictionaryMap.T@C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Support\\DICTIONARY+TOMAP.swift:11:15)\r\n7.\tWhile evaluating request ResolveTypeRequest(while resolving type , AnyIKeyValuePair<Key, Value>?)\r\n8.\tWhile evaluating request ResolveTypeRequest(while resolving type , Key)\r\n9.\tWhile evaluating request TypeWitnessRequest(<K, V where K : Hashable> DictionaryMap<K, V>: IMap module WindowsFoundation, WindowsFoundation.(file).IMap.K@C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Windows.Foundation.Collections.swift:72:20)\r\n10.\tWhile building rewrite system for generic signature <τ_0_0 where τ_0_0 : IMap>\r\n11.\tWhile evaluating request RequirementSignatureRequest(WindowsFoundation.(file).IMap@C:\\Users\\paytondev\\Documents\\GitHub\\windows-samples\\Shared\\WinRT\\Sources\\WindowsFoundation\\Windows.Foundation.Collections.swift:71:17)\r\nException Code: 0x80000003\r\n #0 0x00007ff6e016a7a5 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x56da7a5)\r\n #1 0x00007ffeac88e5f5 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7e5f5)\r\n #2 0x00007ffeac88f601 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7f601)\r\n #3 0x00007ff6dc56410e (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1ad410e)\r\n #4 0x00007ff6dc5701f7 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1ae01f7)\r\n #5 0x00007ff6dc56fe3d (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1adfe3d)\r\n #6 0x00007ff6dc56d6af (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1add6af)\r\n #7 0x00007ff6dc54c515 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1abc515)\r\n #8 0x00007ff6dc534dd5 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1aa4dd5)\r\n #9 0x00007ff6dc53662c (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1aa662c)\r\n#10 0x00007ff6dc4f87d8 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a687d8)\r\n#11 0x00007ff6dbc3c1ca (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11ac1ca)\r\n#12 0x00007ff6dc31c11f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x188c11f)\r\n#13 0x00007ff6dc30763f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x187763f)\r\n#14 0x00007ff6dc2ebb8a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x185bb8a)\r\n#15 0x00007ff6dc35e07f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x18ce07f)\r\n#16 0x00007ff6dc51e280 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a8e280)\r\n#17 0x00007ff6dc56174a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1ad174a)\r\n#18 0x00007ff6dc561aff (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1ad1aff)\r\n#19 0x00007ff6dc5359bc (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1aa59bc)\r\n#20 0x00007ff6dc51e7d3 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1a8e7d3)\r\n#21 0x00007ff6dc2b8ca6 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1828ca6)\r\n#22 0x00007ff6dbc81f65 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11f1f65)\r\n#23 0x00007ff6dbf5e6fc (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x14ce6fc)\r\n#24 0x00007ff6dbf5da5f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x14cda5f)\r\n#25 0x00007ff6dbf60654 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x14d0654)\r\n#26 0x00007ff6dbf5fdf1 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x14cfdf1)\r\n#27 0x00007ff6dbf5f954 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x14cf954)\r\n#28 0x00007ff6dbc8934c (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11f934c)\r\n#29 0x00007ff6dbc3bc43 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11abc43)\r\n#30 0x00007ff6dc3f428d (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x196428d)\r\n#31 0x00007ff6dc3f20e2 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x19620e2)\r\n#32 0x00007ff6dc3fa049 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x196a049)\r\n#33 0x00007ff6dc3fa1cb (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x196a1cb)\r\n#34 0x00007ff6dc452690 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x19c2690)\r\n#35 0x00007ff6dc44ef57 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x19bef57)\r\n#36 0x00007ff6dc44e807 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x19be807)\r\n#37 0x00007ff6dc3d22d2 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x19422d2)\r\n#38 0x00007ff6dc3ea5ea (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x195a5ea)\r\n#39 0x00007ff6dc3ea440 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x195a440)\r\n#40 0x00007ff6dc4550ad (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x19c50ad)\r\n#41 0x00007ff6dc453b1f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x19c3b1f)\r\n#42 0x00007ff6dbd004e6 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x12704e6)\r\n#43 0x00007ff6dbcfefa4 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x126efa4)\r\n#44 0x00007ff6dbcff5d4 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x126f5d4)\r\n#45 0x00007ff6dbcf62b5 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x12662b5)\r\n#46 0x00007ff6dbcfd788 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x126d788)\r\n#47 0x00007ff6dbcf01c9 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x12601c9)\r\n#48 0x00007ff6dbcf015f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x126015f)\r\n#49 0x00007ff6dbc3b093 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11ab093)\r\n#50 0x00007ff6dbce8eb1 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1258eb1)\r\n#51 0x00007ff6dbce89d7 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x12589d7)\r\n#52 0x00007ff6dbcfd42b (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x126d42b)\r\n#53 0x00007ff6dbceae4a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x125ae4a)\r\n#54 0x00007ff6dbcff6e3 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x126f6e3)\r\n#55 0x00007ff6dbcf62b5 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x12662b5)\r\n#56 0x00007ff6dbcfd788 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x126d788)\r\n#57 0x00007ff6dbcf8de4 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1268de4)\r\n#58 0x00007ff6dbcfd9c9 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x126d9c9)\r\n#59 0x00007ff6dbcf01c9 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x12601c9)\r\n#60 0x00007ff6dbcf015f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x126015f)\r\n#61 0x00007ff6dbc3b093 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11ab093)\r\n#62 0x00007ff6dbce8eb1 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1258eb1)\r\n#63 0x00007ff6dbce89d7 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x12589d7)\r\n#64 0x00007ff6dbcfd42b (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x126d42b)\r\n#65 0x00007ff6dbd411d4 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x12b11d4)\r\n#66 0x00007ff6dbc3bc6a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11abc6a)\r\n#67 0x00007ff6dc32141f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x189141f)\r\n#68 0x00007ff6dc30b9cf (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x187b9cf)\r\n#69 0x00007ff6dc2ee7a7 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x185e7a7)\r\n#70 0x00007ff6dc361bac (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x18d1bac)\r\n#71 0x00007ff6dbde569f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x135569f)\r\n#72 0x00007ff6dbde7026 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1357026)\r\n#73 0x00007ff6dbde8bed (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1358bed)\r\n#74 0x00007ff6dbde7026 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1357026)\r\n#75 0x00007ff6dbde5596 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x1355596)\r\n#76 0x00007ff6dbc5d01b (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11cd01b)\r\n#77 0x00007ff6dbc3ac1a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11aac1a)\r\n#78 0x00007ff6dbc57c84 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11c7c84)\r\n#79 0x00007ff6dbc561e4 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11c61e4)\r\n#80 0x00007ff6dbc53b2f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11c3b2f)\r\n#81 0x00007ff6dbc60fba (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x11d0fba)\r\n#82 0x00007ff6dad840bc (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x2f40bc)\r\n#83 0x00007ff6dad8afc9 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x2fafc9)\r\n#84 0x00007ff6dad90165 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x300165)\r\n#85 0x00007ff6dab96b2a (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x106b2a)\r\n#86 0x00007ff6dab9907f (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x10907f)\r\n#87 0x00007ff6dab564fc (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0xc64fc)\r\n#88 0x00007ff6dab56169 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0xc6169)\r\n#89 0x00007ff6e01fc174 (C:\\Library\\Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin\\swift-frontend.exe+0x576c174)\r\n#90 0x00007ffead7a257d (C:\\WINDOWS\\System32\\KERNEL32.DLL+0x1257d)\r\n#91 0x00007ffeaec2aa78 (C:\\WINDOWS\\SYSTEM32\\ntdll.dll+0x5aa78)\r\n",
  "pid" : -1011,
  "process" : {
    "real_pid" : 13444
  }
}: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "kind", intValue: nil)], debugDescription: "invalid kind", underlyingError: nil))
NMNAMKANEK EM: A :K E : fffaaatttaaalll   eeerrrrororrr o UrU1 10U0551880::5  8t:te ertrmemirinmaintnaeatdte edbd yb  ybu ysues reu
rsS
etSrot
poS.pt
.o
p.
^C^C
paytontech commented 1 year ago

Found the issue! Contrary to the readme, the latest swift install from swift.org IS NOT compatible with this! You need to install the latest build directly from The Browser Company, and then it compiles!

softwarehangar7 commented 1 year ago

Thank you @paytontech ! It's working now!

alexvinidiktov commented 1 year ago

Thanks @paytontech ! It's now working for me too!

stevenbrix commented 10 months ago

thank you @paytontech! your help here is much appreciated