Skip to content

type mismatch for import wasi:http/types@0.2.0 #121

@vdice

Description

@vdice

With the latest/canary version of this plugin and the latest Spin release as of writing (3.2.0), I am seeing the following when I run spin test:

error: failed to compose Spin app, test, and virtualized Spin environment

Caused by:
   0: failed to encode composition
   1: encoding produced a component that failed validation
   2: type mismatch for import `wasi:http/types@0.2.0`
type mismatch in instance export `input-stream`
resource types are not the same (ResourceId { globally_unique_id: 4, contextually_unique_id: 165 } vs. ResourceId { globally_unique_id: 4, contextually_unique_id: 20 }) (at offset 0x6a9698)
make: *** [spin-test] Error 1

Full repro/details: spinframework/spin-fileserver#63

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions