Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on Xcode 9.0.1 #8

Closed
jorge-ramirez opened this issue Oct 26, 2017 · 1 comment
Closed

Build fails on Xcode 9.0.1 #8

jorge-ramirez opened this issue Oct 26, 2017 · 1 comment

Comments

@jorge-ramirez
Copy link

jorge-ramirez commented Oct 26, 2017

I am receiving the following warning while trying to build in Xcode 9.0.1 about a redundant protocol conformance, which is causing a segmentation fault in the build process.

/Users/ramij286/Documents/Development/AutoMate-jorge/AutoMate/HealthAlert.swift:15:47: warning: redundant conformance constraint 'Self': 'SystemMessages'
public protocol HealthAlertOk: SystemAlertOk, SystemMessages { }
                                              ^
/Users/ramij286/Documents/Development/AutoMate-jorge/AutoMate/HealthAlert.swift:15:32: note: conformance constraint 'Self': 'SystemMessages' implied here
public protocol HealthAlertOk: SystemAlertOk, SystemMessages { }
                               ^
0  swift                    0x000000011106edba PrintStackTraceSignalHandler(void*) + 42
1  swift                    0x000000011106e1f6 SignalHandler(int) + 662
2  libsystem_platform.dylib 0x00007fff92267b3a _sigtramp + 26
3  libsystem_platform.dylib 0x00007fff5228f9d0 _sigtramp + 3221388976
4  swift                    0x000000010db2598f swift::irgen::MetadataPath::follow(swift::irgen::IRGenFunction&, swift::irgen::LocalTypeDataKey, llvm::Value*, swift::EncodedSequence<swift::irgen::MetadataPath::Component>::iterator, swift::EncodedSequence<swift::irgen::MetadataPath::Component>::iterator, swift::EncodedSequence<swift::irgen::MetadataPath::Component>::Map<llvm::Value*>*) + 399
5  swift                    0x000000010da27c20 swift::irgen::emitArchetypeWitnessTableRef(swift::irgen::IRGenFunction&, swift::CanTypeWrapper<swift::ArchetypeType>, swift::ProtocolDecl*) + 1264
6  swift                    0x000000010db28b23 swift::irgen::emitWitnessTableRef(swift::irgen::IRGenFunction&, swift::CanType, llvm::Value**, swift::ProtocolConformanceRef) + 83
7  swift                    0x000000010db29a70 swift::irgen::emitWitnessMethodValue(swift::irgen::IRGenFunction&, swift::CanType, llvm::Value**, swift::SILDeclRef, swift::ProtocolConformanceRef, swift::irgen::Explosion&) + 192
8  swift                    0x000000010db7da81 swift::SILVisitor<(anonymous namespace)::IRGenSILFunction, void>::visit(swift::ValueBase*) + 6401
9  swift                    0x000000010db799b0 swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 9152
10 swift                    0x000000010da843ee swift::irgen::IRGenerator::emitGlobalTopLevel() + 1022
11 swift                    0x000000010db5bb7b performIRGeneration(swift::IRGenOptions&, swift::ModuleDecl*, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule> >, llvm::StringRef, llvm::LLVMContext&, swift::SourceFile*, llvm::GlobalVariable**, unsigned int) + 1243
12 swift                    0x000000010d9e20aa performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 16778
13 swift                    0x000000010d9dc6b4 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7716
14 swift                    0x000000010d9915d8 main + 12248
15 libdyld.dylib            0x00007fff92058235 start + 1
@bartoszj
Copy link
Collaborator

Fix was merged. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants