Skip to content

[WIP] Compiler+VM POC #10383

[WIP] Compiler+VM POC

[WIP] Compiler+VM POC #10383

Triggered via pull request November 1, 2024 16:06
Status Failure
Total duration 7m 47s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
Lint: bbq/vm/callframe.go#L55
assignOp: replace `f.ip = f.ip + strLen` with `f.ip += strLen` (gocritic)
Lint: bbq/vm/value_capability.go#L179
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
Lint: bbq/vm/vm.go#L460
assignOp: replace `callframe.ip = callframe.ip + locationLen` with `callframe.ip += locationLen` (gocritic)
Lint: bbq/vm/value_utils.go#L23
const `goIntSize` is unused (unused)
Lint: bbq/vm/value_utils.go#L24
const `goMaxInt` is unused (unused)
Lint: bbq/vm/value_utils.go#L25
const `goMinInt` is unused (unused)
Lint: bbq/vm/value_utils.go#L27
func `safeAdd` is unused (unused)
Lint: bbq/vm/vm.go#L143
S1001: should use copy(to, from) instead of a loop (gosimple)
Lint: bbq/compiler/compiler.go#L415
S1001: should use copy(to, from) instead of a loop (gosimple)
Lint: bbq/vm/test/ft_test.go#L143
composites: github.com/onflow/cadence/bbq/vm.IntValue struct literal uses unkeyed fields (govet)
Semgrep
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint JSON
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint JSON
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/