Skip to content

Bump the effect group with 3 updates #401

Bump the effect group with 3 updates

Bump the effect group with 3 updates #401

Triggered via pull request March 13, 2024 14:52
Status Failure
Total duration 3m 17s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors
Typecheck: src/Orcid.ts#L15
Namespace '"/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/schema/dist/dts/Schema".Schema' has no exported member 'To'.
Typecheck: src/Orcid.ts#L16
Namespace '"/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/schema/dist/dts/Schema".Schema' has no exported member 'To'.
Typecheck: src/Orcid.ts#L113
Namespace '"/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/schema/dist/dts/Schema".Schema' has no exported member 'To'.
Typecheck: src/Program.ts#L15
'group' is of type 'unknown'.
Typecheck: src/Program.ts#L23
'peerReview' is of type 'unknown'.
Typecheck: src/Program.ts#L24
'peerReview' is of type 'unknown'.
Typecheck: src/Program.ts#L87
'review' is of type 'unknown'.
Typecheck: src/Program.ts#L89
'review' is of type 'unknown'.
Typecheck: src/Program.ts#L90
'relatedIdentifier' is of type 'unknown'.
Typecheck: src/Program.ts#L90
'relatedIdentifier' is of type 'unknown'.
test/Temporal.test.ts > PlainDateSchema > decoding > with a non-date-string (with seed=170073402): src/Temporal.ts#L19
Error: Property failed after 9 tests { seed: 170073402, path: "8:0", endOnFailure: true } Counterexample: [""] Shrunk 1 time(s) Got TypeError: ParseResult.type is not a function at Object.catch (/home/runner/work/orcid-sync/orcid-sync/src/Temporal.ts:19:34) at Module.try_ (/home/runner/work/orcid-sync/orcid-sync/node_modules/effect/dist/esm/Either.js:77:33) at /home/runner/work/orcid-sync/orcid-sync/src/Temporal.ts:17:19 at /home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/schema/src/Parser.ts:465:5 at /home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/schema/src/internal/parseResult.ts:171:9 at Module.<anonymous> (/home/runner/work/orcid-sync/orcid-sync/node_modules/effect/src/Function.ts:100:9) at isDecoding (/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/schema/src/Parser.ts:465:5) at /home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/schema/src/Parser.ts:55:30 at /home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/schema/dist/esm/Schema.js:191:64 at /home/runner/work/orcid-sync/orcid-sync/test/Temporal.test.ts:41:66 Hint: Enable verbose mode in order to have the list of all failing values encountered during the run ❯ Object.catch src/Temporal.ts:19:34 ❯ Module.try_ node_modules/effect/dist/esm/Either.js:77:33 ❯ src/Temporal.ts:17:19 ❯ node_modules/@effect/schema/src/Parser.ts:465:5 ❯ node_modules/@effect/schema/src/internal/parseResult.ts:171:9 ❯ Module.<anonymous> node_modules/effect/src/Function.ts:100:9 ❯ isDecoding node_modules/@effect/schema/src/Parser.ts:465:5 ❯ node_modules/@effect/schema/src/Parser.ts:55:30 ❯ node_modules/@effect/schema/dist/esm/Schema.js:191:64 ❯ test/Temporal.test.ts:41:66 ❯ buildError node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js:126:15 ❯ asyncThrowIfFailed node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js:143:11
Test
Process completed with exit code 1.
Lint: src/Orcid.ts#L63
Unsafe argument of type `Schema.Schema.To<struct<{ 'reviewer-role': literal<["reviewer"]>; 'review-identifiers': struct<{ 'external-id': struct<{ 'external-id-type': literal<["doi"]>; 'external-id-value': Schema<string & Brand<"Doi">, string, never>; 'external-id-relationship': literal<...>; }>; }>; ... 9 more ...; 'convening-organization':...` assigned to a parameter of type `{ readonly "reviewer-role": "reviewer"; readonly "review-identifiers": { readonly "external-id": { readonly "external-id-type": "doi"; readonly "external-id-value": string & Brand<"Doi">; readonly "external-id-relationship": "self"; }; }; ... 9 more ...; readonly "subject-name"?: { ...; } | undefined; }`
Lint: src/Program.ts#L15
Unsafe member access ['external-id'] on an `any` value
Lint: src/Program.ts#L20
Unsafe member access ['peer-review-group'] on an `any` value
Lint: src/Program.ts#L23
Unsafe assignment of an `any` value
Lint: src/Program.ts#L23
Unsafe member access ['external-id'] on an `any` value
Lint: src/Program.ts#L24
Unsafe assignment of an `any` value
Lint: src/Program.ts#L24
Unsafe member access [0] on an `any` value
Lint: src/Program.ts#L76
Unsafe member access .total on an `any` value
Lint: src/Program.ts#L79
Unsafe member access .total on an `any` value
Lint: src/Program.ts#L84
Unsafe member access .hits on an `any` value