[INFO] cloning repository https://github.com/tkms0106/rust-guessing-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tkms0106/rust-guessing-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkms0106%2Frust-guessing-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkms0106%2Frust-guessing-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86253e9edb94545fd5fa513be5f9bd47f9a6b45e [INFO] checking tkms0106/rust-guessing-game/86253e9edb94545fd5fa513be5f9bd47f9a6b45e against master#bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3 for pr-149328 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkms0106%2Frust-guessing-game" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tkms0106/rust-guessing-game [INFO] finished tweaking git repo https://github.com/tkms0106/rust-guessing-game [INFO] tweaked toml for git repo https://github.com/tkms0106/rust-guessing-game written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tkms0106/rust-guessing-game on toolchain bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tkms0106/rust-guessing-game 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" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81eea36718651a942fcbe204c0023d7f886b5b55e4b85812a06cc3d24b43f39d [INFO] running `Command { std: "docker" "start" "-a" "81eea36718651a942fcbe204c0023d7f886b5b55e4b85812a06cc3d24b43f39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81eea36718651a942fcbe204c0023d7f886b5b55e4b85812a06cc3d24b43f39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81eea36718651a942fcbe204c0023d7f886b5b55e4b85812a06cc3d24b43f39d", kill_on_drop: false }` [INFO] [stdout] 81eea36718651a942fcbe204c0023d7f886b5b55e4b85812a06cc3d24b43f39d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73e5aee58e0fe41fdbc0d1b01da812586f43cd909a83171399735aad45fbbf90 [INFO] running `Command { std: "docker" "start" "-a" "73e5aee58e0fe41fdbc0d1b01da812586f43cd909a83171399735aad45fbbf90", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking rust-guessing-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | match guess.cmp(&secret_number) { [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/bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3/library/core/src/cmp.rs:999:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-guessing-game` (bin "rust-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:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | match guess.cmp(&secret_number) { [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/bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3/library/core/src/cmp.rs:999:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-guessing-game` (bin "rust-guessing-game" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "73e5aee58e0fe41fdbc0d1b01da812586f43cd909a83171399735aad45fbbf90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e5aee58e0fe41fdbc0d1b01da812586f43cd909a83171399735aad45fbbf90", kill_on_drop: false }` [INFO] [stdout] 73e5aee58e0fe41fdbc0d1b01da812586f43cd909a83171399735aad45fbbf90