Skip to content

Fails to decode 0.3 components #167

@ricochet

Description

@ricochet

Fails to parse 0.3 components.

# build works
wkg wit build -o "wasi-clocks-0.3.0.wasm" --wit-dir wit-0.3.0-draft

# publish fails
wkg oci push ghcr.io/webassembly/wasi/clocks-0.3.0:0.3.0-rc-2025-08-15 wasi-clocks-0.3.0.wasm --annotation 'org.opencontainers.image.description=A WASI API for reading the current time and measuring elapsed time (0.3.0 version).' --annotation org.opencontainers.image.source=https://github.com/webassembly/wasi --annotation org.opencontainers.image.url=https://wasi.dev --annotation org.opencontainers.image.version=0.3.0-rc-2025-08-15 --annotation 'org.opencontainers.image.licenses=Apache-2.0 WITH LLVM-exception'
Error: Unable to parse component

Caused by:
    0: failed to decode WIT component
    1: export name `[async]wait-until` is not a valid extern name
       `[async]wait-until` is not in kebab case (at offset 0xc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions