Open
Description
Hi, I'm trying to check this project but I'm getting the followging error while compiling with cargo build
.
warning: unused import: `LE`
--> src/main.rs:11:28
|
11 | use bedrockrs::core::int::{LE, VAR};
| ^^
|
= note: `#[warn(unused_imports)]` on by default
error[E0061]: this function takes 7 arguments but 6 arguments were supplied
--> src/main.rs:48:24
|
48 | let mut listener = listener::Listener::new_raknet(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
51 | 100,
| --- argument #3 of type `std::string::String` is missing
|
note: associated function defined here
--> /home/eptadot/.cargo/git/checkouts/bedrockrs-cdc582742ae1671f/b3baa1d/crates/proto/src/listener.rs:23:18
|
23 | pub async fn new_raknet(
| ^^^^^^^^^^
help: provide the argument
|
48 ~ let mut listener = listener::Listener::new_raknet(_config.display_name, _config.display_sub_name, /* std::string::String */, 0, 100, SocketAddr::V4(SocketAddrV4::new(
49 + Ipv4Addr::from_str("127.0.0.1").unwrap(),
50 + 19132,
51 + )), false)
|
For more information about this error, try `rustc --explain E0061`.
warning: `rastra` (bin "rastra") generated 1 warning
error: could not compile `rastra` (bin "rastra") due to 1 previous error; 1 warning emitted
Metadata
Assignees
Labels
No labels