[INFO] updating cached repository https://github.com/garretcarrot/minigrep [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3fbd57dae1fbaa1bfedf1a2dbd9296943bc97dc6 [INFO] checking garretcarrot/minigrep against master#fdc0011561c6365c596dfd8fa1ef388162bc89c7 for pr-66504-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarretcarrot%2Fminigrep" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/garretcarrot/minigrep on toolchain fdc0011561c6365c596dfd8fa1ef388162bc89c7 [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "read-manifest" "--manifest-path" "Cargo.toml"` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/garretcarrot/minigrep already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 57cc7284c645947fd1d2c60cffe85555a50b7fc863b5de6990b9c40cd2a982b8 [INFO] running `"docker" "start" "-a" "57cc7284c645947fd1d2c60cffe85555a50b7fc863b5de6990b9c40cd2a982b8"` [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/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 struct `std::env::Args` [INFO] [stderr] found reference `&[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 struct `std::env::Args` [INFO] [stderr] found reference `&[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 struct `std::env::Args` [INFO] [stderr] found reference `&[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 struct `std::env::Args` [INFO] [stderr] found reference `&[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" "57cc7284c645947fd1d2c60cffe85555a50b7fc863b5de6990b9c40cd2a982b8"` [INFO] running `"docker" "rm" "-f" "57cc7284c645947fd1d2c60cffe85555a50b7fc863b5de6990b9c40cd2a982b8"` [INFO] [stdout] 57cc7284c645947fd1d2c60cffe85555a50b7fc863b5de6990b9c40cd2a982b8