Spaces:
Running
Running
File size: 3,760 Bytes
3167e93 |
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 |
cargo : warning: unused imports: `Arc`
and `Mutex`
発生場所 行:1 文字:1
+ cargo check 2> errors.log ; Get-Conte
nt errors.log | Out-File -Encodi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpeci
fied: (warning: unused...rc` and `
Mutex`:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCo
mmandError
--> C:\Users\trios\.gemini\antigravit
y\vscode\loveca-copy\engine_rust_src\sr
c\core\mcts.rs:18:17
|
18 | use std::sync::{Arc, Mutex};
| ^^^ ^^^^^
|
= note: `#[warn(unused_imports)]` (p
art of `#[warn(unused)]`) on by default
warning: `engine_rust` (lib) generated
1 warning (run `cargo fix --lib -p engi
ne_rust` to apply 1 suggestion)
Checking loveca_launcher v0.1.0 (C:
\Users\trios\.gemini\antigravity\vscode
\loveca-copy\launcher)
error[E0428]: the name `get_local_ip` i
s defined multiple times
--> src\main.rs:468:1
|
153 | fn get_local_ip() -> Result<Strin
g, ()> {
| ---------------------------------
------ previous definition of the value
`get_local_ip` here
...
468 | fn get_local_ip() -> Result<Strin
g, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^ `get_local_ip` redefined here
|
= note: `get_local_ip` must be defi
ned only once in the value namespace of
this module
warning: unused import: `Serialize`
--> src\main.rs:8:26
|
8 | use serde::{Deserialize, Serialize}
;
| ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (pa
rt of `#[warn(unused)]`) on by default
warning: unused imports: `LiveCard` and
`MemberCard`
--> src\main.rs:14:78
|
14 | use engine_rust::core::models::{Ga
meState, CardDatabase, Phase, PlayerSta
te, MemberCard, LiveCard};
|
^^^^^^^^^^ ^^^^^^^^
error[E0609]: no field `original_text`
on type `&MemberCard`
--> src\main.rs:594:56
|
594 | "text": m.ability_tex
t, "original_text": m.original_text
|
^^^^^^^^^^^^^ unk
nown field
|
= note: available fields are: `card
_id`, `card_no`, `name`, `cost`, `heart
s` ... and 14 others
error[E0609]: no field `original_text`
on type `&LiveCard`
--> src\main.rs:600:56
|
600 | "text": l.ability_tex
t, "original_text": l.original_text
|
^^^^^^^^^^^^^ unk
nown field
|
= note: available fields are: `card
_id`, `card_no`, `name`, `score`, `requ
ired_hearts` ... and 10 others
warning: unused variable: `body`
--> src\main.rs:403:43
|
403 | if let (Some(rid_
raw), Ok(body)) = (room_id, parse_body:
:<SetDeckReq>(&mut request)) {
|
^^^^ help: if this is intentio
nal, prefix it with an underscore: `_bo
dy`
|
= note: `#[warn(unused_variables)]`
(part of `#[warn(unused)]`) on by defa
ult
warning: value assigned to `response_js
on` is never read
--> src\main.rs:194:33
|
194 | let mut response_json = S
tring::new();
| ^
^^^^^^^^^^^^
|
= help: maybe it is overwritten bef
ore being read?
= note: `#[warn(unused_assignments)
]` (part of `#[warn(unused)]`) on by de
fault
Some errors have detailed explanations:
E0428, E0609.
For more information about an error, tr
y `rustc --explain E0428`.
warning: `loveca_launcher` (bin "loveca
_launcher") generated 4 warnings
error: could not compile `loveca_launch
er` (bin "loveca_launcher") due to 3 pr
evious errors; 4 warnings emitted
|