[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f352eae9139a1dcc8fbb65297f9688ebca983518 [INFO] checking justin-uy/rock_paper_scissors against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin-uy%2Frock_paper_scissors" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justin-uy/rock_paper_scissors on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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-14/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" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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] f834a672ccd0c2c828c5bcf3ce2d98f9d75b888c3f4a4df1c879f1010b92a58f [INFO] running `"docker" "start" "-a" "f834a672ccd0c2c828c5bcf3ce2d98f9d75b888c3f4a4df1c879f1010b92a58f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking regex v0.2.2 [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] 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] 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] 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] 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] 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] 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] 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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f834a672ccd0c2c828c5bcf3ce2d98f9d75b888c3f4a4df1c879f1010b92a58f"` [INFO] running `"docker" "rm" "-f" "f834a672ccd0c2c828c5bcf3ce2d98f9d75b888c3f4a4df1c879f1010b92a58f"` [INFO] [stdout] f834a672ccd0c2c828c5bcf3ce2d98f9d75b888c3f4a4df1c879f1010b92a58f