[INFO] cloning repository https://github.com/laajila/minigrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laajila/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaajila%2Fminigrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaajila%2Fminigrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b29eecc3ab2e17a58154c41a43b4f15104174f2 [INFO] checking laajila/minigrep against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaajila%2Fminigrep" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/laajila/minigrep [INFO] finished tweaking git repo https://github.com/laajila/minigrep [INFO] tweaked toml for git repo https://github.com/laajila/minigrep written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/laajila/minigrep on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/laajila/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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 009d10698f93cd2cef0eb049eb5f00229880e8593986361939b04b0dca70e5ff [INFO] running `Command { std: "docker" "start" "-a" "009d10698f93cd2cef0eb049eb5f00229880e8593986361939b04b0dca70e5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "009d10698f93cd2cef0eb049eb5f00229880e8593986361939b04b0dca70e5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009d10698f93cd2cef0eb049eb5f00229880e8593986361939b04b0dca70e5ff", kill_on_drop: false }` [INFO] [stdout] 009d10698f93cd2cef0eb049eb5f00229880e8593986361939b04b0dca70e5ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c7e97dc5dc12141c9d5bfdce6299fcf4043d58419b0bdbf5dffb3013c85d14a [INFO] running `Command { std: "docker" "start" "-a" "3c7e97dc5dc12141c9d5bfdce6299fcf4043d58419b0bdbf5dffb3013c85d14a", kill_on_drop: false }` [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | Config::new(&mock_args).unwrap().query [INFO] [stdout] | ----------- ^^^^^^^^^^ expected `Args`, found `&[String; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found reference `&[String; 3]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(mut args: std::env::Args) -> Result { [INFO] [stdout] | ^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | Config::new(&mock_args).unwrap().filename [INFO] [stdout] | ----------- ^^^^^^^^^^ expected `Args`, found `&[String; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found reference `&[String; 3]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(mut args: std::env::Args) -> Result { [INFO] [stdout] | ^^^ ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `minigrep` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3c7e97dc5dc12141c9d5bfdce6299fcf4043d58419b0bdbf5dffb3013c85d14a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c7e97dc5dc12141c9d5bfdce6299fcf4043d58419b0bdbf5dffb3013c85d14a", kill_on_drop: false }` [INFO] [stdout] 3c7e97dc5dc12141c9d5bfdce6299fcf4043d58419b0bdbf5dffb3013c85d14a