Source: hcloud-cli
Version: 1.30.3-1
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/logs.php?pkg=hcloud-cli&ver=1.30.3-1%2Bb8

...
# github.com/hetznercloud/cli/internal/hcapi
src/github.com/hetznercloud/cli/internal/hcapi/certificate.go:27:24: cannot use 
cert.ID (variable of type int64) as int value in argument to strconv.Itoa
src/github.com/hetznercloud/cli/internal/hcapi/datacenter.go:27:24: cannot use 
dc.ID (variable of type int64) as int value in argument to strconv.Itoa
src/github.com/hetznercloud/cli/internal/hcapi/firewall.go:27:24: cannot use 
firewall.ID (variable of type int64) as int value in argument to strconv.Itoa
src/github.com/hetznercloud/cli/internal/hcapi/floatingip.go:27:24: cannot use 
fip.ID (variable of type int64) as int value in argument to strconv.Itoa
src/github.com/hetznercloud/cli/internal/hcapi/image.go:27:24: cannot use 
img.ID (variable of type int64) as int value in argument to strconv.Itoa
src/github.com/hetznercloud/cli/internal/hcapi/iso.go:28:24: cannot use iso.ID 
(variable of type int64) as int value in argument to strconv.Itoa
src/github.com/hetznercloud/cli/internal/hcapi/loadbalancer.go:36:24: cannot 
use lb.ID (variable of type int64) as int value in argument to strconv.Itoa
src/github.com/hetznercloud/cli/internal/hcapi/loadbalancer.go:57:23: cannot 
use lb.ID (variable of type int64) as int value in argument to strconv.Itoa
src/github.com/hetznercloud/cli/internal/hcapi/loadbalancer.go:98:13: cannot 
use lb.ID (variable of type int64) as int value in map index
src/github.com/hetznercloud/cli/internal/hcapi/location.go:27:24: cannot use 
loc.ID (variable of type int64) as int value in argument to strconv.Itoa
src/github.com/hetznercloud/cli/internal/hcapi/location.go:27:24: too many 
errors
# github.com/hetznercloud/cli/internal/cmd/util
src/github.com/hetznercloud/cli/internal/cmd/util/util.go:212:25: cannot use 
hcloud.Int(image.BoundTo.ID) (value of type *int) as *int64 value in assignment
src/github.com/hetznercloud/cli/internal/cmd/util/util.go:212:36: cannot use 
image.BoundTo.ID (variable of type int64) as int value in argument to hcloud.Int
# github.com/hetznercloud/cli/internal/hcapi2
src/github.com/hetznercloud/cli/internal/hcapi2/certificate.go:37:24: cannot 
use dc.ID (variable of type int64) as int value in argument to strconv.Itoa
src/github.com/hetznercloud/cli/internal/hcapi2/client.go:63:46: cannot use 
&c.client.Certificate (value of type *hcloud.CertificateClient) as 
CertificateClientBase value in argument to NewCertificateClient: 
*hcloud.CertificateClient does not implement CertificateClientBase (wrong type 
for method GetByID)
                have GetByID(context.Context, int64) (*hcloud.Certificate, 
*hcloud.Response, error)
                want GetByID(context.Context, int) (*hcloud.Certificate, 
*hcloud.Response, error)
src/github.com/hetznercloud/cli/internal/hcapi2/client.go:72:44: cannot use 
&c.client.Datacenter (value of type *hcloud.DatacenterClient) as 
DatacenterClientBase value in argument to NewDatacenterClient: 
*hcloud.DatacenterClient does not implement DatacenterClientBase (wrong type 
for method GetByID)
                have GetByID(context.Context, int64) (*hcloud.Datacenter, 
*hcloud.Response, error)
                want GetByID(context.Context, int) (*hcloud.Datacenter, 
*hcloud.Response, error)
src/github.com/hetznercloud/cli/internal/hcapi2/client.go:81:40: cannot use 
&c.client.Firewall (value of type *hcloud.FirewallClient) as FirewallClientBase 
value in argument to NewFirewallClient: *hcloud.FirewallClient does not 
implement FirewallClientBase (wrong type for method GetByID)
                have GetByID(context.Context, int64) (*hcloud.Firewall, 
*hcloud.Response, error)
                want GetByID(context.Context, int) (*hcloud.Firewall, 
*hcloud.Response, error)
src/github.com/hetznercloud/cli/internal/hcapi2/client.go:90:44: cannot use 
&c.client.FloatingIP (value of type *hcloud.FloatingIPClient) as 
FloatingIPClientBase value in argument to NewFloatingIPClient: 
*hcloud.FloatingIPClient does not implement FloatingIPClientBase (wrong type 
for method GetByID)
                have GetByID(context.Context, int64) (*hcloud.FloatingIP, 
*hcloud.Response, error)
                want GetByID(context.Context, int) (*hcloud.FloatingIP, 
*hcloud.Response, error)
src/github.com/hetznercloud/cli/internal/hcapi2/client.go:99:42: cannot use 
&c.client.PrimaryIP (value of type *hcloud.PrimaryIPClient) as 
PrimaryIPClientBase value in argument to NewPrimaryIPClient: 
*hcloud.PrimaryIPClient does not implement PrimaryIPClientBase (wrong type for 
method GetByID)
                have GetByID(context.Context, int64) (*hcloud.PrimaryIP, 
*hcloud.Response, error)
                want GetByID(context.Context, int) (*hcloud.PrimaryIP, 
*hcloud.Response, error)
src/github.com/hetznercloud/cli/internal/hcapi2/client.go:108:34: cannot use 
&c.client.Image (value of type *hcloud.ImageClient) as ImageClientBase value in 
argument to NewImageClient: *hcloud.ImageClient does not implement 
ImageClientBase (wrong type for method GetByID)
                have GetByID(context.Context, int64) (*hcloud.Image, 
*hcloud.Response, error)
                want GetByID(context.Context, int) (*hcloud.Image, 
*hcloud.Response, error)
src/github.com/hetznercloud/cli/internal/hcapi2/client.go:117:30: cannot use 
&c.client.ISO (value of type *hcloud.ISOClient) as ISOClientBase value in 
argument to NewISOClient: *hcloud.ISOClient does not implement ISOClientBase 
(wrong type for method GetByID)
                have GetByID(context.Context, int64) (*hcloud.ISO, 
*hcloud.Response, error)
                want GetByID(context.Context, int) (*hcloud.ISO, 
*hcloud.Response, error)
src/github.com/hetznercloud/cli/internal/hcapi2/client.go:126:40: cannot use 
&c.client.Location (value of type *hcloud.LocationClient) as LocationClientBase 
value in argument to NewLocationClient: *hcloud.LocationClient does not 
implement LocationClientBase (wrong type for method GetByID)
                have GetByID(context.Context, int64) (*hcloud.Location, 
*hcloud.Response, error)
                want GetByID(context.Context, int) (*hcloud.Location, 
*hcloud.Response, error)
src/github.com/hetznercloud/cli/internal/hcapi2/client.go:135:48: cannot use 
&c.client.LoadBalancer (value of type *hcloud.LoadBalancerClient) as 
LoadBalancerClientBase value in argument to NewLoadBalancerClient: 
*hcloud.LoadBalancerClient does not implement LoadBalancerClientBase (wrong 
type for method GetByID)
                have GetByID(context.Context, int64) (*hcloud.LoadBalancer, 
*hcloud.Response, error)
                want GetByID(context.Context, int) (*hcloud.LoadBalancer, 
*hcloud.Response, error)
src/github.com/hetznercloud/cli/internal/hcapi2/client.go:135:48: too many 
errors
dh_auto_build: error: cd obj-aarch64-linux-gnu && go install -trimpath -v -p 4 
github.com/hetznercloud/cli/cmd/hcloud github.com/hetznercloud/cli/internal/cli 
github.com/hetznercloud/cli/internal/cmd/base 
github.com/hetznercloud/cli/internal/cmd/certificate 
github.com/hetznercloud/cli/internal/cmd/cmpl 
github.com/hetznercloud/cli/internal/cmd/completion 
github.com/hetznercloud/cli/internal/cmd/context 
github.com/hetznercloud/cli/internal/cmd/datacenter 
github.com/hetznercloud/cli/internal/cmd/firewall 
github.com/hetznercloud/cli/internal/cmd/floatingip 
github.com/hetznercloud/cli/internal/cmd/image 
github.com/hetznercloud/cli/internal/cmd/iso 
github.com/hetznercloud/cli/internal/cmd/loadbalancer 
github.com/hetznercloud/cli/internal/cmd/loadbalancertype 
github.com/hetznercloud/cli/internal/cmd/location 
github.com/hetznercloud/cli/internal/cmd/network 
github.com/hetznercloud/cli/internal/cmd/output 
github.com/hetznercloud/cli/internal/cmd/placementgroup 
github.com/hetznercloud/cli/internal/cmd/primaryip 
github.com/hetznercloud/cli/internal/cmd/server 
github.com/hetznercloud/cli/internal/cmd/servertype 
github.com/hetznercloud/cli/internal/cmd/sshkey 
github.com/hetznercloud/cli/internal/cmd/util 
github.com/hetznercloud/cli/internal/cmd/version 
github.com/hetznercloud/cli/internal/cmd/volume 
github.com/hetznercloud/cli/internal/hcapi 
github.com/hetznercloud/cli/internal/hcapi2 
github.com/hetznercloud/cli/internal/state 
github.com/hetznercloud/cli/internal/testutil 
github.com/hetznercloud/cli/internal/version returned exit code 1
make: *** [debian/rules:7: binary-arch] Error 25

Reply via email to