[INFO] cloning repository https://github.com/rickyhan/potodds [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rickyhan/potodds" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickyhan%2Fpotodds", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickyhan%2Fpotodds'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77e64a489c25108202739814e567383764353ade [INFO] checking rickyhan/potodds against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickyhan%2Fpotodds" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rickyhan/potodds [INFO] finished tweaking git repo https://github.com/rickyhan/potodds [INFO] tweaked toml for git repo https://github.com/rickyhan/potodds written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rickyhan/potodds on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rickyhan/potodds 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stdweb-internal-runtime v0.1.2 [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.2 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.20 [INFO] [stderr] Downloaded serde v1.0.80 [INFO] [stderr] Downloaded quote v0.6.9 [INFO] [stderr] Downloaded base-x v0.2.3 [INFO] [stderr] Downloaded serde_json v1.0.32 [INFO] [stderr] Downloaded syn v0.15.18 [INFO] [stderr] Downloaded stdweb v0.4.10 [INFO] [stderr] Downloaded stdweb-derive v0.5.1 [INFO] [stderr] Downloaded rand v0.5.0 [INFO] [stderr] Downloaded ryu v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3dfd2318448a5f5cb5234ad2277a98f2f05a3df2a6c00a13af67b923f7f21b3 [INFO] running `Command { std: "docker" "start" "-a" "f3dfd2318448a5f5cb5234ad2277a98f2f05a3df2a6c00a13af67b923f7f21b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3dfd2318448a5f5cb5234ad2277a98f2f05a3df2a6c00a13af67b923f7f21b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3dfd2318448a5f5cb5234ad2277a98f2f05a3df2a6c00a13af67b923f7f21b3", kill_on_drop: false }` [INFO] [stdout] f3dfd2318448a5f5cb5234ad2277a98f2f05a3df2a6c00a13af67b923f7f21b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39a66323cc15c66514c615d89ce966bb03edbf236dcb71dc4ea07169b377cf2b [INFO] running `Command { std: "docker" "start" "-a" "39a66323cc15c66514c615d89ce966bb03edbf236dcb71dc4ea07169b377cf2b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.2 [INFO] [stderr] Compiling base-x v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking rand v0.5.0 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.2 [INFO] [stderr] Compiling stdweb v0.4.10 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Checking poker-trainer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.0.0; see for more information [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/evaluate.rs:2454:10 [INFO] [stdout] | [INFO] [stdout] 2454 | quinary[(a >> 2)]+=1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2454 - quinary[(a >> 2)]+=1; [INFO] [stdout] 2454 + quinary[a >> 2]+=1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/evaluate.rs:2455:10 [INFO] [stdout] | [INFO] [stdout] 2455 | quinary[(b >> 2)]+=1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2455 - quinary[(b >> 2)]+=1; [INFO] [stdout] 2455 + quinary[b >> 2]+=1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/evaluate.rs:2456:10 [INFO] [stdout] | [INFO] [stdout] 2456 | quinary[(c >> 2)]+=1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2456 - quinary[(c >> 2)]+=1; [INFO] [stdout] 2456 + quinary[c >> 2]+=1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/evaluate.rs:2457:10 [INFO] [stdout] | [INFO] [stdout] 2457 | quinary[(d >> 2)]+=1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2457 - quinary[(d >> 2)]+=1; [INFO] [stdout] 2457 + quinary[d >> 2]+=1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/evaluate.rs:2458:10 [INFO] [stdout] | [INFO] [stdout] 2458 | quinary[(e >> 2)]+=1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2458 - quinary[(e >> 2)]+=1; [INFO] [stdout] 2458 + quinary[e >> 2]+=1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.0.0; see for more information [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `vec_remove_item` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(vec_remove_item)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/evaluate.rs:2454:10 [INFO] [stdout] | [INFO] [stdout] 2454 | quinary[(a >> 2)]+=1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2454 - quinary[(a >> 2)]+=1; [INFO] [stdout] 2454 + quinary[a >> 2]+=1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/evaluate.rs:2455:10 [INFO] [stdout] | [INFO] [stdout] 2455 | quinary[(b >> 2)]+=1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2455 - quinary[(b >> 2)]+=1; [INFO] [stdout] 2455 + quinary[b >> 2]+=1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/evaluate.rs:2456:10 [INFO] [stdout] | [INFO] [stdout] 2456 | quinary[(c >> 2)]+=1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2456 - quinary[(c >> 2)]+=1; [INFO] [stdout] 2456 + quinary[c >> 2]+=1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/evaluate.rs:2457:10 [INFO] [stdout] | [INFO] [stdout] 2457 | quinary[(d >> 2)]+=1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2457 - quinary[(d >> 2)]+=1; [INFO] [stdout] 2457 + quinary[d >> 2]+=1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/evaluate.rs:2458:10 [INFO] [stdout] | [INFO] [stdout] 2458 | quinary[(e >> 2)]+=1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2458 - quinary[(e >> 2)]+=1; [INFO] [stdout] 2458 + quinary[e >> 2]+=1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | self.deck.remove_item(card).is_some() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `remove` with a similar name [INFO] [stdout] | [INFO] [stdout] 63 - self.deck.remove_item(card).is_some() [INFO] [stdout] 63 + self.deck.remove(card).is_some() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `vec_remove_item` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(vec_remove_item)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `poker-trainer` (bin "poker-trainer") due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | self.deck.remove_item(card).is_some() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `remove` with a similar name [INFO] [stdout] | [INFO] [stdout] 63 - self.deck.remove_item(card).is_some() [INFO] [stdout] 63 + self.deck.remove(card).is_some() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `poker-trainer` (bin "poker-trainer" test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "39a66323cc15c66514c615d89ce966bb03edbf236dcb71dc4ea07169b377cf2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a66323cc15c66514c615d89ce966bb03edbf236dcb71dc4ea07169b377cf2b", kill_on_drop: false }` [INFO] [stdout] 39a66323cc15c66514c615d89ce966bb03edbf236dcb71dc4ea07169b377cf2b