[INFO] cloning repository https://github.com/gyc567/bdd_with_cucumber_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gyc567/bdd_with_cucumber_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Fbdd_with_cucumber_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Fbdd_with_cucumber_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62971ea13041795d4fdeab37e99466faedb939f1 [INFO] checking gyc567/bdd_with_cucumber_rust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Fbdd_with_cucumber_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gyc567/bdd_with_cucumber_rust [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/gyc567/bdd_with_cucumber_rust [INFO] tweaked toml for git repo https://github.com/gyc567/bdd_with_cucumber_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gyc567/bdd_with_cucumber_rust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gyc567/bdd_with_cucumber_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a4f9bc17d4fde6eceb52b9771804760071341fbe636b06e4faed4300006c377 [INFO] running `Command { std: "docker" "start" "-a" "1a4f9bc17d4fde6eceb52b9771804760071341fbe636b06e4faed4300006c377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a4f9bc17d4fde6eceb52b9771804760071341fbe636b06e4faed4300006c377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a4f9bc17d4fde6eceb52b9771804760071341fbe636b06e4faed4300006c377", kill_on_drop: false }` [INFO] [stdout] 1a4f9bc17d4fde6eceb52b9771804760071341fbe636b06e4faed4300006c377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1e15d19190fe26f68b677b5d46c553a4dd3abad7493a643db04fe901d76659e [INFO] running `Command { std: "docker" "start" "-a" "f1e15d19190fe26f68b677b5d46c553a4dd3abad7493a643db04fe901d76659e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking shh v1.0.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pest v2.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking pathdiff v0.1.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking bdd_with_cucumber_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Checking globset v0.4.4 [INFO] [stderr] Checking ignore v0.4.10 [INFO] [stderr] Checking globwalk v0.7.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Checking gherkin_rust v0.5.1 [INFO] [stderr] Checking cucumber_rust v0.6.3 [INFO] [stdout] warning: unused import: `steps` [INFO] [stdout] --> tests/cucumber.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use cucumber::{cucumber, steps, before, after}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> tests/cucumber.rs:50:67 [INFO] [stdout] | [INFO] [stdout] 50 | then "we can use data tables to provide more parameters" |world, step| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> tests/cucumber.rs:44:77 [INFO] [stdout] | [INFO] [stdout] 44 | then regex r"^we can also match (\d+) (.+) types$" (usize, String) |world, num, word, step| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> tests/cucumber.rs:44:95 [INFO] [stdout] | [INFO] [stdout] 44 | then regex r"^we can also match (\d+) (.+) types$" (usize, String) |world, num, word, step| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> tests/cucumber.rs:39:55 [INFO] [stdout] | [INFO] [stdout] 39 | then regex r"^we can (.*) rules with regex$" |world, matches, step| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> tests/cucumber.rs:39:71 [INFO] [stdout] | [INFO] [stdout] 39 | then regex r"^we can (.*) rules with regex$" |world, matches, step| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> tests/cucumber.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | then "I am interested in ATDD" |world, step| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> tests/cucumber.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | when "I consider what I am doing" |world, step| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> tests/cucumber.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 23 | given "I am trying out Cucumber" |world, step| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scenario` [INFO] [stdout] --> tests/cucumber.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | before!(a_before_fn => |scenario| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scenario` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scenario` [INFO] [stdout] --> tests/cucumber.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | after!(an_after_fn => |scenario| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scenario` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/cucumber.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / steps!(crate::MyWorld => { [INFO] [stdout] 23 | | given "I am trying out Cucumber" |world, step| { [INFO] [stdout] 24 | | world.foo = "Some string".to_string(); [INFO] [stdout] ... | [INFO] [stdout] 60 | | }; [INFO] [stdout] 61 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `$crate::typed_regex` which comes from the expansion of the macro `steps` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bdd_with_cucumber_rust` (test "cucumber") due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f1e15d19190fe26f68b677b5d46c553a4dd3abad7493a643db04fe901d76659e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e15d19190fe26f68b677b5d46c553a4dd3abad7493a643db04fe901d76659e", kill_on_drop: false }` [INFO] [stdout] f1e15d19190fe26f68b677b5d46c553a4dd3abad7493a643db04fe901d76659e