Skip to content

feat(gnovm)!: store refactor #6978

feat(gnovm)!: store refactor

feat(gnovm)!: store refactor #6978

Triggered via pull request August 2, 2024 17:06
Status Failure
Total duration 58s
Artifacts

gnovm.yml

on: pull_request
Run Main  /  ...  /  lint
38s
Run Main / Go Linter / lint
Run Main  /  ...  /  generated
24s
Run Main / Go Build / generated
Run Main  /  ...  /  test
38s
Run Main / Go Test / test
Run Gno Fmt  /  fmt
33s
Run Gno Fmt / fmt
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 4 warnings
Run Gno Fmt / fmt: gnovm/pkg/gnolang/store2.go#L314
cannot use (*objectStoreCache)(nil) (value of type *objectStoreCache) as ObjectStore value in variable declaration: *objectStoreCache does not implement ObjectStore (missing method DelObject)
Run Gno Fmt / fmt: gnovm/pkg/gnolang/op_call.go#L221
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Gno Fmt / fmt: gnovm/pkg/gnolang/op_exec.go#L358
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Gno Fmt / fmt: gnovm/pkg/gnolang/op_exec.go#L371
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Gno Fmt / fmt: gnovm/pkg/gnolang/op_expressions.go#L644
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to mv.GetPointerForKey: Store does not implement ObjectTypeStore (missing method HasType)
Run Gno Fmt / fmt: gnovm/pkg/gnolang/store.go#L506
cannot use ds (variable of type *defaultStore) as ObjectTypeStore value in argument to fillTypesOfValue: *defaultStore does not implement ObjectTypeStore (missing method HasType)
Run Gno Fmt / fmt: gnovm/pkg/gnolang/store.go#L617
cannot use ds (variable of type *defaultStore) as TypeStore value in argument to fillType: *defaultStore does not implement TypeStore (missing method HasType)
Run Gno Fmt / fmt: gnovm/pkg/gnolang/values.go#L363
cannot use store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Gno Fmt / fmt: gnovm/pkg/gnolang/values.go#L470
cannot use store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Test / test
cannot use (*objectStoreCache)(nil) (value of type *objectStoreCache) as ObjectStore value in variable declaration: *objectStoreCache does not implement ObjectStore (missing method DelObject)
Run Main / Go Test / test
missing return
Run Main / Go Test / test
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Test / test
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Test / test
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Test / test
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to mv.GetPointerForKey: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Test / test
cannot use ds (variable of type *defaultStore) as ObjectTypeStore value in argument to fillTypesOfValue: *defaultStore does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Test / test
cannot use ds (variable of type *defaultStore) as TypeStore value in argument to fillType: *defaultStore does not implement TypeStore (missing method HasType)
Run Main / Go Test / test
cannot use store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Test / test
cannot use store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Linter / lint: gnovm/cmd/gno/lint.go#L16
could not import github.com/gnolang/gno/gnovm/pkg/gnolang (-: # github.com/gnolang/gno/gnovm/pkg/gnolang
Run Main / Go Linter / lint
cannot use (*objectStoreCache)(nil) (value of type *objectStoreCache) as ObjectStore value in variable declaration: *objectStoreCache does not implement ObjectStore (missing method DelObject)
Run Main / Go Linter / lint
missing return
Run Main / Go Linter / lint
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Linter / lint
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Linter / lint
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Linter / lint
cannot use m.Store (variable of type Store) as ObjectTypeStore value in argument to mv.GetPointerForKey: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Linter / lint
cannot use ds (variable of type *defaultStore) as ObjectTypeStore value in argument to fillTypesOfValue: *defaultStore does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Linter / lint
cannot use ds (variable of type *defaultStore) as TypeStore value in argument to fillType: *defaultStore does not implement TypeStore (missing method HasType)
Run Main / Go Linter / lint
cannot use store (variable of type Store) as ObjectTypeStore value in argument to fillValueTV: Store does not implement ObjectTypeStore (missing method HasType)
Run Main / Go Build / generated
Restore cache failed: Dependencies file is not found in /home/runner/work/gno/gno. Supported file pattern: go.sum
Run Gno Fmt / fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/gno/gno. Supported file pattern: go.sum
Run Main / Go Test / test
Restore cache failed: Dependencies file is not found in /home/runner/work/gno/gno. Supported file pattern: go.sum
Run Main / Go Linter / lint
Restore cache failed: Dependencies file is not found in /home/runner/work/gno/gno. Supported file pattern: go.sum