-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
WIP Workaround to make danger work on linux with swift 5.0 #219
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3309282
to
107c05e
Compare
e886fe5
to
aafd85a
Compare
Log[1/18] Compiling CYaml src/writer.c
[2/18] Compiling SourceKit SourceKit.m
[3/18] Compiling Swift Module 'SwiftyTextTable' (1 sources)
[4/18] Compiling Swift Module 'SWXMLHash' (3 sources)
[5/18] Compiling Swift Module 'Result' (4 sources)
[6/18] Compiling Swift Module 'CryptoSwift' (75 sources)
[7/18] Compiling Clang_C Clang_C.m
[8/18] Compiling Swift Module 'Commandant' (9 sources)
[9/18] Compiling CYaml src/scanner.c
[10/18] Compiling CYaml src/reader.c
[11/18] Compiling CYaml src/parser.c
[12/18] Compiling CYaml src/emitter.c
[13/18] Compiling CYaml src/api.c
[14/18] Compiling Swift Module 'Yams' (16 sources)
[15/18] Compiling Swift Module 'SourceKittenFramework' (36 sources)
[16/18] Compiling Swift Module 'SwiftLintFramework' (291 sources)
[17/18] Compiling Swift Module 'swiftlint' (14 sources)
[18/18] Linking ./.build/x86_64-unknown-linux/debug/swiftlint
Stack dump:
0. Program arguments: /home/travis/.swiftenv/versions/5.0/usr/bin/swift -frontend -interpret /tmp/_tmp_dangerfile.swift -disable-objc-interop -I .build/debug -module-name _tmp_dangerfile -lDangerDeps -- /tmp/danger-dsl.json /tmp/danger-response.json
#0 0x0000000004298144 PrintStackTraceSignalHandler(void*) (/home/travis/.swiftenv/versions/5.0/usr/bin/swift+0x4298144)
#1 0x00000000042962a0 llvm::sys::RunSignalHandlers() (/home/travis/.swiftenv/versions/5.0/usr/bin/swift+0x42962a0)
#2 0x00000000042984a8 SignalHandler(int) (/home/travis/.swiftenv/versions/5.0/usr/bin/swift+0x42984a8)
#3 0x00007ffaea402330 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x10330)
#4 0x00007ffaea82235c
#5 0x00007ffaea82133a
#6 0x0000000000c98fd6 llvm::MCJIT::runFunction(llvm::Function*, llvm::ArrayRef<llvm::GenericValue>) (/home/travis/.swiftenv/versions/5.0/usr/bin/swift+0xc98fd6)
#7 0x0000000000c9cfcf llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::vector<std::string, std::allocator<std::string> > const&, char const* const*) (/home/travis/.swiftenv/versions/5.0/usr/bin/swift+0xc9cfcf)
#8 0x000000000050a537 swift::RunImmediately(swift::CompilerInstance&, std::vector<std::string, std::allocator<std::string> > const&, swift::IRGenOptions&, swift::SILOptions const&) (/home/travis/.swiftenv/versions/5.0/usr/bin/swift+0x50a537)
#9 0x00000000004e15b7 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) (/home/travis/.swiftenv/versions/5.0/usr/bin/swift+0x4e15b7)
#10 0x00000000004dc947 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/home/travis/.swiftenv/versions/5.0/usr/bin/swift+0x4dc947)
#11 0x000000000048ddc3 main (/home/travis/.swiftenv/versions/5.0/usr/bin/swift+0x48ddc3)
#12 0x00007ffae8bcff45 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21f45)
#13 0x000000000048c018 _start (/home/travis/.swiftenv/versions/5.0/usr/bin/swift+0x48c018)
Got URL for JSON: /tmp/danger-dsl.json
�[0;0mCreated a temporary file for the Dangerfile DSL at: /tmp/danger-dsl.json
�[0;0mRunning Dangerfile at: Dangerfile.swift
�[0;0mPreparing to compile
�[0;0mRunning: /home/travis/.swiftenv/shims/swiftc --driver-mode=swift -L .build/debug -I .build/debug -lDangerDeps /tmp/_tmp_dangerfile.swift /tmp/danger-dsl.json /tmp/danger-response.json
�[0;0mCompleted evaluation
�[0;0m�[31mERROR: Dangerfile eval failed at Dangerfile.swift
�[0;0m�[31mERROR: Could not get the results JSON file at /tmp/danger-response.json
�[0;0m |
1ad4b83
to
f149b14
Compare
91a7dba
to
1946392
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I wanted to test if we can have a workaround until the problem reported on #214 is not fixed