[INFO] fetching crate macro_machine 0.2.0... [INFO] testing macro_machine-0.2.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate macro_machine 0.2.0 into /workspace/builds/worker-81/source [INFO] validating manifest of crates.io crate macro_machine 0.2.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-81/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f808611f8b3c025dd0d758e108410af16d0f98e40bad45c3229e877129b8dd1d [INFO] running `Command { std: "docker" "start" "-a" "f808611f8b3c025dd0d758e108410af16d0f98e40bad45c3229e877129b8dd1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f808611f8b3c025dd0d758e108410af16d0f98e40bad45c3229e877129b8dd1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f808611f8b3c025dd0d758e108410af16d0f98e40bad45c3229e877129b8dd1d", kill_on_drop: false }` [INFO] [stdout] f808611f8b3c025dd0d758e108410af16d0f98e40bad45c3229e877129b8dd1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bea9ec296d292696f499f86189b9630d2f7dbe180fe726ecb83a73faea6f2ef [INFO] running `Command { std: "docker" "start" "-a" "0bea9ec296d292696f499f86189b9630d2f7dbe180fe726ecb83a73faea6f2ef", 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.96s [INFO] running `Command { std: "docker" "inspect" "0bea9ec296d292696f499f86189b9630d2f7dbe180fe726ecb83a73faea6f2ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bea9ec296d292696f499f86189b9630d2f7dbe180fe726ecb83a73faea6f2ef", kill_on_drop: false }` [INFO] [stdout] 0bea9ec296d292696f499f86189b9630d2f7dbe180fe726ecb83a73faea6f2ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 952259a13d7a8d7476958b68c64af70e94c9a93da2ac29efac2828d846eb3e88 [INFO] running `Command { std: "docker" "start" "-a" "952259a13d7a8d7476958b68c64af70e94c9a93da2ac29efac2828d846eb3e88", 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] [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 0.80s [INFO] running `Command { std: "docker" "inspect" "952259a13d7a8d7476958b68c64af70e94c9a93da2ac29efac2828d846eb3e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "952259a13d7a8d7476958b68c64af70e94c9a93da2ac29efac2828d846eb3e88", kill_on_drop: false }` [INFO] [stdout] 952259a13d7a8d7476958b68c64af70e94c9a93da2ac29efac2828d846eb3e88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1d67b3adf2416481bbe60d35040b2b6b0a21840bf846f562971efe47decedf89 [INFO] running `Command { std: "docker" "start" "-a" "1d67b3adf2416481bbe60d35040b2b6b0a21840bf846f562971efe47decedf89", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:354:33 [INFO] [stdout] running 4 tests [INFO] [stderr] | [INFO] [stdout] test tests::test3 ... ok [INFO] [stderr] 354 | fn leave(&mut self, &mut MachineContext) -> Result<(), ()>; [INFO] [stdout] test tests::test1 ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut MachineContext` [INFO] [stdout] test tests::test4 ... ok [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.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/macro_machine-d44507758fd67ff0) [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.05s [INFO] [stdout] [INFO] [stderr] Doc-tests macro_machine [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 76) ... ok [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] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1d67b3adf2416481bbe60d35040b2b6b0a21840bf846f562971efe47decedf89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d67b3adf2416481bbe60d35040b2b6b0a21840bf846f562971efe47decedf89", kill_on_drop: false }` [INFO] [stdout] 1d67b3adf2416481bbe60d35040b2b6b0a21840bf846f562971efe47decedf89