[INFO] fetching crate macro_machine 0.2.0... [INFO] testing macro_machine-0.2.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate macro_machine 0.2.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate macro_machine 0.2.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40f4b87097535349ade04e1eabbda6bd79c25e9c439586da5e610c439da897b1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "40f4b87097535349ade04e1eabbda6bd79c25e9c439586da5e610c439da897b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40f4b87097535349ade04e1eabbda6bd79c25e9c439586da5e610c439da897b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40f4b87097535349ade04e1eabbda6bd79c25e9c439586da5e610c439da897b1", kill_on_drop: false }` [INFO] [stdout] 40f4b87097535349ade04e1eabbda6bd79c25e9c439586da5e610c439da897b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2d72e7dd42139246414f083b4799082733dcc6423d52fccfa19e6745280481b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c2d72e7dd42139246414f083b4799082733dcc6423d52fccfa19e6745280481b", 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.20s [INFO] running `Command { std: "docker" "inspect" "c2d72e7dd42139246414f083b4799082733dcc6423d52fccfa19e6745280481b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2d72e7dd42139246414f083b4799082733dcc6423d52fccfa19e6745280481b", kill_on_drop: false }` [INFO] [stdout] c2d72e7dd42139246414f083b4799082733dcc6423d52fccfa19e6745280481b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76607c8e716029dc27d668f3811643caefbc71fbcf37b789b0f9c6d4c241460a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "76607c8e716029dc27d668f3811643caefbc71fbcf37b789b0f9c6d4c241460a", kill_on_drop: false }` [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 0.88s [INFO] running `Command { std: "docker" "inspect" "76607c8e716029dc27d668f3811643caefbc71fbcf37b789b0f9c6d4c241460a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76607c8e716029dc27d668f3811643caefbc71fbcf37b789b0f9c6d4c241460a", kill_on_drop: false }` [INFO] [stdout] 76607c8e716029dc27d668f3811643caefbc71fbcf37b789b0f9c6d4c241460a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a1b2b37ab7618b4f316df5151f5cea1b5502c5691e4d65d34fcae365bce13b8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2a1b2b37ab7618b4f316df5151f5cea1b5502c5691e4d65d34fcae365bce13b8", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] running 4 tests [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/macro_machine-1cce6068a4d530ad) [INFO] [stdout] test tests::test4 ... ok [INFO] [stdout] test tests::test1 ... ok [INFO] [stderr] Doc-tests macro_machine [INFO] [stdout] test tests::test3 ... ok [INFO] [stdout] test tests::test2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [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] test src/lib.rs - (line 41) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.63s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a1b2b37ab7618b4f316df5151f5cea1b5502c5691e4d65d34fcae365bce13b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a1b2b37ab7618b4f316df5151f5cea1b5502c5691e4d65d34fcae365bce13b8", kill_on_drop: false }` [INFO] [stdout] 2a1b2b37ab7618b4f316df5151f5cea1b5502c5691e4d65d34fcae365bce13b8