Skip to content

Compiler crash: "Assign PartitionOp's source argument should be already tracked" #81187

Open
@cmcgee1024

Description

@cmcgee1024

Description

While compiling swiftly on macOS with main-snapshot-2025-04-12 (6.2-dev) there's the following compiler crash:

Assertion failed: (p.isTrackingElement(op.getOpArg2()) && "Assign PartitionOp's source argument should be already tracked"), function apply, file PartitionUtils.h, line 1371.

Reproduction

  • With a macOS 15.x Apple Silicon computer
  • Install the main-snapshot-2025-04-12 Swift toolchain from swift.org (Apple Swift version 6.2-dev (LLVM 81ab6d9f7e4810f, Swift 9cc1947)
  • Clone the main branch of swiftly here: https://github.com/swiftlang/swiftly
  • Run swift build --build-tests

Stack dump

error: compile command failed due to signal 6 (use -v to see invocation)
Assertion failed: (p.isTrackingElement(op.getOpArg2()) && "Assign PartitionOp's source argument should be already tracked"), function apply, file PartitionUtils.h, line 1371.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.      Program arguments: /Users/cmcgee/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Config.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Diagnostics.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/DiagnosticsCollectorProvider.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Errors.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Extensions/Foundation.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Extensions/OpenAPIKit.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Extensions/String.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Extensions/SwiftStandardLibrary.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/FeatureFlags.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/GeneratorMode.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/GeneratorPipeline.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/GeneratorPipelineStage.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Hooks/DocumentFilter.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Hooks/FilteredDocument.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Layers/ParsedOpenAPIRepresentation.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Layers/RenderedSwiftRepresentation.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Layers/StructuredSwiftRepresentation.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Parser/ParserProtocol.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Parser/YamsParser.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Parser/validateDoc.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/PlatformChecks.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Renderer/RendererProtocol.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Renderer/TextBasedRenderer.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/ClientTranslator/ClientTranslator.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/ClientTranslator/translateClientMethod.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTranslations/translateAllAnyOneOf.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTranslations/translateArray.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTranslations/translateCodable.swift -primary-file /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTranslations/translateObjectStruct.swift -primary-file /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTranslations/translateRawEnum.swift -primary-file /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTranslations/translateRawRepresentableEnum.swift -primary-file /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTranslations/translateSchema.swift -primary-file /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTranslations/translateStructBlueprint.swift -primary-file /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTranslations/translateTypealias.swift -primary-file /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTypes/Annotations.swift -primary-file /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTypes/CommentExtensions.swift -primary-file /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTypes/Constants.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTypes/DiscriminatorExtensions.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTypes/SchemaOverrides.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTypes/StructBlueprint.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Content/CodingStrategy.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Content/ContentInspector.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Content/ContentType.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Content/SchemaContent.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/FileTranslator+FeatureFlags.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/FileTranslator.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Multipart/MultipartAdditionalProperties.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Multipart/MultipartContent.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Multipart/MultipartContentInspector.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Multipart/translateMultipart.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/MultiplexTranslator.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Operations/OperationDescription.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Parameters/TypedParameter.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Parameters/translateParameter.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Recursion/DeclarationRecursionDetector.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Recursion/RecursionDetector.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/RequestBody/TypedRequestBody.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/RequestBody/translateRequestBody.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Responses/HTTPStatusCodes.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Responses/ResponseKind.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Responses/TypedResponse.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Responses/TypedResponseHeader.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Responses/acceptHeaderContentTypes.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Responses/translateResponse.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Responses/translateResponseHeader.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/Responses/translateResponseOutcome.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/ServerTranslator/ServerTranslator.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/ServerTranslator/translateServerMethod.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TranslatorProtocol.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypeAssignment/Builtins.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypeAssignment/ReferenceStack.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypeAssignment/SafeNameGenerator.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypeAssignment/TypeAssigner.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypeAssignment/TypeLocation.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypeAssignment/TypeMatcher.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypeAssignment/TypeName.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypeAssignment/TypeUsage.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypeAssignment/isSchemaSupported.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/TypesFileTranslator.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/translateAPIProtocol.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/translateBoxedTypes.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/translateComponentHeaders.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/translateComponentParameters.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/translateComponentRequestBodies.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/translateComponentResponses.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/translateComponents.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/translateOperations.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/translateSchemas.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/translateServers.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/TypesTranslator/translateServersVariables.swift /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/YamlFileDiagnosticsCollector.swift -supplementary-output-file-map /var/folders/kp/9b5ztv1j1hb7czzdn1j4pk5r0000gn/T/TemporaryDirectory.f7X2Xh/supplementaryOutputs-4 -target arm64-apple-macosx10.15 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Users/cmcgee/xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -I /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/Modules -I /Users/cmcgee/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a.xctoolchain/usr/lib/swift/macosx/testing -I /Users/cmcgee/xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/cmcgee/xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -F /Users/cmcgee/xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/ModuleCache -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-upcoming-feature ExistentialAny -enable-experimental-feature StrictConcurrency=complete -enable-upcoming-feature MemberImportVisibility -empty-abi-descriptor -plugin-path /Users/cmcgee/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a.xctoolchain/usr/lib/swift/host/plugins/testing -enable-anonymous-context-mangled-names -file-compilation-dir /Users/cmcgee/git/swiftly-public -Xcc -fmodule-map-file=/Users/cmcgee/git/swiftly-public/.build/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -I -Xcc /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -fmodule-map-file=/Users/cmcgee/git/swiftly-public/.build/checkouts/Yams/Sources/CYaml/include/module.modulemap -Xcc -I -Xcc /Users/cmcgee/git/swiftly-public/.build/checkouts/Yams/Sources/CYaml/include -Xcc -isysroot -Xcc /Users/cmcgee/xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -Xcc -F -Xcc /Users/cmcgee/xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -F -Xcc /Users/cmcgee/xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -Xcc -fPIC -Xcc -g -no-auto-bridging-header-chaining -module-name _OpenAPIGeneratorCore -package-name swift_openapi_generator -in-process-plugin-server-path /Users/cmcgee/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Users/cmcgee/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Users/cmcgee/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 15.1 -target-sdk-name macosx15.1 -external-plugin-path /Users/cmcgee/xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Users/cmcgee/xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Users/cmcgee/xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Users/cmcgee/xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -parse-as-library -o /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/_OpenAPIGeneratorCore.build/translateObjectStruct.swift.o -o /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/_OpenAPIGeneratorCore.build/translateRawEnum.swift.o -o /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/_OpenAPIGeneratorCore.build/translateRawRepresentableEnum.swift.o -o /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/_OpenAPIGeneratorCore.build/translateSchema.swift.o -o /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/_OpenAPIGeneratorCore.build/translateStructBlueprint.swift.o -o /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/_OpenAPIGeneratorCore.build/translateTypealias.swift.o -o /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/_OpenAPIGeneratorCore.build/Annotations.swift.o -o /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/_OpenAPIGeneratorCore.build/CommentExtensions.swift.o -o /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/_OpenAPIGeneratorCore.build/Constants.swift.o -index-store-path /Users/cmcgee/git/swiftly-public/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1.      Apple Swift version 6.2-dev (LLVM 81ab6d9f7e4810f, Swift 9cc1947527bacea)
2.      Compiling with effective version 5.10
3.      While evaluating request ExecuteSILPipelineRequest(Run pipelines { Mandatory Diagnostic Passes + Enabling Optimization Passes } on SIL for _OpenAPIGeneratorCore)
4.      While running pass #145 SILFunctionTransform "SendNonSendable" on SILFunction "@$s21_OpenAPIGeneratorCore19TypesFileTranslatorV15translateSchema8typeName6schema9overrides18isMultipartContentSayAA11DeclarationOGAA04TypeJ0V_0A6APIKit10JSONSchemaVAA0H9OverridesVSbtKF".
 for 'translateSchema(typeName:schema:overrides:isMultipartContent:)' (at /Users/cmcgee/git/swiftly-public/.build/checkouts/swift-openapi-generator/Sources/_OpenAPIGeneratorCore/Translator/CommonTranslations/translateSchema.swift:67:5)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x0000000109c102c0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x0000000109c0e9ec llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x0000000109c10908 SignalHandler(int, __siginfo*, void*) + 296
3  libsystem_platform.dylib 0x0000000185cd0624 _sigtramp + 56
4  libsystem_pthread.dylib  0x0000000185c9688c pthread_kill + 296
5  libsystem_c.dylib        0x0000000185b9fc60 abort + 124
6  libsystem_c.dylib        0x0000000185b9eeec err + 0
7  swift-frontend           0x0000000109c45afc (anonymous namespace)::SendNonSendable::run() (.cold.8) + 0
8  swift-frontend           0x0000000104c35908 swift::regionanalysisimpl::BlockPartitionState::recomputeExitFromEntry(swift::regionanalysisimpl::PartitionOpTranslator&) + 5292
9  swift-frontend           0x0000000104c365ac swift::RegionAnalysisFunctionInfo::runDataflow() + 1716
10 swift-frontend           0x0000000104c35eb0 swift::RegionAnalysisFunctionInfo::RegionAnalysisFunctionInfo(swift::SILFunction*, swift::PostOrderFunctionInfo*) + 968
11 swift-frontend           0x0000000104c37040 swift::RegionAnalysis::newFunctionAnalysis(swift::SILFunction*) + 56
12 swift-frontend           0x0000000104e6c958 swift::FunctionAnalysisBase<swift::RegionAnalysisFunctionInfo>::get(swift::SILFunction*) + 80
13 swift-frontend           0x0000000104e6aef4 (anonymous namespace)::SendNonSendable::run() + 140
14 swift-frontend           0x0000000104e8efcc swift::SILPassManager::runPassOnFunction(unsigned int, swift::SILFunction*) + 1344
15 swift-frontend           0x0000000104e8fcf0 swift::SILPassManager::runFunctionPasses(unsigned int, unsigned int) + 1060
16 swift-frontend           0x0000000104e924d8 swift::SILPassManager::execute() + 596
17 swift-frontend           0x0000000104e8cf10 swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 72
18 swift-frontend           0x0000000104e8ce90 swift::ExecuteSILPipelineRequest::evaluate(swift::Evaluator&, swift::SILPipelineExecutionDescriptor) const + 68
19 swift-frontend           0x0000000104eb2674 swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<> (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 28
20 swift-frontend           0x0000000104e94080 swift::ExecuteSILPipelineRequest::OutputType swift::Evaluator::getResultUncached<swift::ExecuteSILPipelineRequest, swift::ExecuteSILPipelineRequest::OutputType swift::evaluateOrFatal<swift::ExecuteSILPipelineRequest>(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()>(swift::ExecuteSILPipelineRequest const&, swift::ExecuteSILPipelineRequest::OutputType swift::evaluateOrFatal<swift::ExecuteSILPipelineRequest>(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()) + 204
21 swift-frontend           0x0000000104e8d100 swift::executePassPipelinePlan(swift::SILModule*, swift::SILPassPipelinePlan const&, bool, swift::irgen::IRGenModule*) + 64
22 swift-frontend           0x0000000104e95654 swift::runSILDiagnosticPasses(swift::SILModule&) + 192
23 swift-frontend           0x0000000104742388 swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 80
24 swift-frontend           0x00000001045095c4 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 820
25 swift-frontend           0x0000000104508c24 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 468
26 swift-frontend           0x0000000104515278 withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 164
27 swift-frontend           0x000000010450aa0c performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 716
28 swift-frontend           0x000000010450a1c0 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2288
29 swift-frontend           0x00000001042b1c3c swift::mainEntry(int, char const**) + 3064
30 dyld                     0x00000001858f6b98 start + 6076

Expected behavior

It is expected that the snapshot toolchain builds swiftly like the 6.1.0 toolchain does.

Environment

macOS 15.x
Appli Silicon
Apple Swift version 6.2-dev (LLVM 81ab6d9f7e4810f, Swift 9cc1947)
Target: arm64-apple-macosx15.0
Build config: +assertions

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.concurrencyFeature: umbrella label for concurrency language featurescrashBug: A crash, i.e., an abnormal termination of software

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions