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

Fix compilation errors #66

Closed
wants to merge 1 commit into from
Closed

Fix compilation errors #66

wants to merge 1 commit into from

Conversation

dankinsoid
Copy link

@dankinsoid dankinsoid commented Nov 30, 2022

Build fails with "Command SwiftEmitModule failed with a nonzero exit code" error

1.	Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
2.	Compiling with the current language version
3.	While evaluating request TypeCheckSourceFileRequest(source_file "/Users/danil/Downloads/swift-url-routing-swift-5-7/Sources/URLRouting/Body.swift")
4.	While type-checking 'Body' (at /Users/danil/Downloads/swift-url-routing-swift-5-7/Sources/URLRouting/Body.swift:4:8)
5.	While type-checking 'init(_:)' (at /Users/danil/Downloads/swift-url-routing-swift-5-7/Sources/URLRouting/Body.swift:28:10)
6.	While evaluating request InterfaceTypeRequest(URLRouting.(file).Body.init(_:)@/Users/danil/Downloads/swift-url-routing-swift-5-7/Sources/URLRouting/Body.swift:28:10)
7.	While evaluating request GenericSignatureRequest(URLRouting.(file).Body.init(_:)@/Users/danil/Downloads/swift-url-routing-swift-5-7/Sources/URLRouting/Body.swift:28:10)
8.	While evaluating request InferredGenericSignatureRequest(URLRouting, <Bytes where Bytes : Parser, Bytes.Input == Data>, <C>, URLRouting.(file).Body.init(_:)@/Users/danil/Downloads/swift-url-routing-swift-5-7/Sources/URLRouting/Body.swift:28:10, {}, {(C, C)}, 0)
9.	While evaluating request InferredGenericSignatureRequestRQM(<Bytes where Bytes : Parser, Bytes.Input == Data>, <C>, URLRouting.(file).Body.init(_:)@/Users/danil/Downloads/swift-url-routing-swift-5-7/Sources/URLRouting/Body.swift:28:10, {}, {(C, C)}, 0)

@stephencelis
Copy link
Member

Hi @dankinsoid! Thanks for the PR. Could you take some time to update its description with what it intends to fix, i.e. what the problem you were seeing was and how to reproduce it?

@dankinsoid
Copy link
Author

@stephencelis done

@stephencelis
Copy link
Member

@dankinsoid Sorry, can you also provide steps to reproduce and the environment you're in (macOS, targeted OS, Xcode, etc.)? Might be easy for me to figure out when I look into this but just in case it isn't. 😅

@dankinsoid
Copy link
Author

dankinsoid commented Nov 30, 2022

@stephencelis I reproduce it on two computers, iMac M1 macOS Ventura 13.0 and macbook Intel macOS 12
Xcode 14.1, swift 5.7.1, just trying to build the package branch swift-5-7

@stephencelis
Copy link
Member

Ah gotcha, I missed this was for the unreleased 5.7 branch. Will try to take a look soon, thanks!

@dankinsoid
Copy link
Author

@stephencelis yes, I want to use swift-url-routing in VDFlow so I'm interested in 5.7 version

@dankinsoid dankinsoid closed this by deleting the head repository Mar 7, 2023
@stephencelis
Copy link
Member

@dankinsoid Sorry this lingered. Did you find the updated swift-5-8 branch? That should be building well right now.

@dankinsoid
Copy link
Author

@stephencelis yes now it builds, thank you

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

Successfully merging this pull request may close these issues.

None yet

2 participants