[INFO] cloning repository https://github.com/slyphon/cdb_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slyphon/cdb_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslyphon%2Fcdb_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslyphon%2Fcdb_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c6a484b2596d07875090597de781d72f203187f [INFO] testing slyphon/cdb_rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslyphon%2Fcdb_rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/slyphon/cdb_rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/slyphon/cdb_rs [INFO] finished tweaking git repo https://github.com/slyphon/cdb_rs [INFO] tweaked toml for git repo https://github.com/slyphon/cdb_rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/slyphon/cdb_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c00d87a062b722595a04441b877dde91d147c1ec4b6fe314a314b233dad05f50 [INFO] running `Command { std: "docker" "start" "-a" "c00d87a062b722595a04441b877dde91d147c1ec4b6fe314a314b233dad05f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c00d87a062b722595a04441b877dde91d147c1ec4b6fe314a314b233dad05f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c00d87a062b722595a04441b877dde91d147c1ec4b6fe314a314b233dad05f50", kill_on_drop: false }` [INFO] [stdout] c00d87a062b722595a04441b877dde91d147c1ec4b6fe314a314b233dad05f50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3816e98aeca6fa7253335f7bcfa0d2218559ba0e4f47728479bcd8638e26aa9 [INFO] running `Command { std: "docker" "start" "-a" "e3816e98aeca6fa7253335f7bcfa0d2218559ba0e4f47728479bcd8638e26aa9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.1 [INFO] [stderr] Compiling bytes v0.4.8 [INFO] [stderr] Compiling cdb_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/cdb/randoread.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/cdb/input.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/cdb/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/cdb/input.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufReader,BufWriter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/cdb/input.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Utf8Error` [INFO] [stdout] --> src/cdb/input.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::str::Utf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/cdb/input.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `thread_rng` [INFO] [stdout] --> src/cdb/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/cdb/mod.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | let offsets: Vec = rng.map({|j| t_rec.ptr + (j * END_TABLE_ENTRY_SIZE) }).collect(); [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 179 - let offsets: Vec = rng.map({|j| t_rec.ptr + (j * END_TABLE_ENTRY_SIZE) }).collect(); [INFO] [stdout] 179 + let offsets: Vec = rng.map(|j| t_rec.ptr + (j * END_TABLE_ENTRY_SIZE)).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cdb/mod.rs:204:38 [INFO] [stdout] | [INFO] [stdout] 204 | fn kvs_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - fn kvs_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] 204 + fn kvs_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cdb/input.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn parse<'a>(file: &'a mut File) -> Box> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - pub fn parse<'a>(file: &'a mut File) -> Box> + 'a> { [INFO] [stdout] 123 + pub fn parse<'a>(file: &'a mut File) -> Box> + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cdb/errors.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 41 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cdb/errors.rs:35:50 [INFO] [stdout] | [INFO] [stdout] 35 | WriterError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cdb/errors.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | WriterError::UTF8Error(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cdb/errors.rs:37:53 [INFO] [stdout] | [INFO] [stdout] 37 | WriterError::ParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kvs` [INFO] [stdout] --> src/cdb/mod.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | fn kvs(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `BufReaders` [INFO] [stdout] --> src/cdb/input.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum BufReaders { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DASH` [INFO] [stdout] --> src/cdb/input.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const DASH: u8 = 0x2a; // ASCII '-' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GT` [INFO] [stdout] --> src/cdb/input.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | const GT: u8 = 0x3e; // ASCII '>' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump` [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn dump(filename: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.52s [INFO] running `Command { std: "docker" "inspect" "e3816e98aeca6fa7253335f7bcfa0d2218559ba0e4f47728479bcd8638e26aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3816e98aeca6fa7253335f7bcfa0d2218559ba0e4f47728479bcd8638e26aa9", kill_on_drop: false }` [INFO] [stdout] e3816e98aeca6fa7253335f7bcfa0d2218559ba0e4f47728479bcd8638e26aa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2ea800a8ab5a444334a1b35235655d7f84912e7a44efb92a142ca8cc03123a4 [INFO] running `Command { std: "docker" "start" "-a" "b2ea800a8ab5a444334a1b35235655d7f84912e7a44efb92a142ca8cc03123a4", kill_on_drop: false }` [INFO] [stderr] Compiling cdb_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/cdb/randoread.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/cdb/input.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/cdb/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/cdb/input.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufReader,BufWriter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/cdb/input.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Utf8Error` [INFO] [stdout] --> src/cdb/input.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::str::Utf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/cdb/input.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `thread_rng` [INFO] [stdout] --> src/cdb/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/cdb/mod.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | let offsets: Vec = rng.map({|j| t_rec.ptr + (j * END_TABLE_ENTRY_SIZE) }).collect(); [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 179 - let offsets: Vec = rng.map({|j| t_rec.ptr + (j * END_TABLE_ENTRY_SIZE) }).collect(); [INFO] [stdout] 179 + let offsets: Vec = rng.map(|j| t_rec.ptr + (j * END_TABLE_ENTRY_SIZE)).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cdb/mod.rs:204:38 [INFO] [stdout] | [INFO] [stdout] 204 | fn kvs_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - fn kvs_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] 204 + fn kvs_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cdb/input.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn parse<'a>(file: &'a mut File) -> Box> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - pub fn parse<'a>(file: &'a mut File) -> Box> + 'a> { [INFO] [stdout] 123 + pub fn parse<'a>(file: &'a mut File) -> Box> + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cdb/errors.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 41 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cdb/errors.rs:35:50 [INFO] [stdout] | [INFO] [stdout] 35 | WriterError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cdb/errors.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | WriterError::UTF8Error(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cdb/errors.rs:37:53 [INFO] [stdout] | [INFO] [stdout] 37 | WriterError::ParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kvs` [INFO] [stdout] --> src/cdb/mod.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | fn kvs(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `BufReaders` [INFO] [stdout] --> src/cdb/input.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum BufReaders { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DASH` [INFO] [stdout] --> src/cdb/input.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const DASH: u8 = 0x2a; // ASCII '-' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GT` [INFO] [stdout] --> src/cdb/input.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | const GT: u8 = 0x3e; // ASCII '>' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump` [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn dump(filename: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/cdb/randoread.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/cdb/input.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/cdb/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/cdb/input.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufReader,BufWriter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/cdb/input.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Utf8Error` [INFO] [stdout] --> src/cdb/input.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::str::Utf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/cdb/input.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `thread_rng` [INFO] [stdout] --> src/cdb/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/cdb/mod.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | let offsets: Vec = rng.map({|j| t_rec.ptr + (j * END_TABLE_ENTRY_SIZE) }).collect(); [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 179 - let offsets: Vec = rng.map({|j| t_rec.ptr + (j * END_TABLE_ENTRY_SIZE) }).collect(); [INFO] [stdout] 179 + let offsets: Vec = rng.map(|j| t_rec.ptr + (j * END_TABLE_ENTRY_SIZE)).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cdb/mod.rs:204:38 [INFO] [stdout] | [INFO] [stdout] 204 | fn kvs_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - fn kvs_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] 204 + fn kvs_iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cdb/input.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn parse<'a>(file: &'a mut File) -> Box> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - pub fn parse<'a>(file: &'a mut File) -> Box> + 'a> { [INFO] [stdout] 123 + pub fn parse<'a>(file: &'a mut File) -> Box> + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cdb/errors.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 41 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cdb/errors.rs:35:50 [INFO] [stdout] | [INFO] [stdout] 35 | WriterError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cdb/errors.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | WriterError::UTF8Error(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cdb/errors.rs:37:53 [INFO] [stdout] | [INFO] [stdout] 37 | WriterError::ParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cdb/input.rs:144:56 [INFO] [stdout] | [INFO] [stdout] 144 | let recs: Vec> = parse(&mut br).collect(); [INFO] [stdout] | ^^^^^^^ expected struct `File`, found struct `std::io::BufReader` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut File` [INFO] [stdout] found mutable reference `&mut std::io::BufReader>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cdb_rs` due to 2 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b2ea800a8ab5a444334a1b35235655d7f84912e7a44efb92a142ca8cc03123a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2ea800a8ab5a444334a1b35235655d7f84912e7a44efb92a142ca8cc03123a4", kill_on_drop: false }` [INFO] [stdout] b2ea800a8ab5a444334a1b35235655d7f84912e7a44efb92a142ca8cc03123a4