Skip to content

perf: more elegant solution to mem dump using unsafe and generics #686

perf: more elegant solution to mem dump using unsafe and generics

perf: more elegant solution to mem dump using unsafe and generics #686

Triggered via pull request May 3, 2024 01:38
Status Failure
Total duration 1m 55s
Billable time 2m
Artifacts

pr.yml

on: pull_request
post workflow status to slack
3s
post workflow status to slack
post workflow status to slack
0s
post workflow status to slack
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 3 warnings
test: kzg/kzg.go#L40
cannot use &kzg_bn254.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bn254/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bn254/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
test: kzg/kzg.go#L42
cannot use &kzg_bls12377.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bls12-377/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bls12-377/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
test: kzg/kzg.go#L44
cannot use &kzg_bls12378.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bls12-378/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bls12-378/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
test: kzg/kzg.go#L46
cannot use &kzg_bls12381.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bls12-381/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bls12-381/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
test: kzg/kzg.go#L48
cannot use &kzg_bls24315.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bls24-315/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bls24-315/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
test: kzg/kzg.go#L50
cannot use &kzg_bls24317.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bls24-317/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bls24-317/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
test: kzg/kzg.go#L52
cannot use &kzg_bw6761.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bw6-761/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bw6-761/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
test: kzg/kzg.go#L54
cannot use &kzg_bw6633.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bw6-633/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bw6-633/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
test: kzg/kzg.go#L56
cannot use &kzg_bw6756.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bw6-756/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bw6-756/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
test
Process completed with exit code 1.
staticcheck: kzg/kzg.go#L1
: # github.com/consensys/gnark-crypto/kzg
staticcheck: kzg/kzg.go#L40
cannot use &kzg_bn254.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bn254/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bn254/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
staticcheck: kzg/kzg.go#L42
cannot use &kzg_bls12377.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bls12-377/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bls12-377/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
staticcheck: kzg/kzg.go#L44
cannot use &kzg_bls12378.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bls12-378/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bls12-378/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
staticcheck: kzg/kzg.go#L46
cannot use &kzg_bls12381.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bls12-381/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bls12-381/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
staticcheck: kzg/kzg.go#L48
cannot use &kzg_bls24315.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bls24-315/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bls24-315/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
staticcheck: kzg/kzg.go#L50
cannot use &kzg_bls24317.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bls24-317/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bls24-317/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
staticcheck: kzg/kzg.go#L52
cannot use &kzg_bw6761.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bw6-761/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bw6-761/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
staticcheck: kzg/kzg.go#L54
cannot use &kzg_bw6633.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bw6-633/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bw6-633/kzg".SRS does not implement SRS (missing method UnsafeFromBytes)
staticcheck: kzg/kzg.go#L56
cannot use &kzg_bw6756.SRS{} (value of type *"github.com/consensys/gnark-crypto/ecc/bw6-756/kzg".SRS) as SRS value in return statement: *"github.com/consensys/gnark-crypto/ecc/bw6-756/kzg".SRS does not implement SRS (missing method UnsafeFromBytes) (typecheck)
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
staticcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
post workflow status to slack
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: slackapi/slack-github-action@v1.24.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.