fix desktop #1329
ci.yaml
on: push
test
19s
migrate-db
20s
Typecheck
26s
Format & Lint (Biome)
17s
Format (Cargo)
7s
Clippy
2m 56s
Annotations
15 errors and 13 warnings
Format & Lint (Biome):
interface/src/Sidebar/Project/CustomTypes.tsx#L2
Some named imports are only used as types.
|
Format & Lint (Biome)
Process completed with exit code 1.
|
AssertionError: expected null to be StringType{} // Object.is equality:
packages/typesystem/src/wildcard.test.ts#L169
at packages/typesystem/src/wildcard.test.ts:169:47
|
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
|
AssertionError: expected null to be StringType{} // Object.is equality:
packages/typesystem/src/wildcard.test.ts#L169
at packages/typesystem/src/wildcard.test.ts:169:47
|
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/runtime/src/models/Project.ts#L109
Argument of type '{ id: number; name: string; project: this; }' is not assignable to parameter of type 'GraphArgs'.
|
Typecheck:
packages/runtime/src/models/Project.ts#L109
Argument of type '{ id: number; name: string; project: this; }' is not assignable to parameter of type 'GraphArgs'.
|
Typecheck:
packages/runtime-serde/src/deserialize.ts#L180
Type '[]' is not assignable to type 'CustomEnumVariants'.
|
Typecheck:
packages/runtime-serde/src/deserialize.ts#L212
Argument of type '<T extends "struct" | "enum">(variant: T, data: { variant: "package"; package: string; name: string; } | { variant: "custom"; id: number; }) => Option<StructBase | EnumBase<any>>' is not assignable to parameter of type '(variant: "enum" | "struct", data: any) => Option<StructBase | Enum<EnumVariants>>'.
|
Typecheck:
packages/runtime-serde/src/deserialize.ts#L241
Argument of type '<T extends "struct" | "enum">(variant: T, data: { variant: "package"; package: string; name: string; } | { variant: "custom"; id: number; }) => Option<StructBase | EnumBase<any>>' is not assignable to parameter of type '(variant: "enum" | "struct", data: any) => Option<StructBase | Enum<EnumVariants>>'.
|
Typecheck:
packages/runtime-serde/src/deserialize.ts#L243
Argument of type '{ id: number; name: string; value: any; type: AnyType; owner: runtime.Graph | runtime.Project; }' is not assignable to parameter of type 'VariableArgs'.
|
Typecheck:
packages/runtime-serde/src/deserialize.ts#L256
Argument of type '{ project: runtime.Project; id: number; name: string; }' is not assignable to parameter of type 'GraphArgs'.
|
Typecheck
Process completed with exit code 2.
|
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/
|
Format & Lint (Biome):
interface/src/Sidebar/Project/Graphs.tsx#L32
This import is unused.
|
Format & Lint (Biome):
packages/runtime-serde/src/serialize.ts#L3
This import is unused.
|
Format & Lint (Biome):
packages/packages/src/obs/requests.ts#L1
This import is unused.
|
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;
| ^^^^^^^^^^^^
|