[INFO] cloning repository https://github.com/y5c4l3/closur [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y5c4l3/closur" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy5c4l3%2Fclosur", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy5c4l3%2Fclosur'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40169cf71101a3e7863451aa080b1dd86b7918ff [INFO] checking y5c4l3/closur against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy5c4l3%2Fclosur" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/y5c4l3/closur [INFO] finished tweaking git repo https://github.com/y5c4l3/closur [INFO] tweaked toml for git repo https://github.com/y5c4l3/closur written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/y5c4l3/closur on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/y5c4l3/closur 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86ee6659e92828b3e56c47033c12c1015415a88f1012a81a793032208b3a8593 [INFO] running `Command { std: "docker" "start" "-a" "86ee6659e92828b3e56c47033c12c1015415a88f1012a81a793032208b3a8593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86ee6659e92828b3e56c47033c12c1015415a88f1012a81a793032208b3a8593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86ee6659e92828b3e56c47033c12c1015415a88f1012a81a793032208b3a8593", kill_on_drop: false }` [INFO] [stdout] 86ee6659e92828b3e56c47033c12c1015415a88f1012a81a793032208b3a8593 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5cd3c453e7017d13bb3d7d5e6897c4b629bd15be3e5b032a961cc6501629925 [INFO] running `Command { std: "docker" "start" "-a" "c5cd3c453e7017d13bb3d7d5e6897c4b629bd15be3e5b032a961cc6501629925", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking closur v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Recipient` is never used [INFO] [stdout] --> src/bancho.rs:1890:7 [INFO] [stdout] | [INFO] [stdout] 1890 | trait Recipient: fmt::Display + Clone {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bancho/bot/message.rs:882:60 [INFO] [stdout] | [INFO] [stdout] 882 | fn matches<'a>(&'a self, s: &'a str) -> Option<(usize, regex::Captures)> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 882 | fn matches<'a>(&'a self, s: &'a str) -> Option<(usize, regex::Captures<'a>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Option> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/macros.rs:146:64 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Option> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/macros.rs:146:64 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Option> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/macros.rs:146:64 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SlotRanged<15>> [INFO] [stdout] --> src/bancho/bot/message.rs:956:48 [INFO] [stdout] | [INFO] [stdout] 956 | Self::MpMoveResponse { user, slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/bancho/bot/message.rs:956:48 [INFO] [stdout] | [INFO] [stdout] 956 | Self::MpMoveResponse { user, slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SlotRanged<15>> [INFO] [stdout] --> src/bancho/bot/message.rs:959:39 [INFO] [stdout] | [INFO] [stdout] 959 | Self::MpMoveError { slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/bancho/bot/message.rs:959:39 [INFO] [stdout] | [INFO] [stdout] 959 | Self::MpMoveError { slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Option> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/macros.rs:146:64 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SlotRanged<15>> [INFO] [stdout] --> src/bancho/bot/message.rs:979:23 [INFO] [stdout] | [INFO] [stdout] 979 | slot: SlotIndex::try_from(slot - 1)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/bancho/bot/message.rs:979:23 [INFO] [stdout] | [INFO] [stdout] 979 | slot: SlotIndex::try_from(slot - 1)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SlotRanged<15>> [INFO] [stdout] --> src/bancho/bot/message.rs:1030:23 [INFO] [stdout] | [INFO] [stdout] 1030 | slot: SlotIndex::try_from(slot - 1)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/bancho/bot/message.rs:1030:23 [INFO] [stdout] | [INFO] [stdout] 1030 | slot: SlotIndex::try_from(slot - 1)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SlotRanged<15>> [INFO] [stdout] --> src/bancho/bot/message.rs:1035:50 [INFO] [stdout] | [INFO] [stdout] 1035 | Self::EventPlayerMoved { user, slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/bancho/bot/message.rs:1035:50 [INFO] [stdout] | [INFO] [stdout] 1035 | Self::EventPlayerMoved { user, slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `closur` (lib test) due to 22 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `Recipient` is never used [INFO] [stdout] --> src/bancho.rs:1890:7 [INFO] [stdout] | [INFO] [stdout] 1890 | trait Recipient: fmt::Display + Clone {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_id` is never used [INFO] [stdout] --> src/bancho/cache.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl UserCache { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn find_id(&mut self, id: UserId) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bancho/bot/message.rs:882:60 [INFO] [stdout] | [INFO] [stdout] 882 | fn matches<'a>(&'a self, s: &'a str) -> Option<(usize, regex::Captures)> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 882 | fn matches<'a>(&'a self, s: &'a str) -> Option<(usize, regex::Captures<'a>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Option> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/macros.rs:146:64 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Option> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/macros.rs:146:64 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Option> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/macros.rs:146:64 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SlotRanged<15>> [INFO] [stdout] --> src/bancho/bot/message.rs:956:48 [INFO] [stdout] | [INFO] [stdout] 956 | Self::MpMoveResponse { user, slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/bancho/bot/message.rs:956:48 [INFO] [stdout] | [INFO] [stdout] 956 | Self::MpMoveResponse { user, slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SlotRanged<15>> [INFO] [stdout] --> src/bancho/bot/message.rs:959:39 [INFO] [stdout] | [INFO] [stdout] 959 | Self::MpMoveError { slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/bancho/bot/message.rs:959:39 [INFO] [stdout] | [INFO] [stdout] 959 | Self::MpMoveError { slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Option> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/macros.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/macros.rs:146:64 [INFO] [stdout] | [INFO] [stdout] 146 | $field: $captures.name(stringify!($field)).map(|m| m.as_str().parse()).transpose()?.unwrap_or_default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bancho/bot/message.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / regexset_enum! { [INFO] [stdout] 892 | | /// This is a collection of recognized BanchoBot message lines. [INFO] [stdout] 893 | | /// [INFO] [stdout] 894 | | /// It should be used with `RegexSetMatcher` to match against recognized [INFO] [stdout] ... | [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `regexset_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SlotRanged<15>> [INFO] [stdout] --> src/bancho/bot/message.rs:979:23 [INFO] [stdout] | [INFO] [stdout] 979 | slot: SlotIndex::try_from(slot - 1)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/bancho/bot/message.rs:979:23 [INFO] [stdout] | [INFO] [stdout] 979 | slot: SlotIndex::try_from(slot - 1)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SlotRanged<15>> [INFO] [stdout] --> src/bancho/bot/message.rs:1030:23 [INFO] [stdout] | [INFO] [stdout] 1030 | slot: SlotIndex::try_from(slot - 1)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/bancho/bot/message.rs:1030:23 [INFO] [stdout] | [INFO] [stdout] 1030 | slot: SlotIndex::try_from(slot - 1)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, SlotRanged<15>> [INFO] [stdout] --> src/bancho/bot/message.rs:1035:50 [INFO] [stdout] | [INFO] [stdout] 1035 | Self::EventPlayerMoved { user, slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/bancho/bot/message.rs:1035:50 [INFO] [stdout] | [INFO] [stdout] 1035 | Self::EventPlayerMoved { user, slot: SlotIndex::try_from(slot - 1)? } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `closur` (lib) due to 22 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c5cd3c453e7017d13bb3d7d5e6897c4b629bd15be3e5b032a961cc6501629925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5cd3c453e7017d13bb3d7d5e6897c4b629bd15be3e5b032a961cc6501629925", kill_on_drop: false }` [INFO] [stdout] c5cd3c453e7017d13bb3d7d5e6897c4b629bd15be3e5b032a961cc6501629925