Skip to content

cgen: fix shared array slice #8879

cgen: fix shared array slice

cgen: fix shared array slice #8879

Triggered via pull request January 10, 2025 19:41
Status Cancelled
Total duration 19m 54s
Artifacts

sanitized_ci.yml

on: pull_request
tests-sanitize-undefined-clang
18m 26s
tests-sanitize-undefined-clang
tests-sanitize-undefined-gcc
18m 22s
tests-sanitize-undefined-gcc
tests-sanitize-address-clang
18m 42s
tests-sanitize-address-clang
tests-sanitize-address-msvc
4m 28s
tests-sanitize-address-msvc
tests-sanitize-address-gcc
18m 35s
tests-sanitize-address-gcc
tests-sanitize-memory-clang
18m 32s
tests-sanitize-memory-clang
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 2 warnings
tests-sanitize-address-gcc
Canceling since a higher priority waiting request for 'Sanitized CI-refs/pull/23427/merge' exists
tests-sanitize-address-gcc
The operation was canceled.
tests-sanitize-undefined-clang
Canceling since a higher priority waiting request for 'Sanitized CI-refs/pull/23427/merge' exists
tests-sanitize-undefined-clang
The operation was canceled.
tests-sanitize-memory-clang
Canceling since a higher priority waiting request for 'Sanitized CI-refs/pull/23427/merge' exists
tests-sanitize-memory-clang
The operation was canceled.
tests-sanitize-address-clang
Canceling since a higher priority waiting request for 'Sanitized CI-refs/pull/23427/merge' exists
tests-sanitize-address-clang: vlib/v/checker/tests/shared_element_lock.vv#L36
`pr.pe` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
tests-sanitize-address-clang: vlib/v/checker/tests/shared_element_lock.vv#L42
`g` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
tests-sanitize-address-clang: vlib/v/checker/tests/shared_element_lock.vv#L44
you have to create a handle and `lock` it to modify `shared` array element
tests-sanitize-address-clang: 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
tests-sanitize-address-clang: vlib/v/checker/tests/shared_element_lock.vv#L36
`pr.pe` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
tests-sanitize-address-clang: vlib/v/checker/tests/shared_element_lock.vv#L42
`g` is `shared` and needs explicit lock for `v.ast.SelectorExpr`
tests-sanitize-address-clang: vlib/v/checker/tests/shared_element_lock.vv#L44
you have to create a handle and `lock` it to modify `shared` array element
tests-sanitize-address-clang
you have to create a handle and `rlock` it to use a `shared` element as non-mut argument to print
tests-sanitize-address-clang
The operation was canceled.
tests-sanitize-undefined-gcc
Canceling since a higher priority waiting request for 'Sanitized CI-refs/pull/23427/merge' exists
tests-sanitize-undefined-gcc
The operation was canceled.
tests-sanitize-address-clang: 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:`)
tests-sanitize-address-clang: 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:`)