Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] build failed with 1.227.1 wasm-tools #243

Open
1 of 9 tasks
Patrick0308 opened this issue Mar 12, 2025 · 2 comments
Open
1 of 9 tasks

[BUG] build failed with 1.227.1 wasm-tools #243

Patrick0308 opened this issue Mar 12, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Patrick0308
Copy link

Affected project(s)

  • documentation
  • examples
  • wasmCloud host
  • wasmCloud CLI (wash)
  • wasmCloud dashboard UI (washboard)
  • capability providers
  • provider bindgen
  • control interface client
  • other / not sure

Describe the bug

while update wasm-tools to 1.227.1 version from 1.220.0 , wash build failed

traffic-collector (main*) » wash build                                                                                                                  ~/projects/traffic-collector 130 ↵ 
# github.com/Patrick0308/traffic-collector
main.go:136:11: query.Query(`INSERT INTO tenant_traffic_usage (tenant_id, timestamp, data_in, data_out, qps, api_qps, version)
                       VALUES (?, ?, ?, ?, ?, ?, ?)`, paramList) (no value) used as value
main.go:286:30: runtime.Get("tenant-mapping") (no value) used as value or type
main.go:296:22: runtime.Get("step") (no value) used as value or type
main.go:304:30: runtime.Get("data-in-metric") (no value) used as value or type
main.go:307:31: runtime.Get("data-out-metric") (no value) used as value or type
main.go:310:30: runtime.Get("api-qps-metric") (no value) used as value or type
main.go:313:27: runtime.Get("qps-metric") (no value) used as value or type
main.go:316:32: runtime.Get("metrics-address") (no value) used as value or type

Compiling component failed: exit status: 1
traffic-collector (main*) » wasm-tools --version                                                                                                          ~/projects/traffic-collector 1 ↵ 
wasm-tools 1.227.1

Steps to reproduce

update wasm-tools to 1.227.1

Expected behavior

build successful

Environment

  • OS: MacOS
  • Shell: zsh
  • wasmcloud Version: v1.6.1

Screenshots / Logs / Additional context

No response

@Patrick0308 Patrick0308 added the bug Something isn't working label Mar 12, 2025
@thomastaylor312
Copy link
Contributor

Thanks for filing this @Patrick0308! So this is actually a known issue (see here). You need to use <=1.225 for now. But what it made me realize is that we should probably add this warning in the main Go docs as well and not just in the examples.

@vados-cosmonic before I go add something to the docs, is this just temporary (as in, should be fixed in the next few weeks) or is it going to be a bit and we should add the warnings to the docs?

@vados-cosmonic
Copy link
Contributor

vados-cosmonic commented Mar 13, 2025

Hey @thomastaylor312 can we move this to wasmcloud/go? Also, absolutely the warning in the postgres example applies here, it's temporary and not yet fixed (another issue seems to have popped up with 227.1.

We need to stay on <= 1.225 for now like you said IMO

I'll make a PR real quick to add that warning for all the go examples

[EDIT] PR is here

@thomastaylor312 thomastaylor312 transferred this issue from wasmCloud/wasmCloud Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants