[INFO] updating cached repository infinityb/reliable-rw-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/infinityb/reliable-rw-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/infinityb/reliable-rw-rust" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/infinityb/reliable-rw-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/infinityb/reliable-rw-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/infinityb/reliable-rw-rust" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infinityb/reliable-rw-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infinityb/reliable-rw-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 029234ff230f7b1dbf663b852b410cdabc134800 [INFO] sha for GitHub repo infinityb/reliable-rw-rust: 029234ff230f7b1dbf663b852b410cdabc134800 [INFO] validating manifest of infinityb/reliable-rw-rust on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of infinityb/reliable-rw-rust on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing infinityb/reliable-rw-rust [INFO] finished frobbing infinityb/reliable-rw-rust [INFO] frobbed toml for infinityb/reliable-rw-rust written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/infinityb/reliable-rw-rust/Cargo.toml [INFO] started frobbing infinityb/reliable-rw-rust [INFO] finished frobbing infinityb/reliable-rw-rust [INFO] frobbed toml for infinityb/reliable-rw-rust written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infinityb/reliable-rw-rust/Cargo.toml [INFO] crate infinityb/reliable-rw-rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking infinityb/reliable-rw-rust against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/infinityb/reliable-rw-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 110d0762d3781e09233524f974f0b8984cdd68e1c1eab7ca1d209f2264124320 [INFO] running `"docker" "start" "-a" "110d0762d3781e09233524f974f0b8984cdd68e1c1eab7ca1d209f2264124320"` [INFO] [stderr] Checking reliable-rw v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/sha256.rs:126:18 [INFO] [stderr] | [INFO] [stderr] 126 | for i in range(0u, 64u) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/sha256.rs:126:22 [INFO] [stderr] | [INFO] [stderr] 126 | for i in range(0u, 64u) { [INFO] [stderr] | ^^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: expected expression, found `]` [INFO] [stderr] --> src/sha256.rs:149:34 [INFO] [stderr] | [INFO] [stderr] 149 | func(self.buffer[]); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected argument name, found `:` [INFO] [stderr] --> src/sha256.rs:266:55 [INFO] [stderr] | [INFO] [stderr] 266 | let mut buf: Vec = range(0, length).map(|&: _| 0).collect(); [INFO] [stderr] | ^ expected argument name [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/sha256.rs:369:29 [INFO] [stderr] | [INFO] [stderr] 369 | for t in range_step(0u, 48, 8) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/sha256.rs:389:29 [INFO] [stderr] | [INFO] [stderr] 389 | for t in range_step(48u, 64, 8) { [INFO] [stderr] | ^^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: expected argument name, found `:` [INFO] [stderr] --> src/sha256.rs:462:39 [INFO] [stderr] | [INFO] [stderr] 462 | self.buffer.input(input, |&mut: input: &[u8]| { self_state.process_block(input) }); [INFO] [stderr] | ^ expected argument name [INFO] [stderr] [INFO] [stderr] error: expected argument name, found `:` [INFO] [stderr] --> src/sha256.rs:471:46 [INFO] [stderr] | [INFO] [stderr] 471 | self.buffer.standard_padding(8, |&mut: input: &[u8]| { self_state.process_block(input) }); [INFO] [stderr] | ^ expected argument name [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/sha256.rs:126:18 [INFO] [stderr] | [INFO] [stderr] 126 | for i in range(0u, 64u) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/sha256.rs:126:22 [INFO] [stderr] | [INFO] [stderr] 126 | for i in range(0u, 64u) { [INFO] [stderr] | ^^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: expected expression, found `]` [INFO] [stderr] --> src/sha256.rs:149:34 [INFO] [stderr] | [INFO] [stderr] 149 | func(self.buffer[]); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected argument name, found `:` [INFO] [stderr] --> src/sha256.rs:266:55 [INFO] [stderr] | [INFO] [stderr] 266 | let mut buf: Vec = range(0, length).map(|&: _| 0).collect(); [INFO] [stderr] | ^ expected argument name [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/sha256.rs:369:29 [INFO] [stderr] | [INFO] [stderr] 369 | for t in range_step(0u, 48, 8) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/sha256.rs:389:29 [INFO] [stderr] | [INFO] [stderr] 389 | for t in range_step(48u, 64, 8) { [INFO] [stderr] | ^^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: expected argument name, found `:` [INFO] [stderr] --> src/sha256.rs:462:39 [INFO] [stderr] | [INFO] [stderr] 462 | self.buffer.input(input, |&mut: input: &[u8]| { self_state.process_block(input) }); [INFO] [stderr] | ^ expected argument name [INFO] [stderr] [INFO] [stderr] error: expected argument name, found `:` [INFO] [stderr] --> src/sha256.rs:471:46 [INFO] [stderr] | [INFO] [stderr] 471 | self.buffer.standard_padding(8, |&mut: input: &[u8]| { self_state.process_block(input) }); [INFO] [stderr] | ^ expected argument name [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::IoError` [INFO] [stderr] --> src/reliable_rw.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::{IoResult, IoError}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ no `IoError` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `IoResult` in `io` [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::{Result, IoError}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::{IoResult, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::iter::range_step` [INFO] [stderr] --> src/sha256.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use std::iter::range_step; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `range_step` in `iter` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Int` [INFO] [stderr] --> src/sha256.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::slice::bytes` [INFO] [stderr] --> src/sha256.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | use std::slice::bytes::{MutableByteVector, copy_memory}; [INFO] [stderr] | ^^^^^ could not find `bytes` in `slice` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::IoError` [INFO] [stderr] --> src/reliable_rw.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::{IoResult, IoError}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ no `IoError` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `IoResult` in `io` [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::{Result, IoError}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 10 | use std::io::{IoResult, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::iter::range_step` [INFO] [stderr] --> src/sha256.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use std::iter::range_step; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `range_step` in `iter` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Int` [INFO] [stderr] --> src/sha256.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::slice::bytes` [INFO] [stderr] --> src/sha256.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | use std::slice::bytes::{MutableByteVector, copy_memory}; [INFO] [stderr] | ^^^^^ could not find `bytes` in `slice` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/sha256.rs:38:18 [INFO] [stderr] | [INFO] [stderr] 38 | for _ in range(0, dst.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:88:35 [INFO] [stderr] | [INFO] [stderr] 88 | fn zero_until(&mut self, idx: uint); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:92:36 [INFO] [stderr] | [INFO] [stderr] 92 | fn next<'s>(&'s mut self, len: uint) -> &'s mut [u8]; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:98:27 [INFO] [stderr] | [INFO] [stderr] 98 | fn position(&self) -> uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:101:28 [INFO] [stderr] | [INFO] [stderr] 101 | fn remaining(&self) -> uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:104:23 [INFO] [stderr] | [INFO] [stderr] 104 | fn size(&self) -> uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | buffer_idx: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/sha256.rs:126:12 [INFO] [stderr] | [INFO] [stderr] 126 | for i in range(0u, 64u) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:181:35 [INFO] [stderr] | [INFO] [stderr] 181 | fn zero_until(&mut self, idx: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:187:36 [INFO] [stderr] | [INFO] [stderr] 187 | fn next<'s>(&'s mut self, len: uint) -> &'s mut [u8] { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:198:27 [INFO] [stderr] | [INFO] [stderr] 198 | fn position(&self) -> uint { self.buffer_idx } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:200:28 [INFO] [stderr] | [INFO] [stderr] 200 | fn remaining(&self) -> uint { 64 - self.buffer_idx } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:202:23 [INFO] [stderr] | [INFO] [stderr] 202 | fn size(&self) -> uint { 64 } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:211:44 [INFO] [stderr] | [INFO] [stderr] 211 | fn standard_padding(&mut self, rem: uint, func: F) where F: FnMut(&[u8]); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:215:44 [INFO] [stderr] | [INFO] [stderr] 215 | fn standard_padding(&mut self, rem: uint, mut func: F) where F: FnMut(&[u8]) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:251:30 [INFO] [stderr] | [INFO] [stderr] 251 | fn output_bits(&self) -> uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:518:30 [INFO] [stderr] | [INFO] [stderr] 518 | fn output_bits(&self) -> uint { 256 } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/reliable_rw.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | pub static PIECE_SIZE: uint = 32 * 1024; // 32kB [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/reliable_rw.rs:23:28 [INFO] [stderr] | [INFO] [stderr] 23 | pub static MAX_PIECE_SIZE: uint = 256 * 1024; // 256kB [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stderr] --> src/reliable_rw.rs:39:22 [INFO] [stderr] | [INFO] [stderr] 39 | output: &'a mut (Writer+'a), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/reliable_rw.rs:44:36 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn new<'b>(output: &'b mut Writer) -> IoResult> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Reader` in this scope [INFO] [stderr] --> src/reliable_rw.rs:94:29 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn copy_out(input: &mut Reader, output: &mut Writer) -> ReliableWriteResult<()> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/reliable_rw.rs:94:50 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn copy_out(input: &mut Reader, output: &mut Writer) -> ReliableWriteResult<()> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/reliable_rw.rs:105:30 [INFO] [stderr] | [INFO] [stderr] 105 | let n = n as uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/reliable_rw.rs:95:35 [INFO] [stderr] | [INFO] [stderr] 95 | let mut hasher: Box = box Sha256::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reliable_rw.rs:39:22 [INFO] [stderr] | [INFO] [stderr] 39 | output: &'a mut (Writer+'a), [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Writer+'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reliable_rw.rs:95:25 [INFO] [stderr] | [INFO] [stderr] 95 | let mut hasher: Box = box Sha256::new(); [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Digest` [INFO] [stderr] [INFO] [stderr] error: aborting due to 37 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `reliable-rw`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/sha256.rs:38:18 [INFO] [stderr] | [INFO] [stderr] 38 | for _ in range(0, dst.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:88:35 [INFO] [stderr] | [INFO] [stderr] 88 | fn zero_until(&mut self, idx: uint); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:92:36 [INFO] [stderr] | [INFO] [stderr] 92 | fn next<'s>(&'s mut self, len: uint) -> &'s mut [u8]; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:98:27 [INFO] [stderr] | [INFO] [stderr] 98 | fn position(&self) -> uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:101:28 [INFO] [stderr] | [INFO] [stderr] 101 | fn remaining(&self) -> uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:104:23 [INFO] [stderr] | [INFO] [stderr] 104 | fn size(&self) -> uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | buffer_idx: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/sha256.rs:126:12 [INFO] [stderr] | [INFO] [stderr] 126 | for i in range(0u, 64u) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:181:35 [INFO] [stderr] | [INFO] [stderr] 181 | fn zero_until(&mut self, idx: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:187:36 [INFO] [stderr] | [INFO] [stderr] 187 | fn next<'s>(&'s mut self, len: uint) -> &'s mut [u8] { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:198:27 [INFO] [stderr] | [INFO] [stderr] 198 | fn position(&self) -> uint { self.buffer_idx } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:200:28 [INFO] [stderr] | [INFO] [stderr] 200 | fn remaining(&self) -> uint { 64 - self.buffer_idx } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:202:23 [INFO] [stderr] | [INFO] [stderr] 202 | fn size(&self) -> uint { 64 } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:211:44 [INFO] [stderr] | [INFO] [stderr] 211 | fn standard_padding(&mut self, rem: uint, func: F) where F: FnMut(&[u8]); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:215:44 [INFO] [stderr] | [INFO] [stderr] 215 | fn standard_padding(&mut self, rem: uint, mut func: F) where F: FnMut(&[u8]) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:251:30 [INFO] [stderr] | [INFO] [stderr] 251 | fn output_bits(&self) -> uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/sha256.rs:518:30 [INFO] [stderr] | [INFO] [stderr] 518 | fn output_bits(&self) -> uint { 256 } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/reliable_rw.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | pub static PIECE_SIZE: uint = 32 * 1024; // 32kB [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/reliable_rw.rs:23:28 [INFO] [stderr] | [INFO] [stderr] 23 | pub static MAX_PIECE_SIZE: uint = 256 * 1024; // 256kB [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stderr] --> src/reliable_rw.rs:39:22 [INFO] [stderr] | [INFO] [stderr] 39 | output: &'a mut (Writer+'a), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/reliable_rw.rs:44:36 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn new<'b>(output: &'b mut Writer) -> IoResult> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Reader` in this scope [INFO] [stderr] --> src/reliable_rw.rs:94:29 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn copy_out(input: &mut Reader, output: &mut Writer) -> ReliableWriteResult<()> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/reliable_rw.rs:94:50 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn copy_out(input: &mut Reader, output: &mut Writer) -> ReliableWriteResult<()> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/reliable_rw.rs:105:30 [INFO] [stderr] | [INFO] [stderr] 105 | let n = n as uint; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/reliable_rw.rs:95:35 [INFO] [stderr] | [INFO] [stderr] 95 | let mut hasher: Box = box Sha256::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reliable_rw.rs:39:22 [INFO] [stderr] | [INFO] [stderr] 39 | output: &'a mut (Writer+'a), [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Writer+'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reliable_rw.rs:95:25 [INFO] [stderr] | [INFO] [stderr] 95 | let mut hasher: Box = box Sha256::new(); [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Digest` [INFO] [stderr] [INFO] [stderr] error: aborting due to 37 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `reliable-rw`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "110d0762d3781e09233524f974f0b8984cdd68e1c1eab7ca1d209f2264124320"` [INFO] running `"docker" "rm" "-f" "110d0762d3781e09233524f974f0b8984cdd68e1c1eab7ca1d209f2264124320"` [INFO] [stdout] 110d0762d3781e09233524f974f0b8984cdd68e1c1eab7ca1d209f2264124320