Last active
August 29, 2015 14:15
-
-
Save rnestler/ad705dd5542083a77d33 to your computer and use it in GitHub Desktop.
Errors when compiling zinc
This file contains hidden or 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
% rake PLATFORM=lpc17xx build_all | |
rustc -C opt-level=2 -Z no-landing-pads --cfg cfg_mcu_has_spi --cfg mcu_lpc17xx --cfg arch_cortex_m3 --target thumbv7m-none-eabi -g -L /home/roughl/proggen/projects/zinc/build --out-dir /home/roughl/proggen/projects/zinc/build /home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:42:32: 42:36 warning: the `uint` type is deprecated; use `usize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:42 n: uint) -> *mut u8 { | |
^~~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:42:32: 42:36 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:42 n: uint) -> *mut u8 { | |
^~~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:45:51: 45:54 warning: the `int` type is deprecated; use `isize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:45 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:45:51: 45:54 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:45 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:45:27: 45:30 warning: the `int` type is deprecated; use `isize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:45 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:45:27: 45:30 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:45 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:53:33: 53:37 warning: the `uint` type is deprecated; use `usize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:53 n: uint) -> *mut u8 { | |
^~~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:53:33: 53:37 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:53 n: uint) -> *mut u8 { | |
^~~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:58:55: 58:58 warning: the `int` type is deprecated; use `isize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:58 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:58:55: 58:58 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:58 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:58:31: 58:34 warning: the `int` type is deprecated; use `isize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:58 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:58:31: 58:34 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:58 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:63:55: 63:58 warning: the `int` type is deprecated; use `isize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:63 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:63:55: 63:58 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:63 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:63:31: 63:34 warning: the `int` type is deprecated; use `isize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:63 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:63:31: 63:34 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:63 *dest.offset(i as int) = *src.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:71:52: 71:56 warning: the `uint` type is deprecated; use `usize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:71 pub unsafe extern fn memset(s: *mut u8, c: i32, n: uint) -> *mut u8 { | |
^~~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:71:52: 71:56 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:71 pub unsafe extern fn memset(s: *mut u8, c: i32, n: uint) -> *mut u8 { | |
^~~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:74:24: 74:27 warning: the `int` type is deprecated; use `isize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:74 *s.offset(i as int) = c as u8; | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:74:24: 74:27 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:74 *s.offset(i as int) = c as u8; | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:81:62: 81:66 warning: the `uint` type is deprecated; use `usize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:81 pub unsafe extern fn memcmp(s1: *const u8, s2: *const u8, n: uint) -> i32 { | |
^~~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:81:62: 81:66 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:81 pub unsafe extern fn memcmp(s1: *const u8, s2: *const u8, n: uint) -> i32 { | |
^~~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:84:33: 84:36 warning: the `int` type is deprecated; use `isize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:84 let a = *s1.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:84:33: 84:36 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:84 let a = *s1.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:85:33: 85:36 warning: the `int` type is deprecated; use `isize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:85 let b = *s2.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:85:33: 85:36 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:85 let b = *s2.offset(i as int); | |
^~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:26:1: 26:11 error: no_std is experimental | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:26 #![no_std] | |
^~~~~~~~~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:26:1: 26:11 help: add #![feature(no_std)] to the crate attributes to enable | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:26 #![no_std] | |
^~~~~~~~~~ | |
error: aborting due to previous error | |
rake aborted! | |
Command failed with status (101): [rustc -C opt-level=2 -Z no-landing-pads --...] | |
support/rake.rb:93:in `block in compile_rust' | |
Tasks: TOP => build_all => build_empty => /home/roughl/proggen/projects/zinc/build/app_empty.bin => /home/roughl/proggen/projects/zinc/build/app_empty.elf => /home/roughl/proggen/projects/zinc/build/intermediate/empty/app_empty.o => /home/roughl/proggen/projects/zinc/build/libzinc.rlib => /home/roughl/proggen/projects/zinc/build/librlibc.rlib | |
(See full trace by running task with --trace) |
This file contains hidden or 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
% rake PLATFORM=lpc17xx build_all | |
rustc -C opt-level=2 -Z no-landing-pads --cfg cfg_mcu_has_spi --cfg mcu_lpc17xx --cfg arch_cortex_m3 -g -L /home/roughl/proggen/projects/zinc/build --out-dir /home/roughl/proggen/projects/zinc/build /home/roughl/proggen/projects/zinc/src/ioreg/ioreg.rs | |
/home/roughl/proggen/projects/zinc/src/ioreg/parser.rs:496:17: 496:22 error: type `syntax::parse::token::InternedString` does not implement any method in scope named `get` | |
/home/roughl/proggen/projects/zinc/src/ioreg/parser.rs:496 if !s.get().starts_with(prefix) { | |
^~~~~ | |
/home/roughl/proggen/projects/zinc/src/ioreg/parser.rs:501:28: 501:33 error: type `syntax::parse::token::InternedString` does not implement any method in scope named `get` | |
/home/roughl/proggen/projects/zinc/src/ioreg/parser.rs:501 let stripped = s.get().slice_from(prefix.len()) | |
^~~~~ | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/setter.rs:70:41: 70:46 error: type `syntax::parse::token::InternedString` does not implement any method in scope named `get` | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/setter.rs:70 Some(d) => token::get_ident(d.node).get().to_string(), | |
^~~~~ | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/setter.rs:211:41: 211:46 error: type `syntax::parse::token::InternedString` does not implement any method in scope named `get` | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/setter.rs:211 Some(d) => token::get_ident(d.node).get().to_string(), | |
^~~~~ | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/setter.rs:253:41: 253:46 error: type `syntax::parse::token::InternedString` does not implement any method in scope named `get` | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/setter.rs:253 Some(d) => token::get_ident(d.node).get().to_string(), | |
^~~~~ | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/getter.rs:71:41: 71:46 error: type `syntax::parse::token::InternedString` does not implement any method in scope named `get` | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/getter.rs:71 Some(d) => token::get_ident(d.node).get().to_string(), | |
^~~~~ | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/getter.rs:184:55: 184:60 error: type `syntax::parse::token::InternedString` does not implement any method in scope named `get` | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/getter.rs:184 token::get_ident(field_doc).get()); | |
^~~~~ | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/register.rs:107:41: 107:46 error: type `syntax::parse::token::InternedString` does not implement any method in scope named `get` | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/register.rs:107 Some(d) => token::get_ident(d.node).get().to_string(), | |
^~~~~ | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/register.rs:133:41: 133:46 error: type `syntax::parse::token::InternedString` does not implement any method in scope named `get` | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/register.rs:133 Some(d) => token::get_ident(d.node).get().to_string(), | |
^~~~~ | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/accessors.rs:84:9: 84:14 error: type `syntax::parse::token::InternedString` does not implement any method in scope named `get` | |
/home/roughl/proggen/projects/zinc/src/ioreg/builder/accessors.rs:84 s.get().to_string() | |
^~~~~ | |
error: aborting due to 10 previous errors | |
rake aborted! | |
Command failed with status (101): [rustc -C opt-level=2 -Z no-landing-pads --...] | |
support/rake.rb:93:in `block in compile_rust' | |
Tasks: TOP => build_all => build_empty => /home/roughl/proggen/projects/zinc/build/app_empty.bin => /home/roughl/proggen/projects/zinc/build/app_empty.elf => /home/roughl/proggen/projects/zinc/build/intermediate/empty/app_empty.o => /home/roughl/proggen/projects/zinc/build/libzinc.rlib => /home/roughl/proggen/projects/zinc/build/libioreg.so | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment