Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Build fails #2

Closed
Closed
@ghost

Description

` Compiling litecraft v0.1.0 (file:///home/asdf/Litecraft)
error: missing fragment specifier
--> <clap_app macros>:84:47
|
84 | @ arg ( $ arg : expr ) $ modes : tt ! $ ident $ ( $ tail : tt ) * ) => {
| ^
|
= note: #[deny(missing_fragment_specifier)] on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #40107 rust-lang/rust#40107

warning: unused import: MouseButton
--> camera/mod.rs:3:17
|
3 | use glfw::{Key, MouseButton, Action, WindowEvent};
| ^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default

warning: unused imports: Rotation2, Vector2
--> block/model.rs:6:26
|
6 | use na::{Point3, Point2, Rotation2, Vector2};
| ^^^^^^^^^ ^^^^^^^

warning: unused import: na
--> block/model.rs:7:5
|
7 | use na;
| ^^

warning: unused import: uuid::Uuid
--> protocol/packet.rs:1:5
|
1 | use uuid::Uuid;
| ^^^^^^^^^^

warning: unused import: std::io
--> protocol/packet.rs:2:5
|
2 | use std::io;
| ^^^^^^^

warning: unused imports: LittleEndian, WriteBytesExt
--> protocol/packet.rs:5:31
|
5 | use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian, LittleEndian};
| ^^^^^^^^^^^^^ ^^^^^^^^^^^^

warning: unused import: kiss3d::text::Font
--> client.rs:9:5
|
9 | use kiss3d::text::Font;
| ^^^^^^^^^^^^^^^^^^

warning: unused import: resource_manager as res
--> client.rs:12:5
|
12 | use resource_manager as res;
| ^^^^^^^^^^^^^^^^^^^^^^^

warning: unused extern crate
--> main.rs:10:1
|
10 | extern crate serde;
| ^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_extern_crates)] on by default

warning: unused extern crate
--> main.rs:22:1
|
22 | extern crate tokio_io;
| ^^^^^^^^^^^^^^^^^^^^^^

warning: unused extern crate
--> client.rs:1:1
|
1 | extern crate std;
| ^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: Could not compile litecraft.

To learn more, run the command again with --verbose.
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions