- Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
SourceKitArea → source tooling: SourceKitArea → source tooling: SourceKitassertion failureBug → crash: An assertion failureBug → crash: An assertion failurebugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of softwarepatternsFeature: patternsFeature: patternssource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source toolingswift 5.9type checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis
Description
Description
Assertion failure when launching LSP on SPM.
Steps to reproduce
Launching LSP over SPM seems to trigger a sema assertion failure. HEAD at f353a618a4ddf50e4973eb301966108a5c698960. Package.resolved:
{ "pins" : [ { "identity" : "swift-argument-parser", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-argument-parser.git", "state" : { "revision" : "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a", "version" : "1.2.2" } }, { "identity" : "swift-asn1", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-asn1.git", "state" : { "revision" : "805deae27a7506dcad043604c00a9dc52d465dcb", "version" : "0.7.0" } }, { "identity" : "swift-certificates", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-certificates.git", "state" : { "revision" : "35a7df2d9d71c401a47de9be2e3de629a01370c2", "version" : "0.4.1" } }, { "identity" : "swift-collections", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-collections.git", "state" : { "revision" : "937e904258d22af6e447a0b72c0bc67583ef64a2", "version" : "1.0.4" } }, { "identity" : "swift-crypto", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-crypto.git", "state" : { "revision" : "33a20e650c33f6d72d822d558333f2085effa3dc", "version" : "2.5.0" } }, { "identity" : "swift-driver", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-driver.git", "state" : { "branch" : "main", "revision" : "0dfb2b7dd08604ae15e64489052b110599d42d3f" } }, { "identity" : "swift-llbuild", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-llbuild.git", "state" : { "branch" : "main", "revision" : "af5683429477cd71fefc4f8942b59207ef08b311" } }, { "identity" : "swift-system", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-system.git", "state" : { "revision" : "836bc4557b74fe6d2660218d56e3ce96aff76574", "version" : "1.1.1" } }, { "identity" : "swift-tools-support-core", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-tools-support-core.git", "state" : { "branch" : "main", "revision" : "b3d8257d8b59da6d5dfc2d65e9587daecf47130a" } }, { "identity" : "yams", "kind" : "remoteSourceControl", "location" : "https://github.com/jpsim/Yams.git", "state" : { "revision" : "f47ba4838c30dbd59998a4e4c87ab620ff959e8a", "version" : "5.0.5" } } ], "version" : 2 } Open Sources:
- ManifestLoader.swift
- ToolsVersionParserTests.swift
- NativePathExtensions.swift
- ManifestSourceGenerationTests.swift
- GitRepository.swift
Expected behavior
Assertion failure should not occur.
Environment
Swift version 5.9-dev (LLVM 1e0dbd7f055b049, Swift 2278172)
Target: x86_64-unknown-windows-msvc
Metadata
Metadata
Assignees
Labels
SourceKitArea → source tooling: SourceKitArea → source tooling: SourceKitassertion failureBug → crash: An assertion failureBug → crash: An assertion failurebugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of softwarepatternsFeature: patternsFeature: patternssource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source toolingswift 5.9type checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis