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
[SR-7273] Sourcery source breakage: dependency on SourceKitten that uses IUOs in ways that are disallowed #49821
Comments
As a side note, it's not at all clear to me why we still have this XFAILed for master since it seems like the issue from SR-6556 was resolved. |
najacque (JIRA User), who's in charge of Source Compat suite maintenance now? |
Comment by Nicole Jacque (JIRA) That would be @clackary |
I removed the old XFAIL from master, and ran this locally. I can verify that they are the same failures as with 4.2... ./Sourcery/.build/checkouts/SourceKitten.git--9034366123564885496/Source/SourceKittenFramework/Request.swift:305:92: error: value of optional type 'sourcekitd_uid_t?' (aka 'Optional<OpaquePointer>') not unwrapped; did you mean to use '!' or '?'?
sourcekitd_uid_get_from_cstr("key.request"): sourcekitd_request_uid_create(sourcekitd_uid_get_from_cstr("source.request.editor.replacetext")), ./Sourcery/.build/checkouts/SourceKitten.git--9034366123564885496/Source/SourceKittenFramework/Request.swift:314:92: error: value of optional type 'sourcekitd_uid_t?' (aka 'Optional<OpaquePointer>') not unwrapped; did you mean to use '!' or '?'?
sourcekitd_uid_get_from_cstr("key.request"): sourcekitd_request_uid_create(sourcekitd_uid_get_from_cstr("source.request.docinfo")), Sounds like we're going to need an updated 4.0 hash from Sourcery. I'll reach out to the maintainer to request an update. |
Sent email to Sourcery project maintainer, requesting an updated 4.0 hash. |
Comment by Nicole Jacque (JIRA) @swift-ci create |
This has been resolved as of https://github.com/apple/swift-source-compat-suite/pull/184 Looks like the update has also uncovered a new issue. Will file a new bug for this. |
Additional Detail from JIRA
md5: 42f49e57e511d788686a065aad2a4d69
relates to:
Issue Description:
It looks like we currently have Sourcery XFAILed for master, which is apparently hiding this issue on master. On swift-4.2-branch, though, it is not yet XFAILed and as a result we are hitting issues like:
The underlying issue in SourceKitten was fixed (it had uses of IUOs that were disallowed by SE-0054 but not enforced until recently.
The text was updated successfully, but these errors were encountered: