[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Freliable-rw-rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/infinityb/reliable-rw-rust on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 14dfeac40b22081163f66af506d0fa456762e37bca87451bdb7afc6cd3383c3a [INFO] running `Command { std: "docker" "start" "-a" "14dfeac40b22081163f66af506d0fa456762e37bca87451bdb7afc6cd3383c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14dfeac40b22081163f66af506d0fa456762e37bca87451bdb7afc6cd3383c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14dfeac40b22081163f66af506d0fa456762e37bca87451bdb7afc6cd3383c3a", kill_on_drop: false }` [INFO] [stdout] 14dfeac40b22081163f66af506d0fa456762e37bca87451bdb7afc6cd3383c3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b5a0e5e0bcb745454968ce5efdd83baf28b3a9b3b5bf3aed750b1ccbeb871de [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6b5a0e5e0bcb745454968ce5efdd83baf28b3a9b3b5bf3aed750b1ccbeb871de", kill_on_drop: false }` [INFO] [stderr] Checking reliable-rw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `u` for integer 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 integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer 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 integral types (`u32`, `isize`, etc) [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] [INFO] [stdout] error: invalid suffix `u` for integer 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 integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer 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 integral types (`u32`, `isize`, etc) [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] [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] [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: invalid suffix `u` for integer 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 integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer 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 integral types (`u32`, `isize`, etc) [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] [INFO] [stdout] error: invalid suffix `u` for integer 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 integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer 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 integral types (`u32`, `isize`, etc) [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] [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] [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[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] [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] [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[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: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[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[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] [stderr] error: could not compile `reliable-rw` [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] [stderr] [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] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [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] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reliable_rw.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | try!(rv.output.write(MAGIC_HEADER)); [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/reliable_rw.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | try!(self.output.write(self.digest.result_bytes().as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/sha256.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | ((x & y) ^ ((!x) & z)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/sha256.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | ((x & y) ^ (x & z) ^ (y & z)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reliable_rw.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | output: &'a mut (Writer+'a), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Writer+'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reliable_rw.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let mut hasher: Box = box Sha256::new(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Digest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [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] [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] [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[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: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[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[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[E0658]: box expression syntax is experimental; you can call `Box::new` instead [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] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reliable_rw.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | try!(rv.output.write(MAGIC_HEADER)); [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/reliable_rw.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | try!(self.output.write(self.digest.result_bytes().as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/sha256.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | ((x & y) ^ ((!x) & z)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/sha256.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | ((x & y) ^ (x & z) ^ (y & z)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reliable_rw.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | output: &'a mut (Writer+'a), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Writer+'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reliable_rw.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let mut hasher: Box = box Sha256::new(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Digest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6b5a0e5e0bcb745454968ce5efdd83baf28b3a9b3b5bf3aed750b1ccbeb871de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b5a0e5e0bcb745454968ce5efdd83baf28b3a9b3b5bf3aed750b1ccbeb871de", kill_on_drop: false }` [INFO] [stdout] 6b5a0e5e0bcb745454968ce5efdd83baf28b3a9b3b5bf3aed750b1ccbeb871de