Skip to content

Work

Work #135

Triggered via pull request December 4, 2024 21:17
@tristanmenzeltristanmenzel
synchronize #46
work
Status Failure
Total duration 3m 43s
Artifacts 1

pr.yml

on: pull_request
Build and test all packages  /  ...  /  node-ci
37s
Build and test all packages / Build @algorandfoundation/algorand-typescript / node-ci
Build and test all packages  /  ...  /  node-ci
2m 47s
Build and test all packages / Build @algorandfoundation/puya-ts / node-ci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
tests/approvals.spec.ts > Approvals > There should be no general error logs: tests/approvals.spec.ts#L43
AssertionError: 5 general errors during compilation. Logs: error: Could not parse log output from puya cli SyntaxError: Unexpected token 'u', "usage: puy"... is not valid JSON error: Could not parse log output from puya cli SyntaxError: No number after minus sign in JSON at position 14 error: Could not parse log output from puya cli SyntaxError: Unexpected token 'O', ..." OPTIONS --"... is not valid JSON error: Could not parse log output from puya cli SyntaxError: Unexpected token 'p', "puya: erro"... is not valid JSON critical: Compilation exited with status 2 ❯ tests/approvals.spec.ts:43:14
tests/approvals.spec.ts > Approvals > There should be no differences to committed changes: tests/approvals.spec.ts#L83
AssertionError: There are uncommitted changes: D tests/approvals/out/abi-decorators/AbiDecorators.approval.teal D tests/approvals/out/abi-decorators/AbiDecorators.arc32.json D tests/approvals/out/abi-decorators/AbiDecorators.arc56.json D tests/approvals/out/abi-decorators/AbiDecorators.clear.teal D tests/approvals/out/abi-decorators/AbiDecorators.ssa.ir D tests/approvals/out/accounts/AccountsContract.approval.teal D tests/approvals/out/accounts/AccountsContract.arc32.json D tests/approvals/out/accounts/AccountsContract.arc56.json D tests/approvals/out/accounts/AccountsContract.clear.teal D tests/approvals/out/accounts/AccountsContract.ssa.ir D tests/approvals/out/arc4-encode-decode/Arc4EncodeDecode.approval.teal D tests/approvals/out/arc4-encode-decode/Arc4EncodeDecode.arc32.json D tests/approvals/out/arc4-encode-decode/Arc4EncodeDecode.arc56.json D tests/approvals/out/arc4-encode-decode/Arc4EncodeDecode.clear.teal D tests/approvals/out/arc4-encode-decode/Arc4EncodeDecode.ssa.ir D tests/approvals/out/arc4-struct/StructDemo.approval.teal D tests/approvals/out/arc4-struct/StructDemo.arc32.json D tests/approvals/out/arc4-struct/StructDemo.arc56.json D tests/approvals/out/arc4-struct/StructDemo.clear.teal D tests/approvals/out/arc4-struct/StructDemo.ssa.ir D tests/approvals/out/arc4-types/Arc4TypesTestContract.approval.teal D tests/approvals/out/arc4-types/Arc4TypesTestContract.clear.teal D tests/approvals/out/arc4-types/Arc4TypesTestContract.ssa.ir D tests/approvals/out/assert-match/AssertMatchContract.approval.teal D tests/approvals/out/assert-match/AssertMatchContract.clear.teal D tests/approvals/out/assert-match/AssertMatchContract.ssa.ir D tests/approvals/out/biguint-expressions/DemoContract.approval.teal D tests/approvals/out/biguint-expressions/DemoContract.clear.teal D tests/approvals/out/biguint-expressions/DemoContract.ssa.ir D tests/approvals/out/byte-expressions/DemoContract.approval.teal D tests/approvals/out/byte-expressions/DemoContract.clear.teal D tests/approvals/out/byte-expressions/DemoContract.ssa.ir D tests/approvals/out/call-expressions/Example.approval.teal D tests/approvals/out/call-expressions/Example.clear.teal D tests/approvals/out/call-expressions/Example.ssa.ir D tests/approvals/out/ensure-budget/EnsureBudgetContract.approval.teal D tests/approvals/out/ensure-budget/EnsureBudgetContract.clear.teal D tests/approvals/out/ensure-budget/EnsureBudgetContract.ssa.ir D tests/approvals/out/global-state/TestContract.approval.teal D tests/approvals/out/global-state/TestContract.clear.teal D tests/approvals/out/global-state/TestContract.ssa.ir D tests/approvals/out/implicit-create/BaseWithAbiCreate.approval.teal D tests/approvals/out/implicit-create/BaseWithAbiCreate.arc32.json D tests/approvals/out/implicit-create/BaseWithAbiCreate.arc56.json D tests/approvals/out/implicit-create/BaseWithAbiCreate.clear.teal D tests/approvals/out/implicit-create/BaseWithAbiCreate.ssa.ir D tests/approvals/out/implicit-create/BaseWithBareCreate.approval.teal D tests/approvals/out/implicit-create/BaseWithBareCreate.arc32.json D tests/approvals/out/implicit-create/BaseWithBareCreate.arc56.json D tests/approvals/out/implicit-create/BaseWithBareCreate.clear.teal D tests/approvals/out/implicit-create/BaseWithBareCreate.ssa.ir D tests/approvals/out/implicit-create/ExplicitAbiCreateFromBase.approval.teal D tests/approvals/out/implicit-create/ExplicitAbiCreateFromBase.arc32.json D tests/approvals/out/implicit-create/ExplicitAbiCreateFromBase.arc56.json D tests/approvals/out/implicit-create/ExplicitAbiCreateFromBase.clear.teal D tests/approvals/out/implicit-create/ExplicitAbiCreateFromBase.ssa.ir D tests/approvals/out/implicit-create/ExplicitBareCreateFromBase.approval.teal D tests/approvals/out/implicit-create/ExplicitBareCreateFromBase.arc32.json D tests/approvals/out/implicit-create/ExplicitBareCreateFromBase.arc56.json D tests/approvals/out/implicit-create/ExplicitBareCreateFromBase.clear.teal D tests/approvals/out/implicit-create/ExplicitBareCreateFromBase.ssa.ir D
tests/expected-output.spec.ts > Expected output > 'tests/expected-output/abi-decorators.…' > has expected output: src/util/index.ts#L35
Error: Unexpected log level in @expect-* comment: warn ❯ Module.enumFromValue src/util/index.ts:35:9 ❯ visit tests/expected-output.spec.ts:137:25 ❯ visitArrayWorker node_modules/typescript/lib/typescript.js:93126:49 ❯ visitNodes2 node_modules/typescript/lib/typescript.js:93097:19 ❯ visitEachChildOfClassDeclaration node_modules/typescript/lib/typescript.js:94040:7 ❯ Object.visitEachChild node_modules/typescript/lib/typescript.js:93312:33 ❯ visit tests/expected-output.spec.ts:163:15 ❯ visitArrayWorker node_modules/typescript/lib/typescript.js:93126:49 ❯ visitNodes2 node_modules/typescript/lib/typescript.js:93097:19 ❯ visitLexicalEnvironment node_modules/typescript/lib/typescript.js:93153:16
tests/onchain/abi-decorators.spec.ts > abi-decorators > can be created: tests/onchain/util/test-fixture.ts#L205
AssertionError: Compilation error undefined [error]: Could not parse log output from puya cli SyntaxError: Unexpected token 'u', "usage: puy"... is not valid JSON ❯ compilePath tests/onchain/util/test-fixture.ts:205:16 ❯ Object.getCompileResult tests/onchain/util/test-fixture.ts:53:29 ❯ ctx.<computed> tests/onchain/util/test-fixture.ts:145:35
tests/onchain/abi-decorators.spec.ts > abi-decorators > methods can be called: tests/onchain/util/test-fixture.ts#L205
AssertionError: Compilation error undefined [error]: Could not parse log output from puya cli SyntaxError: Unexpected token 'u', "usage: puy"... is not valid JSON ❯ compilePath tests/onchain/util/test-fixture.ts:205:16 ❯ Object.getCompileResult tests/onchain/util/test-fixture.ts:53:29 ❯ ctx.<computed> tests/onchain/util/test-fixture.ts:160:35
tests/onchain/accounts.spec.ts > accounts > returns account data: tests/onchain/util/test-fixture.ts#L205
AssertionError: Compilation error undefined [error]: Could not parse log output from puya cli SyntaxError: Unexpected token 'u', "usage: puy"... is not valid JSON ❯ compilePath tests/onchain/util/test-fixture.ts:205:16 ❯ Object.getCompileResult tests/onchain/util/test-fixture.ts:53:29 ❯ ctx.<computed> tests/onchain/util/test-fixture.ts:160:35
tests/onchain/arc4-types.spec.ts > arc4-types > runs: tests/onchain/util/test-fixture.ts#L205
AssertionError: Compilation error undefined [error]: Could not parse log output from puya cli SyntaxError: Unexpected token 'u', "usage: puy"... is not valid JSON ❯ compilePath tests/onchain/util/test-fixture.ts:205:16 ❯ Object.getCompileResult tests/onchain/util/test-fixture.ts:53:29 ❯ ctx.<computed> tests/onchain/util/test-fixture.ts:94:36
tests/onchain/arc4-types.spec.ts > arc4-struct > testVectorCreationAndEquality: tests/onchain/util/test-fixture.ts#L205
AssertionError: Compilation error undefined [error]: Could not parse log output from puya cli SyntaxError: Unexpected token 'u', "usage: puy"... is not valid JSON ❯ compilePath tests/onchain/util/test-fixture.ts:205:16 ❯ Object.getCompileResult tests/onchain/util/test-fixture.ts:53:29 ❯ ctx.<computed> tests/onchain/util/test-fixture.ts:160:35
tests/onchain/arc4-types.spec.ts > arc4-struct > add vectors: tests/onchain/util/test-fixture.ts#L205
AssertionError: Compilation error undefined [error]: Could not parse log output from puya cli SyntaxError: Unexpected token 'u', "usage: puy"... is not valid JSON ❯ compilePath tests/onchain/util/test-fixture.ts:205:16 ❯ Object.getCompileResult tests/onchain/util/test-fixture.ts:53:29 ❯ ctx.<computed> tests/onchain/util/test-fixture.ts:160:35
tests/onchain/arc4-types.spec.ts > arc4-struct > implicit casting and spreading: tests/onchain/util/test-fixture.ts#L205
AssertionError: Compilation error undefined [error]: Could not parse log output from puya cli SyntaxError: Unexpected token 'u', "usage: puy"... is not valid JSON ❯ compilePath tests/onchain/util/test-fixture.ts:205:16 ❯ Object.getCompileResult tests/onchain/util/test-fixture.ts:53:29 ❯ ctx.<computed> tests/onchain/util/test-fixture.ts:160:35
Build and test all packages / Build @algorandfoundation/algorand-typescript / node-ci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and test all packages / Build @algorandfoundation/puya-ts / node-ci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
algo-ts
74.5 KB