Skip to content

fix api

fix api #6006

Triggered via push August 10, 2023 14:30
Status Failure
Total duration 3m 19s
Artifacts

go-check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
All
cannot use n (variable of type *peernet) as network.Network value in assignment: *peernet does not implement network.Network (missing method CanDial)
All: p2p/net/mock/mock_link.go#L51
cannot use n (variable of type *peernet) as network.Network value in assignment: *peernet does not implement network.Network (missing method CanDial)
All: p2p/net/mock/mock_net.go#L147
cannot use n (variable of type *peernet) as network.Network value in argument to bhost.NewHost: *peernet does not implement network.Network (missing method CanDial)
All: p2p/net/mock/mock_net.go#L212
cannot use n (variable of type *peernet) as network.Network value in return statement: *peernet does not implement network.Network (missing method CanDial)
All: p2p/net/mock/mock_net.go#L234
cannot use n (variable of type *peernet) as network.Network value in argument to append: *peernet does not implement network.Network (missing method CanDial)
All: p2p/net/mock/mock_net.go#L287
cannot use n1 (variable of type *peernet) as network.Network value in argument to mn.LinkNets: *peernet does not implement network.Network (missing method CanDial)
All: p2p/net/mock/mock_net.go#L287
cannot use n2 (variable of type *peernet) as network.Network value in argument to mn.LinkNets: *peernet does not implement network.Network (missing method CanDial)
All: p2p/net/mock/mock_net.go#L293
impossible type assertion: n.(*peernet)
All: p2p/net/mock/mock_peernet.go#L243
cannot use pn (variable of type *peernet) as network.Network value in argument to n.Connected: *peernet does not implement network.Network (missing method CanDial)
All: p2p/net/mock/mock_peernet.go#L274
cannot use c.net (variable of type *peernet) as network.Network value in argument to n.Disconnected: *peernet does not implement network.Network (missing method CanDial)