this derivation will be built: /nix/store/ms5kn595ax4wda5zad56yp3bmifayai7-data-mesher-0.1.0.drv error: Cannot build '/nix/store/ms5kn595ax4wda5zad56yp3bmifayai7-data-mesher-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/dvrrhq3jhnigzqcjx8hpxbyh2z1kylwp-data-mesher-0.1.0 Last 25 log lines: > w := &SignatureWriter{ > ^ > pkg/model/signature.go:268:8: model.SignatureWriter is missing fields size, hash, hasher (exhaustruct_v5) > w := &SignatureWriter{ > ^ > pkg/msgpack/codec.go:13:15: codec.MsgpackHandle is missing fields BasicHandle, NoFixedNum, PositiveIntUnsigned (exhaustruct_v5) > var handle = &codec.MsgpackHandle{ > ^ > pkg/server/server.go:34:10: server.Server is missing fields files, http, cluster, cancelTasks (exhaustruct_v5) > srv := &Server{ > ^ > pkg/state/signatures.go:57:10: state.signatureReader is missing fields cursor, cursorStarted, networkIdx (exhaustruct_v5) > return &signatureReader{ > ^ > pkg/cluster/state_exchange.go:68:2: G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec) > rand.Shuffle(len(peers), func(i, j int) { > peers[i], peers[j] = peers[j], peers[i] > }) > pkg/model/signature.go:16:25: directive `//nolint:recvcheck` is unused for linter "recvcheck" (nolintlint) > type SignatureType byte //nolint:recvcheck > ^ > 52 issues: > * exhaustruct_v5: 50 > * gosec: 1 > * nolintlint: 1 For full logs, run: nix log /nix/store/ms5kn595ax4wda5zad56yp3bmifayai7-data-mesher-0.1.0.drv