[INFO] updating cached repository lamogura/minigrep.rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/lamogura/minigrep.rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/lamogura/minigrep.rs" "work/ex/beta-1.38-1/sources/1.37.0/gh/lamogura/minigrep.rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/lamogura/minigrep.rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/lamogura/minigrep.rs" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/lamogura/minigrep.rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/lamogura/minigrep.rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 48291a489f620e97ac9212550ecee9a8a94080a4 [INFO] sha for GitHub repo lamogura/minigrep.rs: 48291a489f620e97ac9212550ecee9a8a94080a4 [INFO] validating manifest of lamogura/minigrep.rs on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of lamogura/minigrep.rs on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing lamogura/minigrep.rs [INFO] finished frobbing lamogura/minigrep.rs [INFO] frobbed toml for lamogura/minigrep.rs written to work/ex/beta-1.38-1/sources/1.37.0/gh/lamogura/minigrep.rs/Cargo.toml [INFO] started frobbing lamogura/minigrep.rs [INFO] finished frobbing lamogura/minigrep.rs [INFO] frobbed toml for lamogura/minigrep.rs written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/lamogura/minigrep.rs/Cargo.toml [INFO] crate lamogura/minigrep.rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing lamogura/minigrep.rs against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/lamogura/minigrep.rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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=warn" "-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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 4e5a20f52d3b4876d91605d638bf7a9f50fcf29b57368278136f695590327a50 [INFO] running `"docker" "start" "-a" "4e5a20f52d3b4876d91605d638bf7a9f50fcf29b57368278136f695590327a50"` [INFO] [stderr] Compiling minigrep v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0277]: expected a `std::ops::FnMut<(char,)>` closure, found `std::string::String` [INFO] [stderr] --> src/lib.rs:41:25 [INFO] [stderr] | [INFO] [stderr] 41 | .filter(|line| line.contains(query)) [INFO] [stderr] | ^^^^^^^^ expected an `FnMut<(char,)>` closure, found `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnMut<(char,)>` is not implemented for `std::string::String` [INFO] [stderr] = note: required because of the requirements on the impl of `std::str::pattern::Pattern<'_>` for `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `std::vec::Vec<&str>` cannot be built from an iterator over elements of type `std::string::String` [INFO] [stderr] --> src/lib.rs:42:6 [INFO] [stderr] | [INFO] [stderr] 42 | .collect() [INFO] [stderr] | ^^^^^^^ a collection of type `std::vec::Vec<&str>` cannot be built from `std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator` is not implemented for `std::vec::Vec<&str>` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude` [INFO] [stderr] --> src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `minigrep`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4e5a20f52d3b4876d91605d638bf7a9f50fcf29b57368278136f695590327a50"` [INFO] running `"docker" "rm" "-f" "4e5a20f52d3b4876d91605d638bf7a9f50fcf29b57368278136f695590327a50"` [INFO] [stdout] 4e5a20f52d3b4876d91605d638bf7a9f50fcf29b57368278136f695590327a50