[INFO] fetching crate macro_machine 0.2.0... [INFO] testing macro_machine-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate macro_machine 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate macro_machine 0.2.0 [INFO] finished tweaking crates.io crate macro_machine 0.2.0 [INFO] tweaked toml for crates.io crate macro_machine 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate macro_machine 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3793693696854229447848010c724cde485c082d1ae31906ebdeff6008ccc80 [INFO] running `Command { std: "docker" "start" "-a" "a3793693696854229447848010c724cde485c082d1ae31906ebdeff6008ccc80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3793693696854229447848010c724cde485c082d1ae31906ebdeff6008ccc80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3793693696854229447848010c724cde485c082d1ae31906ebdeff6008ccc80", kill_on_drop: false }` [INFO] [stdout] a3793693696854229447848010c724cde485c082d1ae31906ebdeff6008ccc80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0f95fc3844c24aeb2cbb4d0a321f41357736d9d7ec95fdf4835a57c146e53bd [INFO] running `Command { std: "docker" "start" "-a" "b0f95fc3844c24aeb2cbb4d0a321f41357736d9d7ec95fdf4835a57c146e53bd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling macro_machine v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "b0f95fc3844c24aeb2cbb4d0a321f41357736d9d7ec95fdf4835a57c146e53bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0f95fc3844c24aeb2cbb4d0a321f41357736d9d7ec95fdf4835a57c146e53bd", kill_on_drop: false }` [INFO] [stdout] b0f95fc3844c24aeb2cbb4d0a321f41357736d9d7ec95fdf4835a57c146e53bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b29281fdb9e2097fd787965dd1846895c8699d6e57b47c66eb1e07fb4ab118c2 [INFO] running `Command { std: "docker" "start" "-a" "b29281fdb9e2097fd787965dd1846895c8699d6e57b47c66eb1e07fb4ab118c2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling macro_machine v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:354:33 [INFO] [stdout] | [INFO] [stdout] 354 | fn leave(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stdout] ... [INFO] [stdout] 436 | / declare_machine!( [INFO] [stdout] 437 | | Mach1 (New{x:0}) [INFO] [stdout] 438 | | [INFO] [stdout] 439 | | states[New,InConfig,Operational] [INFO] [stdout] ... | [INFO] [stdout] 459 | | ); [INFO] [stdout] | |_____- in this macro invocation [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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | fn enter(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stdout] ... [INFO] [stdout] 436 | / declare_machine!( [INFO] [stdout] 437 | | Mach1 (New{x:0}) [INFO] [stdout] 438 | | [INFO] [stdout] 439 | | states[New,InConfig,Operational] [INFO] [stdout] ... | [INFO] [stdout] 459 | | ); [INFO] [stdout] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:354:33 [INFO] [stdout] | [INFO] [stdout] 354 | fn leave(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stdout] ... [INFO] [stdout] 461 | / declare_machine!( [INFO] [stdout] 462 | | Mach2 (State1) [INFO] [stdout] 463 | | [INFO] [stdout] 464 | | states[State1,State2,State3] [INFO] [stdout] ... | [INFO] [stdout] 476 | | ); [INFO] [stdout] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | fn enter(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stdout] ... [INFO] [stdout] 461 | / declare_machine!( [INFO] [stdout] 462 | | Mach2 (State1) [INFO] [stdout] 463 | | [INFO] [stdout] 464 | | states[State1,State2,State3] [INFO] [stdout] ... | [INFO] [stdout] 476 | | ); [INFO] [stdout] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:354:33 [INFO] [stdout] | [INFO] [stdout] 354 | fn leave(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stdout] ... [INFO] [stdout] 500 | / declare_machine!( [INFO] [stdout] 501 | | Mach3 glob_cont{id:i16}(State1{counter:0}) [INFO] [stdout] 502 | | [INFO] [stdout] 503 | | states[State1,State2,State3] [INFO] [stdout] ... | [INFO] [stdout] 521 | | ); [INFO] [stdout] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | fn enter(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stdout] ... [INFO] [stdout] 500 | / declare_machine!( [INFO] [stdout] 501 | | Mach3 glob_cont{id:i16}(State1{counter:0}) [INFO] [stdout] 502 | | [INFO] [stdout] 503 | | states[State1,State2,State3] [INFO] [stdout] ... | [INFO] [stdout] 521 | | ); [INFO] [stdout] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:354:33 [INFO] [stdout] | [INFO] [stdout] 354 | fn leave(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stdout] ... [INFO] [stdout] 540 | / declare_machine!( [INFO] [stdout] 541 | | Mach4 inner{st: InnerMachineContext} (State1) [INFO] [stdout] 542 | | states[State1,State2,State3] [INFO] [stdout] 543 | | commands[ToState1, ToState2, ToState3] [INFO] [stdout] ... | [INFO] [stdout] 557 | | ); [INFO] [stdout] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | fn enter(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stdout] ... [INFO] [stdout] 540 | / declare_machine!( [INFO] [stdout] 541 | | Mach4 inner{st: InnerMachineContext} (State1) [INFO] [stdout] 542 | | states[State1,State2,State3] [INFO] [stdout] 543 | | commands[ToState1, ToState2, ToState3] [INFO] [stdout] ... | [INFO] [stdout] 557 | | ); [INFO] [stdout] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "b29281fdb9e2097fd787965dd1846895c8699d6e57b47c66eb1e07fb4ab118c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b29281fdb9e2097fd787965dd1846895c8699d6e57b47c66eb1e07fb4ab118c2", kill_on_drop: false }` [INFO] [stdout] b29281fdb9e2097fd787965dd1846895c8699d6e57b47c66eb1e07fb4ab118c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb6da4e9abed228a6e22836a3baeb3efe17e51f7f47d6875074f86f949b2e457 [INFO] running `Command { std: "docker" "start" "-a" "cb6da4e9abed228a6e22836a3baeb3efe17e51f7f47d6875074f86f949b2e457", 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/lib.rs:354:33 [INFO] [stderr] | [INFO] [stderr] 354 | fn leave(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stderr] ... [INFO] [stderr] 436 | / declare_machine!( [INFO] [stderr] 437 | | Mach1 (New{x:0}) [INFO] [stderr] 438 | | [INFO] [stderr] 439 | | states[New,InConfig,Operational] [INFO] [stderr] ... | [INFO] [stderr] 459 | | ); [INFO] [stderr] | |_____- in this macro invocation [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)]` on by default [INFO] [stderr] = note: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:355:33 [INFO] [stderr] | [INFO] [stderr] 355 | fn enter(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stderr] ... [INFO] [stderr] 436 | / declare_machine!( [INFO] [stderr] 437 | | Mach1 (New{x:0}) [INFO] [stderr] 438 | | [INFO] [stderr] 439 | | states[New,InConfig,Operational] [INFO] [stderr] ... | [INFO] [stderr] 459 | | ); [INFO] [stderr] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:354:33 [INFO] [stderr] | [INFO] [stderr] 354 | fn leave(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stderr] ... [INFO] [stderr] 461 | / declare_machine!( [INFO] [stderr] 462 | | Mach2 (State1) [INFO] [stderr] 463 | | [INFO] [stderr] 464 | | states[State1,State2,State3] [INFO] [stderr] ... | [INFO] [stderr] 476 | | ); [INFO] [stderr] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:355:33 [INFO] [stderr] | [INFO] [stderr] 355 | fn enter(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stderr] ... [INFO] [stderr] 461 | / declare_machine!( [INFO] [stderr] 462 | | Mach2 (State1) [INFO] [stderr] 463 | | [INFO] [stderr] 464 | | states[State1,State2,State3] [INFO] [stderr] ... | [INFO] [stderr] 476 | | ); [INFO] [stderr] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:354:33 [INFO] [stderr] | [INFO] [stderr] 354 | fn leave(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stderr] ... [INFO] [stderr] 500 | / declare_machine!( [INFO] [stderr] 501 | | Mach3 glob_cont{id:i16}(State1{counter:0}) [INFO] [stderr] 502 | | [INFO] [stderr] 503 | | states[State1,State2,State3] [INFO] [stderr] ... | [INFO] [stderr] 521 | | ); [INFO] [stderr] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:355:33 [INFO] [stderr] | [INFO] [stderr] 355 | fn enter(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stderr] ... [INFO] [stderr] 500 | / declare_machine!( [INFO] [stderr] 501 | | Mach3 glob_cont{id:i16}(State1{counter:0}) [INFO] [stderr] 502 | | [INFO] [stderr] 503 | | states[State1,State2,State3] [INFO] [stderr] ... | [INFO] [stderr] 521 | | ); [INFO] [stderr] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:354:33 [INFO] [stderr] | [INFO] [stderr] 354 | fn leave(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stderr] ... [INFO] [stderr] 540 | / declare_machine!( [INFO] [stderr] 541 | | Mach4 inner{st: InnerMachineContext} (State1) [INFO] [stderr] 542 | | states[State1,State2,State3] [INFO] [stderr] 543 | | commands[ToState1, ToState2, ToState3] [INFO] [stderr] ... | [INFO] [stderr] 557 | | ); [INFO] [stderr] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:355:33 [INFO] [stderr] | [INFO] [stderr] 355 | fn enter(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stderr] ... [INFO] [stderr] 540 | / declare_machine!( [INFO] [stderr] 541 | | Mach4 inner{st: InnerMachineContext} (State1) [INFO] [stderr] 542 | | states[State1,State2,State3] [INFO] [stderr] 543 | | commands[ToState1, ToState2, ToState3] [INFO] [stderr] ... | [INFO] [stderr] 557 | | ); [INFO] [stderr] | |_____- in this macro invocation [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: this warning originates in the macro `declare_machine` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `macro_machine` (lib test) generated 8 warnings (run `cargo fix --lib -p macro_machine --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/macro_machine-76de5c03f601f310) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test1 ... ok [INFO] [stdout] test tests::test4 ... ok [INFO] [stdout] test tests::test3 ... ok [INFO] [stdout] test tests::test2 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests macro_machine [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 41) ... ok [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] test src/lib.rs - (line 127) ... ok [INFO] [stdout] test src/lib.rs - (line 76) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cb6da4e9abed228a6e22836a3baeb3efe17e51f7f47d6875074f86f949b2e457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb6da4e9abed228a6e22836a3baeb3efe17e51f7f47d6875074f86f949b2e457", kill_on_drop: false }` [INFO] [stdout] cb6da4e9abed228a6e22836a3baeb3efe17e51f7f47d6875074f86f949b2e457