005 vendor unpinned refused

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.kz

Supporting Files

vendored/vaxis/main.zig

Actual compiler output

error[KORU171]: no vendor.lock — vendored source is unpinned, so nothing can detect a change to it. Pin it with `koruc tests/regression/100_MODULE_SYSTEM/130_PACKAGES/130_005_vendor_unpinned_refused/input.kz vendor sync`
  --> tests/regression/100_MODULE_SYSTEM/130_PACKAGES/130_005_vendor_unpinned_refused/input.kz:8:0

Must fail at runtime:

Program must error when executed.

Error output must contain

no vendor.lock — vendored source is unpinned

Flows

flow ~bindings click a branch to expand · @labels scroll to their anchor
bindings (source: koru/vaxis: ./vendored/vaxis)
flow ~main click a branch to expand · @labels scroll to their anchor
main

Test Configuration

MUST_ERROR