-
Notifications
You must be signed in to change notification settings - Fork 189
Expand file tree
/
Copy pathbuild_output.txt
More file actions
193 lines (181 loc) · 10.8 KB
/
build_output.txt
File metadata and controls
193 lines (181 loc) · 10.8 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
cargo : Compiling grainlify-core v0.1.0 (C
:\Users\user\Desktop\GIT\grainlify\contracts\
grainlify-core)
At line:1 char:82
+ ... tracts\bounty_escrow\contracts\escrow;
cargo build --lib 2>&1 | Out-F ...
+
~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified:
( Compiling gr...grainlify-core):Strin
g) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandE
rror
warning: unused imports: `Symbol`,
`contract`, and `contractimpl`
--> C:\Users\user\Desktop\GIT\grainlify\con
tracts\grainlify-core\src\lib.rs:11:5
|
11 | contract, contracterror,
contractimpl, contracttype, symbol_short,
Address, BytesN, Env,
| ^^^^^^^^
^^^^^^^^^^^^
12 | String, Symbol, Vec,
| ^^^^^^
|
= note: `#[warn(unused_imports)]` (part
of `#[warn(unused)]`) on by default
warning: unused imports: `contract` and
`contractimpl`
--> C:\Users\user\Desktop\GIT\grainlify\cont
racts\grainlify-core\src\governance.rs:3:5
|
3 | contract, contractimpl,
contracttype, symbol_short, Address, BytesN,
Env, Map, Symbol,
| ^^^^^^^^ ^^^^^^^^^^^^
warning: unused import: `crate::errors`
--> C:\Users\user\Desktop\GIT\grainlify\co
ntracts\grainlify-core\src\governance.rs:125:
5
|
125 | use crate::errors;
| ^^^^^^^^^^^^^
error[E0592]: duplicate definitions with
name `pause`
--> C:\Users\user\Desktop\GIT\grainlify\co
ntracts\grainlify-core\src\multisig.rs:201:5
|
158 | pub fn pause(env: &Env, signer:
Address) {
|
----------------------------------------
other definition for `pause`
...
201 | pub fn pause(env: &Env, signer:
Address) {
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
duplicate definitions for `pause`
error[E0592]: duplicate definitions with
name `unpause`
--> C:\Users\user\Desktop\GIT\grainlify\co
ntracts\grainlify-core\src\multisig.rs:212:5
|
166 | pub fn unpause(env: &Env, signer:
Address) {
|
------------------------------------------
other definition for `unpause`
...
212 | pub fn unpause(env: &Env, signer:
Address) {
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
duplicate definitions for `unpause`
error[E0592]: duplicate definitions with
name `is_contract_paused`
--> C:\Users\user\Desktop\GIT\grainlify\co
ntracts\grainlify-core\src\multisig.rs:223:5
|
154 | pub fn is_contract_paused(env:
&Env) -> bool {
|
--------------------------------------------
other definition for `is_contract_paused`
...
223 | pub fn is_contract_paused(env:
&Env) -> bool {
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
duplicate definitions for
`is_contract_paused`
error[E0592]: duplicate definitions with
name `is_state_inconsistent`
--> C:\Users\user\Desktop\GIT\grainlify\co
ntracts\grainlify-core\src\multisig.rs:231:5
|
174 | pub fn is_state_inconsistent(_env:
&Env) -> bool {
| -----------------------------------
------------- other definition for
`is_state_inconsistent`
...
231 | pub fn is_state_inconsistent(env:
&Env) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^ duplicate definitions for
`is_state_inconsistent`
error[E0592]: duplicate definitions with
name `pause`
--> C:\Users\user\Desktop\GIT\grainlify\co
ntracts\grainlify-core\src\multisig.rs:257:5
|
158 | pub fn pause(env: &Env, signer:
Address) {
|
----------------------------------------
other definition for `pause`
...
257 | pub fn pause(env: &Env, signer:
Address) {
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
duplicate definitions for `pause`
error[E0592]: duplicate definitions with
name `unpause`
--> C:\Users\user\Desktop\GIT\grainlify\co
ntracts\grainlify-core\src\multisig.rs:268:5
|
166 | pub fn unpause(env: &Env, signer:
Address) {
|
------------------------------------------
other definition for `unpause`
...
268 | pub fn unpause(env: &Env, signer:
Address) {
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
duplicate definitions for `unpause`
error[E0592]: duplicate definitions with
name `is_contract_paused`
--> C:\Users\user\Desktop\GIT\grainlify\co
ntracts\grainlify-core\src\multisig.rs:279:5
|
154 | pub fn is_contract_paused(env:
&Env) -> bool {
|
--------------------------------------------
other definition for `is_contract_paused`
...
279 | pub fn is_contract_paused(env:
&Env) -> bool {
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
duplicate definitions for
`is_contract_paused`
error[E0592]: duplicate definitions with
name `is_state_inconsistent`
--> C:\Users\user\Desktop\GIT\grainlify\co
ntracts\grainlify-core\src\multisig.rs:284:5
|
174 | pub fn is_state_inconsistent(_env:
&Env) -> bool {
| -----------------------------------
------------- other definition for
`is_state_inconsistent`
...
284 | pub fn is_state_inconsistent(env:
&Env) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^ duplicate definitions for
`is_state_inconsistent`
For more information about this error, try
`rustc --explain E0592`.
warning: `grainlify-core` (lib) generated 3
warnings
error: could not compile `grainlify-core`
(lib) due to 8 previous errors; 3 warnings
emitted