Skip to content

Add context menu buttons for copy/paste selections (#515) #1323

Add context menu buttons for copy/paste selections (#515)

Add context menu buttons for copy/paste selections (#515) #1323

Triggered via push September 1, 2024 11:38
Status Failure
Total duration 2m 57s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 10 warnings
Error: Called `Option.unwrap()` on a `None` value: packages/option/src/index.ts#L117
at Option.unwrap packages/option/src/index.ts:117:9 at packages/typesystem/src/wildcard.test.ts:197:33
Error: Called `Option.unwrap()` on a `None` value: packages/option/src/index.ts#L117
at Option.unwrap packages/option/src/index.ts:117:9 at packages/typesystem/src/wildcard.test.ts:197:33
test
Process completed with exit code 1.
Typecheck: packages/json/src/conversion.ts#L60
Type '{ variant: "List"; data: { value: ({ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<...> | { ...; })[]; }; }' is not assignable to type 'JSONValue | null'.
Typecheck: packages/json/src/conversion.ts#L129
Type '{ variant: "List"; data: { value: ({ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<...> | { ...; })[]; }; }' is not assignable to type 'JSONValue | null'.
Typecheck: packages/json/src/conversion.ts#L131
Type 'JSONValue[]' is not assignable to type '({ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; })[]'.
Typecheck: packages/json/src/pkg.ts#L38
Argument of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | { variant: "List"; data: { value: JSONValue[]; }; } | { ...; }' is not assignable to parameter of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }'.
Typecheck: packages/json/src/pkg.ts#L62
Argument of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }' is not assignable to parameter of type 'JSONValue'.
Typecheck: packages/json/src/pkg.ts#L83
Argument of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | { variant: "List"; data: { value: JSONValue[]; }; } | { ...; }' is not assignable to parameter of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }'.
Typecheck: packages/json/src/pkg.ts#L110
Argument of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }' is not assignable to parameter of type 'JSONValue'.
Typecheck: packages/json/src/pkg.ts#L126
Argument of type 'Option<{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | { variant: "List"; data: { value: JSONValue[]; }; } | { ...; }>' is not assignable to parameter of type 'Option<{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[...]>>>>; }> | { ...; }>'.
Typecheck: packages/json/src/pkg.ts#L150
Property 'variant' does not exist on type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }'.
Typecheck: packages/json/src/pkg.ts#L150
Argument of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }' is not assignable to parameter of type 'JSONValue'.
Format & Lint (Biome)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
migrate-db
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Typecheck
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
this expression creates a reference which is immediately dereferenced by the compiler: crates/tauri-plugin-midi/src/lib.rs#L77
warning: this expression creates a reference which is immediately dereferenced by the compiler --> crates/tauri-plugin-midi/src/lib.rs:77:13 | 77 | &port, | ^^^^^ help: change this to: `port` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: crates/tauri-plugin-midi/src/lib.rs#L129
warning: this expression creates a reference which is immediately dereferenced by the compiler --> crates/tauri-plugin-midi/src/lib.rs:129:18 | 129 | .connect(&port, "") | ^^^^^ help: change this to: `port` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
unused variable: `js_path`: crates/deno_experiments/src/main.rs#L12
warning: unused variable: `js_path` --> crates/deno_experiments/src/main.rs:12:9 | 12 | let js_path = Path::new(env!("CARGO_MANIFEST_DIR")).join("main.ts"); | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_js_path` | = note: `#[warn(unused_variables)]` on by default
unused import: `serde::Serialize`: apps/desktop/src-tauri/src/shell.rs#L4
warning: unused import: `serde::Serialize` --> apps/desktop/src-tauri/src/shell.rs:4:5 | 4 | use serde::Serialize; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused import: `specta::Type`: apps/desktop/src-tauri/src/shell.rs#L5
warning: unused import: `specta::Type` --> apps/desktop/src-tauri/src/shell.rs:5:5 | 5 | use specta::Type; | ^^^^^^^^^^^^