[INFO] cloning repository https://github.com/sad1qjaffer/rust_minigrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sad1qjaffer/rust_minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsad1qjaffer%2Frust_minigrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsad1qjaffer%2Frust_minigrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d4884e2760a738c5cf641aabb0668e1fdc95c73 [INFO] checking sad1qjaffer/rust_minigrep against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsad1qjaffer%2Frust_minigrep" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sad1qjaffer/rust_minigrep [INFO] finished tweaking git repo https://github.com/sad1qjaffer/rust_minigrep [INFO] tweaked toml for git repo https://github.com/sad1qjaffer/rust_minigrep written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sad1qjaffer/rust_minigrep on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sad1qjaffer/rust_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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4eb565565ace0ab29611e0ecc897093db7906ed9b4a3f6a78833fd931599bb07 [INFO] running `Command { std: "docker" "start" "-a" "4eb565565ace0ab29611e0ecc897093db7906ed9b4a3f6a78833fd931599bb07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4eb565565ace0ab29611e0ecc897093db7906ed9b4a3f6a78833fd931599bb07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eb565565ace0ab29611e0ecc897093db7906ed9b4a3f6a78833fd931599bb07", kill_on_drop: false }` [INFO] [stdout] 4eb565565ace0ab29611e0ecc897093db7906ed9b4a3f6a78833fd931599bb07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e2b95212617621b503d77dca1405940b09ca92310e6e01df4fc86dcee2e2533 [INFO] running `Command { std: "docker" "start" "-a" "2e2b95212617621b503d77dca1405940b09ca92310e6e01df4fc86dcee2e2533", kill_on_drop: false }` [INFO] [stderr] Checking rust_minigrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let result = Config::new(&args); [INFO] [stdout] | ----------- ^^^^^ expected `Args`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(mut args: env::Args) -> Result { [INFO] [stdout] | ^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | if let Err(error) = Config::new(&args) { [INFO] [stdout] | ----------- ^^^^^ expected `Args`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(mut args: env::Args) -> Result { [INFO] [stdout] | ^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | let config = Config::new(&args); [INFO] [stdout] | ----------- ^^^^^ expected `Args`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(mut args: env::Args) -> Result { [INFO] [stdout] | ^^^ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | let config = Config::new(&args); [INFO] [stdout] | ----------- ^^^^^ expected `Args`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(mut args: 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 `rust_minigrep` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "2e2b95212617621b503d77dca1405940b09ca92310e6e01df4fc86dcee2e2533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2b95212617621b503d77dca1405940b09ca92310e6e01df4fc86dcee2e2533", kill_on_drop: false }` [INFO] [stdout] 2e2b95212617621b503d77dca1405940b09ca92310e6e01df4fc86dcee2e2533