Skip to content

mods: support opening a REPL for a mod #654

mods: support opening a REPL for a mod

mods: support opening a REPL for a mod #654

Triggered via pull request October 4, 2024 02:40
Status Success
Total duration 28s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 8 warnings
cannot find value `data_folder` in this scope: src/commands/features/mods.rs#L933
error[E0425]: cannot find value `data_folder` in this scope --> src/commands/features/mods.rs:933:41 | 933 | .args(["./goalc", "--proj-path", &data_folder.to_string_lossy()]) | ^^^^^^^^^^^ not found in this scope
variable does not need to be mutable: src/commands/features/mods.rs#L711
warning: variable does not need to be mutable --> src/commands/features/mods.rs:711:7 | 711 | let mut child = command.spawn()?; | ----^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
unused variable: `child`: src/commands/features/mods.rs#L711
warning: unused variable: `child` --> src/commands/features/mods.rs:711:11 | 711 | let mut child = command.spawn()?; | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` | = note: `#[warn(unused_variables)]` on by default
value assigned to `process_status` is never read: src/util/process.rs#L58
warning: value assigned to `process_status` is never read --> src/util/process.rs:58:11 | 58 | let mut process_status = None; | ^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` on by default
unused import: `BufRead`: src/util/file.rs#L9
warning: unused import: `BufRead` --> src/util/file.rs:9:8 | 9 | io::{BufRead, Read}, | ^^^^^^^
unused import: `FromBase64`: src/util/file.rs#L5
warning: unused import: `FromBase64` --> src/util/file.rs:5:31 | 5 | use rustc_serialize::base64::{FromBase64, ToBase64, MIME}; | ^^^^^^^^^^
unused import: `tauri::Manager`: src/commands/util.rs#L2
warning: unused import: `tauri::Manager` --> src/commands/util.rs:2:5 | 2 | use tauri::Manager; | ^^^^^^^^^^^^^^
unused import: `crate::util::os::get_installed_vcc_runtime`: src/commands/config.rs#L3
warning: unused import: `crate::util::os::get_installed_vcc_runtime` --> src/commands/config.rs:3:5 | 3 | use crate::util::os::get_installed_vcc_runtime; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
redundant field names in struct initialization: src/commands/binaries.rs#L84
warning: redundant field names in struct initialization --> src/commands/binaries.rs:84:5 | 84 | tooling_version: tooling_version, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `tooling_version` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `#[warn(clippy::redundant_field_names)]` on by default