Eureka: Unable to build feature/Swift{3.2,4 } or swift4 branches with Xcode9b3

Created on 17 Jul 2017  路  8Comments  路  Source: xmartlabs/Eureka

While trying to build using Carthage, Xcode9b3 Swift compiler crashes with segfault (probably syntax changes between b2 and b3):

CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
    cd /Users/spector/Work/InterestingStuff/Eureka
    export DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer
    export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    export SDKROOT=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name Eureka -Onone -enforce-exclusivity=checked -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -target arm64-apple-ios8.0 -g -module-cache-path /Users/spector/Library/Developer/Xcode/DerivedData/ModuleCache -Xfrontend -serialize-debugging-options -application-extension -embed-bitcode-marker -enable-testing -index-store-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Index/DataStore -swift-version 3 -I /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Products/Debug-iphoneos -F /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Products/Debug-iphoneos -c -j8 /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PickerInlineRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PopoverSelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/SelectableRowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SegmentedRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/LabelRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleRequired.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Controllers/SelectorAlertController.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/RowControllerType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PushRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/FieldRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Controllers/SelectorViewController.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/DecimalFormatter.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Validation.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Core.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Form.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleClosure.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SwitchRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PickerInputRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleLength.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/MultipleSelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/AlertRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/ActionSheetRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/PresenterRowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/TextAreaRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Cell.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/DatePickerRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleEqualsToRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/CellType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PickerRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/FieldsRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Helpers.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleURL.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/RowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleRegExp.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/DateInlineFieldRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/NavigationAccessoryView.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/StepperRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/DateInlineRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/ButtonRowWithPresent.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/RowProtocols.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/CheckRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/HeaderFooterView.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/SelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleRange.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SelectableRows/ListCheckRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SliderRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/OptionsRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/ButtonRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/SelectableSection.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/InlineRowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleEmail.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Operators.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/Protocols.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Section.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/DateRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/BaseRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Row.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/GenericMultipleSelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Controllers/MultipleSelectorViewController.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/DateFieldRow.swift -output-file-map /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/Eureka-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/Eureka.swiftmodule -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-generated-files.hmap -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-own-target-headers.hmap -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-project-headers.hmap -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Products/Debug-iphoneos/include -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/DerivedSources/arm64 -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/DerivedSources -Xcc -DDEBUG=1 -emit-objc-header -emit-objc-header-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/Eureka-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/spector/Work/InterestingStuff/Eureka

<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal 11 (use -v to see invocation)
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal 11 (use -v to see invocation)
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal 11 (use -v to see invocation)
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal 11 (use -v to see invocation)
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal 11 (use -v to see invocation)
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal 11 (use -v to see invocation)
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal 11 (use -v to see invocation)
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal 11 (use -v to see invocation)

An instance of the actual compilation failure:

CompileSwift normal arm64 /Users/spector/Work/InterestingStuff/Eureka/Source/Core/RowControllerType.swift
    cd /Users/spector/Work/InterestingStuff/Eureka
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PickerInlineRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PopoverSelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/SelectableRowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SegmentedRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/LabelRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleRequired.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Controllers/SelectorAlertController.swift -primary-file /Users/spector/Work/InterestingStuff/Eureka/Source/Core/RowControllerType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PushRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/FieldRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Controllers/SelectorViewController.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/DecimalFormatter.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Validation.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Core.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Form.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleClosure.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SwitchRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PickerInputRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleLength.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/MultipleSelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/AlertRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/ActionSheetRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/PresenterRowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/TextAreaRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Cell.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/DatePickerRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleEqualsToRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/CellType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PickerRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/FieldsRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Helpers.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleURL.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/RowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleRegExp.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/DateInlineFieldRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/NavigationAccessoryView.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/StepperRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/DateInlineRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/ButtonRowWithPresent.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/RowProtocols.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/CheckRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/HeaderFooterView.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/SelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleRange.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SelectableRows/ListCheckRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SliderRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/OptionsRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/ButtonRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/SelectableSection.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/InlineRowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleEmail.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Operators.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/Protocols.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Section.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/DateRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/BaseRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Row.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/GenericMultipleSelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Controllers/MultipleSelectorViewController.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/DateFieldRow.swift -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -I /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Products/Debug-iphoneos -F /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Products/Debug-iphoneos -application-extension -enable-testing -g -import-underlying-module -module-cache-path /Users/spector/Library/Developer/Xcode/DerivedData/ModuleCache -swift-version 3 -enforce-exclusivity=checked -serialize-debugging-options -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-generated-files.hmap -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-own-target-headers.hmap -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-project-headers.hmap -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Products/Debug-iphoneos/include -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/DerivedSources/arm64 -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -ivfsoverlay -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/spector/Work/InterestingStuff/Eureka -emit-module-doc-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType~partial.swiftdoc -serialize-diagnostics-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType.dia -Onone -module-name Eureka -emit-module-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType~partial.swiftmodule -emit-dependencies-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType.d -emit-reference-dependencies-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType.swiftdeps -o /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType.o -embed-bitcode-marker -index-store-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Index/DataStore -index-system-modules

