Cannot build the chirpstack-network-server

I got the latest project code and reported an error when compiling:

internal/api/network_server.go:1063:5: cannot use fl.UplinkFrame (type *gw.UplinkFrameSet) as type *ns.UplinkFrameLog in field value

internal/api/network_server.go:1069:5: cannot use fl.DownlinkFrame (type *gw.DownlinkFrame) as type *ns.DownlinkFrameLog in field value

internal/api/network_server.go:1100:5: cannot use fl.UplinkFrame (type *gw.UplinkFrameSet) as type *ns.UplinkFrameLog in field value

internal/api/network_server.go:1106:5: cannot use fl.DownlinkFrame (type *gw.DownlinkFrame) as type *ns.DownlinkFrameLog in field value

note: module requires Go 1.14

github.com/brocaar/chirpstack-network-server/internal/api

vet: internal/api/network_server.go:1100:21: cannot use fl.UplinkFrame (variable of type *gw.UplinkFrameSet) as *ns.UplinkFrameLog value in struct literal

A lot of information is missing.

  • “latest project code” is relative :wink: A Git commit hash it better.
  • What commands are you using to compile?
  • Are you using the provided Docker Compose environment?
  • Have you made modifications?