-
Notifications
You must be signed in to change notification settings - Fork 289
Closed
Description
- Spin version (
spin --version): spin 3.0.0 (737778e 2024-11-07) - Installed plugin versions (
spin plugins list --installed):
squillace@idiopath:~/work/sample-wasi-http-rust$ spin plugins list --installed
cloud 0.5.1 [installed]
js2wasm 0.6.1 [installed]
k8s 0.1.0 [installed]
kube 0.3.1 [installed]
otel 0.1.2 [installed]
py2wasm 0.3.2 [installed]
When I build and run https://github.com/yoshuawuyts/sample-wasi-http-rust it runs fine with wasmtime 29.0.1, but the command spin up -f <path to same component/> results in the following error:
spin up -f target/wasm32-wasip1/debug/rust_wasi_hello.wasm
- Error: Expected component to export one of
wasi:http/[email protected],wasi:http/[email protected],wasi:http/[email protected],wasi:http/[email protected], orfermyon:spin/inbound-httpbut it exported none of those
While this is literally true -- the newer module from cargo component build is based on exporting inbound-httpv0.2.3 which is not in the supported list in that build of Spin -- it's a tad technical. I'm thinking we might want to have an additional suggestion, something like: This often happens when the version of exports the module offers is newer than those supported in your version of Spin. Upgrading Spin might solve the problem.
lann and radu-matei
Metadata
Metadata
Assignees
Labels
No labels