[INFO] updating cached repository garretcarrot/minigrep [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/garretcarrot/minigrep [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/garretcarrot/minigrep" "work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/garretcarrot/minigrep"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/garretcarrot/minigrep'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/garretcarrot/minigrep" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/garretcarrot/minigrep"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/garretcarrot/minigrep'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3fbd57dae1fbaa1bfedf1a2dbd9296943bc97dc6 [INFO] sha for GitHub repo garretcarrot/minigrep: 3fbd57dae1fbaa1bfedf1a2dbd9296943bc97dc6 [INFO] validating manifest of garretcarrot/minigrep on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of garretcarrot/minigrep on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing garretcarrot/minigrep [INFO] finished frobbing garretcarrot/minigrep [INFO] frobbed toml for garretcarrot/minigrep written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/garretcarrot/minigrep/Cargo.toml [INFO] started frobbing garretcarrot/minigrep [INFO] finished frobbing garretcarrot/minigrep [INFO] frobbed toml for garretcarrot/minigrep written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/garretcarrot/minigrep/Cargo.toml [INFO] crate garretcarrot/minigrep already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking garretcarrot/minigrep against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-1/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/garretcarrot/minigrep:/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=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" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] eb932594d34c9b15570df584d5f96aba3cf8594905a0c5fa90673b7f59a814d6 [INFO] running `"docker" "start" "-a" "eb932594d34c9b15570df584d5f96aba3cf8594905a0c5fa90673b7f59a814d6"` [INFO] [stderr] Checking minigrep v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:79:34 [INFO] [stderr] | [INFO] [stderr] 79 | let config = Config::new(&[cmd, query.clone(), filename.clone()]).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::env::Args`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::env::Args` [INFO] [stderr] found type `&[std::string::String; 3]` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:87:21 [INFO] [stderr] | [INFO] [stderr] 87 | Config::new(&[String::from("the"), String::from("poem.txt")]).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::env::Args`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::env::Args` [INFO] [stderr] found type `&[std::string::String; 2]` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:92:34 [INFO] [stderr] | [INFO] [stderr] 92 | let config = Config::new(&[ [INFO] [stderr] | __________________________________^ [INFO] [stderr] 93 | | "./minigrep".to_string(), [INFO] [stderr] 94 | | "the".to_string(), [INFO] [stderr] 95 | | "poem.txt".to_string(), [INFO] [stderr] 96 | | ]) [INFO] [stderr] | |_________^ expected struct `std::env::Args`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::env::Args` [INFO] [stderr] found type `&[std::string::String; 3]` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:106:34 [INFO] [stderr] | [INFO] [stderr] 106 | let config = Config::new(&["./minigrep".to_string(), "the".to_string()]).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::env::Args`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::env::Args` [INFO] [stderr] found type `&[std::string::String; 2]` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 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" "eb932594d34c9b15570df584d5f96aba3cf8594905a0c5fa90673b7f59a814d6"` [INFO] running `"docker" "rm" "-f" "eb932594d34c9b15570df584d5f96aba3cf8594905a0c5fa90673b7f59a814d6"` [INFO] [stdout] eb932594d34c9b15570df584d5f96aba3cf8594905a0c5fa90673b7f59a814d6