[INFO] cloning repository https://github.com/justin-uy/rock_paper_scissors [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin-uy%2Frock_paper_scissors'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f352eae9139a1dcc8fbb65297f9688ebca983518 [INFO] testing justin-uy/rock_paper_scissors against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin-uy%2Frock_paper_scissors" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justin-uy/rock_paper_scissors on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bd7f55855e95bcde2b2d6d8ffcc64d64e0927ca7831b47dc9dd721ce8f34612 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0bd7f55855e95bcde2b2d6d8ffcc64d64e0927ca7831b47dc9dd721ce8f34612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bd7f55855e95bcde2b2d6d8ffcc64d64e0927ca7831b47dc9dd721ce8f34612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd7f55855e95bcde2b2d6d8ffcc64d64e0927ca7831b47dc9dd721ce8f34612", kill_on_drop: false }` [INFO] [stdout] 0bd7f55855e95bcde2b2d6d8ffcc64d64e0927ca7831b47dc9dd721ce8f34612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 535e739de33419fece78316bada4d1191c60a6b9fa3e44a09b1f12dcd1db77d3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "535e739de33419fece78316bada4d1191c60a6b9fa3e44a09b1f12dcd1db77d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.29 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling rock_paper_scissors v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.91s [INFO] running `Command { std: "docker" "inspect" "535e739de33419fece78316bada4d1191c60a6b9fa3e44a09b1f12dcd1db77d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "535e739de33419fece78316bada4d1191c60a6b9fa3e44a09b1f12dcd1db77d3", kill_on_drop: false }` [INFO] [stdout] 535e739de33419fece78316bada4d1191c60a6b9fa3e44a09b1f12dcd1db77d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c2ea38ecf9ffc1b8f3b5353e23f5e8cb914785a66e2f2b3fd64cb5e4edaaae6a [INFO] running `Command { std: "docker" "start" "-a" "c2ea38ecf9ffc1b8f3b5353e23f5e8cb914785a66e2f2b3fd64cb5e4edaaae6a", kill_on_drop: false }` [INFO] [stderr] Compiling rock_paper_scissors v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:178:34 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(Choice::parse(String::from("rock")).unwrap(), Choice::Rock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&String::from("rock")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | assert_eq!(Choice::parse(String::from("paper")).unwrap(), Choice::Paper); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&String::from("paper")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:180:34 [INFO] [stdout] | [INFO] [stdout] 180 | assert_eq!(Choice::parse(String::from("scissors")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&String::from("scissors")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:184:34 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(Choice::parse(String::from("RockKK")).unwrap(), Choice::Rock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&String::from("RockKK")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:185:34 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(Choice::parse(String::from("paperzzzz")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&String::from("paperzzzz")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(Choice::parse(String::from("12341234scissorsacdkakd")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&String::from("12341234scissorsacdkakd")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | assert_eq!(Choice::parse(String::from("RockPaperScissors")).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&String::from("RockPaperScissors")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rock_paper_scissors`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c2ea38ecf9ffc1b8f3b5353e23f5e8cb914785a66e2f2b3fd64cb5e4edaaae6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2ea38ecf9ffc1b8f3b5353e23f5e8cb914785a66e2f2b3fd64cb5e4edaaae6a", kill_on_drop: false }` [INFO] [stdout] c2ea38ecf9ffc1b8f3b5353e23f5e8cb914785a66e2f2b3fd64cb5e4edaaae6a