[INFO] fetching crate macro_machine 0.2.0... [INFO] testing macro_machine-0.2.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate macro_machine 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate macro_machine 0.2.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f4308f075afd0e46440a302e2829b1f47e50d05e9f7467cc3c7c0ddc140b2f0 [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" "1f4308f075afd0e46440a302e2829b1f47e50d05e9f7467cc3c7c0ddc140b2f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f4308f075afd0e46440a302e2829b1f47e50d05e9f7467cc3c7c0ddc140b2f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f4308f075afd0e46440a302e2829b1f47e50d05e9f7467cc3c7c0ddc140b2f0", kill_on_drop: false }` [INFO] [stdout] 1f4308f075afd0e46440a302e2829b1f47e50d05e9f7467cc3c7c0ddc140b2f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c55eed17c9686128e0b7b17c7c15b7446dc9c0ad4b3723cb8a9171cb7efedeb [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" "8c55eed17c9686128e0b7b17c7c15b7446dc9c0ad4b3723cb8a9171cb7efedeb", 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.53s [INFO] running `Command { std: "docker" "inspect" "8c55eed17c9686128e0b7b17c7c15b7446dc9c0ad4b3723cb8a9171cb7efedeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c55eed17c9686128e0b7b17c7c15b7446dc9c0ad4b3723cb8a9171cb7efedeb", kill_on_drop: false }` [INFO] [stdout] 8c55eed17c9686128e0b7b17c7c15b7446dc9c0ad4b3723cb8a9171cb7efedeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd9536f393418a260fcd6a6de1e9f0df0974c92953a9430b6e77b2f65b354ab9 [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" "cd9536f393418a260fcd6a6de1e9f0df0974c92953a9430b6e77b2f65b354ab9", 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 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.49s [INFO] running `Command { std: "docker" "inspect" "cd9536f393418a260fcd6a6de1e9f0df0974c92953a9430b6e77b2f65b354ab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd9536f393418a260fcd6a6de1e9f0df0974c92953a9430b6e77b2f65b354ab9", kill_on_drop: false }` [INFO] [stdout] cd9536f393418a260fcd6a6de1e9f0df0974c92953a9430b6e77b2f65b354ab9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ca13902e5901f269b781064fa668430aa47c59b9432c1bfef1f12d4f0c505b67 [INFO] running `Command { std: "docker" "start" "-a" "ca13902e5901f269b781064fa668430aa47c59b9432c1bfef1f12d4f0c505b67", kill_on_drop: false }` [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.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/macro_machine-ff434d891bb9932d) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test1 ... ok [INFO] [stdout] test tests::test3 ... ok [INFO] [stdout] test tests::test4 ... ok [INFO] [stderr] Doc-tests macro_machine [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.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 127) ... ok [INFO] [stdout] test src/lib.rs - (line 12) ... 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 1.90s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ca13902e5901f269b781064fa668430aa47c59b9432c1bfef1f12d4f0c505b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca13902e5901f269b781064fa668430aa47c59b9432c1bfef1f12d4f0c505b67", kill_on_drop: false }` [INFO] [stdout] ca13902e5901f269b781064fa668430aa47c59b9432c1bfef1f12d4f0c505b67