[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#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkapitanov%2Frust-grep" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kapitanov/rust-grep on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-9/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd1bc18d6bab279197a7509a7e8b49212b631128539f37e62538683d62c62aee [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" "dd1bc18d6bab279197a7509a7e8b49212b631128539f37e62538683d62c62aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd1bc18d6bab279197a7509a7e8b49212b631128539f37e62538683d62c62aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd1bc18d6bab279197a7509a7e8b49212b631128539f37e62538683d62c62aee", kill_on_drop: false }` [INFO] [stdout] dd1bc18d6bab279197a7509a7e8b49212b631128539f37e62538683d62c62aee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d6ed1d5346fc46287bac0a2d9a185a5b4cb24a4d0a347822a1fbb3c6cee8ea9 [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" "0d6ed1d5346fc46287bac0a2d9a185a5b4cb24a4d0a347822a1fbb3c6cee8ea9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 10.31s [INFO] running `Command { std: "docker" "inspect" "0d6ed1d5346fc46287bac0a2d9a185a5b4cb24a4d0a347822a1fbb3c6cee8ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d6ed1d5346fc46287bac0a2d9a185a5b4cb24a4d0a347822a1fbb3c6cee8ea9", kill_on_drop: false }` [INFO] [stdout] 0d6ed1d5346fc46287bac0a2d9a185a5b4cb24a4d0a347822a1fbb3c6cee8ea9