[INFO] fetching crate macro_machine 0.2.0... [INFO] testing macro_machine-0.2.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate macro_machine 0.2.0 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate macro_machine 0.2.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-17/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edc2273c6bdf357cda8b203294ba09d5f00831630a3fda5904c79f823a6c2a21 [INFO] running `Command { std: "docker" "start" "-a" "edc2273c6bdf357cda8b203294ba09d5f00831630a3fda5904c79f823a6c2a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edc2273c6bdf357cda8b203294ba09d5f00831630a3fda5904c79f823a6c2a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc2273c6bdf357cda8b203294ba09d5f00831630a3fda5904c79f823a6c2a21", kill_on_drop: false }` [INFO] [stdout] edc2273c6bdf357cda8b203294ba09d5f00831630a3fda5904c79f823a6c2a21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] add0b9c3ef8890c8c688b91ffe8df0ea983b445b55d6022e9a4dc17f8db38be2 [INFO] running `Command { std: "docker" "start" "-a" "add0b9c3ef8890c8c688b91ffe8df0ea983b445b55d6022e9a4dc17f8db38be2", kill_on_drop: false }` [INFO] [stderr] Compiling macro_machine v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "add0b9c3ef8890c8c688b91ffe8df0ea983b445b55d6022e9a4dc17f8db38be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add0b9c3ef8890c8c688b91ffe8df0ea983b445b55d6022e9a4dc17f8db38be2", kill_on_drop: false }` [INFO] [stdout] add0b9c3ef8890c8c688b91ffe8df0ea983b445b55d6022e9a4dc17f8db38be2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2d5b2735591b8459a77aec3a729f2e73a8db53f9c63e53fe705e94de76dabc5 [INFO] running `Command { std: "docker" "start" "-a" "e2d5b2735591b8459a77aec3a729f2e73a8db53f9c63e53fe705e94de76dabc5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] 458 | | ) [INFO] [stdout] 459 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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] 436 | / declare_machine!( [INFO] [stdout] 437 | | Mach1 (New{x:0}) [INFO] [stdout] 438 | | [INFO] [stdout] 439 | | states[New,InConfig,Operational] [INFO] [stdout] ... | [INFO] [stdout] 458 | | ) [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] 475 | | ) [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] 475 | | ) [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] 520 | | ) [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] 520 | | ) [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] 556 | | ) [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] 556 | | ) [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "e2d5b2735591b8459a77aec3a729f2e73a8db53f9c63e53fe705e94de76dabc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d5b2735591b8459a77aec3a729f2e73a8db53f9c63e53fe705e94de76dabc5", kill_on_drop: false }` [INFO] [stdout] e2d5b2735591b8459a77aec3a729f2e73a8db53f9c63e53fe705e94de76dabc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 37f8a01152b49cc59808489af2f112af0e9c392754929ced0c71decb7a971d14 [INFO] running `Command { std: "docker" "start" "-a" "37f8a01152b49cc59808489af2f112af0e9c392754929ced0c71decb7a971d14", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] 458 | | ) [INFO] [stderr] 459 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [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] 436 | / declare_machine!( [INFO] [stderr] 437 | | Mach1 (New{x:0}) [INFO] [stderr] 438 | | [INFO] [stderr] 439 | | states[New,InConfig,Operational] [INFO] [stderr] ... | [INFO] [stderr] 458 | | ) [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] 475 | | ) [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] 475 | | ) [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] 520 | | ) [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] 520 | | ) [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] 556 | | ) [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] 556 | | ) [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 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.93s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/macro_machine-d21fb6f4bd1aac18) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test3 ... ok [INFO] [stdout] test tests::test1 ... ok [INFO] [stdout] test tests::test4 ... 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 12) ... ok [INFO] [stdout] test src/lib.rs - (line 41) ... ok [INFO] [stdout] test src/lib.rs - (line 76) ... ok [INFO] [stdout] test src/lib.rs - (line 127) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "37f8a01152b49cc59808489af2f112af0e9c392754929ced0c71decb7a971d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37f8a01152b49cc59808489af2f112af0e9c392754929ced0c71decb7a971d14", kill_on_drop: false }` [INFO] [stdout] 37f8a01152b49cc59808489af2f112af0e9c392754929ced0c71decb7a971d14