[INFO] cloning repository https://github.com/davidabernado/based-minigrep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidabernado/based-minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7b4e7c0b5be8afcb5c8e03b85bf48dec27bc2411
[INFO] testing davidabernado/based-minigrep against 1.69.0 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/davidabernado/based-minigrep on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/davidabernado/based-minigrep
[INFO] finished tweaking git repo https://github.com/davidabernado/based-minigrep
[INFO] tweaked toml for git repo https://github.com/davidabernado/based-minigrep written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/davidabernado/based-minigrep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded regex-syntax v0.6.0
[INFO] [stderr]   Downloaded regex v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 334f8eb47a6b3596201c5b9f159735bb23ee3ea4926210d44ee5350f1c720e39
[INFO] running `Command { std: "docker" "start" "-a" "334f8eb47a6b3596201c5b9f159735bb23ee3ea4926210d44ee5350f1c720e39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "334f8eb47a6b3596201c5b9f159735bb23ee3ea4926210d44ee5350f1c720e39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "334f8eb47a6b3596201c5b9f159735bb23ee3ea4926210d44ee5350f1c720e39", kill_on_drop: false }`
[INFO] [stdout] 334f8eb47a6b3596201c5b9f159735bb23ee3ea4926210d44ee5350f1c720e39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ddf5a7c196eac1322c91d02a49f4824aa26332968949d4b11b76e6afa0aa0137
[INFO] running `Command { std: "docker" "start" "-a" "ddf5a7c196eac1322c91d02a49f4824aa26332968949d4b11b76e6afa0aa0137", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.40
[INFO] [stderr]    Compiling lazy_static v1.0.0
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling cfg-if v0.1.3
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling rayon-core v1.4.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling regex v1.0.0
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling regex-syntax v0.6.0
[INFO] [stderr]    Compiling either v1.5.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling rayon v1.0.1
[INFO] [stderr]    Compiling based_minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 11.23s
[INFO] running `Command { std: "docker" "inspect" "ddf5a7c196eac1322c91d02a49f4824aa26332968949d4b11b76e6afa0aa0137", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddf5a7c196eac1322c91d02a49f4824aa26332968949d4b11b76e6afa0aa0137", kill_on_drop: false }`
[INFO] [stdout] ddf5a7c196eac1322c91d02a49f4824aa26332968949d4b11b76e6afa0aa0137
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a82f6c1c3f3ea530a34b82e0fce9b3f4e916ec5d48ba6da645b559ff383b946
[INFO] running `Command { std: "docker" "start" "-a" "2a82f6c1c3f3ea530a34b82e0fce9b3f4e916ec5d48ba6da645b559ff383b946", kill_on_drop: false }`
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling based_minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_grep.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 |             search(&query, &contents, &flag)
[INFO] [stdout]    |             ------                    ^^^^^ expected `&Flag`, found `&String`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Flag`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn search(query: &str, contents: &str, flag: &Flag) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_grep.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |             search(&query, &contents, &flag),
[INFO] [stdout]    |             ------                    ^^^^^ expected `&Flag`, found `&String`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Flag`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn search(query: &str, contents: &str, flag: &Flag) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `based_minigrep` due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2a82f6c1c3f3ea530a34b82e0fce9b3f4e916ec5d48ba6da645b559ff383b946", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a82f6c1c3f3ea530a34b82e0fce9b3f4e916ec5d48ba6da645b559ff383b946", kill_on_drop: false }`
[INFO] [stdout] 2a82f6c1c3f3ea530a34b82e0fce9b3f4e916ec5d48ba6da645b559ff383b946
