[INFO] crate gpx_reader 0.0.2 is already in cache [INFO] extracting crate gpx_reader 0.0.2 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/gpx_reader/0.0.2 [INFO] extracting crate gpx_reader 0.0.2 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/gpx_reader/0.0.2 [INFO] validating manifest of gpx_reader-0.0.2 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of gpx_reader-0.0.2 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing gpx_reader-0.0.2 [INFO] finished frobbing gpx_reader-0.0.2 [INFO] frobbed toml for gpx_reader-0.0.2 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/gpx_reader/0.0.2/Cargo.toml [INFO] started frobbing gpx_reader-0.0.2 [INFO] finished frobbing gpx_reader-0.0.2 [INFO] frobbed toml for gpx_reader-0.0.2 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/gpx_reader/0.0.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking gpx_reader-0.0.2 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-1/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/gpx_reader/0.0.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 298b01c425d8536492c63a7f717139a42c0109da85dff97ce9a93328bd1098f2 [INFO] running `"docker" "start" "-a" "298b01c425d8536492c63a7f717139a42c0109da85dff97ce9a93328bd1098f2"` [INFO] [stderr] Checking gpx_reader v0.0.2 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bitbuffer.rs:37:20 [INFO] [stderr] | [INFO] [stderr] 37 | let mut word = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: `<` is interpreted as a start of generic arguments for `uint`, not a shift [INFO] [stderr] --> src/bitbuffer.rs:40:34 [INFO] [stderr] | [INFO] [stderr] 40 | word = word | (bit as uint << (count - 1 - idx)); [INFO] [stderr] | ----------- ^^ -------- interpreted as generic arguments [INFO] [stderr] | | | [INFO] [stderr] | | not interpreted as shift [INFO] [stderr] | help: try shifting the cast value: `(bit as uint)` [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bitbuffer.rs:46:20 [INFO] [stderr] | [INFO] [stderr] 46 | let mut word = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: `<` is interpreted as a start of generic arguments for `uint`, not a shift [INFO] [stderr] --> src/bitbuffer.rs:49:34 [INFO] [stderr] | [INFO] [stderr] 49 | word = word | (bit as uint << idx); [INFO] [stderr] | ----------- ^^ ---- interpreted as generic arguments [INFO] [stderr] | | | [INFO] [stderr] | | not interpreted as shift [INFO] [stderr] | help: try shifting the cast value: `(bit as uint)` [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bitbuffer.rs:37:20 [INFO] [stderr] | [INFO] [stderr] 37 | let mut word = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: `<` is interpreted as a start of generic arguments for `uint`, not a shift [INFO] [stderr] --> src/bitbuffer.rs:40:34 [INFO] [stderr] | [INFO] [stderr] 40 | word = word | (bit as uint << (count - 1 - idx)); [INFO] [stderr] | ----------- ^^ -------- interpreted as generic arguments [INFO] [stderr] | | | [INFO] [stderr] | | not interpreted as shift [INFO] [stderr] | help: try shifting the cast value: `(bit as uint)` [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/bitbuffer.rs:46:20 [INFO] [stderr] | [INFO] [stderr] 46 | let mut word = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: `<` is interpreted as a start of generic arguments for `uint`, not a shift [INFO] [stderr] --> src/bitbuffer.rs:49:34 [INFO] [stderr] | [INFO] [stderr] 49 | word = word | (bit as uint << idx); [INFO] [stderr] | ----------- ^^ ---- interpreted as generic arguments [INFO] [stderr] | | | [INFO] [stderr] | | not interpreted as shift [INFO] [stderr] | help: try shifting the cast value: `(bit as uint)` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::MemReader`, `std::io::SeekSet` [INFO] [stderr] --> src/lib.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{IoResult, MemReader, SeekSet}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ no `SeekSet` in `io` [INFO] [stderr] | | | [INFO] [stderr] | | no `MemReader` in `io` [INFO] [stderr] | no `IoResult` in `io` [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Result, MemReader, SeekSet}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{IoResult, BufReader, SeekSet}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::Reader`, `std::io::IoResult` [INFO] [stderr] --> src/bitbuffer.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{Reader, IoResult}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ no `IoResult` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `Reader` in `io` [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{Read, IoResult}; [INFO] [stderr] | ^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{Reader, Result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `phase` in this scope [INFO] [stderr] --> src/lib.rs:2:3 [INFO] [stderr] | [INFO] [stderr] 2 | #[phase(plugin, link)] extern crate log; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/lib.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/lib.rs:18:3 [INFO] [stderr] | [INFO] [stderr] 18 | #[deriving(Show, Encodable)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::MemReader`, `std::io::SeekSet` [INFO] [stderr] --> src/lib.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{IoResult, MemReader, SeekSet}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ no `SeekSet` in `io` [INFO] [stderr] | | | [INFO] [stderr] | | no `MemReader` in `io` [INFO] [stderr] | no `IoResult` in `io` [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Result, MemReader, SeekSet}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{IoResult, BufReader, SeekSet}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::Reader`, `std::io::IoResult` [INFO] [stderr] --> src/bitbuffer.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{Reader, IoResult}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ no `IoResult` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `Reader` in `io` [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{Read, IoResult}; [INFO] [stderr] | ^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{Reader, Result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::MemReader` [INFO] [stderr] --> src/bitbuffer.rs:57:7 [INFO] [stderr] | [INFO] [stderr] 57 | use std::io::MemReader; [INFO] [stderr] | ^^^^^^^^^--------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `BufReader` [INFO] [stderr] | no `MemReader` in `io` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `phase` in this scope [INFO] [stderr] --> src/lib.rs:2:3 [INFO] [stderr] | [INFO] [stderr] 2 | #[phase(plugin, link)] extern crate log; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/lib.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/lib.rs:18:3 [INFO] [stderr] | [INFO] [stderr] 18 | #[deriving(Show, Encodable)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:25:3 [INFO] [stderr] | [INFO] [stderr] 25 | debug!("Reading file..."); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:28:7 [INFO] [stderr] | [INFO] [stderr] 28 | debug!("File type BCFZ"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | debug!("Decompressed BCFZ, found BCFS inside"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:44:7 [INFO] [stderr] | [INFO] [stderr] 44 | debug!("File type BCFS"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:64:3 [INFO] [stderr] | [INFO] [stderr] 64 | debug!("Expected decomressed_data len: {}", expected_decomressed_data_len); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:96:3 [INFO] [stderr] | [INFO] [stderr] 96 | debug!("Successfully decompressed data. Len: {}, Expected len: {}", decomressed_data.len(), expected_decomressed_data_len); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:10:50 [INFO] [stderr] | [INFO] [stderr] 10 | fn read(&mut self, buf: &mut [u8]) -> IoResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bitbuffer.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | for pos in range(0, buf.len()){ [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:30:60 [INFO] [stderr] | [INFO] [stderr] 30 | let bit = (self.byte >> (8 - self.bit_position - 1) as uint) & 0x1; //MSB [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:36:38 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn read_bits(&mut self, count: uint) -> IoResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:36:56 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn read_bits(&mut self, count: uint) -> IoResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bitbuffer.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | for idx in range(0, count) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | word = word | (bit as uint << (count - 1 - idx)); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:45:47 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn read_bits_reversed(&mut self, count: uint) -> IoResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:45:65 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn read_bits_reversed(&mut self, count: uint) -> IoResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bitbuffer.rs:47:16 [INFO] [stderr] | [INFO] [stderr] 47 | for idx in range(0, count) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | word = word | (bit as uint << idx); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:62:65 [INFO] [stderr] | [INFO] [stderr] 62 | let expected_decomressed_data_len = try!(bb.read_le_i32()) as uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/lib.rs:69:14 [INFO] [stderr] | [INFO] [stderr] 69 | for _ in range(0,len) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:129:64 [INFO] [stderr] | [INFO] [stderr] 129 | file_data.extend(try!(reader.read_exact(sector_size as uint)).into_iter()); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:134:53 [INFO] [stderr] | [INFO] [stderr] 134 | let file_size = try!(reader.read_le_i32()) as uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/lib.rs:61:42 [INFO] [stderr] | [INFO] [stderr] 61 | let mut bb = bitbuffer::BitBuffer::new(box MemReader::new(data)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bitbuffer.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | buffer: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Reader+'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bitbuffer.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new(data: Box) -> BitBuffer { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Reader+'static` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | extern crate serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/lib.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | #[phase(plugin, link)] extern crate log; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 33 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `gpx_reader`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:25:3 [INFO] [stderr] | [INFO] [stderr] 25 | debug!("Reading file..."); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:28:7 [INFO] [stderr] | [INFO] [stderr] 28 | debug!("File type BCFZ"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | debug!("Decompressed BCFZ, found BCFS inside"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:44:7 [INFO] [stderr] | [INFO] [stderr] 44 | debug!("File type BCFS"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:64:3 [INFO] [stderr] | [INFO] [stderr] 64 | debug!("Expected decomressed_data len: {}", expected_decomressed_data_len); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug!` in this scope [INFO] [stderr] --> src/lib.rs:96:3 [INFO] [stderr] | [INFO] [stderr] 96 | debug!("Successfully decompressed data. Len: {}, Expected len: {}", decomressed_data.len(), expected_decomressed_data_len); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:10:50 [INFO] [stderr] | [INFO] [stderr] 10 | fn read(&mut self, buf: &mut [u8]) -> IoResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bitbuffer.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | for pos in range(0, buf.len()){ [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:30:60 [INFO] [stderr] | [INFO] [stderr] 30 | let bit = (self.byte >> (8 - self.bit_position - 1) as uint) & 0x1; //MSB [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:36:38 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn read_bits(&mut self, count: uint) -> IoResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:36:56 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn read_bits(&mut self, count: uint) -> IoResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bitbuffer.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | for idx in range(0, count) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | word = word | (bit as uint << (count - 1 - idx)); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:45:47 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn read_bits_reversed(&mut self, count: uint) -> IoResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:45:65 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn read_bits_reversed(&mut self, count: uint) -> IoResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/bitbuffer.rs:47:16 [INFO] [stderr] | [INFO] [stderr] 47 | for idx in range(0, count) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/bitbuffer.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | word = word | (bit as uint << idx); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:62:65 [INFO] [stderr] | [INFO] [stderr] 62 | let expected_decomressed_data_len = try!(bb.read_le_i32()) as uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/lib.rs:69:14 [INFO] [stderr] | [INFO] [stderr] 69 | for _ in range(0,len) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:129:64 [INFO] [stderr] | [INFO] [stderr] 129 | file_data.extend(try!(reader.read_exact(sector_size as uint)).into_iter()); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:134:53 [INFO] [stderr] | [INFO] [stderr] 134 | let file_size = try!(reader.read_le_i32()) as uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/bitbuffer.rs:64:33 [INFO] [stderr] | [INFO] [stderr] 64 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/bitbuffer.rs:73:33 [INFO] [stderr] | [INFO] [stderr] 73 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/bitbuffer.rs:80:33 [INFO] [stderr] | [INFO] [stderr] 80 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/bitbuffer.rs:87:33 [INFO] [stderr] | [INFO] [stderr] 87 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/bitbuffer.rs:94:33 [INFO] [stderr] | [INFO] [stderr] 94 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/lib.rs:61:42 [INFO] [stderr] | [INFO] [stderr] 61 | let mut bb = bitbuffer::BitBuffer::new(box MemReader::new(data)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bitbuffer.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | buffer: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Reader+'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bitbuffer.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new(data: Box) -> BitBuffer { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Reader+'static` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | extern crate serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/lib.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | #[phase(plugin, link)] extern crate log; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 39 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `gpx_reader`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "298b01c425d8536492c63a7f717139a42c0109da85dff97ce9a93328bd1098f2"` [INFO] running `"docker" "rm" "-f" "298b01c425d8536492c63a7f717139a42c0109da85dff97ce9a93328bd1098f2"` [INFO] [stdout] 298b01c425d8536492c63a7f717139a42c0109da85dff97ce9a93328bd1098f2