[INFO] cloning repository https://github.com/finnkauski/my-grep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/finnkauski/my-grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinnkauski%2Fmy-grep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinnkauski%2Fmy-grep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 376c6d0edaf3010cf2c26fd723d6e4d668e5cf4e [INFO] checking finnkauski/my-grep against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinnkauski%2Fmy-grep" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/finnkauski/my-grep on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/finnkauski/my-grep [INFO] finished tweaking git repo https://github.com/finnkauski/my-grep [INFO] tweaked toml for git repo https://github.com/finnkauski/my-grep written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/finnkauski/my-grep already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 666e93ee8fb44186d5e4df9933ffe33ab324d33e235f3965882fecc408e03aa0 [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" "666e93ee8fb44186d5e4df9933ffe33ab324d33e235f3965882fecc408e03aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "666e93ee8fb44186d5e4df9933ffe33ab324d33e235f3965882fecc408e03aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "666e93ee8fb44186d5e4df9933ffe33ab324d33e235f3965882fecc408e03aa0", kill_on_drop: false }` [INFO] [stdout] 666e93ee8fb44186d5e4df9933ffe33ab324d33e235f3965882fecc408e03aa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb5637cd2dff9e54dd4fead6be110970c94836a5c881a2d0d4e51d79363d53d3 [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" "cb5637cd2dff9e54dd4fead6be110970c94836a5c881a2d0d4e51d79363d53d3", kill_on_drop: false }` [INFO] [stderr] Checking my-grep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | search(pattern, String::from(contents)), [INFO] [stdout] | ^^^^^^ ------- ---------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn search(filename: &str, pattern: &str, contents: String) -> SearchResults { [INFO] [stdout] | ^^^^^^ -------------- ------------- ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | vec![format_line(2, "testingFOOBARline3")] [INFO] [stdout] | ^^^^^^^^^^^ - -------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn format_line(filename: &str, idx: usize, line: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ -------------- ---------- ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | .map(|(idx, l)| format_line(idx, l)) [INFO] [stdout] | ^^^^^^^^^^^ --- - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn format_line(filename: &str, idx: usize, line: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ -------------- ---------- ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let result = search(pattern, String::from(contents)); [INFO] [stdout] | ^^^^^^ ------- ---------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn search(filename: &str, pattern: &str, contents: String) -> SearchResults { [INFO] [stdout] | ^^^^^^ -------------- ------------- ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | let result = search(pattern, String::from(contents)); [INFO] [stdout] | ^^^^^^ ------- ---------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn search(filename: &str, pattern: &str, contents: String) -> SearchResults { [INFO] [stdout] | ^^^^^^ -------------- ------------- ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my-grep` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cb5637cd2dff9e54dd4fead6be110970c94836a5c881a2d0d4e51d79363d53d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb5637cd2dff9e54dd4fead6be110970c94836a5c881a2d0d4e51d79363d53d3", kill_on_drop: false }` [INFO] [stdout] cb5637cd2dff9e54dd4fead6be110970c94836a5c881a2d0d4e51d79363d53d3