[INFO] cloning repository https://github.com/kapitanov/rust-grep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kapitanov/rust-grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkapitanov%2Frust-grep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkapitanov%2Frust-grep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23d6a3d98837751c974061b13651432753ed0436 [INFO] checking kapitanov/rust-grep against master#8007b506ac5da629f223b755f5a5391edd5f6d01 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkapitanov%2Frust-grep" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kapitanov/rust-grep on toolchain 8007b506ac5da629f223b755f5a5391edd5f6d01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kapitanov/rust-grep [INFO] finished tweaking git repo https://github.com/kapitanov/rust-grep [INFO] tweaked toml for git repo https://github.com/kapitanov/rust-grep written to /workspace/builds/worker-76/source/Cargo.toml [INFO] crate git repo https://github.com/kapitanov/rust-grep already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df53663a6a485220498cd458448a472bff1bcd767d7964c4c6d58af0c366f093 [INFO] running `Command { std: "docker" "start" "-a" "df53663a6a485220498cd458448a472bff1bcd767d7964c4c6d58af0c366f093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df53663a6a485220498cd458448a472bff1bcd767d7964c4c6d58af0c366f093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df53663a6a485220498cd458448a472bff1bcd767d7964c4c6d58af0c366f093", kill_on_drop: false }` [INFO] [stdout] df53663a6a485220498cd458448a472bff1bcd767d7964c4c6d58af0c366f093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18f7d4de158fcab17d56fef366feefba43b1c00cbd1f71b7567f0f5169c56352 [INFO] running `Command { std: "docker" "start" "-a" "18f7d4de158fcab17d56fef366feefba43b1c00cbd1f71b7567f0f5169c56352", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking rustgrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:17:72 [INFO] [stdout] | [INFO] [stdout] 17 | fn try_create<'a>(&self, s: &str, ignore_case: bool) -> Result, String>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Pattern` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:17:72 [INFO] [stdout] | [INFO] [stdout] 17 | fn try_create<'a>(&self, s: &str, ignore_case: bool) -> Result, String>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Pattern` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | patterns: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Pattern` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | let mut patterns: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Pattern` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | fn instance<'a>() -> &'a PatternFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PatternFactory` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:139:72 [INFO] [stdout] | [INFO] [stdout] 139 | fn try_create<'a>(&self, s: &str, ignore_case: bool) -> Result, String> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Pattern` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | fn instance<'a>() -> &'a PatternFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PatternFactory` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:177:72 [INFO] [stdout] | [INFO] [stdout] 177 | fn try_create<'a>(&self, s: &str, ignore_case: bool) -> Result, String> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Pattern` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | patterns: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Pattern` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | let mut patterns: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Pattern` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | fn instance<'a>() -> &'a PatternFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PatternFactory` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:139:72 [INFO] [stdout] | [INFO] [stdout] 139 | fn try_create<'a>(&self, s: &str, ignore_case: bool) -> Result, String> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Pattern` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | fn instance<'a>() -> &'a PatternFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PatternFactory` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/grep.rs:177:72 [INFO] [stdout] | [INFO] [stdout] 177 | fn try_create<'a>(&self, s: &str, ignore_case: bool) -> Result, String> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Pattern` [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 [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/grep.rs:184:42 [INFO] [stdout] | [INFO] [stdout] 184 | let err = String::from(e.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/grep.rs:184:42 [INFO] [stdout] | [INFO] [stdout] 184 | let err = String::from(e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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 32.24s [INFO] running `Command { std: "docker" "inspect" "18f7d4de158fcab17d56fef366feefba43b1c00cbd1f71b7567f0f5169c56352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18f7d4de158fcab17d56fef366feefba43b1c00cbd1f71b7567f0f5169c56352", kill_on_drop: false }` [INFO] [stdout] 18f7d4de158fcab17d56fef366feefba43b1c00cbd1f71b7567f0f5169c56352