Comments (1)
Compiling billmock-app-rs v0.3.1 (/home/pmnxis/Develop/billmock-app-rs)
warning: [email protected]: This is not NDA serial device build.
warning: the feature `async_fn_in_trait` has been stable since 1.75.0-nightly and no longer requires an attribute to enable
--> src/main.rs:10:12
|
10 | #![feature(async_fn_in_trait)]
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
warning: method `test_mut_inh_then_ignore` is never used
--> src/application/mutual_inhibit.rs:119:12
|
99 | impl InputEvent {
| --------------- method in this implementation
...
119 | pub fn test_mut_inh_then_ignore(&self, mut_inh: &mut MutualInhibit) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
--> src/components/eeprom.rs:213:5
|
213 | async fn lock_read(
| ^^^^^
|
= note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
= note: `#[warn(async_fn_in_trait)]` on by default
help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
|
213 ~ fn lock_read(
214 | &self,
215 | mutex: &Mutex<ThreadModeRawMutex, NovellaModuleControlBlock>,
216 ~ ) -> impl std::future::Future<Output = Self::InnerType> + Send;
|
warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
--> src/components/eeprom.rs:218:5
|
218 | async fn lock_write(
| ^^^^^
|
= note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
|
218 ~ fn lock_write(
219 | &self,
220 | mutex: &Mutex<ThreadModeRawMutex, NovellaModuleControlBlock>,
221 | src: Self::InnerType,
222 ~ ) -> impl std::future::Future<Output = ()> + Send;
|
warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
--> src/components/eeprom.rs:224:5
|
224 | async fn lock_write_zero(&self, mutex: &Mutex<ThreadModeRawMutex, NovellaModuleControlB...
| ^^^^^
|
= note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
|
224 - async fn lock_write_zero(&self, mutex: &Mutex<ThreadModeRawMutex, NovellaModuleControlBlock>);
224 + fn lock_write_zero(&self, mutex: &Mutex<ThreadModeRawMutex, NovellaModuleControlBlock>) -> impl std::future::Future<Output = ()> + Send;
remove async later.
from billmock-app-rs.
Related Issues (20)
- Manual book with mdbook HOT 1
- Reduce `.text` size to fit `STM32G030C6T6` (Flash 32KiB) HOT 1
- Separate BillMock HW 0.3 and 0.4 configuration
- [EPIC] app 0.2.0 milestone
- Basic I2C EEPROM Support
- Add DisplayRomMethod ,TidRead for `serial-arcade-pay` and `example` HOT 1
- pin-map support for `0.4` and `Mini-0.4` hardware
- No more `i2c_polling_set_timeout` functions
- Serial Number on OTP flash area. HOT 1
- [EPIC] app 0.3.0 milestone HOT 1
- `DisplayHwInfo` impl and activate when release from DisplayRom state
- 0.5 mini hardware support
- fingerprint for mptool on ELF dummy section
- Re-write eeprom page every 1 minute
- Enhance business logic
- [EPIC] app 0.3.1 milestone
- EEPROM factory reset by SVC button
- Indicate card terminal version and warn to LCD display
- Support new remote cash receipt feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from billmock-app-rs.