[INFO] cloning repository https://github.com/twilson-palantir/turbot-hearts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/twilson-palantir/turbot-hearts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilson-palantir%2Fturbot-hearts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilson-palantir%2Fturbot-hearts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31ad66eb72f5ed6396f4f01eb7d713255f644e5a [INFO] checking twilson-palantir/turbot-hearts against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilson-palantir%2Fturbot-hearts" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/twilson-palantir/turbot-hearts on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/twilson-palantir/turbot-hearts [INFO] finished tweaking git repo https://github.com/twilson-palantir/turbot-hearts [INFO] tweaked toml for git repo https://github.com/twilson-palantir/turbot-hearts written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/twilson-palantir/turbot-hearts already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a4f9f6257ea243532af366317398dfba14a10ee41a8292f87cb9b25b8992dd5 [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" "1a4f9f6257ea243532af366317398dfba14a10ee41a8292f87cb9b25b8992dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a4f9f6257ea243532af366317398dfba14a10ee41a8292f87cb9b25b8992dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a4f9f6257ea243532af366317398dfba14a10ee41a8292f87cb9b25b8992dd5", kill_on_drop: false }` [INFO] [stdout] 1a4f9f6257ea243532af366317398dfba14a10ee41a8292f87cb9b25b8992dd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69747e82d47882c04dd273fe3cbf940f9acd1d2ba5a8ea217dcc0ca9ad362990 [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" "69747e82d47882c04dd273fe3cbf940f9acd1d2ba5a8ea217dcc0ca9ad362990", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking turbot-hearts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | struct Cards: u64 { [INFO] [stdout] 41 | | const CHARGEABLE = 0x0400_1000_0200_0100; [INFO] [stdout] 42 | | const NINES = 0x0080_0080_0080_0080; [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | struct Cards: u64 { [INFO] [stdout] 41 | | const CHARGEABLE = 0x0400_1000_0200_0100; [INFO] [stdout] 42 | | const NINES = 0x0080_0080_0080_0080; [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | struct Cards: u64 { [INFO] [stdout] 41 | | const CHARGEABLE = 0x0400_1000_0200_0100; [INFO] [stdout] 42 | | const NINES = 0x0080_0080_0080_0080; [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | struct Cards: u64 { [INFO] [stdout] 41 | | const CHARGEABLE = 0x0400_1000_0200_0100; [INFO] [stdout] 42 | | const NINES = 0x0080_0080_0080_0080; [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | struct Cards: u64 { [INFO] [stdout] 41 | | const CHARGEABLE = 0x0400_1000_0200_0100; [INFO] [stdout] 42 | | const NINES = 0x0080_0080_0080_0080; [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | struct Cards: u64 { [INFO] [stdout] 41 | | const CHARGEABLE = 0x0400_1000_0200_0100; [INFO] [stdout] 42 | | const NINES = 0x0080_0080_0080_0080; [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let mut chargeable = hand[i] & Cards::CHARGEABLE; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:613:17 [INFO] [stdout] | [INFO] [stdout] 613 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:623:17 [INFO] [stdout] | [INFO] [stdout] 623 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:633:17 [INFO] [stdout] | [INFO] [stdout] 633 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:643:17 [INFO] [stdout] | [INFO] [stdout] 643 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:673:17 [INFO] [stdout] | [INFO] [stdout] 673 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:683:17 [INFO] [stdout] | [INFO] [stdout] 683 | Cards::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:697:17 [INFO] [stdout] | [INFO] [stdout] 697 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:707:17 [INFO] [stdout] | [INFO] [stdout] 707 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:717:17 [INFO] [stdout] | [INFO] [stdout] 717 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:727:17 [INFO] [stdout] | [INFO] [stdout] 727 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:737:17 [INFO] [stdout] | [INFO] [stdout] 737 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:747:17 [INFO] [stdout] | [INFO] [stdout] 747 | Cards::parse("2C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:761:17 [INFO] [stdout] | [INFO] [stdout] 761 | Cards::parse("7C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:771:17 [INFO] [stdout] | [INFO] [stdout] 771 | Cards::parse("7C"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:781:17 [INFO] [stdout] | [INFO] [stdout] 781 | Cards::parse("7S"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:791:17 [INFO] [stdout] | [INFO] [stdout] 791 | Cards::parse("7S"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:801:51 [INFO] [stdout] | [INFO] [stdout] 801 | trick_winner(Cards::parse("A8S 96H"), Cards::parse("6H")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Card`, found struct `Cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:800:9 [INFO] [stdout] | [INFO] [stdout] 800 | / assert_eq!( [INFO] [stdout] 801 | | trick_winner(Cards::parse("A8S 96H"), Cards::parse("6H")), [INFO] [stdout] 802 | | Cards::parse("9H") [INFO] [stdout] 803 | | ); [INFO] [stdout] | |__________^ expected struct `Card`, found struct `Cards` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `turbot-hearts` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "69747e82d47882c04dd273fe3cbf940f9acd1d2ba5a8ea217dcc0ca9ad362990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69747e82d47882c04dd273fe3cbf940f9acd1d2ba5a8ea217dcc0ca9ad362990", kill_on_drop: false }` [INFO] [stdout] 69747e82d47882c04dd273fe3cbf940f9acd1d2ba5a8ea217dcc0ca9ad362990