Skip to content

DequeModule compilation error on Ubuntu #56

@alexito4

Description

@alexito4

I'm trying to build a CLI tool in GitHub Actions with a dependency on this package. It's building fine on macOS but it fails to build on Ubuntu 20.04.2 LTS fails. I'm using fwal/setup-swift@v1 to install Swift on the ubuntu environment.
I apologise if this is not an issue on the package itself.

Information

  • Package version: Tried both 0.0.3 and the most recent commit c0549b6
  • Platform version: Ubuntu 20.04.2 LTS
  • Swift version: Swift version 5.4 (swift-5.4-RELEASE) | Target: x86_64-unknown-linux-gnu

Checklist

  • If possible, I've reproduced the issue using the main branch of this package.
  • I've searched for existing GitHub issues.

Actual behavior

The compiler error is as follows:

gnu/debug/DequeModule.swiftmodule
2021-06-16T14:48:22.9117174Z <unknown>:0: error: fatal error encountered while reading from module 'DequeModule'; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project
2021-06-16T14:48:22.9119412Z <unknown>:0: note: module 'DequeModule' full misc version is '5.4(5.4)/Swift version 5.4 (swift-5.4-RELEASE)'
2021-06-16T14:48:22.9120239Z 
2021-06-16T14:48:22.9121042Z *** DESERIALIZATION FAILURE (please include this section in any bug report) ***
2021-06-16T14:48:22.9121888Z result not found
2021-06-16T14:48:22.9122743Z Cross-reference to module 'DequeModule'
2021-06-16T14:48:22.9123511Z ... Deque
2021-06-16T14:48:22.9124310Z ... in an extension in module 'DequeModule'
2021-06-16T14:48:22.9125028Z ... Element
2021-06-16T14:48:22.9125472Z 
2021-06-16T14:48:22.9126669Z Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
2021-06-16T14:48:22.9127715Z Stack dump:
2021-06-16T14:48:22.9174473Z 1.	Swift version 5.4 (swift-5.4-RELEASE)
2021-06-16T14:48:22.9175397Z 2.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for module DequeModule)
2021-06-16T14:48:22.9176720Z 3.	While deserializing SIL function "$s11DequeModule0A0VAASERzlE6encode2toys7Encoder_p_tKF"
2021-06-16T14:48:22.9178025Z 4.	While reading from 'DequeModule'
2021-06-16T14:48:22.9179066Z 5.	While finishing conformance for protocol conformance to 'Sequence' (in module 'Swift') for type 'Deque<Element>'

Full logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions