[INFO] cloning repository https://github.com/MikkelSchubert/big_text [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MikkelSchubert/big_text" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikkelSchubert%2Fbig_text", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikkelSchubert%2Fbig_text'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a5855e554b62355c8b109c6732ca986803d2219 [INFO] checking MikkelSchubert/big_text against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikkelSchubert%2Fbig_text" "/workspace/builds/worker-45/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-45/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MikkelSchubert/big_text on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MikkelSchubert/big_text [INFO] finished tweaking git repo https://github.com/MikkelSchubert/big_text [INFO] tweaked toml for git repo https://github.com/MikkelSchubert/big_text written to /workspace/builds/worker-45/source/Cargo.toml [INFO] crate git repo https://github.com/MikkelSchubert/big_text already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63716a0eca3ca6e0e19ac734a79fa8cb41700e946fd17578cba3b7629824a6a3 [INFO] running `Command { std: "docker" "start" "-a" "63716a0eca3ca6e0e19ac734a79fa8cb41700e946fd17578cba3b7629824a6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63716a0eca3ca6e0e19ac734a79fa8cb41700e946fd17578cba3b7629824a6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63716a0eca3ca6e0e19ac734a79fa8cb41700e946fd17578cba3b7629824a6a3", kill_on_drop: false }` [INFO] [stdout] 63716a0eca3ca6e0e19ac734a79fa8cb41700e946fd17578cba3b7629824a6a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65343d493ba1c2fd6b7e293a765b8d799f40c4b65fc733ebe290ec1e1c3f827d [INFO] running `Command { std: "docker" "start" "-a" "65343d493ba1c2fd6b7e293a765b8d799f40c4b65fc733ebe290ec1e1c3f827d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking vec_map v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking term_size v0.2.3 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking clap v2.23.1 [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Checking flate2 v0.2.17 [INFO] [stderr] Checking big_text v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/stderr.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / macro_rules! stderr( [INFO] [stdout] 3 | | ($($arg:tt)*) => { { [INFO] [stdout] 4 | | let result = write!(&mut ::std::io::stderr(), $($arg)*); [INFO] [stdout] 5 | | result.expect("error printing to stderr"); [INFO] [stdout] 6 | | } } [INFO] [stdout] 7 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processor.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | pub criteria: Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Criteria` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processor.rs:58:50 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_criteria(&mut self, criteria: Box) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Criteria` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processor.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | fn is_candidate_file(criteria: &mut Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Criteria` [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | 0...1023 => return format!("{}", n_bytes), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 1024...1048575 => (2u64.pow(10), " KB"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | 1048576...1073741823 => (2u64.pow(20), " MB"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | 1073741824...1099511627775 => (2u64.pow(30), " GB"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:70 [INFO] [stdout] | [INFO] [stdout] 46 | args::CriteriaArg::Text => Box::new(TextFiles::new()) as Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Criteria` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:48:75 [INFO] [stdout] | [INFO] [stdout] 48 | Box::new(DeflatableFiles::new(args.compression_ratio)) as Box [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Criteria` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | write!(fmt, "{}", self.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/error.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 40 | write!(fmt, " due to IO error: {}", error.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/error.rs:47:64 [INFO] [stdout] | [INFO] [stdout] 47 | write!(fmt, " due to walkdir error: {}", error.description())? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/stderr.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / macro_rules! stderr( [INFO] [stdout] 3 | | ($($arg:tt)*) => { { [INFO] [stdout] 4 | | let result = write!(&mut ::std::io::stderr(), $($arg)*); [INFO] [stdout] 5 | | result.expect("error printing to stderr"); [INFO] [stdout] 6 | | } } [INFO] [stdout] 7 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processor.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | pub criteria: Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Criteria` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processor.rs:58:50 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_criteria(&mut self, criteria: Box) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Criteria` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processor.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | fn is_candidate_file(criteria: &mut Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Criteria` [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | 0...1023 => return format!("{}", n_bytes), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 1024...1048575 => (2u64.pow(10), " KB"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | 1048576...1073741823 => (2u64.pow(20), " MB"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | 1073741824...1099511627775 => (2u64.pow(30), " GB"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:70 [INFO] [stdout] | [INFO] [stdout] 46 | args::CriteriaArg::Text => Box::new(TextFiles::new()) as Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Criteria` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:48:75 [INFO] [stdout] | [INFO] [stdout] 48 | Box::new(DeflatableFiles::new(args.compression_ratio)) as Box [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Criteria` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | write!(fmt, "{}", self.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/error.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 40 | write!(fmt, " due to IO error: {}", error.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/error.rs:47:64 [INFO] [stdout] | [INFO] [stdout] 47 | write!(fmt, " due to walkdir error: {}", error.description())? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.10s [INFO] running `Command { std: "docker" "inspect" "65343d493ba1c2fd6b7e293a765b8d799f40c4b65fc733ebe290ec1e1c3f827d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65343d493ba1c2fd6b7e293a765b8d799f40c4b65fc733ebe290ec1e1c3f827d", kill_on_drop: false }` [INFO] [stdout] 65343d493ba1c2fd6b7e293a765b8d799f40c4b65fc733ebe290ec1e1c3f827d