[INFO] cloning repository https://github.com/justin-uy/rock_paper_scissors [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justin-uy/rock_paper_scissors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin-uy%2Frock_paper_scissors"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin-uy%2Frock_paper_scissors'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f352eae9139a1dcc8fbb65297f9688ebca983518 [INFO] checking justin-uy/rock_paper_scissors against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin-uy%2Frock_paper_scissors" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justin-uy/rock_paper_scissors on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/justin-uy/rock_paper_scissors [INFO] finished tweaking git repo https://github.com/justin-uy/rock_paper_scissors [INFO] tweaked toml for git repo https://github.com/justin-uy/rock_paper_scissors written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/justin-uy/rock_paper_scissors already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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] 00a436039a76ff430611a5b2c58a61d5000af2a8a54cacf96b33f8ca035fa7d7 [INFO] running `"docker" "start" "-a" "00a436039a76ff430611a5b2c58a61d5000af2a8a54cacf96b33f8ca035fa7d7"` [INFO] [stderr] Checking rock_paper_scissors v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:178:34 [INFO] [stderr] | [INFO] [stderr] 178 | assert_eq!(Choice::parse(String::from("rock")).unwrap(), Choice::Rock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &str, found struct `std::string::String` [INFO] [stderr] | help: consider borrowing here: `&String::from("rock")` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:179:34 [INFO] [stderr] | [INFO] [stderr] 179 | assert_eq!(Choice::parse(String::from("paper")).unwrap(), Choice::Paper); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &str, found struct `std::string::String` [INFO] [stderr] | help: consider borrowing here: `&String::from("paper")` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:180:34 [INFO] [stderr] | [INFO] [stderr] 180 | assert_eq!(Choice::parse(String::from("scissors")).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &str, found struct `std::string::String` [INFO] [stderr] | help: consider borrowing here: `&String::from("scissors")` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:184:34 [INFO] [stderr] | [INFO] [stderr] 184 | assert_eq!(Choice::parse(String::from("RockKK")).unwrap(), Choice::Rock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &str, found struct `std::string::String` [INFO] [stderr] | help: consider borrowing here: `&String::from("RockKK")` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:185:34 [INFO] [stderr] | [INFO] [stderr] 185 | assert_eq!(Choice::parse(String::from("paperzzzz")).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &str, found struct `std::string::String` [INFO] [stderr] | help: consider borrowing here: `&String::from("paperzzzz")` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:187:34 [INFO] [stderr] | [INFO] [stderr] 187 | assert_eq!(Choice::parse(String::from("12341234scissorsacdkakd")).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &str, found struct `std::string::String` [INFO] [stderr] | help: consider borrowing here: `&String::from("12341234scissorsacdkakd")` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:191:34 [INFO] [stderr] | [INFO] [stderr] 191 | assert_eq!(Choice::parse(String::from("RockPaperScissors")).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &str, found struct `std::string::String` [INFO] [stderr] | help: consider borrowing here: `&String::from("RockPaperScissors")` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rock_paper_scissors`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "00a436039a76ff430611a5b2c58a61d5000af2a8a54cacf96b33f8ca035fa7d7"` [INFO] running `"docker" "rm" "-f" "00a436039a76ff430611a5b2c58a61d5000af2a8a54cacf96b33f8ca035fa7d7"` [INFO] [stdout] 00a436039a76ff430611a5b2c58a61d5000af2a8a54cacf96b33f8ca035fa7d7