0  swift                    0x0000000106b097fa PrintStackTraceSignalHandler(void*) + 42
1  swift                    0x0000000106b08c36 SignalHandler(int) + 662
2  libsystem_platform.dylib 0x00007fffc6273b3a _sigtramp + 26
3  libsystem_platform.dylib 0x00007fda8209d740 _sigtramp + 3152190496
4  swift                    0x000000010469a69e swift::GenericSignatureBuilder::PotentialArchetype::updateNestedTypeForConformance(llvm::PointerUnion<swift::AssociatedTypeDecl*, swift::TypeDecl*>, swift::ArchetypeResolutionKind) + 2318
5  swift                    0x000000010469ccb0 swift::GenericSignatureBuilder::resolve(llvm::PointerUnion<swift::GenericSignatureBuilder::PotentialArchetype*, swift::Type>, swift::GenericSignatureBuilder::FloatingRequirementSource) + 1984
6  swift                    0x000000010469ac40 swift::GenericSignatureBuilder::addSameTypeRequirement(llvm::PointerUnion<swift::GenericSignatureBuilder::PotentialArchetype*, swift::Type>, llvm::PointerUnion<swift::GenericSignatureBuilder::PotentialArchetype*, swift::Type>, swift::GenericSignatureBuilder::FloatingRequirementSource, swift::GenericSignatureBuilder::UnresolvedHandlingKind, llvm::function_ref<void (swift::Type, swift::Type)>) + 192
7  swift                    0x00000001046a9f58 swift::GenericSignatureBuilder::addRequirement(swift::Requirement const&, swift::GenericSignatureBuilder::FloatingRequirementSource, swift::ModuleDecl*, swift::SubstitutionMap const*) + 1704
8  swift                    0x00000001046a6a3c swift::GenericSignatureBuilder::addTypeRequirement(llvm::PointerUnion<swift::GenericSignatureBuilder::PotentialArchetype*, swift::Type>, llvm::PointerUnion<swift::GenericSignatureBuilder::PotentialArchetype*, swift::Type>, swift::GenericSignatureBuilder::FloatingRequirementSource, swift::GenericSignatureBuilder::UnresolvedHandlingKind) + 2780
9  swift                    0x00000001046a9c08 swift::GenericSignatureBuilder::addRequirement(swift::Requirement const&, swift::GenericSignatureBuilder::FloatingRequirementSource, swift::ModuleDecl*, swift::SubstitutionMap const*) + 856
10 swift                    0x00000001046a6a3c swift::GenericSignatureBuilder::addTypeRequirement(llvm::PointerUnion<swift::GenericSignatureBuilder::PotentialArchetype*, swift::Type>, llvm::PointerUnion<swift::GenericSignatureBuilder::PotentialArchetype*, swift::Type>, swift::GenericSignatureBuilder::FloatingRequirementSource, swift::GenericSignatureBuilder::UnresolvedHandlingKind) + 2780
11 swift                    0x00000001046a9c08 swift::GenericSignatureBuilder::addRequirement(swift::Requirement const&, swift::GenericSignatureBuilder::FloatingRequirementSource, swift::ModuleDecl*, swift::SubstitutionMap const*) + 856
12 swift                    0x00000001046a6a3c swift::GenericSignatureBuilder::addTypeRequirement(llvm::PointerUnion<swift::GenericSignatureBuilder::PotentialArchetype*, swift::Type>, llvm::PointerUnion<swift::GenericSignatureBuilder::PotentialArchetype*, swift::Type>, swift::GenericSignatureBuilder::FloatingRequirementSource, swift::GenericSignatureBuilder::UnresolvedHandlingKind) + 2780
13 swift                    0x00000001046a9c08 swift::GenericSignatureBuilder::addRequirement(swift::Requirement const&, swift::GenericSignatureBuilder::FloatingRequirementSource, swift::ModuleDecl*, swift::SubstitutionMap const*) + 856
14 swift                    0x00000001046b7930 swift::GenericSignatureBuilder::addGenericSignature(swift::GenericSignature*) + 400
15 swift                    0x00000001045d9524 swift::ASTContext::getOrCreateGenericSignatureBuilder(swift::CanGenericSignature, swift::ModuleDecl*) + 388
16 swift                    0x000000010468f8d2 swift::GenericSignature::createGenericEnvironment(swift::ModuleDecl&) + 18
17 swift                    0x0000000104565d4e swift::TypeChecker::checkGenericEnvironment(swift::GenericParamList*, swift::DeclContext*, swift::GenericSignature*, bool, llvm::function_ref<void (swift::GenericSignatureBuilder&)>) + 1630
18 swift                    0x0000000104530424 checkExtensionGenericParams(swift::TypeChecker&, swift::ExtensionDecl*, swift::Type, swift::GenericParamList*) + 212
19 swift                    0x000000010452e18b swift::TypeChecker::validateExtension(swift::ExtensionDecl*) + 475
20 swift                    0x000000010452e783 swift::TypeChecker::validateDecl(swift::ValueDecl*) + 291
21 swift                    0x000000010453d496 (anonymous namespace)::DeclChecker::visit(swift::Decl*) + 18582
22 swift                    0x000000010452ede7 swift::TypeChecker::validateDecl(swift::ValueDecl*) + 1927
23 swift                    0x00000001045c7860 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int, unsigned int, unsigned int) + 3200
24 swift                    0x00000001040fdfa7 swift::CompilerInstance::performSema() + 5031
25 swift                    0x00000001034913b8 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 1384
26 swift                    0x000000010348f5e4 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7332
27 swift                    0x0000000103444ee8 main + 12248
28 libdyld.dylib            0x00007fffc6064235 start + 1
29 libdyld.dylib            0x0000000000000088 start + 972668500
Stack dump:
0.  Program arguments: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PickerInlineRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PopoverSelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/SelectableRowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SegmentedRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/LabelRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleRequired.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Controllers/SelectorAlertController.swift -primary-file /Users/spector/Work/InterestingStuff/Eureka/Source/Core/RowControllerType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PushRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/FieldRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Controllers/SelectorViewController.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/DecimalFormatter.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Validation.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Core.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Form.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleClosure.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SwitchRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PickerInputRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleLength.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/MultipleSelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/AlertRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/ActionSheetRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/PresenterRowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/TextAreaRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Cell.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/DatePickerRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleEqualsToRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/CellType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/PickerRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/FieldsRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Helpers.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleURL.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/RowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleRegExp.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/DateInlineFieldRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/NavigationAccessoryView.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/StepperRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/DateInlineRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/ButtonRowWithPresent.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/RowProtocols.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/CheckRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/HeaderFooterView.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/SelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleRange.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SelectableRows/ListCheckRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/SliderRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/OptionsRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/ButtonRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/SelectableSection.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/InlineRowType.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Validations/RuleEmail.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Operators.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/Protocols.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Section.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/DateRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/BaseRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Core/Row.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/GenericMultipleSelectorRow.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Controllers/MultipleSelectorViewController.swift /Users/spector/Work/InterestingStuff/Eureka/Source/Rows/Common/DateFieldRow.swift -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -I /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Products/Debug-iphoneos -F /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Products/Debug-iphoneos -application-extension -enable-testing -g -import-underlying-module -module-cache-path /Users/spector/Library/Developer/Xcode/DerivedData/ModuleCache -swift-version 3 -enforce-exclusivity=checked -serialize-debugging-options -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-generated-files.hmap -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-own-target-headers.hmap -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Eureka-project-headers.hmap -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Products/Debug-iphoneos/include -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/DerivedSources/arm64 -Xcc -I/Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -ivfsoverlay -Xcc /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/spector/Work/InterestingStuff/Eureka -emit-module-doc-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType~partial.swiftdoc -serialize-diagnostics-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType.dia -Onone -module-name Eureka -emit-module-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType~partial.swiftmodule -emit-dependencies-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType.d -emit-reference-dependencies-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType.swiftdeps -o /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/RowControllerType.o -embed-bitcode-marker -index-store-path /Users/spector/Library/Developer/Xcode/DerivedData/Eureka-dldytdxmnsfmbqctuqhugrxswmux/Index/DataStore -index-system-modules 
1.  While validating 'selectedRow()' at /Users/spector/Work/InterestingStuff/Eureka/Source/Core/SelectableSection.swift:60:5
2.  While type-checking 'selectedRow()' at /Users/spector/Work/InterestingStuff/Eureka/Source/Core/SelectableSection.swift:60:5
3.  While validating 'selectedRow()' at /Users/spector/Work/InterestingStuff/Eureka/Source/Core/SelectableSection.swift:68:12

All 8 comments

This is a duplicate.

same issue with cocoapods

Same here

@RSickenberg Don't think that'll help - These issues are a result of Swift 3.2 syntax changes between Xcode9 beta 2 and beta 3; the current swift compiler betas segfault on syntax errors in the source resulting in those large stack traces rather than show the offending syntax error in the code).

FWIW I am sure it's all fixable by applying all the fix-it suggestions but that's probably too big of a non-core-team commit (and may well step on work already in progress).

Still in Xcode beta 4

I just tested https://github.com/xmartlabs/Eureka/tree/feature/Xcode9-Swift4 branch in Xcode 9 beta 4 and it works as expected.

Just for clarification...
@RSickenberg We cannot use master branch neither any of the Eureka official releases with Xcode 9 beta 4.

Was this page helpful?
0 / 5 - 0 ratings