[INFO] cloning repository https://github.com/infinityb/reliable-rw-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/infinityb/reliable-rw-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Freliable-rw-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Freliable-rw-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 029234ff230f7b1dbf663b852b410cdabc134800 [INFO] checking infinityb/reliable-rw-rust against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Freliable-rw-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/infinityb/reliable-rw-rust on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/infinityb/reliable-rw-rust [INFO] finished tweaking git repo https://github.com/infinityb/reliable-rw-rust [INFO] tweaked toml for git repo https://github.com/infinityb/reliable-rw-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/infinityb/reliable-rw-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e74d25869dcde857ea9b3e5478c9f35c97b427cf79ccb6c06a71c47746c137c6 [INFO] running `Command { std: "docker" "start" "-a" "e74d25869dcde857ea9b3e5478c9f35c97b427cf79ccb6c06a71c47746c137c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e74d25869dcde857ea9b3e5478c9f35c97b427cf79ccb6c06a71c47746c137c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74d25869dcde857ea9b3e5478c9f35c97b427cf79ccb6c06a71c47746c137c6", kill_on_drop: false }` [INFO] [stdout] e74d25869dcde857ea9b3e5478c9f35c97b427cf79ccb6c06a71c47746c137c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67a631f36a593ac42543c6ff59262e6694d874534c2c7adf26f8b168e247c860 [INFO] running `Command { std: "docker" "start" "-a" "67a631f36a593ac42543c6ff59262e6694d874534c2c7adf26f8b168e247c860", kill_on_drop: false }` [INFO] [stderr] Checking reliable-rw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/reliable_rw.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 95 | let mut hasher: Box = box Sha256::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 95 | let mut hasher: Box = Box::new(Sha256::new()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/reliable_rw.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 95 | let mut hasher: Box = box Sha256::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 95 | let mut hasher: Box = Box::new(Sha256::new()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/sha256.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | func(self.buffer[]); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/sha256.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | func(self.buffer[]); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/sha256.rs:266:55 [INFO] [stdout] | [INFO] [stdout] 266 | let mut buf: Vec = range(0, length).map(|&: _| 0).collect(); [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/sha256.rs:266:55 [INFO] [stdout] | [INFO] [stdout] 266 | let mut buf: Vec = range(0, length).map(|&: _| 0).collect(); [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/sha256.rs:462:39 [INFO] [stdout] | [INFO] [stdout] 462 | self.buffer.input(input, |&mut: input: &[u8]| { self_state.process_block(input) }); [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/sha256.rs:462:39 [INFO] [stdout] | [INFO] [stdout] 462 | self.buffer.input(input, |&mut: input: &[u8]| { self_state.process_block(input) }); [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/sha256.rs:471:46 [INFO] [stdout] | [INFO] [stdout] 471 | self.buffer.standard_padding(8, |&mut: input: &[u8]| { self_state.process_block(input) }); [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/sha256.rs:471:46 [INFO] [stdout] | [INFO] [stdout] 471 | self.buffer.standard_padding(8, |&mut: input: &[u8]| { self_state.process_block(input) }); [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::IoError` [INFO] [stdout] --> src/reliable_rw.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{IoResult, IoError}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ no `IoError` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{Result, IoError}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{IoResult, Error}; [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::IoError` [INFO] [stdout] --> src/reliable_rw.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{IoResult, IoError}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ no `IoError` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{Result, IoError}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{IoResult, Error}; [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::range_step` [INFO] [stdout] --> src/sha256.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::iter::range_step; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `range_step` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/sha256.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::bytes` [INFO] [stdout] --> src/sha256.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use std::slice::bytes::{MutableByteVector, copy_memory}; [INFO] [stdout] | ^^^^^ could not find `bytes` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::range_step` [INFO] [stdout] --> src/sha256.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::iter::range_step; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `range_step` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/sha256.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::bytes` [INFO] [stdout] --> src/sha256.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use std::slice::bytes::{MutableByteVector, copy_memory}; [INFO] [stdout] | ^^^^^ could not find `bytes` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/sha256.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | for _ in range(0, dst.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sha256.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | fn zero_until(&mut self, idx: uint); [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/sha256.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | fn next<'s>(&'s mut self, len: uint) -> &'s mut [u8]; [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/sha256.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | fn position(&self) -> uint; [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/sha256.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn remaining(&self) -> uint; [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/sha256.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | fn size(&self) -> uint; [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/sha256.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | buffer_idx: 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/sha256.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | for i in range(0u, 64u) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sha256.rs:181:35 [INFO] [stdout] | [INFO] [stdout] 181 | fn zero_until(&mut self, idx: uint) { [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/sha256.rs:187:36 [INFO] [stdout] | [INFO] [stdout] 187 | fn next<'s>(&'s mut self, len: uint) -> &'s mut [u8] { [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/sha256.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | fn position(&self) -> uint { self.buffer_idx } [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/sha256.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | for _ in range(0, dst.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sha256.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | fn remaining(&self) -> uint { 64 - self.buffer_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/sha256.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | fn size(&self) -> uint { 64 } [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/sha256.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | fn zero_until(&mut self, idx: uint); [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/sha256.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | fn next<'s>(&'s mut self, len: uint) -> &'s mut [u8]; [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/sha256.rs:211:44 [INFO] [stdout] | [INFO] [stdout] 211 | fn standard_padding(&mut self, rem: uint, func: F) where F: FnMut(&[u8]); [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/sha256.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | fn position(&self) -> uint; [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/sha256.rs:215:44 [INFO] [stdout] | [INFO] [stdout] 215 | fn standard_padding(&mut self, rem: uint, mut func: F) where F: FnMut(&[u8]) { [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/sha256.rs:251:30 [INFO] [stdout] | [INFO] [stdout] 251 | fn output_bits(&self) -> uint; [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/sha256.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn remaining(&self) -> uint; [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/sha256.rs:518:30 [INFO] [stdout] | [INFO] [stdout] 518 | fn output_bits(&self) -> uint { 256 } [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/sha256.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | fn size(&self) -> uint; [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/reliable_rw.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | pub static PIECE_SIZE: uint = 32 * 1024; // 32kB [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/sha256.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | buffer_idx: uint, [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/reliable_rw.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | pub static MAX_PIECE_SIZE: uint = 256 * 1024; // 256kB [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/reliable_rw.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | output: &'a mut (Writer+'a), [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/sha256.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | for i in range(0u, 64u) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/reliable_rw.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new<'b>(output: &'b mut Writer) -> 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/sha256.rs:181:35 [INFO] [stdout] | [INFO] [stdout] 181 | fn zero_until(&mut self, idx: uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reader` in this scope [INFO] [stdout] --> src/reliable_rw.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn copy_out(input: &mut Reader, output: &mut Writer) -> ReliableWriteResult<()> { [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/sha256.rs:187:36 [INFO] [stdout] | [INFO] [stdout] 187 | fn next<'s>(&'s mut self, len: uint) -> &'s mut [u8] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/reliable_rw.rs:94:50 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn copy_out(input: &mut Reader, output: &mut Writer) -> ReliableWriteResult<()> { [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/sha256.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | fn position(&self) -> uint { self.buffer_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/reliable_rw.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | let n = n as uint; [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/sha256.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | fn remaining(&self) -> uint { 64 - self.buffer_idx } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/sha256.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | for i in range(0u, 64u) { [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[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sha256.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | fn size(&self) -> uint { 64 } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/sha256.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | for i in range(0u, 64u) { [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[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sha256.rs:211:44 [INFO] [stdout] | [INFO] [stdout] 211 | fn standard_padding(&mut self, rem: uint, func: F) where F: FnMut(&[u8]); [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/sha256.rs:215:44 [INFO] [stdout] | [INFO] [stdout] 215 | fn standard_padding(&mut self, rem: uint, mut func: F) where F: FnMut(&[u8]) { [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/sha256.rs:251:30 [INFO] [stdout] | [INFO] [stdout] 251 | fn output_bits(&self) -> uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/sha256.rs:369:29 [INFO] [stdout] | [INFO] [stdout] 369 | for t in range_step(0u, 48, 8) { [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[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/sha256.rs:518:30 [INFO] [stdout] | [INFO] [stdout] 518 | fn output_bits(&self) -> uint { 256 } [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/reliable_rw.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | pub static PIECE_SIZE: uint = 32 * 1024; // 32kB [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/reliable_rw.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | pub static MAX_PIECE_SIZE: uint = 256 * 1024; // 256kB [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/sha256.rs:389:29 [INFO] [stdout] | [INFO] [stdout] 389 | for t in range_step(48u, 64, 8) { [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[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/reliable_rw.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | output: &'a mut (Writer+'a), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/reliable_rw.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new<'b>(output: &'b mut Writer) -> IoResult> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reader` in this scope [INFO] [stdout] --> src/reliable_rw.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn copy_out(input: &mut Reader, output: &mut Writer) -> ReliableWriteResult<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/reliable_rw.rs:94:50 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn copy_out(input: &mut Reader, output: &mut Writer) -> ReliableWriteResult<()> { [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/reliable_rw.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | let n = n 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/sha256.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | for i in range(0u, 64u) { [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/sha256.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | for i in range(0u, 64u) { [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/sha256.rs:369:29 [INFO] [stdout] | [INFO] [stdout] 369 | for t in range_step(0u, 48, 8) { [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/sha256.rs:389:29 [INFO] [stdout] | [INFO] [stdout] 389 | for t in range_step(48u, 64, 8) { [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: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reliable-rw` (lib test) due to 38 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `reliable-rw` (lib) due to 38 previous errors [INFO] running `Command { std: "docker" "inspect" "67a631f36a593ac42543c6ff59262e6694d874534c2c7adf26f8b168e247c860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67a631f36a593ac42543c6ff59262e6694d874534c2c7adf26f8b168e247c860", kill_on_drop: false }` [INFO] [stdout] 67a631f36a593ac42543c6ff59262e6694d874534c2c7adf26f8b168e247c860