Skip to content

cgen: fix shared array slice #4070

cgen: fix shared array slice

cgen: fix shared array slice #4070

Triggered via pull request January 10, 2025 19:41
Status Failure
Total duration 17m 36s
Artifacts

docker_ci.yml

on: pull_request
docker-alpine-musl-gcc
5m 4s
docker-alpine-musl-gcc
docker-ubuntu-musl
17m 21s
docker-ubuntu-musl
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 4 warnings
docker-alpine-musl-gcc: vlib/v/checker/tests/shared_element_lock.vv#L36
`pr.pe` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
docker-alpine-musl-gcc: vlib/v/checker/tests/shared_element_lock.vv#L42
`g` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
docker-alpine-musl-gcc: vlib/v/checker/tests/shared_element_lock.vv#L44
you have to create a handle and `lock` it to modify `shared` array element
docker-alpine-musl-gcc: vlib/v/checker/tests/shared_element_lock.vv#L45
you have to create a handle and `rlock` it to use a `shared` element as non-mut argument to print
docker-alpine-musl-gcc: vlib/v/checker/tests/shared_element_lock.vv#L36
`pr.pe` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
docker-alpine-musl-gcc: vlib/v/checker/tests/shared_element_lock.vv#L42
`g` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
docker-alpine-musl-gcc: vlib/v/checker/tests/shared_element_lock.vv#L44
you have to create a handle and `lock` it to modify `shared` array element
docker-alpine-musl-gcc
you have to create a handle and `rlock` it to use a `shared` element as non-mut argument to print
docker-alpine-musl-gcc
Process completed with exit code 1.
docker-ubuntu-musl: vlib/v/checker/tests/shared_element_lock.vv#L36
`pr.pe` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
docker-ubuntu-musl: vlib/v/checker/tests/shared_element_lock.vv#L42
`g` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
docker-ubuntu-musl: vlib/v/checker/tests/shared_element_lock.vv#L44
you have to create a handle and `lock` it to modify `shared` array element
docker-ubuntu-musl: vlib/v/checker/tests/shared_element_lock.vv#L45
you have to create a handle and `rlock` it to use a `shared` element as non-mut argument to print
docker-ubuntu-musl: vlib/v/checker/tests/shared_element_lock.vv#L36
`pr.pe` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
docker-ubuntu-musl: vlib/v/checker/tests/shared_element_lock.vv#L42
`g` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
docker-ubuntu-musl: vlib/v/checker/tests/shared_element_lock.vv#L44
you have to create a handle and `lock` it to modify `shared` array element
docker-ubuntu-musl
you have to create a handle and `rlock` it to use a `shared` element as non-mut argument to print
docker-ubuntu-musl
Process completed with exit code 1.
docker-alpine-musl-gcc: vlib/v/checker/tests/shared_element_lock.vv#L43
arrays of references need to be initialized right away, therefore `len:` cannot be used (unless inside `unsafe`, or if you also use `init:`)
docker-alpine-musl-gcc: vlib/v/checker/tests/shared_element_lock.vv#L43
arrays of references need to be initialized right away, therefore `len:` cannot be used (unless inside `unsafe`, or if you also use `init:`)
docker-ubuntu-musl: vlib/v/checker/tests/shared_element_lock.vv#L43
arrays of references need to be initialized right away, therefore `len:` cannot be used (unless inside `unsafe`, or if you also use `init:`)
docker-ubuntu-musl: vlib/v/checker/tests/shared_element_lock.vv#L43
arrays of references need to be initialized right away, therefore `len:` cannot be used (unless inside `unsafe`, or if you also use `init:`)