# \[Swift CI\] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 - Long Test (master) #2667

**URL:** <https://forums.swift.org/t/swift-ci-build-failure-0-oss-swift-incremental-ra-ubuntu-14-04-long-test-master-2667/5888>\
**Category:** CI Notifications\
**Created:** [May 9, 2017, 10:09pm UTC](https://forums.swift.org/t/swift-ci-build-failure-0-oss-swift-incremental-ra-ubuntu-14-04-long-test-master-2667/5888 "2017-05-09T22:09:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mishal\_shah](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/mishal_shah/32/247_2.png) [@mishal\_shah](https://forums.swift.org/u/mishal_shah)\
**Post date:** [May 9, 2017, 10:09pm UTC](https://forums.swift.org/t/swift-ci-build-failure-0-oss-swift-incremental-ra-ubuntu-14-04-long-test-master-2667/5888/1 "2017-05-09T22:09:06Z")

</div>

Hi,

This failed due to  
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test/swift/lib/ClangImporter/ClangImporter.cpp:2647:41: error: too few arguments to function call, single argument 'Diags' was not specified  
&nbsp;&nbsp;return Impl.Invocation-\>getModuleHash();  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test/llvm/tools/clang/include/clang/Frontend/CompilerInvocation.h:177:3: note: 'getModuleHash' declared here  
&nbsp;&nbsp;std::string getModuleHash(DiagnosticsEngine &Diags) const;  
&nbsp;&nbsp;^  
1 error generated.

Thanks,  
Mishal Shah

> **···**
>
> > On May 9, 2017, at 3:07 PM, no-reply@swift.org wrote:
> > 
> > [FAILURE] oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test [#2667]
> > 
> > Build URL: [https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test/2667/](https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04-long-test/2667/)  
> > Project: oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test  
> > Date of build: Tue, 09 May 2017 14:46:39 -0700  
> > Build duration: 21 min  
> > Identified problems:
> > 
> > Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:  
> > Indication 1 \<[https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test/2667/consoleFull#1337543393ee1a197b-acac-4b17-83cf-a53b95139a76&gt](https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14_04-long-test/2667/consoleFull#1337543393ee1a197b-acac-4b17-83cf-a53b95139a76&gt);  
> > Changes
> > 
> > Commit 08c1c988a7a859e6d7ef2a721797300fae36f3af by Mark Lacey:  
> > Better fix for handling Equal constraints in matchTypes.
> > 
> > edit: lib/Sema/CSSimplify.cpp
> > 
> > Commit 53554dbe2dca7701e6631c138d4bd661f2caa312 by Bruno Cardoso Lopes:  
> > [Modules] Allow umbrella frameworks to define private submodules for
> > 
> > add: test/Modules/Inputs/MainA.framework/PrivateHeaders/MainPriv.h  
> > add: test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/Headers/B.h  
> > add: test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/PrivateHeaders/SubPriv.h  
> > add: test/Modules/Inputs/MainA.framework/Headers/Main.h  
> > add: test/Modules/Inputs/MainA.framework/Modules/module.private.modulemap  
> > edit: test/Modules/find-privateheaders.m  
> > add: test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/Headers/Sub.h  
> > add: test/Modules/Inputs/MainA.framework/PrivateHeaders/APriv.h  
> > add: test/Modules/Inputs/MainA.framework/Modules/module.modulemap  
> > add: test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/PrivateHeaders/BPriv.h  
> > add: test/Modules/Inputs/MainA.framework/Headers/A.h  
> > edit: lib/Lex/ModuleMap.cpp
> > 
> > Commit 99730af5fb3c765e39cbc85123a2374269daf163 by Bruno Cardoso Lopes:  
> > [Modules] Include error diagnostics to the module hash
> > 
> > edit: lib/Frontend/CompilerInstance.cpp  
> > edit: include/clang/Frontend/CompilerInvocation.h  
> > edit: include/clang/Basic/LangOptions.def  
> > edit: include/clang/Driver/CC1Options.td  
> > edit: lib/Frontend/CompilerInvocation.cpp

---

<div class="post-metadata">

**Author:** ![moiseev](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/moiseev/32/281_2.png) [@moiseev](https://forums.swift.org/u/moiseev)\
**Post date:** [May 9, 2017, 10:14pm UTC](https://forums.swift.org/t/swift-ci-build-failure-0-oss-swift-incremental-ra-ubuntu-14-04-long-test-master-2667/5888/2 "2017-05-09T22:14:59Z")

</div>

Caused by this change: [[Modules] Include error diagnostics to the module hash · apple/swift-clang@99730af · GitHub](https://github.com/apple/swift-clang/commit/99730af5fb3c765e39cbc85123a2374269daf163)

> **···**
>
> > On May 9, 2017, at 3:09 PM, Mishal Shah \<mishal\_shah@apple.com\> wrote:
> > 
> > Hi,
> > 
> > This failed due to  
> > /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test/swift/lib/ClangImporter/ClangImporter.cpp:2647:41: error: too few arguments to function call, single argument 'Diags' was not specified  
> > &nbsp;&nbsp;return Impl.Invocation-\>getModuleHash();  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  
> > /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test/llvm/tools/clang/include/clang/Frontend/CompilerInvocation.h:177:3: note: 'getModuleHash' declared here  
> > &nbsp;&nbsp;std::string getModuleHash(DiagnosticsEngine &Diags) const;  
> > &nbsp;&nbsp;^  
> > 1 error generated.
> > 
> > Thanks,  
> > Mishal Shah
> > 
> > > On May 9, 2017, at 3:07 PM, no-reply@swift.org \<mailto:no-reply@swift.org\> wrote:
> > > 
> > > [FAILURE] oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test [#2667]
> > > 
> > > Build URL: [https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test/2667/](https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04-long-test/2667/)  
> > > Project: oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test  
> > > Date of build: Tue, 09 May 2017 14:46:39 -0700  
> > > Build duration: 21 min  
> > > Identified problems:
> > > 
> > > Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:  
> > > Indication 1 \<[https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14\_04-long-test/2667/consoleFull#1337543393ee1a197b-acac-4b17-83cf-a53b95139a76&gt](https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14_04-long-test/2667/consoleFull#1337543393ee1a197b-acac-4b17-83cf-a53b95139a76&gt);  
> > > Changes
> > > 
> > > Commit 08c1c988a7a859e6d7ef2a721797300fae36f3af by Mark Lacey:  
> > > Better fix for handling Equal constraints in matchTypes.
> > > 
> > > edit: lib/Sema/CSSimplify.cpp
> > > 
> > > Commit 53554dbe2dca7701e6631c138d4bd661f2caa312 by Bruno Cardoso Lopes:  
> > > [Modules] Allow umbrella frameworks to define private submodules for
> > > 
> > > add: test/Modules/Inputs/MainA.framework/PrivateHeaders/MainPriv.h  
> > > add: test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/Headers/B.h  
> > > add: test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/PrivateHeaders/SubPriv.h  
> > > add: test/Modules/Inputs/MainA.framework/Headers/Main.h  
> > > add: test/Modules/Inputs/MainA.framework/Modules/module.private.modulemap  
> > > edit: test/Modules/find-privateheaders.m  
> > > add: test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/Headers/Sub.h  
> > > add: test/Modules/Inputs/MainA.framework/PrivateHeaders/APriv.h  
> > > add: test/Modules/Inputs/MainA.framework/Modules/module.modulemap  
> > > add: test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/PrivateHeaders/BPriv.h  
> > > add: test/Modules/Inputs/MainA.framework/Headers/A.h  
> > > edit: lib/Lex/ModuleMap.cpp
> > > 
> > > Commit 99730af5fb3c765e39cbc85123a2374269daf163 by Bruno Cardoso Lopes:  
> > > [Modules] Include error diagnostics to the module hash
> > > 
> > > edit: lib/Frontend/CompilerInstance.cpp  
> > > edit: include/clang/Frontend/CompilerInvocation.h  
> > > edit: include/clang/Basic/LangOptions.def  
> > > edit: include/clang/Driver/CC1Options.td  
> > > edit: lib/Frontend/CompilerInvocation.cpp
