Refactor 2 #538
Triggered via pull request
June 9, 2025 09:49
coderabbitai[bot]
edited
#15
Status
Failure
Total duration
58s
Artifacts
–
build-and-test.yml
on: pull_request_target
test-build
39s
run-tests
49s
Annotations
14 errors and 2 warnings
|
test-build:
lib/cache/CacheEntry.go#L46
cannot use parsed (variable of type *"github.com/golang-module/carbon/v2".Carbon) as "github.com/golang-module/carbon/v2".Carbon value in assignment
|
|
test-build:
lib/cache/CacheEntry.go#L52
cannot use parsed (variable of type *"github.com/golang-module/carbon/v2".Carbon) as "github.com/golang-module/carbon/v2".Carbon value in assignment
|
|
test-build:
lib/cache/cache.go#L69
cannot use &result (value of type **"github.com/golang-module/carbon/v2".Carbon) as *"github.com/golang-module/carbon/v2".Carbon value in return statement
|
|
test-build:
lib/cache/cache.go#L75
cannot use &result (value of type **"github.com/dromara/carbon/v2".Carbon) as *"github.com/golang-module/carbon/v2".Carbon value in return statement
|
|
test-build:
lib/cache/cache.go#L103
cannot use *updatedAt (variable of struct type "github.com/golang-module/carbon/v2".Carbon) as *"github.com/golang-module/carbon/v2".Carbon value in assignment
|
|
test-build:
lib/cache/cache.go#L107
cannot use *expiresAt (variable of struct type "github.com/golang-module/carbon/v2".Carbon) as *"github.com/dromara/carbon/v2".Carbon value in assignment
|
|
test-build
Process completed with exit code 201.
|
|
run-tests:
lib/cache/CacheEntry.go#L46
cannot use parsed (variable of type *"github.com/golang-module/carbon/v2".Carbon) as "github.com/golang-module/carbon/v2".Carbon value in assignment
|
|
run-tests:
lib/cache/CacheEntry.go#L52
cannot use parsed (variable of type *"github.com/golang-module/carbon/v2".Carbon) as "github.com/golang-module/carbon/v2".Carbon value in assignment
|
|
run-tests:
lib/cache/cache.go#L69
cannot use &result (value of type **"github.com/golang-module/carbon/v2".Carbon) as *"github.com/golang-module/carbon/v2".Carbon value in return statement
|
|
run-tests:
lib/cache/cache.go#L75
cannot use &result (value of type **"github.com/dromara/carbon/v2".Carbon) as *"github.com/golang-module/carbon/v2".Carbon value in return statement
|
|
run-tests:
lib/cache/cache.go#L103
cannot use *updatedAt (variable of struct type "github.com/golang-module/carbon/v2".Carbon) as *"github.com/golang-module/carbon/v2".Carbon value in assignment
|
|
run-tests:
lib/cache/cache.go#L107
cannot use *expiresAt (variable of struct type "github.com/golang-module/carbon/v2".Carbon) as *"github.com/dromara/carbon/v2".Carbon value in assignment
|
|
run-tests
Process completed with exit code 1.
|
|
test-build
Restore cache failed: Dependencies file is not found in /home/runner/work/stackup/stackup. Supported file pattern: go.sum
|
|
run-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/stackup/stackup. Supported file pattern: go.sum
|