[INFO] cloning repository https://github.com/dustn9401/rust-prac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dustn9401/rust-prac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdustn9401%2Frust-prac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdustn9401%2Frust-prac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8815811c796b88cd3a8449b6a3add4fc800f9c8 [INFO] checking dustn9401/rust-prac against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdustn9401%2Frust-prac" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dustn9401/rust-prac [INFO] finished tweaking git repo https://github.com/dustn9401/rust-prac [INFO] tweaked toml for git repo https://github.com/dustn9401/rust-prac written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dustn9401/rust-prac on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dustn9401/rust-prac 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" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92a229801d0574a3fd7713ea7c54901c6c2a8140e0250f15ffeb295daeb4ea51 [INFO] running `Command { std: "docker" "start" "-a" "92a229801d0574a3fd7713ea7c54901c6c2a8140e0250f15ffeb295daeb4ea51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92a229801d0574a3fd7713ea7c54901c6c2a8140e0250f15ffeb295daeb4ea51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a229801d0574a3fd7713ea7c54901c6c2a8140e0250f15ffeb295daeb4ea51", kill_on_drop: false }` [INFO] [stdout] 92a229801d0574a3fd7713ea7c54901c6c2a8140e0250f15ffeb295daeb4ea51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51b5e531ef2ba1377a627ce03da78e330f6630c2c15fceb7684386820141d534 [INFO] running `Command { std: "docker" "start" "-a" "51b5e531ef2ba1377a627ce03da78e330f6630c2c15fceb7684386820141d534", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking guessing_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | match guess.cmp(&secret_num) { [INFO] [stdout] | --- ^^^^^^^^^^^ expected `&String`, found `&{integer}` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:979:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `guessing_game` (bin "guessing_game") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | match guess.cmp(&secret_num) { [INFO] [stdout] | --- ^^^^^^^^^^^ expected `&String`, found `&{integer}` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:979:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `guessing_game` (bin "guessing_game" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "51b5e531ef2ba1377a627ce03da78e330f6630c2c15fceb7684386820141d534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51b5e531ef2ba1377a627ce03da78e330f6630c2c15fceb7684386820141d534", kill_on_drop: false }` [INFO] [stdout] 51b5e531ef2ba1377a627ce03da78e330f6630c2c15fceb7684386820141d534