We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
md5: 69c44190e6cdc52cc583d36acfbe2fe2
duplicates:
Issue Description:
Compiling John Sundell's Ink package with Swift 5.3 on Linux crashes the compiler as follows:
swift: /home/buildnode/jenkins/workspace/oss-swift-5.3-package-linux-ubuntu-18_04/swift/lib/AST/Expr.cpp:1980: swift::Expr *swift::AutoClosureExpr::getUnwrappedCurryThunkExpr() const: Assertion false && "Malformed curry thunk?"' failed.swift: /home/buildnode/jenkins/workspace/oss-swift-5.3-package-linux-ubuntu-18_04/swift/lib/AST/Expr.cpp:1980: swift::Expr *swift::AutoClosureExpr::getUnwrappedCurryThunkExpr() const: Assertion false && "Malformed curry thunk?"' failed.Stack dump:0. Program arguments: /usr/bin/swift -frontend -c -primary-file /host/Sources/Ink/API/Markdown.swift -primary-file /host/Sources/Ink/API/MarkdownParser.swift -primary-file /host/Sources/Ink/API/Modifier.swift -primary-file /host/Sources/Ink/Internal/Blockquote.swift -primary-file /host/Sources/Ink/Internal/Character+Classification.swift /host/Sources/Ink/Internal/Character+Escaping.swift /host/Sources/Ink/Internal/CodeBlock.swift /host/Sources/Ink/Internal/FormattedText.swift /host/Sources/Ink/Internal/Fragment.swift /host/Sources/Ink/Internal/HTML.swift /host/Sources/Ink/Internal/HTMLConvertible.swift /host/Sources/Ink/Internal/Hashable+AnyOf.swift /host/Sources/Ink/Internal/Heading.swift /host/Sources/Ink/Internal/HorizontalLine.swift /host/Sources/Ink/Internal/Image.swift /host/Sources/Ink/Internal/InlineCode.swift /host/Sources/Ink/Internal/KeyPathPatterns.swift /host/Sources/Ink/Internal/Link.swift /host/Sources/Ink/Internal/List.swift /host/Sources/Ink/Internal/Metadata.swift /host/Sources/Ink/Internal/Modifiable.swift /host/Sources/Ink/Internal/ModifierCollection.swift /host/Sources/Ink/Internal/NamedURLCollection.swift /host/Sources/Ink/Internal/Paragraph.swift /host/Sources/Ink/Internal/PlainTextConvertible.swift /host/Sources/Ink/Internal/Readable.swift /host/Sources/Ink/Internal/Reader.swift /host/Sources/Ink/Internal/Require.swift /host/Sources/Ink/Internal/Substring+Trimming.swift /host/Sources/Ink/Internal/Table.swift /host/Sources/Ink/Internal/TextStyle.swift /host/Sources/Ink/Internal/TextStyleMarker.swift /host/Sources/Ink/Internal/URL.swift /host/Sources/Ink/Internal/URLDeclaration.swift -supplementary-output-file-map /tmp/supplementaryOutputs-4ad1fc -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-anonymous-context-mangled-names -parse-as-library -module-name Ink -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/API/Markdown.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/API/MarkdownParser.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/API/Modifier.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/Internal/Blockquote.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/Internal/Character+Classification.swift.o -index-store-path /host/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules1. Swift version 5.3 (swift-5.3-RELEASE)2. While walking into decl 'MarkdownParser' (at /host/Sources/Ink/API/MarkdownParser.swift:17:8)3. While walking into body of 'parse(_:)' (at /host/Sources/Ink/API/MarkdownParser.swift:42:12)4. While walking into initializer for declaration 0x8dab668 (at /host/Sources/Ink/API/MarkdownParser.swift:70:17)/usr/bin/swift[0x51f95a4]/usr/bin/swift[0x51f719e]/usr/bin/swift[0x51f987c]/lib/x86_64-linux-gnu/libpthread.so.0(+0x128a0)[0x7f3652a618a0]/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f36510ccf47]/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f36510ce8b1]/lib/x86_64-linux-gnu/libc.so.6(+0x3042a)[0x7f36510be42a]/lib/x86_64-linux-gnu/libc.so.6(+0x304a2)[0x7f36510be4a2]/usr/bin/swift[0x19404a8]/usr/bin/swift[0x7323de]/usr/bin/swift[0x186bf6b]/usr/bin/swift[0x186bfa1]/usr/bin/swift[0x186d381]/usr/bin/swift[0x186e6b2]/usr/bin/swift[0x186c02b]/usr/bin/swift[0x1870eb9]/usr/bin/swift[0x186beb5]/usr/bin/swift[0x186e87d]/usr/bin/swift[0x186eb0a]/usr/bin/swift[0x186e9f0]/usr/bin/swift[0x186f1bb]/usr/bin/swift[0x186e9f0]/usr/bin/swift[0x1871a08]/usr/bin/swift[0x186beb5]/usr/bin/swift[0x1871138]/usr/bin/swift[0x186beb5]/usr/bin/swift[0x186bdd3]/usr/bin/swift[0x19b133d]/usr/bin/swift[0x7318ef]/usr/bin/swift[0x78492f]/usr/bin/swift[0x784760]/usr/bin/swift[0x77caef]/usr/bin/swift[0x77c5c0]/usr/bin/swift[0x569796]/usr/bin/swift[0x56eb56]/usr/bin/swift[0x5618ec]/usr/bin/swift[0x55eb69]/usr/bin/swift[0x4e8a68]/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f36510afb97]/usr/bin/swift[0x4e860a]
swift: /home/buildnode/jenkins/workspace/oss-swift-5.3-package-linux-ubuntu-18_04/swift/lib/AST/Expr.cpp:1980: swift::Expr *swift::AutoClosureExpr::getUnwrappedCurryThunkExpr() const: Assertion
false && "Malformed curry thunk?"' failed.Stack dump:0. Program arguments: /usr/bin/swift -frontend -c -primary-file /host/Sources/Ink/API/Markdown.swift -primary-file /host/Sources/Ink/API/MarkdownParser.swift -primary-file /host/Sources/Ink/API/Modifier.swift -primary-file /host/Sources/Ink/Internal/Blockquote.swift -primary-file /host/Sources/Ink/Internal/Character+Classification.swift /host/Sources/Ink/Internal/Character+Escaping.swift /host/Sources/Ink/Internal/CodeBlock.swift /host/Sources/Ink/Internal/FormattedText.swift /host/Sources/Ink/Internal/Fragment.swift /host/Sources/Ink/Internal/HTML.swift /host/Sources/Ink/Internal/HTMLConvertible.swift /host/Sources/Ink/Internal/Hashable+AnyOf.swift /host/Sources/Ink/Internal/Heading.swift /host/Sources/Ink/Internal/HorizontalLine.swift /host/Sources/Ink/Internal/Image.swift /host/Sources/Ink/Internal/InlineCode.swift /host/Sources/Ink/Internal/KeyPathPatterns.swift /host/Sources/Ink/Internal/Link.swift /host/Sources/Ink/Internal/List.swift /host/Sources/Ink/Internal/Metadata.swift /host/Sources/Ink/Internal/Modifiable.swift /host/Sources/Ink/Internal/ModifierCollection.swift /host/Sources/Ink/Internal/NamedURLCollection.swift /host/Sources/Ink/Internal/Paragraph.swift /host/Sources/Ink/Internal/PlainTextConvertible.swift /host/Sources/Ink/Internal/Readable.swift /host/Sources/Ink/Internal/Reader.swift /host/Sources/Ink/Internal/Require.swift /host/Sources/Ink/Internal/Substring+Trimming.swift /host/Sources/Ink/Internal/Table.swift /host/Sources/Ink/Internal/TextStyle.swift /host/Sources/Ink/Internal/TextStyleMarker.swift /host/Sources/Ink/Internal/URL.swift /host/Sources/Ink/Internal/URLDeclaration.swift -supplementary-output-file-map /tmp/supplementaryOutputs-4ad1fc -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-anonymous-context-mangled-names -parse-as-library -module-name Ink -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/API/Markdown.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/API/MarkdownParser.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/API/Modifier.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/Internal/Blockquote.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/Internal/Character+Classification.swift.o -index-store-path /host/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules1. Swift version 5.3 (swift-5.3-RELEASE)2. While walking into decl 'MarkdownParser' (at /host/Sources/Ink/API/MarkdownParser.swift:17:8)3. While walking into body of 'parse(_:)' (at /host/Sources/Ink/API/MarkdownParser.swift:42:12)4. While walking into initializer for declaration 0x8dab668 (at /host/Sources/Ink/API/MarkdownParser.swift:70:17)/usr/bin/swift[0x51f95a4]/usr/bin/swift[0x51f719e]/usr/bin/swift[0x51f987c]/lib/x86_64-linux-gnu/libpthread.so.0(+0x128a0)[0x7f3652a618a0]/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f36510ccf47]/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f36510ce8b1]/lib/x86_64-linux-gnu/libc.so.6(+0x3042a)[0x7f36510be42a]/lib/x86_64-linux-gnu/libc.so.6(+0x304a2)[0x7f36510be4a2]/usr/bin/swift[0x19404a8]/usr/bin/swift[0x7323de]/usr/bin/swift[0x186bf6b]/usr/bin/swift[0x186bfa1]/usr/bin/swift[0x186d381]/usr/bin/swift[0x186e6b2]/usr/bin/swift[0x186c02b]/usr/bin/swift[0x1870eb9]/usr/bin/swift[0x186beb5]/usr/bin/swift[0x186e87d]/usr/bin/swift[0x186eb0a]/usr/bin/swift[0x186e9f0]/usr/bin/swift[0x186f1bb]/usr/bin/swift[0x186e9f0]/usr/bin/swift[0x1871a08]/usr/bin/swift[0x186beb5]/usr/bin/swift[0x1871138]/usr/bin/swift[0x186beb5]/usr/bin/swift[0x186bdd3]/usr/bin/swift[0x19b133d]/usr/bin/swift[0x7318ef]/usr/bin/swift[0x78492f]/usr/bin/swift[0x784760]/usr/bin/swift[0x77caef]/usr/bin/swift[0x77c5c0]/usr/bin/swift[0x569796]/usr/bin/swift[0x56eb56]/usr/bin/swift[0x5618ec]/usr/bin/swift[0x55eb69]/usr/bin/swift[0x4e8a68]/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f36510afb97]/usr/bin/swift[0x4e860a]
Steps to reproduce:
git clone https://github.com/johnsundell/ink cd ink git checkout 0.5.0 docker run --rm -v "$PWD":/host -w /host swift:5.3 swift build
cd ink
git checkout 0.5.0
docker run --rm -v "$PWD":/host -w /host swift:5.3 swift build
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
I've found a simple workaround by inlining one function call to `makeFragment`. Perhaps that helps with diagnosing!
This is fixed in the latest 5.3 development snapshots.
No branches or pull requests
Additional Detail from JIRA
md5: 69c44190e6cdc52cc583d36acfbe2fe2
duplicates:
Issue Description:
Compiling John Sundell's Ink package with Swift 5.3 on Linux crashes the compiler as follows:
swift: /home/buildnode/jenkins/workspace/oss-swift-5.3-package-linux-ubuntu-18_04/swift/lib/AST/Expr.cpp:1980: swift::Expr *swift::AutoClosureExpr::getUnwrappedCurryThunkExpr() const: Assertion
false && "Malformed curry thunk?"' failed.swift: /home/buildnode/jenkins/workspace/oss-swift-5.3-package-linux-ubuntu-18_04/swift/lib/AST/Expr.cpp:1980: swift::Expr *swift::AutoClosureExpr::getUnwrappedCurryThunkExpr() const: Assertionfalse && "Malformed curry thunk?"' failed.Stack dump:0. Program arguments: /usr/bin/swift -frontend -c -primary-file /host/Sources/Ink/API/Markdown.swift -primary-file /host/Sources/Ink/API/MarkdownParser.swift -primary-file /host/Sources/Ink/API/Modifier.swift -primary-file /host/Sources/Ink/Internal/Blockquote.swift -primary-file /host/Sources/Ink/Internal/Character+Classification.swift /host/Sources/Ink/Internal/Character+Escaping.swift /host/Sources/Ink/Internal/CodeBlock.swift /host/Sources/Ink/Internal/FormattedText.swift /host/Sources/Ink/Internal/Fragment.swift /host/Sources/Ink/Internal/HTML.swift /host/Sources/Ink/Internal/HTMLConvertible.swift /host/Sources/Ink/Internal/Hashable+AnyOf.swift /host/Sources/Ink/Internal/Heading.swift /host/Sources/Ink/Internal/HorizontalLine.swift /host/Sources/Ink/Internal/Image.swift /host/Sources/Ink/Internal/InlineCode.swift /host/Sources/Ink/Internal/KeyPathPatterns.swift /host/Sources/Ink/Internal/Link.swift /host/Sources/Ink/Internal/List.swift /host/Sources/Ink/Internal/Metadata.swift /host/Sources/Ink/Internal/Modifiable.swift /host/Sources/Ink/Internal/ModifierCollection.swift /host/Sources/Ink/Internal/NamedURLCollection.swift /host/Sources/Ink/Internal/Paragraph.swift /host/Sources/Ink/Internal/PlainTextConvertible.swift /host/Sources/Ink/Internal/Readable.swift /host/Sources/Ink/Internal/Reader.swift /host/Sources/Ink/Internal/Require.swift /host/Sources/Ink/Internal/Substring+Trimming.swift /host/Sources/Ink/Internal/Table.swift /host/Sources/Ink/Internal/TextStyle.swift /host/Sources/Ink/Internal/TextStyleMarker.swift /host/Sources/Ink/Internal/URL.swift /host/Sources/Ink/Internal/URLDeclaration.swift -supplementary-output-file-map /tmp/supplementaryOutputs-4ad1fc -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-anonymous-context-mangled-names -parse-as-library -module-name Ink -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/API/Markdown.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/API/MarkdownParser.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/API/Modifier.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/Internal/Blockquote.swift.o -o /host/.build/x86_64-unknown-linux-gnu/debug/Ink.build/Internal/Character+Classification.swift.o -index-store-path /host/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules1. Swift version 5.3 (swift-5.3-RELEASE)2. While walking into decl 'MarkdownParser' (at /host/Sources/Ink/API/MarkdownParser.swift:17:8)3. While walking into body of 'parse(_:)' (at /host/Sources/Ink/API/MarkdownParser.swift:42:12)4. While walking into initializer for declaration 0x8dab668 (at /host/Sources/Ink/API/MarkdownParser.swift:70:17)/usr/bin/swift[0x51f95a4]/usr/bin/swift[0x51f719e]/usr/bin/swift[0x51f987c]/lib/x86_64-linux-gnu/libpthread.so.0(+0x128a0)[0x7f3652a618a0]/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f36510ccf47]/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f36510ce8b1]/lib/x86_64-linux-gnu/libc.so.6(+0x3042a)[0x7f36510be42a]/lib/x86_64-linux-gnu/libc.so.6(+0x304a2)[0x7f36510be4a2]/usr/bin/swift[0x19404a8]/usr/bin/swift[0x7323de]/usr/bin/swift[0x186bf6b]/usr/bin/swift[0x186bfa1]/usr/bin/swift[0x186d381]/usr/bin/swift[0x186e6b2]/usr/bin/swift[0x186c02b]/usr/bin/swift[0x1870eb9]/usr/bin/swift[0x186beb5]/usr/bin/swift[0x186e87d]/usr/bin/swift[0x186eb0a]/usr/bin/swift[0x186e9f0]/usr/bin/swift[0x186f1bb]/usr/bin/swift[0x186e9f0]/usr/bin/swift[0x1871a08]/usr/bin/swift[0x186beb5]/usr/bin/swift[0x1871138]/usr/bin/swift[0x186beb5]/usr/bin/swift[0x186bdd3]/usr/bin/swift[0x19b133d]/usr/bin/swift[0x7318ef]/usr/bin/swift[0x78492f]/usr/bin/swift[0x784760]/usr/bin/swift[0x77caef]/usr/bin/swift[0x77c5c0]/usr/bin/swift[0x569796]/usr/bin/swift[0x56eb56]/usr/bin/swift[0x5618ec]/usr/bin/swift[0x55eb69]/usr/bin/swift[0x4e8a68]/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f36510afb97]/usr/bin/swift[0x4e860a]
Steps to reproduce:
git clone https://github.com/johnsundell/ink
cd ink
git checkout 0.5.0
docker run --rm -v "$PWD":/host -w /host swift:5.3 swift build
The text was updated successfully, but these errors were encountered: