KernelFreeze / Litecraft

Open source, clean room implementation of Minecraft Client
MIT License
138 stars 6 forks source link

Build fails #2

Closed ghost closed 6 years ago

ghost commented 7 years ago
` Compiling litecraft v0.1.0 (file:///home/asdf/Litecraft) error: missing fragment specifier --> :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 https://github.com/rust-lang/rust/issues/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. `

KernelFreeze commented 7 years ago

We want to rewrite this in another programming language, for now, this error appears to be caused by some outdated library that we use.

KernelFreeze commented 6 years ago

Closing this, because we started the rewrite :)