Created
May 18, 2018 18:11
-
-
Save mre/301153a121caa310f7c11c21cc2bf5dc to your computer and use it in GitHub Desktop.
building stdgba with latest nightly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cargo build ✘ 130 | |
Compiling g v0.1.0 (file:///Users/mendler/Code/snippets/rust/g) | |
Compiling gbaimg v0.1.0 (file:///Users/mendler/Code/snippets/rust/g/gbaimg) | |
warning: unused import: `Term` | |
--> gbaimg/src/lib.rs:8:43 | |
| | |
8 | use proc_macro::{ TokenStream, TokenTree, Term }; | |
| ^^^^ | |
| | |
= note: #[warn(unused_imports)] on by default | |
warning: unused import: `std::fs::File` | |
--> gbaimg/src/lib.rs:17:5 | |
| | |
17 | use std::fs::File; | |
| ^^^^^^^^^^^^^ | |
warning: unused import: `std::collections::HashMap` | |
--> gbaimg/src/lib.rs:19:5 | |
| | |
19 | use std::collections::HashMap; | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
warning: unnecessary parentheses around `for` head expression | |
--> gbaimg/src/lib.rs:64:22 | |
| | |
64 | for y in (0..8) { | |
| ^^^^^^ help: remove these parentheses | |
| | |
= note: #[warn(unused_parens)] on by default | |
warning: unnecessary parentheses around `for` head expression | |
--> gbaimg/src/lib.rs:66:26 | |
| | |
66 | for x in (0..8) { | |
| ^^^^^^ help: remove these parentheses | |
warning: unnecessary parentheses around `for` head expression | |
--> gbaimg/src/lib.rs:144:22 | |
| | |
144 | for y in (0..8) { | |
| ^^^^^^ help: remove these parentheses | |
warning: unnecessary parentheses around `for` head expression | |
--> gbaimg/src/lib.rs:146:26 | |
| | |
146 | for x in (0..8) { | |
| ^^^^^^ help: remove these parentheses | |
warning: unused import: `image` | |
--> gbaimg/src/lib.rs:11:5 | |
| | |
11 | use image::*; | |
| ^^^^^ | |
error[E0512]: transmute called with types of different sizes | |
--> gbaimg/src/lib.rs:192:34 | |
| | |
192 | let trans = unsafe { transmute::<proc_macro::Literal, token::Token>(x.clone()) }; | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | |
= note: source type: proc_macro::Literal (160 bits) | |
= note: target type: syntax::parse::token::Token (192 bits) | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0512`. | |
error: Could not compile `gbaimg`. | |
warning: build failed, waiting for other jobs to finish... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment