You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removing the offending line does allow it to build (and run) but I do get the following compile warning after removing the line:
cargo build
warning: patch for the non root package will be ignored, specify patch at the workspace root:
package: C:\Users\jeff\Documents\Dev\space\car-utility\Cargo.toml
workspace: C:\Users\jeff\Documents\Dev\space\Cargo.toml
Compiling radio-service v0.1.0 (C:\Users\jeff\Documents\Dev\space\local-dev-environment\desktop\radio-service)
warning: variable does not need to be mutable
--> local-dev-environment\desktop\radio-service\src\main.rs:48:9
|
48 | let mut serial_stream = tokio_serial::new(args.serial_device, 115200).open_native_async()?;
| ----^^^^^^^^^^^^^
| |
| help: remove this mut
|
= note: #[warn(unused_mut)] on by default
warning: radio-service (bin "radio-service") generated 1 warning
Finished dev [unoptimized + debuginfo] target(s) in 1.76s
Compiling on Windows 11 with cargo 1.67.1, could not compile radio-service with error :
error[E0599]: no method named
set_exclusive
found for structSerialStream
in the current scopeThe text was updated successfully, but these errors were encountered: