[INFO] cloning repository https://github.com/r-darwish/raiden [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r-darwish/raiden" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-darwish%2Fraiden", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-darwish%2Fraiden'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bad7d258e9fe1bdeb6c6ca7a43c05bea4fc5154 [INFO] checking r-darwish/raiden against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-darwish%2Fraiden" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r-darwish/raiden on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r-darwish/raiden [INFO] finished tweaking git repo https://github.com/r-darwish/raiden [INFO] tweaked toml for git repo https://github.com/r-darwish/raiden written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/r-darwish/raiden already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff81e833a65336a4c54a071ce75640cfb05a87037906e3a32ea1d1bf2288cdf3 [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" "ff81e833a65336a4c54a071ce75640cfb05a87037906e3a32ea1d1bf2288cdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff81e833a65336a4c54a071ce75640cfb05a87037906e3a32ea1d1bf2288cdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff81e833a65336a4c54a071ce75640cfb05a87037906e3a32ea1d1bf2288cdf3", kill_on_drop: false }` [INFO] [stdout] ff81e833a65336a4c54a071ce75640cfb05a87037906e3a32ea1d1bf2288cdf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6876172435a32348b474cb2c49f5960805bc28d9e1f36c1f96bc6f1994a0f7ab [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" "6876172435a32348b474cb2c49f5960805bc28d9e1f36c1f96bc6f1994a0f7ab", kill_on_drop: false }` [INFO] [stderr] Checking raiden v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/raiden/split.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::{File, IoError, IoErrorKind}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/raiden/merge.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::{File, Reader, IoError, IoErrorKind}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/raiden/split.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::{File, IoError, IoErrorKind}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/raiden/merge.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::{File, Reader, IoError, IoErrorKind}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/raiden/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | range(0, disks).map(|_| [0; CHUNK_SIZE]).collect() [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/raiden/split.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | for s in range(0, disks) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/raiden/split.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let path = Path::new(format!("{}_{}", source_filename, s)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/raiden/split.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | for byte_i in range(0, chunks[parity_chunk].len()) { [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/raiden/split.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | for chunk_i in range(0, chunks.len()) { [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/raiden/split.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | for byte_i in range(n, chunk.len()) { [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/raiden/split.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | for chunk_i in range(0, chunks.len()) { [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/raiden/split.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | for bytes_i in range(0, chunks[chunk_i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/raiden/split.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | let mut source_file = try!(File::open(&Path::new(source_filename))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/raiden/split.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | let mut parity_disk_iterator = range(0, disks).cycle(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/raiden/merge.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let path = Path::new(format!("{}_{}", source_filename, disk)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/raiden/merge.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | for s in range(0, disks) { [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/raiden/merge.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | for chunk_index in range(0, chunks.len()) { [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/raiden/merge.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | for i in range(0, disks.len()) { [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/raiden/merge.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | for byte_index in range(0, chunks[missing_index].len()) { [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/raiden/merge.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | for chunk_index in range(0, chunks.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/raiden/merge.rs:135:48 [INFO] [stdout] | [INFO] [stdout] 135 | fn get_restored_path(source_filename: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/raiden/merge.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let mut path = Path::new(source_filename); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/raiden/merge.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | let mut parity_disk_iterator = range(0, disks).cycle(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | let mut disk_file = try!(File::create(&path)); [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/raiden/split.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | try!(disk_file.write_le_u64(source_file_length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | try!(disk.write_all(chunk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | eof_reached = try!(read_to_chunk(source_file, &mut chunks[chunk_i])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | let mut source_file = try!(File::open(&Path::new(source_filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let file_length = try!(source_file.stat()).size; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | let mut disk_files = try!(create_disks(source_filename, disks, file_length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | eof_reached = try!(read_to_chunks(&mut source_file, chunks.as_mut_slice(), parity_disk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | try!(write_to_disks(disk_files.as_mut_slice(), chunks.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | try!(restored_file.write_all(&chunk[..to_write])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | let bytes_read = try!(disk.read(chunk.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | let mut disk_array = try!(open_disks(source_filename, disks)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | let mut restored_file = try!(File::create(&get_restored_path(source_filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | try!(read_chunks_from_disks(chunks.as_mut_slice(), disk_array.disks.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:161:27 [INFO] [stdout] | [INFO] [stdout] 161 | remaining_bytes = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/raiden/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | range(0, disks).map(|_| [0; CHUNK_SIZE]).collect() [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/raiden/split.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | for s in range(0, disks) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/raiden/split.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let path = Path::new(format!("{}_{}", source_filename, s)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/raiden/split.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | for byte_i in range(0, chunks[parity_chunk].len()) { [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/raiden/split.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | for chunk_i in range(0, chunks.len()) { [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/raiden/split.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | for byte_i in range(n, chunk.len()) { [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/raiden/split.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | for chunk_i in range(0, chunks.len()) { [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/raiden/split.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | for bytes_i in range(0, chunks[chunk_i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/raiden/split.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | let mut source_file = try!(File::open(&Path::new(source_filename))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/raiden/split.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | let mut parity_disk_iterator = range(0, disks).cycle(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/raiden/merge.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let path = Path::new(format!("{}_{}", source_filename, disk)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/raiden/merge.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | for s in range(0, disks) { [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/raiden/merge.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | for chunk_index in range(0, chunks.len()) { [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/raiden/merge.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | for i in range(0, disks.len()) { [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/raiden/merge.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | for byte_index in range(0, chunks[missing_index].len()) { [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/raiden/merge.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | for chunk_index in range(0, chunks.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/raiden/merge.rs:135:48 [INFO] [stdout] | [INFO] [stdout] 135 | fn get_restored_path(source_filename: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/raiden/merge.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let mut path = Path::new(source_filename); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/raiden/merge.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | let mut parity_disk_iterator = range(0, disks).cycle(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | let mut disk_file = try!(File::create(&path)); [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/raiden/split.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | try!(disk_file.write_le_u64(source_file_length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | try!(disk.write_all(chunk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | eof_reached = try!(read_to_chunk(source_file, &mut chunks[chunk_i])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | let mut source_file = try!(File::open(&Path::new(source_filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let file_length = try!(source_file.stat()).size; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | let mut disk_files = try!(create_disks(source_filename, disks, file_length)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | eof_reached = try!(read_to_chunks(&mut source_file, chunks.as_mut_slice(), parity_disk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/split.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | try!(write_to_disks(disk_files.as_mut_slice(), chunks.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | try!(restored_file.write_all(&chunk[..to_write])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | let bytes_read = try!(disk.read(chunk.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | let mut disk_array = try!(open_disks(source_filename, disks)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | let mut restored_file = try!(File::create(&get_restored_path(source_filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | try!(read_chunks_from_disks(chunks.as_mut_slice(), disk_array.disks.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raiden/merge.rs:161:27 [INFO] [stdout] | [INFO] [stdout] 161 | remaining_bytes = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/main.rs:35:88 [INFO] [stdout] | [INFO] [stdout] 35 | [_, ref command, ref filename, ref disks_str] if command.as_slice() == "split".as_slice() => { [INFO] [stdout] | ^^^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/main.rs:35:88 [INFO] [stdout] | [INFO] [stdout] 35 | [_, ref command, ref filename, ref disks_str] if command.as_slice() == "split".as_slice() => { [INFO] [stdout] | ^^^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | ($arg:ident, $err:expr) => (match FromStr::from_str($arg.as_slice()) { [INFO] [stdout] | ---------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 14 | None => { [INFO] [stdout] | ^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] ... [INFO] [stdout] 36 | let disks: usize = try_arg_parse!(disks_str, "Invalid number of disks"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 13 | ($arg:ident, $err:expr) => (match FromStr::from_str($arg.as_slice()) { [INFO] [stdout] | ---------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] ... [INFO] [stdout] 18 | Some(n) => n [INFO] [stdout] | ^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] ... [INFO] [stdout] 36 | let disks: usize = try_arg_parse!(disks_str, "Invalid number of disks"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | ($arg:ident, $err:expr) => (match FromStr::from_str($arg.as_slice()) { [INFO] [stdout] | ---------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 14 | None => { [INFO] [stdout] | ^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] ... [INFO] [stdout] 36 | let disks: usize = try_arg_parse!(disks_str, "Invalid number of disks"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 13 | ($arg:ident, $err:expr) => (match FromStr::from_str($arg.as_slice()) { [INFO] [stdout] | ---------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] ... [INFO] [stdout] 18 | Some(n) => n [INFO] [stdout] | ^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] ... [INFO] [stdout] 36 | let disks: usize = try_arg_parse!(disks_str, "Invalid number of disks"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/main.rs:39:88 [INFO] [stdout] | [INFO] [stdout] 39 | [_, ref command, ref filename, ref disks_str] if command.as_slice() == "merge".as_slice() => { [INFO] [stdout] | ^^^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | ($arg:ident, $err:expr) => (match FromStr::from_str($arg.as_slice()) { [INFO] [stdout] | ---------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 14 | None => { [INFO] [stdout] | ^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] ... [INFO] [stdout] 40 | let disks: usize = try_arg_parse!(disks_str, "Invalid number of disks"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 13 | ($arg:ident, $err:expr) => (match FromStr::from_str($arg.as_slice()) { [INFO] [stdout] | ---------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] ... [INFO] [stdout] 18 | Some(n) => n [INFO] [stdout] | ^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] ... [INFO] [stdout] 40 | let disks: usize = try_arg_parse!(disks_str, "Invalid number of disks"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/main.rs:39:88 [INFO] [stdout] | [INFO] [stdout] 39 | [_, ref command, ref filename, ref disks_str] if command.as_slice() == "merge".as_slice() => { [INFO] [stdout] | ^^^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | ($arg:ident, $err:expr) => (match FromStr::from_str($arg.as_slice()) { [INFO] [stdout] | ---------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] 14 | None => { [INFO] [stdout] | ^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] ... [INFO] [stdout] 40 | let disks: usize = try_arg_parse!(disks_str, "Invalid number of disks"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 13 | ($arg:ident, $err:expr) => (match FromStr::from_str($arg.as_slice()) { [INFO] [stdout] | ---------------------------------- this expression has type `std::result::Result<_, _>` [INFO] [stdout] ... [INFO] [stdout] 18 | Some(n) => n [INFO] [stdout] | ^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] ... [INFO] [stdout] 40 | let disks: usize = try_arg_parse!(disks_str, "Invalid number of disks"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, _>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raiden` [INFO] [stdout] error: aborting due to 28 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6876172435a32348b474cb2c49f5960805bc28d9e1f36c1f96bc6f1994a0f7ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6876172435a32348b474cb2c49f5960805bc28d9e1f36c1f96bc6f1994a0f7ab", kill_on_drop: false }` [INFO] [stdout] 6876172435a32348b474cb2c49f5960805bc28d9e1f36c1f96bc6f1994a0f7ab