Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing TestContractInitAndCompile due to unexpected go version #3152

Closed
AnnaShaleva opened this issue Oct 10, 2023 · 0 comments · Fixed by #3318
Closed

Failing TestContractInitAndCompile due to unexpected go version #3152

AnnaShaleva opened this issue Oct 10, 2023 · 0 comments · Fixed by #3318
Labels
bug Something isn't working I4 No visible changes U2 Seriously planned
Milestone

Comments

@AnnaShaleva
Copy link
Member

Go 1.18, Ubuntu, firstly discovered in #3110 tests (https://github.com/nspcc-dev/neo-go/actions/runs/6467920919/job/17558942258?pr=3110).

2023-10-10T10:20:09.4189302Z === RUN   TestContractInitAndCompile/excessive_parameters#01
2023-10-10T10:20:09.4189485Z additional arguments given while this command expects none
2023-10-10T10:20:09.4233893Z ##[error]error while trying to compile smart contract file: /tmp/TestContractInitAndCompile2057603306/001/testcontract/main.go:13:27: undeclared name: any (requires version go1.18 or later)
2023-10-10T10:20:09.4241749Z === CONT  TestContractInitAndCompile
2023-10-10T10:20:09.4241926Z     executor.go:277: 
2023-10-10T10:20:09.4242586Z         	Error Trace:	/home/runner/work/neo-go/neo-go/internal/testcli/executor.go:277
2023-10-10T10:20:09.4243525Z         	            				/home/runner/work/neo-go/neo-go/cli/smartcontract/contract_test.go:281
2023-10-10T10:20:09.4243784Z         	Error:      	Received unexpected error:
2023-10-10T10:20:09.4244646Z ##[error]        	            	error while trying to compile smart contract file: /tmp/TestContractInitAndCompile2057603306/001/testcontract/main.go:13:27: undeclared name: any (requires version go1.18 or later)
2023-10-10T10:20:09.4245274Z         	Test:       	TestContractInitAndCompile
2023-10-10T10:20:09.4245525Z --- FAIL: TestContractInitAndCompile (0.06s)
2023-10-10T10:20:09.4245894Z     --- PASS: TestContractInitAndCompile/no_path_is_provided (0.00s)
2023-10-10T10:20:09.4246231Z     --- PASS: TestContractInitAndCompile/invalid_path (0.00s)
2023-10-10T10:20:09.4246605Z     --- PASS: TestContractInitAndCompile/excessive_parameters (0.00s)
2023-10-10T10:20:09.4247018Z     --- PASS: TestContractInitAndCompile/don't_rewrite_existing_directory (0.00s)
2023-10-10T10:20:09.4247358Z     --- PASS: TestContractInitAndCompile/missing_source (0.00s)
2023-10-10T10:20:09.4247774Z     --- PASS: TestContractInitAndCompile/missing_config,_but_require_manifest (0.00s)
2023-10-10T10:20:09.4248152Z     --- PASS: TestContractInitAndCompile/provided_non-existent_config (0.00s)
2023-10-10T10:20:09.4248540Z     --- PASS: TestContractInitAndCompile/provided_corrupted_config (0.00s)
2023-10-10T10:20:09.4248907Z     --- PASS: TestContractInitAndCompile/excessive_parameters#01 (0.00s)
@AnnaShaleva AnnaShaleva added bug Something isn't working test Unit tests labels Oct 10, 2023
@AnnaShaleva AnnaShaleva added this to the v0.103.0 milestone Oct 10, 2023
@roman-khimov roman-khimov modified the milestones: v0.103.0, v0.104.0 Oct 20, 2023
@AnnaShaleva AnnaShaleva modified the milestones: v0.104.0, v0.105.0 Nov 9, 2023
@roman-khimov roman-khimov added U2 Seriously planned I4 No visible changes and removed test Unit tests labels Dec 21, 2023
@AnnaShaleva AnnaShaleva modified the milestones: v0.105.0, v0.106.0 Dec 28, 2023
AliceInHunterland added a commit that referenced this issue Feb 15, 2024
Needs to updated dependencies inside the test for go1.18 and higher to
match with interop module.

Close #3152

Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland added a commit that referenced this issue Feb 15, 2024
Needs to update dependencies inside the test for go1.18 and higher to
match with the interop module.

Close #3152

Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland added a commit that referenced this issue Feb 15, 2024
Needs to updated dependencies inside the test for go1.18 and higher to
match with interop module.

Close #3152

Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland added a commit that referenced this issue Feb 15, 2024
Needs to updated dependencies inside the test for go1.18 and higher to
match with interop module.

Close #3152

Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland added a commit that referenced this issue Feb 15, 2024
Needs to updated dependencies inside the test for go1.18 and higher to
match with interop module.

Close #3152

Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland added a commit that referenced this issue Feb 15, 2024
Needs to updated dependencies inside the test for go1.18 and higher to
match with interop module.

Close #3152

Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland added a commit that referenced this issue Feb 18, 2024
Needs to updated dependencies inside the test for go1.18 and higher to
match with interop module.

Close #3152

Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland added a commit that referenced this issue Feb 19, 2024
Needs to updated dependencies inside the test for go1.18 and higher to
match with interop module.

Close #3152

Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland added a commit that referenced this issue Feb 19, 2024
Needs to updated dependencies inside the test for go1.18 and higher to
match with interop module.

Close #3152

Signed-off-by: Ekaterina Pavlova <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working I4 No visible changes U2 Seriously planned
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants