[INFO] cloning repository https://github.com/Nilsia/mao_library [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nilsia/mao_library" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilsia%2Fmao_library", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilsia%2Fmao_library'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5787e0a41c35634651c5bc00e348ced5196d57c [INFO] checking Nilsia/mao_library against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilsia%2Fmao_library" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Nilsia/mao_library [INFO] finished tweaking git repo https://github.com/Nilsia/mao_library [INFO] tweaked toml for git repo https://github.com/Nilsia/mao_library written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Nilsia/mao_library on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Nilsia/mao_library 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a908ad0aa43ecc2012569949b29d56e0d582b39b84a7c87c4f628bb551a5fea9 [INFO] running `Command { std: "docker" "start" "a908ad0aa43ecc2012569949b29d56e0d582b39b84a7c87c4f628bb551a5fea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a908ad0aa43ecc2012569949b29d56e0d582b39b84a7c87c4f628bb551a5fea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a908ad0aa43ecc2012569949b29d56e0d582b39b84a7c87c4f628bb551a5fea9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a908ad0aa43ecc2012569949b29d56e0d582b39b84a7c87c4f628bb551a5fea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a908ad0aa43ecc2012569949b29d56e0d582b39b84a7c87c4f628bb551a5fea9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking winnow v0.7.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking indextree v4.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling dlopen2_derive v0.4.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling bitcode_derive v0.6.4 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking dlopen2 v0.7.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking bitcode v0.6.4 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking mao_core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_currrent_leaves` and `get_node_from_current` are never used [INFO] [stdout] --> src/mao/automaton.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 279 | impl Automaton { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 354 | fn get_currrent_leaves(&self, action: PlayerAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn get_node_from_current(&self, action: PlayerAction) -> Option { [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 `give_card_to_player_no_rules_check` is never used [INFO] [stdout] --> src/mao/mao_core.rs:1486:8 [INFO] [stdout] | [INFO] [stdout] 1098 | impl MaoCore { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1486 | fn give_card_to_player_no_rules_check( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `forgot_saying_ruled` is never used [INFO] [stdout] --> src/mao_event/mao_event_result.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 166 | impl WrongPlayerInteraction { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | pub(crate) fn forgot_saying_ruled(rule: Arc, player_pseudo: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Arc` [INFO] [stdout] --> src/mao/automaton.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | rule: rule.map(|v| v.into()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 114 - rule: rule.map(|v| v.into()), [INFO] [stdout] 114 + rule: rule.map(|v| v), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 114 - rule: rule.map(|v| v.into()), [INFO] [stdout] 114 + rule: rule.map(|v| as Into<_>>::into(v)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::Error` [INFO] [stdout] --> src/mao/mao_core.rs:1004:24 [INFO] [stdout] | [INFO] [stdout] 1004 | return Err(Error::InvalidMaoInteraction { [INFO] [stdout] | ________________________^ [INFO] [stdout] 1005 | | expected: expected.to_vec(), [INFO] [stdout] 1006 | | received: interactions.iter().map(|v| v.action.to_owned()).collect(), [INFO] [stdout] 1007 | | } [INFO] [stdout] 1008 | | .into()); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 1007 - } [INFO] [stdout] 1008 - .into()); [INFO] [stdout] 1007 + }); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 1004 ~ return Err(>::into(Error::InvalidMaoInteraction { [INFO] [stdout] 1005 | expected: expected.to_vec(), [INFO] [stdout] 1006 | received: interactions.iter().map(|v| v.action.to_owned()).collect(), [INFO] [stdout] 1007 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mao/automaton.rs:472:22 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn on_action(&mut self, interaction: MaoInteraction) -> MaoInteractionResult { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | pub fn on_action(&mut self, interaction: MaoInteraction) -> MaoInteractionResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mao/automaton.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 529 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 529 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mao/mao_core.rs:504:22 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn on_action(&mut self, interaction: MaoInteraction) -> MaoInteractionResult { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 504 | pub fn on_action(&mut self, interaction: MaoInteraction) -> MaoInteractionResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mao_core` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `get_currrent_leaves` and `get_node_from_current` are never used [INFO] [stdout] --> src/mao/automaton.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 279 | impl Automaton { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 354 | fn get_currrent_leaves(&self, action: PlayerAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn get_node_from_current(&self, action: PlayerAction) -> Option { [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 `give_card_to_player_no_rules_check` is never used [INFO] [stdout] --> src/mao/mao_core.rs:1486:8 [INFO] [stdout] | [INFO] [stdout] 1098 | impl MaoCore { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1486 | fn give_card_to_player_no_rules_check( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `forgot_saying_ruled` is never used [INFO] [stdout] --> src/mao_event/mao_event_result.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 166 | impl WrongPlayerInteraction { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | pub(crate) fn forgot_saying_ruled(rule: Arc, player_pseudo: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Arc` [INFO] [stdout] --> src/mao/automaton.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | rule: rule.map(|v| v.into()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 114 - rule: rule.map(|v| v.into()), [INFO] [stdout] 114 + rule: rule.map(|v| v), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 114 - rule: rule.map(|v| v.into()), [INFO] [stdout] 114 + rule: rule.map(|v| as Into<_>>::into(v)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::Error` [INFO] [stdout] --> src/mao/mao_core.rs:1004:24 [INFO] [stdout] | [INFO] [stdout] 1004 | return Err(Error::InvalidMaoInteraction { [INFO] [stdout] | ________________________^ [INFO] [stdout] 1005 | | expected: expected.to_vec(), [INFO] [stdout] 1006 | | received: interactions.iter().map(|v| v.action.to_owned()).collect(), [INFO] [stdout] 1007 | | } [INFO] [stdout] 1008 | | .into()); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 1007 - } [INFO] [stdout] 1008 - .into()); [INFO] [stdout] 1007 + }); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 1004 ~ return Err(>::into(Error::InvalidMaoInteraction { [INFO] [stdout] 1005 | expected: expected.to_vec(), [INFO] [stdout] 1006 | received: interactions.iter().map(|v| v.action.to_owned()).collect(), [INFO] [stdout] 1007 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mao/automaton.rs:472:22 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn on_action(&mut self, interaction: MaoInteraction) -> MaoInteractionResult { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | pub fn on_action(&mut self, interaction: MaoInteraction) -> MaoInteractionResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mao/automaton.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 529 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 529 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mao/mao_core.rs:504:22 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn on_action(&mut self, interaction: MaoInteraction) -> MaoInteractionResult { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 504 | pub fn on_action(&mut self, interaction: MaoInteraction) -> MaoInteractionResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mao_core` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a908ad0aa43ecc2012569949b29d56e0d582b39b84a7c87c4f628bb551a5fea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a908ad0aa43ecc2012569949b29d56e0d582b39b84a7c87c4f628bb551a5fea9", kill_on_drop: false }` [INFO] [stdout] a908ad0aa43ecc2012569949b29d56e0d582b39b84a7c87c4f628bb551a5fea9