PGSSoft / AutoMate

Swift framework containing a set of helpful XCTest extensions for writing UI automation tests
MIT License
288 stars 29 forks source link

Build fails on Xcode 9.0.1 #8

Closed jorge-ramirez closed 7 years ago

jorge-ramirez commented 7 years ago

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 commented 7 years ago

Fix was merged. Closing.