Skip to content

refactor: Screencap and CacheImage function of SyncContext return ima… #35

refactor: Screencap and CacheImage function of SyncContext return ima…

refactor: Screencap and CacheImage function of SyncContext return ima… #35

Triggered via push August 12, 2024 03:09
Status Failure
Total duration 2m 16s
Artifacts

test.yml

on: push
Matrix: macos
Matrix: ubuntu
Matrix: windows
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 8 warnings
macos (macos-14, aarch64): run_without_file_test.go#L15
image.Destroy undefined (type image.Image has no field or method Destroy)
macos (macos-14, aarch64): run_without_file_test.go#L16
invalid operation: operator ! not defined on ok (variable of type error)
macos (macos-14, aarch64): run_without_file_test.go#L32
cannot use ctx.RunRecognition(image, "MyColorMatching", string(taskParamStr)) (value of type bool) as error value in assignment: bool does not implement error (missing method Error)
macos (macos-14, aarch64): run_without_file_test.go#L32
cannot use image (variable of type image.Image) as ImageBuffer value in argument to ctx.RunRecognition: image.Image does not implement ImageBuffer (missing method Clear)
macos (macos-14, aarch64): run_without_file_test.go#L33
invalid operation: operator ! not defined on ok (variable of type error)
macos (macos-14, aarch64): custom_sync_context.go#L108
cannot use (_Cgo_ptr(_Cfpvar_fp_MaaSyncContextScreencap)) (value of type unsafe.Pointer) as func(_Ctype_MaaSyncContextHandle, _Ctype_MaaImageBufferHandle) _Ctype_int value in argument to ctx.getImage
macos (macos-14, aarch64): custom_sync_context.go#L112
cannot use (_Cgo_ptr(_Cfpvar_fp_MaaSyncContextCachedImage)) (value of type unsafe.Pointer) as func(_Ctype_MaaSyncContextHandle, _Ctype_MaaImageBufferHandle) _Ctype_int value in argument to ctx.getImage
macos (macos-14, aarch64)
Process completed with exit code 1.
ubuntu (x86_64): run_without_file_test.go#L15
image.Destroy undefined (type image.Image has no field or method Destroy)
ubuntu (x86_64): run_without_file_test.go#L16
invalid operation: operator ! not defined on ok (variable of type error)
ubuntu (x86_64): run_without_file_test.go#L32
cannot use ctx.RunRecognition(image, "MyColorMatching", string(taskParamStr)) (value of type bool) as error value in assignment: bool does not implement error (missing method Error)
ubuntu (x86_64): run_without_file_test.go#L32
cannot use image (variable of type image.Image) as ImageBuffer value in argument to ctx.RunRecognition: image.Image does not implement ImageBuffer (missing method Clear)
ubuntu (x86_64): run_without_file_test.go#L33
invalid operation: operator ! not defined on ok (variable of type error)
ubuntu (x86_64): custom_sync_context.go#L108
cannot use (_Cgo_ptr(_Cfpvar_fp_MaaSyncContextScreencap)) (value of type unsafe.Pointer) as func(_Ctype_MaaSyncContextHandle, _Ctype_MaaImageBufferHandle) _Ctype_int value in argument to ctx.getImage
ubuntu (x86_64): custom_sync_context.go#L112
cannot use (_Cgo_ptr(_Cfpvar_fp_MaaSyncContextCachedImage)) (value of type unsafe.Pointer) as func(_Ctype_MaaSyncContextHandle, _Ctype_MaaImageBufferHandle) _Ctype_int value in argument to ctx.getImage
ubuntu (x86_64)
Process completed with exit code 1.
macos (macos-13, x86_64): run_without_file_test.go#L15
image.Destroy undefined (type image.Image has no field or method Destroy)
macos (macos-13, x86_64): run_without_file_test.go#L16
invalid operation: operator ! not defined on ok (variable of type error)
macos (macos-13, x86_64): run_without_file_test.go#L32
cannot use ctx.RunRecognition(image, "MyColorMatching", string(taskParamStr)) (value of type bool) as error value in assignment: bool does not implement error (missing method Error)
macos (macos-13, x86_64): run_without_file_test.go#L32
cannot use image (variable of type image.Image) as ImageBuffer value in argument to ctx.RunRecognition: image.Image does not implement ImageBuffer (missing method Clear)
macos (macos-13, x86_64): run_without_file_test.go#L33
invalid operation: operator ! not defined on ok (variable of type error)
macos (macos-13, x86_64): custom_sync_context.go#L108
cannot use (_Cgo_ptr(_Cfpvar_fp_MaaSyncContextScreencap)) (value of type unsafe.Pointer) as func(_Ctype_MaaSyncContextHandle, _Ctype_MaaImageBufferHandle) _Ctype_int value in argument to ctx.getImage
macos (macos-13, x86_64): custom_sync_context.go#L112
cannot use (_Cgo_ptr(_Cfpvar_fp_MaaSyncContextCachedImage)) (value of type unsafe.Pointer) as func(_Ctype_MaaSyncContextHandle, _Ctype_MaaImageBufferHandle) _Ctype_int value in argument to ctx.getImage
macos (macos-13, x86_64)
Process completed with exit code 1.
windows (x86_64): run_without_file_test.go#L15
image.Destroy undefined (type image.Image has no field or method Destroy)
windows (x86_64): run_without_file_test.go#L16
invalid operation: operator ! not defined on ok (variable of type error)
windows (x86_64): run_without_file_test.go#L32
cannot use ctx.RunRecognition(image, "MyColorMatching", string(taskParamStr)) (value of type bool) as error value in assignment: bool does not implement error (missing method Error)
windows (x86_64): run_without_file_test.go#L32
cannot use image (variable of type image.Image) as ImageBuffer value in argument to ctx.RunRecognition: image.Image does not implement ImageBuffer (missing method Clear)
windows (x86_64): run_without_file_test.go#L33
invalid operation: operator ! not defined on ok (variable of type error)
windows (x86_64): custom_sync_context.go#L108
cannot use (_Cgo_ptr(_Cfpvar_fp_MaaSyncContextScreencap)) (value of type unsafe.Pointer) as func(_Ctype_MaaSyncContextHandle, _Ctype_MaaImageBufferHandle) _Ctype_int value in argument to ctx.getImage
windows (x86_64): custom_sync_context.go#L112
cannot use (_Cgo_ptr(_Cfpvar_fp_MaaSyncContextCachedImage)) (value of type unsafe.Pointer) as func(_Ctype_MaaSyncContextHandle, _Ctype_MaaImageBufferHandle) _Ctype_int value in argument to ctx.getImage
windows (x86_64)
Process completed with exit code 1.
macos (macos-14, aarch64)
No files were found with the provided path: debug/*.log. No artifacts will be uploaded.
macos (macos-14, aarch64)
No files were found with the provided path: debug. No artifacts will be uploaded.
ubuntu (x86_64)
No files were found with the provided path: debug/*.log. No artifacts will be uploaded.
ubuntu (x86_64)
No files were found with the provided path: debug. No artifacts will be uploaded.
macos (macos-13, x86_64)
No files were found with the provided path: debug/*.log. No artifacts will be uploaded.
macos (macos-13, x86_64)
No files were found with the provided path: debug. No artifacts will be uploaded.
windows (x86_64)
No files were found with the provided path: debug. No artifacts will be uploaded.
windows (x86_64)
No files were found with the provided path: debug/*.log. No artifacts will be uploaded.