[INFO] updating cached repository https://github.com/johnathan79717/guessing_game [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] 2b18e2595c46fd88aac1b694c0e8891eb7ddbfbd [INFO] checking johnathan79717/guessing_game against try#ba14a92a10441c4b839ce71e6ef5f7a48bbff18f for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnathan79717%2Fguessing_game" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johnathan79717/guessing_game on toolchain ba14a92a10441c4b839ce71e6ef5f7a48bbff18f [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/johnathan79717/guessing_game [INFO] finished tweaking git repo https://github.com/johnathan79717/guessing_game [INFO] tweaked toml for git repo https://github.com/johnathan79717/guessing_game written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/johnathan79717/guessing_game already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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=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" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "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] a1ed2530b0157fee1f1d037a9cc8d962d6d519c463c83e8b8e07b10ef44251b5 [INFO] running `"docker" "start" "-a" "a1ed2530b0157fee1f1d037a9cc8d962d6d519c463c83e8b8e07b10ef44251b5"` [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking guessing_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:35:6 [INFO] [stderr] | [INFO] [stderr] 35 | (&mut None, b) => *b, [INFO] [stderr] | ^^^^^^^^^ expected enum `std::option::Option`, found &mut _ [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&mut TreapNode<'a>>` [INFO] [stderr] found type `&mut _` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | (a, &mut None) => *a, [INFO] [stderr] | ^^^^^^^^^ expected enum `std::option::Option`, found &mut _ [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&mut TreapNode<'a>>` [INFO] [stderr] found type `&mut _` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | (&mut Some(a), &mut Some(b)) => Some(a), [INFO] [stderr] | ^^^^^^^^^^^^ expected enum `std::option::Option`, found &mut _ [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&mut TreapNode<'a>>` [INFO] [stderr] found type `&mut _` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:37:20 [INFO] [stderr] | [INFO] [stderr] 37 | (&mut Some(a), &mut Some(b)) => Some(a), [INFO] [stderr] | ^^^^^^^^^^^^ expected enum `std::option::Option`, found &mut _ [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&mut TreapNode<'a>>` [INFO] [stderr] found type `&mut _` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `std::option::Option<&mut TreapNode<'a>>` cannot be dereferenced [INFO] [stderr] --> src/main.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | (&mut None, b) => *b, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `std::option::Option<&mut TreapNode<'a>>` cannot be dereferenced [INFO] [stderr] --> src/main.rs:36:23 [INFO] [stderr] | [INFO] [stderr] 36 | (a, &mut None) => *a, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0614. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `guessing_game`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:35:6 [INFO] [stderr] | [INFO] [stderr] 35 | (&mut None, b) => *b, [INFO] [stderr] | ^^^^^^^^^ expected enum `std::option::Option`, found &mut _ [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&mut TreapNode<'a>>` [INFO] [stderr] found type `&mut _` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | (a, &mut None) => *a, [INFO] [stderr] | ^^^^^^^^^ expected enum `std::option::Option`, found &mut _ [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&mut TreapNode<'a>>` [INFO] [stderr] found type `&mut _` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | (&mut Some(a), &mut Some(b)) => Some(a), [INFO] [stderr] | ^^^^^^^^^^^^ expected enum `std::option::Option`, found &mut _ [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&mut TreapNode<'a>>` [INFO] [stderr] found type `&mut _` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:37:20 [INFO] [stderr] | [INFO] [stderr] 37 | (&mut Some(a), &mut Some(b)) => Some(a), [INFO] [stderr] | ^^^^^^^^^^^^ expected enum `std::option::Option`, found &mut _ [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&mut TreapNode<'a>>` [INFO] [stderr] found type `&mut _` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `std::option::Option<&mut TreapNode<'a>>` cannot be dereferenced [INFO] [stderr] --> src/main.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | (&mut None, b) => *b, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `std::option::Option<&mut TreapNode<'a>>` cannot be dereferenced [INFO] [stderr] --> src/main.rs:36:23 [INFO] [stderr] | [INFO] [stderr] 36 | (a, &mut None) => *a, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0614. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `guessing_game`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a1ed2530b0157fee1f1d037a9cc8d962d6d519c463c83e8b8e07b10ef44251b5"` [INFO] running `"docker" "rm" "-f" "a1ed2530b0157fee1f1d037a9cc8d962d6d519c463c83e8b8e07b10ef44251b5"` [INFO] [stdout] a1ed2530b0157fee1f1d037a9cc8d962d6d519c463c83e8b8e07b10ef44251b5