You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gVisor has changed its API, and the program doesn't build anymore:
ubuntu@server:~/wirez$ go build
package github.com/v-byte-cpu/wirez
imports github.com/v-byte-cpu/wirez/command
imports github.com/v-byte-cpu/wirez/pkg/connect
imports gvisor.dev/gvisor/pkg/tcpip
imports gvisor.dev/gvisor/pkg/atomicbitops
imports gvisor.dev/gvisor/pkg/cpuid
imports gvisor.dev/gvisor/pkg/state
imports gvisor.dev/gvisor/pkg/state/wire
imports gvisor.dev/gvisor/pkg/gohacks: build constraints exclude all Go files in /home/ubuntu/go/pkg/mod/gvisor.dev/[email protected]/pkg/gohacks
Used go version: go version go1.22.0 linux/arm64
Attempting to fix it by upgrading gVisor also does not work:
ubuntu@server:~/wirez$ GO111MODULE=on go get gvisor.dev/gvisor@go
go: added gvisor.dev/gvisor v0.0.0-20240301005136-96d748d5c7c5
ubuntu@server:~/wirez$ go build
# github.com/v-byte-cpu/wirez/pkg/connect
pkg/connect/network_stack.go:96:47: cannot convert ipNet.IP (variable of type net.IP) to type tcpip.Address
pkg/connect/network_stack.go:96:76: cannot convert ipNet.Mask (variable of type net.IPMask) to type tcpip.AddressMask
pkg/connect/network_stack.go:148:57: too many arguments in call to gonet.NewUDPConn
have (*stack.Stack, *waiter.Queue, tcpip.Endpoint)
want (*waiter.Queue, tcpip.Endpoint)
The text was updated successfully, but these errors were encountered:
gVisor has changed its API, and the program doesn't build anymore:
Used go version: go version go1.22.0 linux/arm64
Attempting to fix it by upgrading gVisor also does not work:
The text was updated successfully, but these errors were encountered: