[INFO] cloning repository https://github.com/orottier/text-index [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/orottier/text-index" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forottier%2Ftext-index", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forottier%2Ftext-index'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 583f5a05c66044b811f301ddb3a8a2133a82802f [INFO] checking orottier/text-index against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forottier%2Ftext-index" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/orottier/text-index on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/orottier/text-index [INFO] finished tweaking git repo https://github.com/orottier/text-index [INFO] tweaked toml for git repo https://github.com/orottier/text-index written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/orottier/text-index already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a91f703dd22f840d55cfa0f174de63fb2deee3f120347207e9a3f4b1384ff6b [INFO] running `Command { std: "docker" "start" "-a" "9a91f703dd22f840d55cfa0f174de63fb2deee3f120347207e9a3f4b1384ff6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a91f703dd22f840d55cfa0f174de63fb2deee3f120347207e9a3f4b1384ff6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a91f703dd22f840d55cfa0f174de63fb2deee3f120347207e9a3f4b1384ff6b", kill_on_drop: false }` [INFO] [stdout] 9a91f703dd22f840d55cfa0f174de63fb2deee3f120347207e9a3f4b1384ff6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11eafef26db72c4eeb257f5578c0218f454beb5cf11aaf86c9da5ebc0c2c68ae [INFO] running `Command { std: "docker" "start" "-a" "11eafef26db72c4eeb257f5578c0218f454beb5cf11aaf86c9da5ebc0c2c68ae", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling bincode v1.1.2 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking crc32fast v1.1.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Checking flate2 v1.0.6 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking text_index v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/csv_index.rs:161:73 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn serialize(self, mut fh: File, length: u64) -> Result<(), Box> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/filter.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toc.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | ) -> Result>, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toc.rs:159:56 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn open(fh: &mut File) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toc.rs:172:80 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn write_head(&self, mut fh: &mut File, length: u64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/csv_index.rs:161:73 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn serialize(self, mut fh: File, length: u64) -> Result<(), Box> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/filter.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toc.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | ) -> Result>, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toc.rs:159:56 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn open(fh: &mut File) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toc.rs:172:80 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn write_head(&self, mut fh: &mut File, length: u64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.03s [INFO] running `Command { std: "docker" "inspect" "11eafef26db72c4eeb257f5578c0218f454beb5cf11aaf86c9da5ebc0c2c68ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11eafef26db72c4eeb257f5578c0218f454beb5cf11aaf86c9da5ebc0c2c68ae", kill_on_drop: false }` [INFO] [stdout] 11eafef26db72c4eeb257f5578c0218f454beb5cf11aaf86c9da5ebc0c2c68ae