note: the lint level is defined here
--> src\main.rs:9:5
|
9 | warnings,
| ^^^^^^^^
= note: #[deny(dead_code)] implied by #[deny(warnings)]
error: methods send_chat and teleport are never used
--> src\protocol\mod.rs:145:8
|
137 | pub trait InterfaceOut {
| ------------ methods in this trait
...
145 | fn send_chat(&mut self, message: &str);
| ^^^^^^^^^
...
172 | fn teleport(&mut self, location: Location);
| ^^^^^^^^
error: could not compile swarm-bot (bin "swarm-bot") due to 2 previous errors
error: failed to compile swarm-bot v0.4.1 (https://github.com/SwarmBotMC/SwarmBot#20f0ff1d), intermediate artifacts can be found at C:\Users\benga\AppData\Local\Temp\cargo-installRYQuR2.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path..
cargo install --git https://github.com/SwarmBotMC/SwarmBot swarm-bot
Incremental
is never used --> src\client\timing.rs:7:11note: the lint level is defined here --> src\main.rs:9:5 | 9 | warnings, | ^^^^^^^^ = note:
#[deny(dead_code)]
implied by#[deny(warnings)]
error: methods
send_chat
andteleport
are never used --> src\protocol\mod.rs:145:8 | 137 | pub trait InterfaceOut { | ------------ methods in this trait ... 145 | fn send_chat(&mut self, message: &str); | ^^^^^^^^^ ... 172 | fn teleport(&mut self, location: Location); | ^^^^^^^^error: could not compile
swarm-bot
(bin "swarm-bot") due to 2 previous errors error: failed to compileswarm-bot v0.4.1 (https://github.com/SwarmBotMC/SwarmBot#20f0ff1d)
, intermediate artifacts can be found atC:\Users\benga\AppData\Local\Temp\cargo-installRYQuR2
. To reuse those artifacts with a future compilation, set the environment variableCARGO_TARGET_DIR
to that path..