Skip to content

generate a mock DataSource for use in unit testing #5018

generate a mock DataSource for use in unit testing

generate a mock DataSource for use in unit testing #5018

Triggered via pull request November 14, 2024 18:32
Status Failure
Total duration 4m 21s
Artifacts

build_external.yml

on: pull_request
Build Chainlink Image
3m 45s
Build Chainlink Image
Solana Build Relay
2m 34s
Solana Build Relay
Starknet Build Relay
2m 52s
Starknet Build Relay
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 1 warning
Solana Build Relay
undefined: sqlutil.NewTestDataSource
Solana Build Relay
undefined: sqlutil.NewTestDataSource
Solana Build Relay
undefined: sqlutil.NewTestDataSource
Solana Build Relay
undefined: sqlutil.NewTestDataSource
Solana Build Relay
in call to RunContractReaderInterfaceTests, type *chainReaderInterfaceTester of it does not match inferred type interfacetests.ChainComponentsInterfaceTester[*"testing".T] for interfacetests.ChainComponentsInterfaceTester[T]
Solana Build Relay
cannot use it (variable of type *chainReaderInterfaceTester) as interfacetests.ChainComponentsInterfaceTester[*"testing".T] value in argument to commontestutils.WrapContractReaderTesterForLoop: *chainReaderInterfaceTester does not implement interfacetests.ChainComponentsInterfaceTester[*"testing".T] (missing method DisableTests)
Solana Build Relay
cannot use r (variable of type *chainReaderInterfaceTester) as interfacetests.ChainComponentsInterfaceTester[*"testing".T] value in struct literal: *chainReaderInterfaceTester does not implement interfacetests.ChainComponentsInterfaceTester[*"testing".T] (missing method DisableTests)
Solana Build Relay
cannot use r (variable of type *chainReaderInterfaceTester) as interfacetests.ChainComponentsInterfaceTester[*"testing".T] value in struct literal: *chainReaderInterfaceTester does not implement interfacetests.ChainComponentsInterfaceTester[*"testing".T] (missing method DisableTests)
Solana Build Relay
Process completed with exit code 2.
Build Chainlink Image
cannot use (*chainReader)(nil) (value of type *chainReader) as ChainReaderService value in variable declaration: *chainReader does not implement ChainReaderService (wrong type for method GetLatestValueWithHeadData)
Build Chainlink Image
cannot use cr (variable of type *chainReader) as ChainReaderService value in return statement: *chainReader does not implement ChainReaderService (wrong type for method GetLatestValueWithHeadData)
Build Chainlink Image
cannot use (*chainReader)(nil) (value of type *chainReader) as ChainReaderService value in variable declaration: *chainReader does not implement ChainReaderService (wrong type for method GetLatestValueWithHeadData)
Build Chainlink Image
cannot use cr (variable of type *chainReader) as ChainReaderService value in return statement: *chainReader does not implement ChainReaderService (wrong type for method GetLatestValueWithHeadData)
Build Chainlink Image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c if [ \"$GO_COVER_FLAG\" = \"true\" ]; then make install-chainlink-cover; else make install-chainlink; fi" did not complete successfully: exit code: 2
Starknet Build Relay
Restore cache failed: Dependencies file is not found in /home/runner/work/chainlink-common/chainlink-common. Supported file pattern: go.sum