[INFO] crate gpx_reader 0.0.2 is already in cache [INFO] extracting crate gpx_reader 0.0.2 into work/ex/beta-1.37-6/sources/1.36.0/reg/gpx_reader/0.0.2 [INFO] extracting crate gpx_reader 0.0.2 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/gpx_reader/0.0.2 [INFO] validating manifest of gpx_reader-0.0.2 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of gpx_reader-0.0.2 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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/beta-1.37-6/sources/1.36.0/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/beta-1.37-6/sources/beta-2019-07-23/reg/gpx_reader/0.0.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing gpx_reader-0.0.2 against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/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=warn" "-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" "+1.36.0" "build" "--frozen"` [INFO] [stdout] bda77abe495a1a442936be0099d9b9f3ebd61494170b2a74bc2a1f7f8273dab4 [INFO] running `"docker" "start" "-a" "bda77abe495a1a442936be0099d9b9f3ebd61494170b2a74bc2a1f7f8273dab4"` [INFO] [stderr] Compiling gpx_reader v0.0.2 (/opt/crater/workdir) [INFO] [stderr] error: invalid width `` for integer literal [INFO] [stderr] --> src/bitbuffer.rs:37:20 [INFO] [stderr] | [INFO] [stderr] 37 | let mut word = 0u; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [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 width `` for integer literal [INFO] [stderr] --> src/bitbuffer.rs:46:20 [INFO] [stderr] | [INFO] [stderr] 46 | let mut word = 0u; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [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[E0658]: The attribute `phase` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/lib.rs:2:3 [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/29642 [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/lib.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/lib.rs:18:3 [INFO] [stderr] | [INFO] [stderr] 18 | #[deriving(Show, Encodable)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [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 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[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(phase)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [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] [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] [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] [INFO] [stderr] error: aborting due to 34 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0554, 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" "bda77abe495a1a442936be0099d9b9f3ebd61494170b2a74bc2a1f7f8273dab4"` [INFO] running `"docker" "rm" "-f" "bda77abe495a1a442936be0099d9b9f3ebd61494170b2a74bc2a1f7f8273dab4"` [INFO] [stdout] bda77abe495a1a442936be0099d9b9f3ebd61494170b2a74bc2a1f7f8273dab4