-
Notifications
You must be signed in to change notification settings - Fork 191
Expand file tree
/
Copy patherrors.txt
More file actions
533 lines (470 loc) · 42.6 KB
/
Copy patherrors.txt
File metadata and controls
533 lines (470 loc) · 42.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
cargo : warning: function `min_next_bid` is never used
At line:1 char:1
+ cargo check 2>&1 > errors.txt
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (warning: functi...` is never used:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
--> gateway-contract\contracts\auction_contract\src\lib.rs:22:4
|
22 | fn min_next_bid(highest_bid: i128, min_increment_bps: u32) -> i128 {
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: constant `PERSISTENT_LIFETIME_THRESHOLD` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:45:18
|
45 | pub(crate) const PERSISTENT_LIFETIME_THRESHOLD: u32 = 120_960;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `get_status` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:72:8
|
72 | pub fn get_status(env: &Env) -> AuctionStatus {
| ^^^^^^^^^^
warning: function `set_status` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:79:8
|
79 | pub fn set_status(env: &Env, status: AuctionStatus) {
| ^^^^^^^^^^
warning: function `get_highest_bidder` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:83:8
|
83 | pub fn get_highest_bidder(env: &Env) -> Option<Address> {
| ^^^^^^^^^^^^^^^^^^
warning: function `set_highest_bidder` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:87:8
|
87 | pub fn set_highest_bidder(env: &Env, bidder: &Address) {
| ^^^^^^^^^^^^^^^^^^
warning: function `get_end_time` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:165:8
|
165 | pub fn get_end_time(env: &Env) -> u64 {
| ^^^^^^^^^^^^
warning: function `set_end_time` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:169:8
|
169 | pub fn set_end_time(env: &Env, end_time: u64) {
| ^^^^^^^^^^^^
warning: function `get_highest_bid` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:173:8
|
173 | pub fn get_highest_bid(env: &Env) -> u128 {
| ^^^^^^^^^^^^^^^
warning: function `set_highest_bid` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:180:8
|
180 | pub fn set_highest_bid(env: &Env, bid: u128) {
| ^^^^^^^^^^^^^^^
warning: function `auction_exists` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:187:8
|
187 | pub fn auction_exists(env: &Env, id: u32) -> bool {
| ^^^^^^^^^^^^^^
warning: function `auction_get_status` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:191:8
|
191 | pub fn auction_get_status(env: &Env, id: u32) -> crate::types::AuctionStatus {
| ^^^^^^^^^^^^^^^^^^
warning: function `auction_set_status` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:198:8
|
198 | pub fn auction_set_status(env: &Env, id: u32, status: crate::types::AuctionStatus) {
| ^^^^^^^^^^^^^^^^^^
warning: function `auction_get_seller` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:208:8
|
208 | pub fn auction_get_seller(env: &Env, id: u32) -> Option<Address> {
| ^^^^^^^^^^^^^^^^^^
warning: function `auction_set_seller` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:212:8
|
212 | pub fn auction_set_seller(env: &Env, id: u32, seller: &Address) {
| ^^^^^^^^^^^^^^^^^^
warning: function `auction_get_asset` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:222:8
|
222 | pub fn auction_get_asset(env: &Env, id: u32) -> Option<Address> {
| ^^^^^^^^^^^^^^^^^
warning: function `auction_set_asset` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:226:8
|
226 | pub fn auction_set_asset(env: &Env, id: u32, asset: &Address) {
| ^^^^^^^^^^^^^^^^^
warning: function `auction_get_min_bid` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:236:8
|
236 | pub fn auction_get_min_bid(env: &Env, id: u32) -> i128 {
| ^^^^^^^^^^^^^^^^^^^
warning: function `auction_set_min_bid` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:243:8
|
243 | pub fn auction_set_min_bid(env: &Env, id: u32, min_bid: i128) {
| ^^^^^^^^^^^^^^^^^^^
warning: function `auction_get_end_time` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:253:8
|
253 | pub fn auction_get_end_time(env: &Env, id: u32) -> u64 {
| ^^^^^^^^^^^^^^^^^^^^
warning: function `auction_set_end_time` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:260:8
|
260 | pub fn auction_set_end_time(env: &Env, id: u32, end_time: u64) {
| ^^^^^^^^^^^^^^^^^^^^
warning: function `auction_get_highest_bidder` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:270:8
|
270 | pub fn auction_get_highest_bidder(env: &Env, id: u32) -> Option<Address> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `auction_set_highest_bidder` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:276:8
|
276 | pub fn auction_set_highest_bidder(env: &Env, id: u32, bidder: &Address) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `auction_get_highest_bid` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:286:8
|
286 | pub fn auction_get_highest_bid(env: &Env, id: u32) -> i128 {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: function `auction_set_highest_bid` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:293:8
|
293 | pub fn auction_set_highest_bid(env: &Env, id: u32, bid: i128) {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: function `auction_is_claimed` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:303:8
|
303 | pub fn auction_is_claimed(env: &Env, id: u32) -> bool {
| ^^^^^^^^^^^^^^^^^^
warning: function `auction_set_claimed` is never used
--> gateway-contract\contracts\auction_contract\src\storage.rs:310:8
|
310 | pub fn auction_set_claimed(env: &Env, id: u32) {
| ^^^^^^^^^^^^^^^^^^^
Checking creditra-credit v0.1.0 (C:\Users\HP-PC\OneDrive\Desktop\Creditra-Contracts\contracts\credit)
warning: `gateway-auction` (lib) generated 27 warnings
error[E0428]: the name `get_close_factor_bps` is defined multiple times
--> contracts\credit\src\storage.rs:865:1
|
850 | pub fn get_close_factor_bps(env: &Env) -> Option<u32> {
| ----------------------------------------------------- previous definition of the value `get_close_factor_bps` here
...
865 | pub fn get_close_factor_bps(env: &Env) -> u32 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `get_close_factor_bps` redefined here
|
= note: `get_close_factor_bps` must be defined only once in the value namespace of this module
error[E0428]: the name `set_close_factor_bps` is defined multiple times
--> contracts\credit\src\storage.rs:875:1
|
855 | pub fn set_close_factor_bps(env: &Env, bps: u32) {
| ------------------------------------------------ previous definition of the value `set_close_factor_bps` here
...
875 | pub fn set_close_factor_bps(env: &Env, bps: u32) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `set_close_factor_bps` redefined here
|
= note: `set_close_factor_bps` must be defined only once in the value namespace of this module
error[E0433]: cannot find module or crate `std` in this scope
--> contracts\credit\src\cross_chain.rs:4:5
|
4 | use std::collections::HashSet;
| ^^^ use of unresolved module or unlinked crate `std`
|
= help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml`
error: cannot find macro `println` in this scope
--> contracts\credit\src\cross_chain.rs:80:9
|
80 | println!(
| ^^^^^^^
error[E0425]: cannot find value `MAX_INTEREST_RATE_BPS` in this scope
--> contracts\credit\src\lifecycle.rs:96:28
|
96 | if interest_rate_bps > MAX_INTEREST_RATE_BPS {
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
12 + use crate::risk::MAX_INTEREST_RATE_BPS;
|
error[E0425]: cannot find value `MAX_RISK_SCORE` in this scope
--> contracts\credit\src\lifecycle.rs:99:21
|
99 | if risk_score > MAX_RISK_SCORE {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
12 + use crate::risk::MAX_RISK_SCORE;
|
error[E0425]: cannot find type `Vec` in this scope
--> contracts\credit\src\lifecycle.rs:280:54
|
280 | pub fn close_credit_lines_batch(env: Env, borrowers: Vec<Address>) {
| ^^^ not found in this scope
error[E0425]: cannot find function `publish_default_liquidation_requested_event` in this scope
--> contracts\credit\src\lifecycle.rs:350:5
|
350 | publish_default_liquidation_requested_event(&env, &borrower, credit_line.utilized_amount);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
12 + use crate::events::publish_default_liquidation_requested_event;
|
error[E0425]: cannot find type `Symbol` in this scope
--> contracts\credit\src\lifecycle.rs:362:20
|
362 | settlement_id: Symbol,
| ^^^^^^ not found in this scope
error[E0425]: cannot find function `persist_credit_line` in this scope
--> contracts\credit\src\lifecycle.rs:419:5
|
306 | pub fn default_credit_line(env: Env, borrower: Address) {
| ------------------------------------------------------- similarly named function `default_credit_line` defined here
...
419 | persist_credit_line(&env, &borrower, &credit_line, previous_utilized);
| ^^^^^^^^^^^^^^^^^^^
|
help: a function with a similar name exists
|
419 - persist_credit_line(&env, &borrower, &credit_line, previous_utilized);
419 + default_credit_line(&env, &borrower, &credit_line, previous_utilized);
|
help: consider importing this function through its public re-export
|
12 + use crate::persist_credit_line;
|
error[E0425]: cannot find function `clear_repayment_schedule` in this scope
--> contracts\credit\src\lifecycle.rs:421:9
|
421 | clear_repayment_schedule(&env, &borrower);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
::: contracts\credit\src\storage.rs:882:1
|
882 | pub fn get_repayment_schedule(env: &Env, borrower: &Address) -> Option<RepaymentSchedule> {
| ----------------------------------------------------------------------------------------- similarly named function
`get_repayment_schedule` defined here
|
help: a function with a similar name exists
|
421 - clear_repayment_schedule(&env, &borrower);
421 + get_repayment_schedule(&env, &borrower);
|
help: consider importing this function through its public re-export
|
12 + use crate::clear_repayment_schedule;
|
error[E0425]: cannot find function `publish_default_liquidation_settled_event` in this scope
--> contracts\credit\src\lifecycle.rs:439:5
|
439 | publish_default_liquidation_settled_event(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
12 + use crate::events::publish_default_liquidation_settled_event;
|
error[E0422]: cannot find struct, variant or union type `DefaultLiquidationSettledEvent` in this scope
--> contracts\credit\src\lifecycle.rs:441:9
|
441 | DefaultLiquidationSettledEvent {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
12 + use crate::events::DefaultLiquidationSettledEvent;
|
error[E0425]: cannot find function `persist_credit_line` in this scope
--> contracts\credit\src\lifecycle.rs:491:5
|
306 | pub fn default_credit_line(env: Env, borrower: Address) {
| ------------------------------------------------------- similarly named function `default_credit_line` defined here
...
491 | persist_credit_line(&env, &borrower, &credit_line, previous_utilized);
| ^^^^^^^^^^^^^^^^^^^
|
help: a function with a similar name exists
|
491 - persist_credit_line(&env, &borrower, &credit_line, previous_utilized);
491 + default_credit_line(&env, &borrower, &credit_line, previous_utilized);
|
help: consider importing this function through its public re-export
|
12 + use crate::persist_credit_line;
|
error[E0425]: cannot find type `String` in this scope
--> contracts\credit\src\cross_chain.rs:9:15
|
9 | pub user: String,
| ^^^^^^ not found in this scope
error[E0425]: cannot find type `Vec` in this scope
--> contracts\credit\src\cross_chain.rs:13:20
|
13 | pub signature: Vec<u8>,
| ^^^ not found in this scope
error[E0425]: cannot find type `String` in this scope
--> contracts\credit\src\cross_chain.rs:18:16
|
18 | pub admin: String,
| ^^^^^^ not found in this scope
error[E0425]: cannot find type `String` in this scope
--> contracts\credit\src\cross_chain.rs:32:23
|
32 | pub fn new(admin: String) -> Self {
| ^^^^^^ not found in this scope
error[E0425]: cannot find function `self_suspend_credit_line` in module `lifecycle`
--> contracts\credit\src\lib.rs:1407:20
|
1407 | lifecycle::self_suspend_credit_line(env, borrower)
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
::: contracts\credit\src\lifecycle.rs:163:1
|
163 | pub fn suspend_credit_line(env: Env, borrower: Address) {
| ------------------------------------------------------- similarly named function `suspend_credit_line` defined
here
|
help: a function with a similar name exists
|
1407 - lifecycle::self_suspend_credit_line(env, borrower)
1407 + lifecycle::suspend_credit_line(env, borrower)
|
warning: unused imports: `CREDIT_LINE_TTL_EXTEND_TO` and `CREDIT_LINE_TTL_THRESHOLD`
--> contracts\credit\src\query.rs:1:22
|
1 | use crate::storage::{CREDIT_LINE_TTL_EXTEND_TO, CREDIT_LINE_TTL_THRESHOLD};
| ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `CreditLineEvent`, `publish_credit_line_event`, and `publish_token_rescued_event`
--> contracts\credit\src\lib.rs:138:5
|
138 | publish_credit_line_event, publish_draw_reversed_event, publish_drawn_event,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
...
143 | publish_repayment_event, publish_token_rescued_event,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
144 | publish_treasury_withdrawal_executed, publish_treasury_withdrawal_proposed,
145 | ContractUpgradedEvent, CreditLineEvent, DrawReversedEvent, DrawnEvent,
| ^^^^^^^^^^^^^^^
warning: unused imports: `clear_repayment_schedule` and `rate_cfg_key`
--> contracts\credit\src\lib.rs:152:5
|
152 | clear_repayment_schedule, get_borrower_by_credit_line_id, get_borrower_frozen_until,
| ^^^^^^^^^^^^^^^^^^^^^^^^
...
157 | proposed_at_key, rate_cfg_key, rate_formula_key,
| ^^^^^^^^^^^^
warning: unused import: `symbol_short`
--> contracts\credit\src\lib.rs:172:43
|
172 | use soroban_sdk::{contract, contractimpl, symbol_short, token, Address, BytesN, Env, Symbol, Vec};
| ^^^^^^^^^^^^
warning: the `#![no_std]` attribute can only be used at the crate root
--> contracts\credit\src\handshake.rs:1:1
|
1 | #![no_std]
| ^^^^^^^^^^
|
= note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
error[E0560]: struct `CreditLineEvent` has no field named `event_type`
--> contracts\credit\src\lifecycle.rs:185:13
|
185 | event_type: symbol_short!("suspend"),
| ^^^^^^^^^^ `CreditLineEvent` does not have this field
|
= note: all struct fields are already assigned
error[E0308]: mismatched types
--> contracts\credit\src\lifecycle.rs:376:27
|
376 | if close_factor_bps > max_close_factor {
| ---------------- ^^^^^^^^^^^^^^^^ expected `u32`, found `Option<u32>`
| |
| expected because this is `u32`
|
= note: expected type `u32`
found enum `core::option::Option<u32>`
help: consider using `Option::expect` to unwrap the `core::option::Option<u32>` value, panicking if the value is an
`Option::None`
|
376 | if close_factor_bps > max_close_factor.expect("REASON") {
| +++++++++++++++++
error[E0599]: no variant, associated function, or constant named `CloseFactorAboveMax` found for enum `ContractError` in
the current scope
--> contracts\credit\src\lifecycle.rs:377:45
|
377 | env.panic_with_error(ContractError::CloseFactorAboveMax);
| ^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not
found in `ContractError`
|
::: contracts\credit\src\types.rs:150:1
|
150 | pub enum ContractError {
| ---------------------- variant, associated function, or constant `CloseFactorAboveMax` not found for this enum
error[E0425]: cannot find function `liquidation_settlement_key` in this scope
--> contracts\credit\src\lifecycle.rs:380:26
|
380 | let settlement_key = liquidation_settlement_key(&borrower, &settlement_id);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0433]: cannot find type `Symbol` in this scope
--> contracts\credit\src\lifecycle.rs:495:35
|
495 | (symbol_short!("credit"), Symbol::new(&env, "reinstate")),
| ^^^^^^ use of undeclared type `Symbol`
error[E0308]: mismatched types
--> contracts\credit\src\lib.rs:1358:44
|
1358 | lifecycle::get_credit_limit_bounds(env)
| ---------------------------------- ^^^ expected `&Env`, found `Env`
| |
| arguments to this function are incorrect
|
note: function defined here
--> contracts\credit\src\lifecycle.rs:46:8
|
46 | pub fn get_credit_limit_bounds(env: &Env) -> (Option<i128>, Option<i128>) {
| ^^^^^^^^^^^^^^^^^^^^^^^ ---------
help: consider borrowing here
|
1358 | lifecycle::get_credit_limit_bounds(&env)
| +
error[E0308]: mismatched types
--> contracts\credit\src\lib.rs:1568:9
|
1567 | pub fn get_close_factor_bps(env: Env) -> u32 {
| --- expected `u32` because of return type
1568 | crate::storage::get_close_factor_bps(&env)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `Option<u32>`
|
= note: expected type `u32`
found enum `core::option::Option<u32>`
help: consider using `Option::expect` to unwrap the `core::option::Option<u32>` value, panicking if the value is an
`Option::None`
|
1568 | crate::storage::get_close_factor_bps(&env).expect("REASON")
| +++++++++++++++++
warning: unused variable: `env`
--> contracts\credit\src\handshake.rs:15:23
|
15 | pub fn verify_version(env: &Env, other_version: ProtocolVersion) -> bool {
| ^^^ help: if this is intentional, prefix it with an underscore: `_env`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `timestamp`
--> contracts\credit\src\borrow.rs:108:9
|
108 | let timestamp = env.ledger().timestamp();
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp`
warning: unused variable: `previous_utilized`
--> contracts\credit\src\lifecycle.rs:223:9
|
223 | let previous_utilized = credit_line.utilized_amount;
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_utilized`
warning: unused variable: `previous_status`
--> contracts\credit\src\lifecycle.rs:248:9
|
248 | let previous_status = credit_line.status;
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_status`
Some errors have detailed explanations: E0308, E0422, E0425, E0428, E0433, E0560, E0599.
For more information about an error, try `rustc --explain E0308`.
warning: `creditra-credit` (lib) generated 9 warnings
error: could not compile `creditra-credit` (lib) due to 26 previous errors; 9 warnings emitted