forked from Timi16/soroban-debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemp_check.txt
More file actions
178 lines (168 loc) · 3.44 KB
/
Copy pathtemp_check.txt
File metadata and controls
178 lines (168 loc) · 3.44 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
cargo : Checking
soroban-debugger v0.1.0 (C:\U
sers\HomePC\Desktop\DRIPS
W3\soroban-debugger)
At line:1 char:1
+ cargo check --bin temp
2>&1 | Out-File -FilePath
temp_check.txt -Enco ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo
: NotSpecified: ( Che
cking so...roban-debugge
r):String) [], RemoteExc
eption
+ FullyQualifiedErrorId
: NativeCommandError
warning: unused import:
`FunctionProfile`
--> src\profiler\flamegraph.
rs:1:33
|
1 | use crate::profiler::anal
yzer::{FunctionProfile,
OptimizationReport};
|
^^^^^^^^^^^^^^^
|
= note:
`#[warn(unused_imports)]`
(part of `#[warn(unused)]`)
on by default
error[E0599]: no method
named `width` found for
struct `inferno::flamegraph::
Options<'a>` in the current
scope
--> src\profiler\flamegraph
.rs:81:14
|
80 | let mut
renderer = inferno::flamegrap
h::Options::default()
|
____________________________-
81 | |
.width(width)
| | -^^^^^
method not found in `inferno:
:flamegraph::Options<'_>`
| |_____________|
|
warning: variable `storage_ca
lls_outside_loops` is
assigned to, but never used
--> src\analyzer\security.
rs:680:9
|
680 | let mut
storage_calls_outside_loops
= 0usize;
| ^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^
|
= note: consider using `_
storage_calls_outside_loops`
instead
= note:
`#[warn(unused_variables)]`
(part of `#[warn(unused)]`)
on by default
warning: variable
`conditional_branches` is
assigned to, but never used
--> src\analyzer\security.
rs:683:9
|
683 | let mut
conditional_branches =
0usize;
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: consider using
`_conditional_branches`
instead
warning: value assigned to `s
torage_calls_outside_loops`
is never read
--> src\analyzer\security.
rs:758:37
|
758 | ...
storage_calls_outside_loops
+= 1;
| ^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^
|
= help: maybe it is
overwritten before being
read?
= note: `#[warn(unused_as
signments)]` (part of
`#[warn(unused)]`) on by
default
warning: value assigned to
`conditional_branches` is
never read
--> src\analyzer\security.
rs:733:29
|
733 | ...
conditional_branches += 1;
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: maybe it is
overwritten before being
read?
warning: value assigned to
`conditional_branches` is
never read
--> src\analyzer\security.
rs:763:29
|
763 | ...
conditional_branches += 1;
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: maybe it is
overwritten before being
read?
warning: value assigned to
`operation` is never read
--> src\lib.rs:103:22
|
103 | RequestTimeout {
operation: String,
timeout_ms: u64 },
|
^^^^^^^^^
|
= help: maybe it is
overwritten before being
read?
warning: value assigned to
`timeout_ms` is never read
--> src\lib.rs:103:41
|
103 | RequestTimeout {
operation: String,
timeout_ms: u64 },
|
^^^^^^^^^^
|
= help: maybe it is
overwritten before being
read?
For more information about
this error, try `rustc
--explain E0599`.
warning: `soroban-debugger`
(lib) generated 8 warnings
error: could not compile
`soroban-debugger` (lib) due
to 1 previous error; 8
warnings emitted