[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] checking justin-uy/rock_paper_scissors against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin-uy%2Frock_paper_scissors" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justin-uy/rock_paper_scissors on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e3d3cadd392da3c9d46c6c456172b0124d60e28ca6f84a16469722e37acef87 [INFO] running `Command { std: "docker" "start" "-a" "1e3d3cadd392da3c9d46c6c456172b0124d60e28ca6f84a16469722e37acef87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e3d3cadd392da3c9d46c6c456172b0124d60e28ca6f84a16469722e37acef87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3d3cadd392da3c9d46c6c456172b0124d60e28ca6f84a16469722e37acef87", kill_on_drop: false }` [INFO] [stdout] 1e3d3cadd392da3c9d46c6c456172b0124d60e28ca6f84a16469722e37acef87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26cb564f2587fd0a426e7d8c30c9e5639d9440cafda65e40d79e4ff0f3c5c453 [INFO] running `Command { std: "docker" "start" "-a" "26cb564f2587fd0a426e7d8c30c9e5639d9440cafda65e40d79e4ff0f3c5c453", kill_on_drop: false }` [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 utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [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] [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] | ------------- ^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn parse(s: &str) -> Result { [INFO] [stdout] | ^^^^^ ------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(Choice::parse(&String::from("rock")).unwrap(), Choice::Rock); [INFO] [stdout] | + [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] | ------------- ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn parse(s: &str) -> Result { [INFO] [stdout] | ^^^^^ ------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 179 | assert_eq!(Choice::parse(&String::from("paper")).unwrap(), Choice::Paper); [INFO] [stdout] | + [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] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn parse(s: &str) -> Result { [INFO] [stdout] | ^^^^^ ------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 180 | assert_eq!(Choice::parse(&String::from("scissors")).unwrap(), [INFO] [stdout] | + [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] | ------------- ^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn parse(s: &str) -> Result { [INFO] [stdout] | ^^^^^ ------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(Choice::parse(&String::from("RockKK")).unwrap(), Choice::Rock); [INFO] [stdout] | + [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] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn parse(s: &str) -> Result { [INFO] [stdout] | ^^^^^ ------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(Choice::parse(&String::from("paperzzzz")).unwrap(), [INFO] [stdout] | + [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] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn parse(s: &str) -> Result { [INFO] [stdout] | ^^^^^ ------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(Choice::parse(&String::from("12341234scissorsacdkakd")).unwrap(), [INFO] [stdout] | + [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] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn parse(s: &str) -> Result { [INFO] [stdout] | ^^^^^ ------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 191 | assert_eq!(Choice::parse(&String::from("RockPaperScissors")).unwrap(), [INFO] [stdout] | + [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` (bin "rock_paper_scissors" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "26cb564f2587fd0a426e7d8c30c9e5639d9440cafda65e40d79e4ff0f3c5c453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26cb564f2587fd0a426e7d8c30c9e5639d9440cafda65e40d79e4ff0f3c5c453", kill_on_drop: false }` [INFO] [stdout] 26cb564f2587fd0a426e7d8c30c9e5639d9440cafda65e40d79e4ff0f3c5c453 [INFO] checking justin-uy/rock_paper_scissors against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin-uy%2Frock_paper_scissors" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justin-uy/rock_paper_scissors on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d119b38406b15cff90a0c482ab56dd95b03eb8f84789884382ee4446a117a3a [INFO] running `Command { std: "docker" "start" "-a" "8d119b38406b15cff90a0c482ab56dd95b03eb8f84789884382ee4446a117a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d119b38406b15cff90a0c482ab56dd95b03eb8f84789884382ee4446a117a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d119b38406b15cff90a0c482ab56dd95b03eb8f84789884382ee4446a117a3a", kill_on_drop: false }` [INFO] [stdout] 8d119b38406b15cff90a0c482ab56dd95b03eb8f84789884382ee4446a117a3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 192b46e78aa730af07f399514034490c58eadecd2387e9db2a31475d1f580170 [INFO] running `Command { std: "docker" "start" "-a" "192b46e78aa730af07f399514034490c58eadecd2387e9db2a31475d1f580170", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "192b46e78aa730af07f399514034490c58eadecd2387e9db2a31475d1f580170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192b46e78aa730af07f399514034490c58eadecd2387e9db2a31475d1f580170", kill_on_drop: false }` [INFO] [stdout] 192b46e78aa730af07f399514034490c58eadecd2387e9db2a31475d1f580170