[INFO] cloning repository https://github.com/MarceloCoelho1/minigrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarceloCoelho1/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarceloCoelho1%2Fminigrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarceloCoelho1%2Fminigrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4018fd3aca368ed536baba9d47d4f137355469b2 [INFO] checking MarceloCoelho1/minigrep against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarceloCoelho1%2Fminigrep" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MarceloCoelho1/minigrep [INFO] finished tweaking git repo https://github.com/MarceloCoelho1/minigrep [INFO] tweaked toml for git repo https://github.com/MarceloCoelho1/minigrep written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MarceloCoelho1/minigrep on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MarceloCoelho1/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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 219f7f4da9601e46bd6f783dfbf3c6e640c6ec08050dc1f4b852694e38f14340 [INFO] running `Command { std: "docker" "start" "-a" "219f7f4da9601e46bd6f783dfbf3c6e640c6ec08050dc1f4b852694e38f14340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "219f7f4da9601e46bd6f783dfbf3c6e640c6ec08050dc1f4b852694e38f14340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "219f7f4da9601e46bd6f783dfbf3c6e640c6ec08050dc1f4b852694e38f14340", kill_on_drop: false }` [INFO] [stdout] 219f7f4da9601e46bd6f783dfbf3c6e640c6ec08050dc1f4b852694e38f14340 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec30d1b1ed8d9d8dae9ddf13dda6a5bdbf8d4e321f40c82ed3497248a8295309 [INFO] running `Command { std: "docker" "start" "-a" "ec30d1b1ed8d9d8dae9ddf13dda6a5bdbf8d4e321f40c82ed3497248a8295309", kill_on_drop: false }` [INFO] [stderr] Checking mingrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0063]: missing field `file_name` in initializer of `Line` [INFO] [stdout] --> src/lib.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | Line { [INFO] [stdout] | ^^^^ missing `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `file_name` in initializer of `Line` [INFO] [stdout] --> src/lib.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | Line { [INFO] [stdout] | ^^^^ missing `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(expected_results, search_case_insensitive(query, contents)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ----- -------- unexpected argument #2 of type `&str` [INFO] [stdout] | | [INFO] [stdout] | expected `&Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Config` [INFO] [stdout] found reference `&str` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn search_case_insensitive<'a> (config: &Config) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ --------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 174 - assert_eq!(expected_results, search_case_insensitive(query, contents)); [INFO] [stdout] 174 + assert_eq!(expected_results, search_case_insensitive(/* &Config */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Vec` with `()` [INFO] [stdout] --> src/lib.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(expected_results, search_case_insensitive(query, contents)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Vec == ()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<()>` is not implemented for `Vec` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `Vec` implements `PartialEq>` [INFO] [stdout] `Vec` implements `PartialEq<&[U; N]>` [INFO] [stdout] `Vec` implements `PartialEq<&[U]>` [INFO] [stdout] `Vec` implements `PartialEq<&mut [U]>` [INFO] [stdout] `Vec` implements `PartialEq<[U; N]>` [INFO] [stdout] `Vec` implements `PartialEq<[U]>` [INFO] [stdout] `Vec` implements `PartialEq` [INFO] [stdout] `Vec` implements `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `file_name` in initializer of `Line` [INFO] [stdout] --> src/lib.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | Line { [INFO] [stdout] | ^^^^ missing `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:194:38 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(expected_results, search_case_sensitive(query, contents)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ----- -------- unexpected argument #2 of type `&str` [INFO] [stdout] | | [INFO] [stdout] | expected `&Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Config` [INFO] [stdout] found reference `&str` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn search_case_sensitive<'a>(config: &Config) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ --------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 194 - assert_eq!(expected_results, search_case_sensitive(query, contents)); [INFO] [stdout] 194 + assert_eq!(expected_results, search_case_sensitive(/* &Config */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Vec` with `()` [INFO] [stdout] --> src/lib.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(expected_results, search_case_sensitive(query, contents)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Vec == ()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<()>` is not implemented for `Vec` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `Vec` implements `PartialEq>` [INFO] [stdout] `Vec` implements `PartialEq<&[U; N]>` [INFO] [stdout] `Vec` implements `PartialEq<&[U]>` [INFO] [stdout] `Vec` implements `PartialEq<&mut [U]>` [INFO] [stdout] `Vec` implements `PartialEq<[U; N]>` [INFO] [stdout] `Vec` implements `PartialEq<[U]>` [INFO] [stdout] `Vec` implements `PartialEq` [INFO] [stdout] `Vec` implements `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mingrep` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ec30d1b1ed8d9d8dae9ddf13dda6a5bdbf8d4e321f40c82ed3497248a8295309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec30d1b1ed8d9d8dae9ddf13dda6a5bdbf8d4e321f40c82ed3497248a8295309", kill_on_drop: false }` [INFO] [stdout] ec30d1b1ed8d9d8dae9ddf13dda6a5bdbf8d4e321f40c82ed3497248a8295309