[INFO] fetching crate gpx_reader 0.0.2... [INFO] checking gpx_reader-0.0.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate gpx_reader 0.0.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate gpx_reader 0.0.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gpx_reader 0.0.2 [INFO] finished tweaking crates.io crate gpx_reader 0.0.2 [INFO] tweaked toml for crates.io crate gpx_reader 0.0.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d3a9c012f827ed2211622d63514c673fb508714be835ecb75fcd15f0d33e99c [INFO] running `Command { std: "docker" "start" "-a" "7d3a9c012f827ed2211622d63514c673fb508714be835ecb75fcd15f0d33e99c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d3a9c012f827ed2211622d63514c673fb508714be835ecb75fcd15f0d33e99c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3a9c012f827ed2211622d63514c673fb508714be835ecb75fcd15f0d33e99c", kill_on_drop: false }` [INFO] [stdout] 7d3a9c012f827ed2211622d63514c673fb508714be835ecb75fcd15f0d33e99c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68a0eb078f65647c90c774bfb9243665973ec0cbbc2da02e3a241e6bffdb636e [INFO] running `Command { std: "docker" "start" "-a" "68a0eb078f65647c90c774bfb9243665973ec0cbbc2da02e3a241e6bffdb636e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking gpx_reader v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | let mut bb = bitbuffer::BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 61 | let mut bb = bitbuffer::BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | let mut bb = bitbuffer::BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 61 | let mut bb = bitbuffer::BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `uint`, not a shift [INFO] [stdout] --> src/bitbuffer.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | word = word | (bit as uint << (count - 1 - idx)); [INFO] [stdout] | ^^ -------- interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 40 | word = word | ((bit as uint) << (count - 1 - idx)); [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `uint`, not a shift [INFO] [stdout] --> src/bitbuffer.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | word = word | (bit as uint << (count - 1 - idx)); [INFO] [stdout] | ^^ -------- interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 40 | word = word | ((bit as uint) << (count - 1 - idx)); [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `uint`, not a shift [INFO] [stdout] --> src/bitbuffer.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | word = word | (bit as uint << idx); [INFO] [stdout] | ^^ ---- interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 49 | word = word | ((bit as uint) << idx); [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `uint`, not a shift [INFO] [stdout] --> src/bitbuffer.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | word = word | (bit as uint << idx); [INFO] [stdout] | ^^ ---- interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 49 | word = word | ((bit as uint) << idx); [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/bitbuffer.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 64 | let mut bb = BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/bitbuffer.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 64 | let mut bb = BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/bitbuffer.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 73 | let mut bb = BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/bitbuffer.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 73 | let mut bb = BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/bitbuffer.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 80 | let mut bb = BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/bitbuffer.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 80 | let mut bb = BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/bitbuffer.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 87 | let mut bb = BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/bitbuffer.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 87 | let mut bb = BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/bitbuffer.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 94 | let mut bb = BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/bitbuffer.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | let mut bb = BitBuffer::new(box MemReader::new(data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 94 | let mut bb = BitBuffer::new(Box::new(MemReader::new(data))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serialize` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serialize` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/lib.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/lib.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::MemReader`, `std::io::SeekSet` [INFO] [stdout] --> src/lib.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{IoResult, MemReader, SeekSet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ no `SeekSet` in `io` [INFO] [stdout] | | | [INFO] [stdout] | | no `MemReader` in `io` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Result, MemReader, SeekSet}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{IoResult, BufReader, SeekSet}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Reader`, `std::io::IoResult` [INFO] [stdout] --> src/bitbuffer.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Reader, IoResult}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `IoResult` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `Reader` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] IoResult [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, IoResult}; [INFO] [stdout] | ~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Reader, Result}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::MemReader` [INFO] [stdout] --> src/bitbuffer.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | use std::io::MemReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `MemReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 57 | use std::io::BufReader; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 57 | use MemReader; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/lib.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::MemReader`, `std::io::SeekSet` [INFO] [stdout] --> src/lib.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{IoResult, MemReader, SeekSet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ no `SeekSet` in `io` [INFO] [stdout] | | | [INFO] [stdout] | | no `MemReader` in `io` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Result, MemReader, SeekSet}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{IoResult, BufReader, SeekSet}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/lib.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[deriving(Show, Encodable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | debug!("Reading file..."); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Reader`, `std::io::IoResult` [INFO] [stdout] --> src/bitbuffer.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Reader, IoResult}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `IoResult` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `Reader` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] IoResult [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, IoResult}; [INFO] [stdout] | ~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Reader, Result}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | debug!("File type BCFZ"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | debug!("Decompressed BCFZ, found BCFS inside"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/lib.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | debug!("File type BCFS"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/lib.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[deriving(Show, Encodable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | debug!("Expected decomressed_data len: {}", expected_decomressed_data_len); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | debug!("Reading file..."); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | debug!("Successfully decompressed data. Len: {}, Expected len: {}", decomressed_data.len(), expected_decomressed_data_len); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | debug!("File type BCFZ"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | debug!("Decompressed BCFZ, found BCFS inside"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | debug!("File type BCFS"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | debug!("Expected decomressed_data len: {}", expected_decomressed_data_len); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | debug!("Successfully decompressed data. Len: {}, Expected len: {}", decomressed_data.len(), expected_decomressed_data_len); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | fn read(&mut self, buf: &mut [u8]) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 9 | impl Reader for BitBuffer { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/bitbuffer.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | for pos in range(0, buf.len()){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:30:60 [INFO] [stdout] | [INFO] [stdout] 30 | let bit = (self.byte >> (8 - self.bit_position - 1) as uint) & 0x1; //MSB [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_bits(&mut self, count: uint) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:36:56 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_bits(&mut self, count: uint) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl BitBuffer { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/bitbuffer.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | for idx in range(0, count) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | word = word | (bit as uint << (count - 1 - idx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_bits_reversed(&mut self, count: uint) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_bits_reversed(&mut self, count: uint) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl BitBuffer { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/bitbuffer.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | for idx in range(0, count) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | word = word | (bit as uint << idx); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:62:65 [INFO] [stdout] | [INFO] [stdout] 62 | let expected_decomressed_data_len = try!(bb.read_le_i32()) as uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | for _ in range(0,len) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:129:64 [INFO] [stdout] | [INFO] [stdout] 129 | file_data.extend(try!(reader.read_exact(sector_size as uint)).into_iter()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:134:53 [INFO] [stdout] | [INFO] [stdout] 134 | let file_size = try!(reader.read_le_i32()) as uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bitbuffer.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | buf[pos] = try!(self.read_bits(8).map(|opt| opt as u8 )); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bitbuffer.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | self.byte = try!(self.buffer.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bitbuffer.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let bit = try!(self.read_bit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bitbuffer.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let bit = try!(self.read_bit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | let expected_decomressed_data_len = try!(bb.read_le_i32()) as uint; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | let len = try!(bb.read_bits_reversed(2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let byte = try!(bb.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | let word_size = try!(bb.read_bits(4)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | let offset = try!(bb.read_bits_reversed(word_size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | let len = try!(bb.read_bits_reversed(word_size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | let bit = try!(bb.read_bit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | 0 => { try!(read_uncompressed_chunk(&mut bb, &mut decomressed_data)) }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | 1 => { try!(read_compressed_chunk(&mut bb, &mut decomressed_data)) }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | try!(reader.seek(offset, SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | try!(reader.seek(index_file_size, SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | if try!(reader.read_le_i32()) == 2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | try!(reader.seek(index_of_block + (4*block_count), SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | try!(reader.seek(offset, SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | block = try!(reader.read_le_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | file_data.extend(try!(reader.read_exact(sector_size as uint)).into_iter()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let file_size = try!(reader.read_le_i32()) as uint; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | try!(reader.seek(index_file_name, SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | try!(reader.seek(index_file_name, SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:137:40 [INFO] [stdout] | [INFO] [stdout] 137 | let file_name = str::from_utf8(try!(reader.read_exact(127)).as_slice()).unwrap().trim_right_chars('\0').to_string(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | fn read(&mut self, buf: &mut [u8]) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 9 | impl Reader for BitBuffer { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/bitbuffer.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | for pos in range(0, buf.len()){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:30:60 [INFO] [stdout] | [INFO] [stdout] 30 | let bit = (self.byte >> (8 - self.bit_position - 1) as uint) & 0x1; //MSB [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_bits(&mut self, count: uint) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:36:56 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_bits(&mut self, count: uint) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl BitBuffer { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/bitbuffer.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | for idx in range(0, count) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | word = word | (bit as uint << (count - 1 - idx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_bits_reversed(&mut self, count: uint) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_bits_reversed(&mut self, count: uint) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl BitBuffer { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/bitbuffer.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | for idx in range(0, count) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/bitbuffer.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | word = word | (bit as uint << idx); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:62:65 [INFO] [stdout] | [INFO] [stdout] 62 | let expected_decomressed_data_len = try!(bb.read_le_i32()) as uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | for _ in range(0,len) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:129:64 [INFO] [stdout] | [INFO] [stdout] 129 | file_data.extend(try!(reader.read_exact(sector_size as uint)).into_iter()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:134:53 [INFO] [stdout] | [INFO] [stdout] 134 | let file_size = try!(reader.read_le_i32()) as uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/bitbuffer.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let mut word = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/bitbuffer.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let mut word = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bitbuffer.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | buf[pos] = try!(self.read_bits(8).map(|opt| opt as u8 )); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bitbuffer.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | self.byte = try!(self.buffer.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bitbuffer.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let bit = try!(self.read_bit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bitbuffer.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let bit = try!(self.read_bit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | let expected_decomressed_data_len = try!(bb.read_le_i32()) as uint; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | let len = try!(bb.read_bits_reversed(2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let byte = try!(bb.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | let word_size = try!(bb.read_bits(4)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | let offset = try!(bb.read_bits_reversed(word_size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | let len = try!(bb.read_bits_reversed(word_size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | let bit = try!(bb.read_bit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | 0 => { try!(read_uncompressed_chunk(&mut bb, &mut decomressed_data)) }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bitbuffer.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | buffer: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | buffer: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | 1 => { try!(read_compressed_chunk(&mut bb, &mut decomressed_data)) }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | try!(reader.seek(offset, SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | try!(reader.seek(index_file_size, SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | if try!(reader.read_le_i32()) == 2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | try!(reader.seek(index_of_block + (4*block_count), SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | try!(reader.seek(offset, SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | block = try!(reader.read_le_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | file_data.extend(try!(reader.read_exact(sector_size as uint)).into_iter()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let file_size = try!(reader.read_le_i32()) as uint; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | try!(reader.seek(index_file_name, SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | try!(reader.seek(index_file_name, SeekSet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:137:40 [INFO] [stdout] | [INFO] [stdout] 137 | let file_name = str::from_utf8(try!(reader.read_exact(127)).as_slice()).unwrap().trim_right_chars('\0').to_string(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/bitbuffer.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let mut word = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/bitbuffer.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let mut word = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bitbuffer.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | buffer: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | buffer: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gpx_reader` (lib test) due to 41 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gpx_reader` (lib) due to 40 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68a0eb078f65647c90c774bfb9243665973ec0cbbc2da02e3a241e6bffdb636e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a0eb078f65647c90c774bfb9243665973ec0cbbc2da02e3a241e6bffdb636e", kill_on_drop: false }` [INFO] [stdout] 68a0eb078f65647c90c774bfb9243665973ec0cbbc2da02e3a241e6bffdb636e