Skip to content

warning(module): unexpected EOF reading cached ZIR when running test-cases multi-threaded #11871

Description

@andrewrk

Now that zig build test-cases runs the cases multi-threaded, it exposed a bug. This manifested as a CI failure on 27610b0 which is unrelated to the actual changes.

====== expected this output: =========
␃

======== instead found this: =========
warning(module): unexpected EOF reading cached ZIR for Thread/Condition.zig
␃

======================================
====== expected this output: =========
␃

======== instead found this: =========
warning(module): unexpected EOF reading cached ZIR for math/modf.zig
warning(module): unexpected EOF reading cached ZIR for math/isnormal.zig
␃

======================================
safety/switch on corrupted union value (stage1, native) failed: TestExpectedEqual
safety/unsigned-signed vector cast (stage1, native) failed: TestExpectedEqual
2 tests failed

Let's inspect the pipeline with regards to AstGen and caching and look for any possibility of this error occurring.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions