OpenVehicleDiag
OpenVehicleDiag copied to clipboard
Unable to build/compile on up to date AttifyOSv4 (Ubuntu 22.04)
Describe the bug Unable to build/compile on up to date AttifyOSv4 (Ubuntu 22.04) Possibly user error but it would be helpful to know what version environment is known to work. Thank you for your attention!
To Reproduce Steps to reproduce the behavior:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh
- sudo apt-get install libgtk-3-dev
- git clone https://github.com/rnd-ash/OpenVehicleDiag.git
- cd OpenVehicleDiag/app_rust
- cargo build --release
- See error:
Compiling common v0.1.0 (/home/attify/attifyos/git.opt/OpenVehicleDiag/common)
warning: unused import:
collections::VecDeque--> /home/attify/attifyos/git.opt/OpenVehicleDiag/common/src/schema/diag/service.rs:1:21 | 1 | use std::{cmp::min, collections::VecDeque, convert::TryInto, ... | ^^^^^^^^^^^^^^^^^^^^^ | = note:#[warn(unused_imports)]on by default
warning: common (lib) generated 1 warning (run cargo fix --lib -p common to apply 1 suggestion)
Expected behavior Want to test with Tactrix OpenPort 1.3/2.0 & Macchina M2 for Subaru Legacy 2006
Desktop (please complete the following information):
- OS: AttifyOS v4.0 updated/upgraded (Ubuntu 22.04]
- Linux attifyos 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Additional context Wondered if https://github.com/rnd-ash/Macchina-J2534 must be compiled/installed first but this made no difference.
That looks like a warning, not a failure. Is there a cargo option to continue after warnings?