Skip to content

Bump github.com/onflow/cadence from 0.40.0 to 0.42.4 #794

Bump github.com/onflow/cadence from 0.40.0 to 0.42.4

Bump github.com/onflow/cadence from 0.40.0 to 0.42.4 #794

Triggered via pull request November 9, 2023 06:51
Status Failure
Total duration 2m 14s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
Lint
cannot use env (variable of type *environment.facadeEnvironment) as "github.com/onflow/flow-go/fvm/runtime".Environment value in argument to b.vmCtx.Borrow: *environment.facadeEnvironment does not implement "github.com/onflow/flow-go/fvm/runtime".Environment (missing method ReadRandom)
Lint
cannot use &(facadeEnvironment literal) (value of type *facadeEnvironment) as Environment value in variable declaration: *facadeEnvironment does not implement Environment (missing method ReadRandom)
Lint
cannot use env (variable of type *facadeEnvironment) as Environment value in argument to env.Runtime.SetEnvironment: *facadeEnvironment does not implement Environment (missing method ReadRandom)
Lint
cannot use env (variable of type *facadeEnvironment) as Environment value in argument to NewAccountKeyUpdater: *facadeEnvironment does not implement Environment (missing method ReadRandom)
Lint
cannot use env (variable of type *environment.facadeEnvironment) as environment.Environment value in argument to GetExecutionEffortWeights: *environment.facadeEnvironment does not implement environment.Environment (missing method ReadRandom)
Lint
cannot use env (variable of type *environment.facadeEnvironment) as environment.Environment value in argument to GetExecutionMemoryWeights: *environment.facadeEnvironment does not implement environment.Environment (missing method ReadRandom)
Lint
cannot use env (variable of type *environment.facadeEnvironment) as environment.Environment value in argument to GetExecutionMemoryLimit: *environment.facadeEnvironment does not implement environment.Environment (missing method ReadRandom)
Lint
cannot use environment.NewScriptEnv(proc.RequestContext, ctx.TracerSpan, ctx.EnvironmentParams, txnState) (value of type *environment.facadeEnvironment) as environment.Environment value in struct literal: *environment.facadeEnvironment does not implement environment.Environment (missing method ReadRandom)
Lint
cannot use env (variable of type *environment.facadeEnvironment) as environment.Environment value in struct literal: *environment.facadeEnvironment does not implement environment.Environment (missing method ReadRandom)
Lint
Process completed with exit code 2.
Test
cannot use env (variable of type *environment.facadeEnvironment) as environment.Environment value in argument to GetExecutionEffortWeights: *environment.facadeEnvironment does not implement environment.Environment (missing method ReadRandom)
Test
cannot use env (variable of type *environment.facadeEnvironment) as environment.Environment value in argument to GetExecutionMemoryWeights: *environment.facadeEnvironment does not implement environment.Environment (missing method ReadRandom)
Test
cannot use env (variable of type *environment.facadeEnvironment) as environment.Environment value in argument to GetExecutionMemoryLimit: *environment.facadeEnvironment does not implement environment.Environment (missing method ReadRandom)
Test
cannot use environment.NewScriptEnv(proc.RequestContext, ctx.TracerSpan, ctx.EnvironmentParams, txnState) (value of type *environment.facadeEnvironment) as environment.Environment value in struct literal: *environment.facadeEnvironment does not implement environment.Environment (missing method ReadRandom)
Test
cannot use env (variable of type *environment.facadeEnvironment) as environment.Environment value in struct literal: *environment.facadeEnvironment does not implement environment.Environment (missing method ReadRandom)
Test
cannot use env (variable of type *environment.facadeEnvironment) as "github.com/onflow/flow-go/fvm/runtime".Environment value in argument to b.vmCtx.Borrow: *environment.facadeEnvironment does not implement "github.com/onflow/flow-go/fvm/runtime".Environment (missing method ReadRandom)
Test
cannot use &(facadeEnvironment literal) (value of type *facadeEnvironment) as Environment value in variable declaration: *facadeEnvironment does not implement Environment (missing method ReadRandom)
Test
cannot use env (variable of type *facadeEnvironment) as Environment value in argument to env.Runtime.SetEnvironment: *facadeEnvironment does not implement Environment (missing method ReadRandom)
Test
cannot use env (variable of type *facadeEnvironment) as Environment value in argument to NewAccountKeyUpdater: *facadeEnvironment does not implement Environment (missing method ReadRandom)
Test
Process completed with exit code 2.
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/flow-playground-api/flow-playground-api. Supported file pattern: go.sum