[INFO] cloning repository https://github.com/garretcarrot/minigrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/garretcarrot/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarretcarrot%2Fminigrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarretcarrot%2Fminigrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fbd57dae1fbaa1bfedf1a2dbd9296943bc97dc6 [INFO] checking garretcarrot/minigrep against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarretcarrot%2Fminigrep" "/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/garretcarrot/minigrep on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/garretcarrot/minigrep [INFO] finished tweaking git repo https://github.com/garretcarrot/minigrep [INFO] tweaked toml for git repo https://github.com/garretcarrot/minigrep written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/garretcarrot/minigrep already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91504eddf59b12a956f040cc371304fdeb856c8624b251316cadd9efd3355c64 [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" "91504eddf59b12a956f040cc371304fdeb856c8624b251316cadd9efd3355c64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91504eddf59b12a956f040cc371304fdeb856c8624b251316cadd9efd3355c64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91504eddf59b12a956f040cc371304fdeb856c8624b251316cadd9efd3355c64", kill_on_drop: false }` [INFO] [stdout] 91504eddf59b12a956f040cc371304fdeb856c8624b251316cadd9efd3355c64 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c79a9efb7955c21459e4e03b6de767f7f76e40981ef3d1c818f091c0c339de5 [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" "0c79a9efb7955c21459e4e03b6de767f7f76e40981ef3d1c818f091c0c339de5", 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:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | let config = Config::new(&[cmd, query.clone(), filename.clone()]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Args`, found `&[String; 3]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found reference `&[String; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | Config::new(&[String::from("the"), String::from("poem.txt")]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Args`, found `&[String; 2]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found reference `&[String; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | let config = Config::new(&[ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 93 | | "./minigrep".to_string(), [INFO] [stdout] 94 | | "the".to_string(), [INFO] [stdout] 95 | | "poem.txt".to_string(), [INFO] [stdout] 96 | | ]) [INFO] [stdout] | |_________^ expected struct `Args`, found `&[String; 3]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found reference `&[String; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | let config = Config::new(&["./minigrep".to_string(), "the".to_string()]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Args`, found `&[String; 2]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found reference `&[String; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 `minigrep` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0c79a9efb7955c21459e4e03b6de767f7f76e40981ef3d1c818f091c0c339de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c79a9efb7955c21459e4e03b6de767f7f76e40981ef3d1c818f091c0c339de5", kill_on_drop: false }` [INFO] [stdout] 0c79a9efb7955c21459e4e03b6de767f7f76e40981ef3d1c818f091c0c339de5