-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_force.log
More file actions
55 lines (51 loc) · 2.64 KB
/
build_force.log
File metadata and controls
55 lines (51 loc) · 2.64 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
Compiling 38 files with Solc 0.8.33
Solc 0.8.33 finished in 1.98s
Compiler run successful with warnings:
Warning (2072): Unused local variable.
--> test/InsurancePool.t.sol:53:60:
|
53 | (address insured, uint256 coverage, uint256 paid,, uint256 endTime, bool active,) = pool.policies(user);
| ^^^^^^^^^^^^^^^
Warning (2018): Function state mutability can be restricted to view
--> test/InsurancePool.t.sol:29:5:
|
29 | function testPoolCreation() public {
| ^ (Relevant source part starts here and spans across multiple lines).
C:\Users\PC\.foundry\
bin\forge.exe :
note[unused-import]:
unused imports
should be removed
At line:1 char:1
+ C:\Users\PC\.foundr
y\bin\forge.exe
build --force >
build_force.log 2>
...
+ ~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~
+ CategoryInfo
: NotSpe
cified: (note[un
used-imp...ould
be removed:Strin
g) [], RemoteExc
eption
+ FullyQualified
ErrorId : Native
CommandError
--> test\InsurancePo
ol.t.sol:4:15
|
4 | import {Test,
console} from
"forge-std/Test.sol";
|
^^^^^^^
|
= help: https://boo
k.getfoundry.sh/refer
ence/forge/forge-lint
#unused-import