[INFO] cloning repository https://github.com/WuTheFWasThat/hanabi.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WuTheFWasThat/hanabi.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWuTheFWasThat%2Fhanabi.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWuTheFWasThat%2Fhanabi.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef773112148bfcce3e5f608a03b6eba279c79a34 [INFO] checking WuTheFWasThat/hanabi.rs against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWuTheFWasThat%2Fhanabi.rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WuTheFWasThat/hanabi.rs on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WuTheFWasThat/hanabi.rs [INFO] finished tweaking git repo https://github.com/WuTheFWasThat/hanabi.rs [INFO] tweaked toml for git repo https://github.com/WuTheFWasThat/hanabi.rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WuTheFWasThat/hanabi.rs 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b136d88e0048dcb28a6c8988f85d6dd92f0aa013894b793ac288c7263702bb28 [INFO] running `Command { std: "docker" "start" "-a" "b136d88e0048dcb28a6c8988f85d6dd92f0aa013894b793ac288c7263702bb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b136d88e0048dcb28a6c8988f85d6dd92f0aa013894b793ac288c7263702bb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b136d88e0048dcb28a6c8988f85d6dd92f0aa013894b793ac288c7263702bb28", kill_on_drop: false }` [INFO] [stdout] b136d88e0048dcb28a6c8988f85d6dd92f0aa013894b793ac288c7263702bb28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e36a7b21f91c0c50020ad98aa98c9a8c650868f5cdc0db1b3b216cc404fee11d [INFO] running `Command { std: "docker" "start" "-a" "e36a7b21f91c0c50020ad98aa98c9a8c650868f5cdc0db1b3b216cc404fee11d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rust_hanabi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_weighted_possibilities` is never used [INFO] [stdout] --> src/helpers.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait CardInfo { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn get_weighted_possibilities(&self) -> Vec<(Card, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mark_true` and `mark` are never used [INFO] [stdout] --> src/helpers.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub trait Info [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 167 | fn mark_true(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn mark(&mut self, value: T, info: bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_weighted_possibilities` is never used [INFO] [stdout] --> src/helpers.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait CardInfo { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn get_weighted_possibilities(&self) -> Vec<(Card, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mark_true` and `mark` are never used [INFO] [stdout] --> src/helpers.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub trait Info [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 167 | fn mark_true(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn mark(&mut self, value: T, info: bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/game.rs:616:21 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn get_view(&self, player: Player) -> BorrowedGameView { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 616 | pub fn get_view(&self, player: Player) -> BorrowedGameView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/game.rs:616:21 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn get_view(&self, player: Player) -> BorrowedGameView { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 616 | pub fn get_view(&self, player: Player) -> BorrowedGameView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/helpers.rs:448:21 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn iter_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 448 | pub fn iter_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/helpers.rs:448:21 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn iter_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 448 | pub fn iter_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/helpers.rs:451:17 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 451 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/helpers.rs:451:17 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 451 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.16s [INFO] running `Command { std: "docker" "inspect" "e36a7b21f91c0c50020ad98aa98c9a8c650868f5cdc0db1b3b216cc404fee11d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e36a7b21f91c0c50020ad98aa98c9a8c650868f5cdc0db1b3b216cc404fee11d", kill_on_drop: false }` [INFO] [stdout] e36a7b21f91c0c50020ad98aa98c9a8c650868f5cdc0db1b3b216cc404fee11d