Skip to content

[error] Doesn't compile #7

Open
@CelestifyX

Description

@CelestifyX
error[E0433]: failed to resolve: could not find `login` in `proto`
 --> src/main.rs:4:23
  |
4 | use bedrockrs::proto::login::provider::DefaultLoginProvider;
  |                       ^^^^^ could not find `login` in `proto`

error[E0432]: unresolved import `bedrockrs::proto::login`
 --> src/main.rs:3:23
  |
3 | use bedrockrs::proto::login::login_to_server;
  |                       ^^^^^ could not find `login` in `proto`

error[E0433]: failed to resolve: could not find `packets` in `proto`
  --> src/main.rs:12:23
   |
12 | use bedrockrs::proto::packets::chunk_publisher_update::ChunkPublisherUpdatePacket;
   |                       ^^^^^^^ could not find `packets` in `proto`

error[E0433]: failed to resolve: could not find `packets` in `proto`
  --> src/main.rs:13:23
   |
13 | use bedrockrs::proto::packets::chunk_radius_updated::ChunkRadiusUpdatedPacket;
   |                       ^^^^^^^ could not find `packets` in `proto`

error[E0433]: failed to resolve: could not find `packets` in `proto`
  --> src/main.rs:14:23
   |
14 | use bedrockrs::proto::packets::level_chunk::LevelChunkPacket;
   |                       ^^^^^^^ could not find `packets` in `proto`

error[E0432]: unresolved import `bedrockrs::proto::gamepackets`
  --> src/main.rs:11:23
   |
11 | use bedrockrs::proto::gamepackets::GamePackets;
   |                       ^^^^^^^^^^^ could not find `gamepackets` in `proto`

error[E0432]: unresolved import `bedrockrs::proto::types::block_pos`
  --> src/main.rs:15:30
   |
15 | use bedrockrs::proto::types::block_pos::BlockPos;
   |                              ^^^^^^^^^ could not find `block_pos` in `types`

error[E0433]: failed to resolve: could not find `world` in `bedrockrs`
  --> src/main.rs:17:16
   |
17 | use bedrockrs::world::palette::PalettedStorage;
   |                ^^^^^ could not find `world` in `bedrockrs`

error[E0432]: unresolved import `bedrockrs::proto::types::chunk_pos`
  --> src/main.rs:16:30
   |
16 | use bedrockrs::proto::types::chunk_pos::ChunkPos;
   |                              ^^^^^^^^^ could not find `chunk_pos` in `types`

error[E0599]: no method named `into_shard` found for struct `Connection` in the current scope
  --> src/main.rs:73:10
   |
72 |       let mut shard = connection
   |  _____________________-
73 | |         .into_shard(Duration::from_millis(1000 / 20), 256)
   | |         -^^^^^^^^^^ method not found in `Connection`
   | |_________|
   |

error[E0433]: failed to resolve: use of undeclared type `VAR`
   --> src/main.rs:121:43
    |
121 | ...                   dimension_id: VAR::new(0),
    |                                     ^^^ use of undeclared type `VAR`

error[E0433]: failed to resolve: use of undeclared type `VAR`
   --> src/main.rs:122:46
    |
122 | ...                   sub_chunk_count: VAR::new(1),
    |                                        ^^^ use of undeclared type `VAR`

error[E0433]: failed to resolve: use of undeclared type `VAR`
   --> src/main.rs:126:60
    |
126 | ...                   client_request_subchunk_limit: VAR::new(0xFFFFFFFFu32 as i32),
    |                                                      ^^^ use of undeclared type `VAR`

error[E0433]: failed to resolve: use of undeclared type `VAR`
   --> src/main.rs:133:29
    |
133 |                     radius: VAR::new(16*16),
    |                             ^^^ use of undeclared type `VAR`

error[E0433]: failed to resolve: use of undeclared type `VAR`
   --> src/main.rs:146:35
    |
146 |                     chunk_radius: VAR::new(pk.chunk_radius_max as i32),
    |                                   ^^^ use of undeclared type `VAR`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions