[INFO] cloning repository jonathanGB/rust-grep [INFO] running `"git" "clone" "--bare" "git://github.com/jonathanGB/rust-grep.git" "work/cache/sources/gh/jonathanGB/rust-grep"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/jonathanGB/rust-grep'... [INFO] running `"git" "clone" "work/cache/sources/gh/jonathanGB/rust-grep" "work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/jonathanGB/rust-grep"` [INFO] [stderr] Cloning into 'work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/jonathanGB/rust-grep'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jonathanGB/rust-grep" "work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/jonathanGB/rust-grep"` [INFO] [stderr] Cloning into 'work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/jonathanGB/rust-grep'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 56b1c471a3a18d901deadd7338de67669d8568e6 [INFO] sha for GitHub repo jonathanGB/rust-grep: 56b1c471a3a18d901deadd7338de67669d8568e6 [INFO] validating manifest of jonathanGB/rust-grep on toolchain master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jonathanGB/rust-grep on toolchain try#8f81d0bf6baf07b92f1246696722485c4ca0b049 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jonathanGB/rust-grep [INFO] finished frobbing jonathanGB/rust-grep [INFO] frobbed toml for jonathanGB/rust-grep written to work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/jonathanGB/rust-grep/Cargo.toml [INFO] started frobbing jonathanGB/rust-grep [INFO] finished frobbing jonathanGB/rust-grep [INFO] frobbed toml for jonathanGB/rust-grep written to work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/jonathanGB/rust-grep/Cargo.toml [INFO] crate jonathanGB/rust-grep already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking jonathanGB/rust-grep against try#8f81d0bf6baf07b92f1246696722485c4ca0b049 for pr-62008 [INFO] running `"docker" "create" "-v" "/mnt/big/ec2-user/crater/work/local/target-dirs/pr-62008/worker-0/try#8f81d0bf6baf07b92f1246696722485c4ca0b049:/opt/crater/target:rw,Z" "-v" "/mnt/big/ec2-user/crater/work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/jonathanGB/rust-grep:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/ec2-user/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/ec2-user/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ed34cbf855daf0d124da8b27de68421cd734f01ed9fe03ccfa0a498f8ff0965e [INFO] running `"docker" "start" "-a" "ed34cbf855daf0d124da8b27de68421cd734f01ed9fe03ccfa0a498f8ff0965e"` [INFO] [stderr] Compiling syn v0.15.38 [INFO] [stderr] Compiling structopt-derive v0.2.16 [INFO] [stderr] Checking structopt v0.2.16 [INFO] [stderr] Checking minigrep v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:88:51 [INFO] [stderr] | [INFO] [stderr] 88 | let config = Config::new(|| Config{query, filename, case_insensitive}); [INFO] [stderr] | ^^^^^^^^ expected enum `std::result::Result`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:98:51 [INFO] [stderr] | [INFO] [stderr] 98 | let config = Config::new(|| Config{query, filename, case_insensitive}); [INFO] [stderr] | ^^^^^^^^ expected enum `std::result::Result`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `minigrep`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "ed34cbf855daf0d124da8b27de68421cd734f01ed9fe03ccfa0a498f8ff0965e"` [INFO] running `"docker" "rm" "-f" "ed34cbf855daf0d124da8b27de68421cd734f01ed9fe03ccfa0a498f8ff0965e"` [INFO] [stdout] ed34cbf855daf0d124da8b27de68421cd734f01ed9fe03ccfa0a498f8ff0965e