forked from lernza/lernza
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclippy_output.txt
More file actions
55 lines (49 loc) · 2.59 KB
/
Copy pathclippy_output.txt
File metadata and controls
55 lines (49 loc) · 2.59 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
warning: unused imports: `ERR_INVALID_INPUT`, `ERR_NOT_FOUND`, `ERR_UNAUTHORIZED`, `QuestStatus`, and `Visibility`
--> contracts/milestone/src/lib.rs:4:37
|
4 | extend_instance_ttl, QuestInfo, QuestStatus, Visibility, BUMP, ERR_INVALID_INPUT,
| ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
5 | ERR_NOT_FOUND, ERR_UNAUTHORIZED, THRESHOLD,
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `ERR_INVALID_INPUT`, `ERR_NOT_FOUND`, and `ERR_UNAUTHORIZED`
--> contracts/quest/src/lib.rs:5:5
|
5 | ERR_INVALID_INPUT, ERR_NOT_FOUND, ERR_UNAUTHORIZED, THRE...
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: this function has too many arguments (8/7)
--> contracts/quest/src/lib.rs:97:1
|
97 | #[contractimpl]
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#too_many_arguments
= note: `#[warn(clippy::too_many_arguments)]` on by default
= note: this warning originates in the attribute macro `soroban_sdk::contractargs` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: this function has too many arguments (8/7)
--> contracts/quest/src/lib.rs:97:1
|
97 | #[contractimpl]
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#too_many_arguments
= note: this warning originates in the attribute macro `soroban_sdk::contractargs` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: unused imports: `ERR_NOT_FOUND`, `ERR_UNAUTHORIZED`, `QuestStatus`, and `Visibility`
--> contracts/rewards/src/lib.rs:4:37
|
4 | ...o, QuestStatus, Visibility, BUMP, ERR_NOT_FOUND, ERR_UNAUTHORIZED,
| ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `String`
--> contracts/rewards/src/lib.rs:9:19
|
9 | Address, Env, String,
| ^^^^^^
warning: `milestone` (lib) generated 1 warning (run `cargo clippy --fix --lib -p milestone` to apply 1 suggestion)
warning: `quest` (lib) generated 3 warnings (run `cargo clippy --fix --lib -p quest` to apply 1 suggestion)
warning: `rewards` (lib) generated 2 warnings (run `cargo clippy --fix --lib -p rewards` to apply 2 suggestions)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s