Skip to content

fix desktop

fix desktop #1329

Triggered via push September 13, 2024 05:48
Status Failure
Total duration 3m 7s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

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.
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/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/
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; | ^^^^^^^^^^^^