[INFO] fetching crate stackbt_automata_impl 0.1.2... [INFO] testing stackbt_automata_impl-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate stackbt_automata_impl 0.1.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate stackbt_automata_impl 0.1.2 [INFO] finished tweaking crates.io crate stackbt_automata_impl 0.1.2 [INFO] tweaked toml for crates.io crate stackbt_automata_impl 0.1.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stackbt_automata_impl 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee9c23b57d098a34e7b5d126329160a5aab561f3e28d5df73e05086f75aff45c [INFO] running `Command { std: "docker" "start" "-a" "ee9c23b57d098a34e7b5d126329160a5aab561f3e28d5df73e05086f75aff45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee9c23b57d098a34e7b5d126329160a5aab561f3e28d5df73e05086f75aff45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee9c23b57d098a34e7b5d126329160a5aab561f3e28d5df73e05086f75aff45c", kill_on_drop: false }` [INFO] [stdout] ee9c23b57d098a34e7b5d126329160a5aab561f3e28d5df73e05086f75aff45c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62ea32e8659f03d04550ee28859713e884bbdd406a68631b7b5d647e51a8aa92 [INFO] running `Command { std: "docker" "start" "-a" "62ea32e8659f03d04550ee28859713e884bbdd406a68631b7b5d647e51a8aa92", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling stackbt_automata_impl v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ref_state_machine.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn step(self, &Self::Input) -> (Self::Action, Self); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/internal_state_machine.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | fn step(&Self::Input, &mut Self::Internal) -> Self::Action; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/internal_state_machine.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | fn step(&Self::Input, &mut Self::Internal) -> Self::Action; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/dual_state_machine.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | fn step(self, &Self::Input, &mut Self::Internal) -> (Self::Action, Self); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/dual_state_machine.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | fn step(self, &Self::Input, &mut Self::Internal) -> (Self::Action, Self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map_wrappers.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn input_transform(&Self::In) -> Self::Out; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::In` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map_wrappers.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | fn output_transform(Self::In) -> Self::Out; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::In` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map_wrappers.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | fn create(&>::Input) -> Self::Creates; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &>::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'k, I, A> Automaton<'k> for FnMut(&I) -> A + 'k where [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | impl<'k, I, A> Automaton<'k> for dyn FnMut(&I) -> A + 'k where [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `Automaton<'k>` for all types that also implement `FnMut(&I) -> A + 'k` [INFO] [stdout] | [INFO] [stdout] 94 - impl<'k, I, A> Automaton<'k> for FnMut(&I) -> A + 'k where [INFO] [stdout] 94 + impl<'k, I, A, T: FnMut(&I) -> A + 'k> Automaton<'k> for T where [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_fnmut<'t>(&'t mut self) -> BoxSelf::Action+'t> where [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn as_fnmut<'t>(&'t mut self) -> BoxSelf::Action+'t> where [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | fn boxed_into_fnmut(self: Box) -> Box [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 72 | | Self::Action + 'k> where [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | fn boxed_into_fnmut(self: Box) -> Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | fn into_fnmut(self) -> Box Self::Action + 'k> where [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn into_fnmut(self) -> Box Self::Action + 'k> where [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/automaton.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut this = self; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "62ea32e8659f03d04550ee28859713e884bbdd406a68631b7b5d647e51a8aa92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ea32e8659f03d04550ee28859713e884bbdd406a68631b7b5d647e51a8aa92", kill_on_drop: false }` [INFO] [stdout] 62ea32e8659f03d04550ee28859713e884bbdd406a68631b7b5d647e51a8aa92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac81f091d7b25028dfe7788b46f16d7291cee4c12b49f59a2eade5c4cc9302c3 [INFO] running `Command { std: "docker" "start" "-a" "ac81f091d7b25028dfe7788b46f16d7291cee4c12b49f59a2eade5c4cc9302c3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ref_state_machine.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn step(self, &Self::Input) -> (Self::Action, Self); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stackbt_automata_impl v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/internal_state_machine.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | fn step(&Self::Input, &mut Self::Internal) -> Self::Action; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/internal_state_machine.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | fn step(&Self::Input, &mut Self::Internal) -> Self::Action; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/dual_state_machine.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | fn step(self, &Self::Input, &mut Self::Internal) -> (Self::Action, Self); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/dual_state_machine.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | fn step(self, &Self::Input, &mut Self::Internal) -> (Self::Action, Self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map_wrappers.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn input_transform(&Self::In) -> Self::Out; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::In` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map_wrappers.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | fn output_transform(Self::In) -> Self::Out; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::In` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map_wrappers.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | fn create(&>::Input) -> Self::Creates; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &>::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'k, I, A> Automaton<'k> for FnMut(&I) -> A + 'k where [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | impl<'k, I, A> Automaton<'k> for dyn FnMut(&I) -> A + 'k where [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `Automaton<'k>` for all types that also implement `FnMut(&I) -> A + 'k` [INFO] [stdout] | [INFO] [stdout] 94 - impl<'k, I, A> Automaton<'k> for FnMut(&I) -> A + 'k where [INFO] [stdout] 94 + impl<'k, I, A, T: FnMut(&I) -> A + 'k> Automaton<'k> for T where [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_fnmut<'t>(&'t mut self) -> BoxSelf::Action+'t> where [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn as_fnmut<'t>(&'t mut self) -> BoxSelf::Action+'t> where [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | fn boxed_into_fnmut(self: Box) -> Box [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 72 | | Self::Action + 'k> where [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | fn boxed_into_fnmut(self: Box) -> Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | fn into_fnmut(self) -> Box Self::Action + 'k> where [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn into_fnmut(self) -> Box Self::Action + 'k> where [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/automaton.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut this = self; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/ref_state_machine.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn step(self, &Self::Input) -> (Self::Action, Self); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/internal_state_machine.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | fn step(&Self::Input, &mut Self::Internal) -> Self::Action; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/internal_state_machine.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | fn step(&Self::Input, &mut Self::Internal) -> Self::Action; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/dual_state_machine.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | fn step(self, &Self::Input, &mut Self::Internal) -> (Self::Action, Self); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/dual_state_machine.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | fn step(self, &Self::Input, &mut Self::Internal) -> (Self::Action, Self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map_wrappers.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn input_transform(&Self::In) -> Self::Out; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::In` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map_wrappers.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | fn output_transform(Self::In) -> Self::Out; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::In` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/map_wrappers.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | fn create(&>::Input) -> Self::Creates; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &>::Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'k, I, A> Automaton<'k> for FnMut(&I) -> A + 'k where [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | impl<'k, I, A> Automaton<'k> for dyn FnMut(&I) -> A + 'k where [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `Automaton<'k>` for all types that also implement `FnMut(&I) -> A + 'k` [INFO] [stdout] | [INFO] [stdout] 94 - impl<'k, I, A> Automaton<'k> for FnMut(&I) -> A + 'k where [INFO] [stdout] 94 + impl<'k, I, A, T: FnMut(&I) -> A + 'k> Automaton<'k> for T where [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_fnmut<'t>(&'t mut self) -> BoxSelf::Action+'t> where [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn as_fnmut<'t>(&'t mut self) -> BoxSelf::Action+'t> where [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | fn boxed_into_fnmut(self: Box) -> Box [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 72 | | Self::Action + 'k> where [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | fn boxed_into_fnmut(self: Box) -> Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/automaton.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | fn into_fnmut(self) -> Box Self::Action + 'k> where [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn into_fnmut(self) -> Box Self::Action + 'k> where [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/automaton.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut this = self; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/map_wrappers.rs:375:30 [INFO] [stdout] | [INFO] [stdout] 375 | fn step(input: &i64, state: &mut ()) -> i64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/map_wrappers.rs:431:17 [INFO] [stdout] | [INFO] [stdout] 431 | fn step(input: &i64, state: &mut i64) -> i64{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "ac81f091d7b25028dfe7788b46f16d7291cee4c12b49f59a2eade5c4cc9302c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac81f091d7b25028dfe7788b46f16d7291cee4c12b49f59a2eade5c4cc9302c3", kill_on_drop: false }` [INFO] [stdout] ac81f091d7b25028dfe7788b46f16d7291cee4c12b49f59a2eade5c4cc9302c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0d9917a7f848d5d09e4d152e9b516a70462697900ece11906cb6e3a1f6dbed60 [INFO] running `Command { std: "docker" "start" "-a" "0d9917a7f848d5d09e4d152e9b516a70462697900ece11906cb6e3a1f6dbed60", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/ref_state_machine.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | fn step(self, &Self::Input) -> (Self::Action, Self); [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/internal_state_machine.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | fn step(&Self::Input, &mut Self::Internal) -> Self::Action; [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/internal_state_machine.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | fn step(&Self::Input, &mut Self::Internal) -> Self::Action; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Self::Internal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/dual_state_machine.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | fn step(self, &Self::Input, &mut Self::Internal) -> (Self::Action, Self); [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Input` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/dual_state_machine.rs:15:33 [INFO] [stderr] | [INFO] [stderr] 15 | fn step(self, &Self::Input, &mut Self::Internal) -> (Self::Action, Self); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Self::Internal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/map_wrappers.rs:54:24 [INFO] [stderr] | [INFO] [stderr] 54 | fn input_transform(&Self::In) -> Self::Out; [INFO] [stderr] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::In` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/map_wrappers.rs:127:25 [INFO] [stderr] | [INFO] [stderr] 127 | fn output_transform(Self::In) -> Self::Out; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::In` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/map_wrappers.rs:196:15 [INFO] [stderr] | [INFO] [stderr] 196 | fn create(&>::Input) -> Self::Creates; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &>::Input` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/automaton.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | impl<'k, I, A> Automaton<'k> for FnMut(&I) -> A + 'k where [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 94 | impl<'k, I, A> Automaton<'k> for dyn FnMut(&I) -> A + 'k where [INFO] [stderr] | +++ [INFO] [stderr] help: alternatively use a blanket implementation to implement `Automaton<'k>` for all types that also implement `FnMut(&I) -> A + 'k` [INFO] [stderr] | [INFO] [stderr] 94 - impl<'k, I, A> Automaton<'k> for FnMut(&I) -> A + 'k where [INFO] [stderr] 94 + impl<'k, I, A, T: FnMut(&I) -> A + 'k> Automaton<'k> for T where [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/automaton.rs:39:42 [INFO] [stderr] | [INFO] [stderr] 39 | fn as_fnmut<'t>(&'t mut self) -> BoxSelf::Action+'t> where [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 | fn as_fnmut<'t>(&'t mut self) -> BoxSelf::Action+'t> where [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/automaton.rs:71:49 [INFO] [stderr] | [INFO] [stderr] 71 | fn boxed_into_fnmut(self: Box) -> Box [INFO] [stderr] | _________________________________________________^ [INFO] [stderr] 72 | | Self::Action + 'k> where [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 71 | fn boxed_into_fnmut(self: Box) -> Box [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/automaton.rs:50:32 [INFO] [stderr] | [INFO] [stderr] 50 | fn into_fnmut(self) -> Box Self::Action + 'k> where [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 | fn into_fnmut(self) -> Box Self::Action + 'k> where [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/automaton.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | let mut this = self; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `stackbt_automata_impl` (lib) generated 13 warnings (run `cargo fix --lib -p stackbt_automata_impl` to apply 13 suggestions) [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/map_wrappers.rs:375:30 [INFO] [stderr] | [INFO] [stderr] 375 | fn step(input: &i64, state: &mut ()) -> i64 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/map_wrappers.rs:431:17 [INFO] [stderr] | [INFO] [stderr] 431 | fn step(input: &i64, state: &mut i64) -> i64{ [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: `stackbt_automata_impl` (lib test) generated 15 warnings (13 duplicates) (run `cargo fix --lib -p stackbt_automata_impl --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stackbt_automata_impl-e7909f8743439594) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test automaton::tests::as_fnmut_test ... ok [INFO] [stdout] test automaton::tests::box_into_fnmut_test ... ok [INFO] [stdout] test automaton::tests::into_fnmut_test ... ok [INFO] [stdout] test dual_state_machine::tests::check_def ... ok [INFO] [stdout] test map_wrappers::tests::custom_constructor_test ... ok [INFO] [stdout] test map_wrappers::tests::lazy_constructor_test ... ok [INFO] [stdout] test map_wrappers::tests::output_map_test ... ok [INFO] [stdout] test pushdown_automaton::test::check_def ... ok [INFO] [stdout] test map_wrappers::tests::input_map_test ... ok [INFO] [stdout] test ref_state_machine::tests::check_def ... ok [INFO] [stderr] Doc-tests stackbt_automata_impl [INFO] [stdout] test internal_state_machine::tests::check_def ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/internal_state_machine.rs - internal_state_machine::InternalStateMachine (line 26) ... ok [INFO] [stdout] test src/automaton.rs - automaton::Automaton (line 9) ... ok [INFO] [stdout] test src/ref_state_machine.rs - ref_state_machine::RefStateMachine (line 21) ... ok [INFO] [stdout] test src/lib.rs - map_wrappers (line 21) ... ok [INFO] [stdout] test src/dual_state_machine.rs - dual_state_machine::DualStateMachine (line 24) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0d9917a7f848d5d09e4d152e9b516a70462697900ece11906cb6e3a1f6dbed60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d9917a7f848d5d09e4d152e9b516a70462697900ece11906cb6e3a1f6dbed60", kill_on_drop: false }` [INFO] [stdout] 0d9917a7f848d5d09e4d152e9b516a70462697900ece11906cb6e3a1f6dbed60