Hi all,
I've installed Swift on Windows 10 (specifically, Windows 10 21H2 (AMD64) build 19044.5011, if that matters), with all the VS dependencies, but whenever I run the swift REPL (swift repl
) I get the following output:
==== LLDB swift-healthcheck log. ===
This file contains the configuration of LLDB's embedded Swift compiler to help diagnosing module import and search path issues. The swift-healthcheck command is meant to be run *after* an error has occurred.
lldb version 17.0.6
Swift version 6.0.2 (swift-6.0.2-RELEASE)
Cannot create Swift scratch context (couldn't load the Swift stdlib)SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration(SwiftASTContext*)0000013DC1863C40:
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- Swift/C++ interop : off
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- Swift/Objective-C interop : off
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- Architecture : x86_64-unknown-windows-msvc
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- SDK path : C:\Users\Ethin
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- Runtime resource path : C:\Users\Ethin Probst\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\lib\swift
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- Runtime library paths : (2 items)
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- C:\Users\Ethin Probst\AppData\Local\Programs\Swift\Runtimes\6.0.2\usr\bin
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- C:\Users\Ethin Probst\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\lib\swift\windows
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- Runtime library import paths : (4 items)
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- C:\Users\Ethin Probst\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\lib\swift\windows
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- C:\Users\Ethin Probst\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\lib\swift\windows\x86_64
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- C:\Users\Ethin\usr\lib\swift\windows
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- C:\Users\Ethin\usr\lib\swift\windows\x86_64
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- Framework search paths : (0 items)
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- Import search paths : (0 items)
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- Extra clang arguments : (0 items)
SwiftASTContextForExpressions::lldb_private::SwiftASTContext::LogConfiguration() -- Plugin search options : (0 items)
Welcome to Swift version 6.0.2 (swift-6.0.2-RELEASE).
Type :help for assistance.
1> print("Hello, world!")
error: could not create a Swift AST context
1>
Is the REPL on Windows broken or did I screw up the install somewhere?