[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] testing gyc567/bdd_with_cucumber_rust against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Fbdd_with_cucumber_rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gyc567/bdd_with_cucumber_rust on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1/source/Cargo.toml [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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pathdiff v0.1.0 [INFO] [stderr] Downloaded derive_builder v0.7.2 [INFO] [stderr] Downloaded darling_macro v0.9.0 [INFO] [stderr] Downloaded darling_core v0.9.0 [INFO] [stderr] Downloaded darling v0.9.0 [INFO] [stderr] Downloaded derive_builder_core v0.5.0 [INFO] [stderr] Downloaded globwalk v0.7.1 [INFO] [stderr] Downloaded gherkin_rust v0.5.1 [INFO] [stderr] Downloaded shh v1.0.0 [INFO] [stderr] Downloaded cucumber_rust v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97a57bfaf1a43067a569edc5fe1d420918cc3b60ab68b258d4b1627f6171d649 [INFO] running `Command { std: "docker" "start" "-a" "97a57bfaf1a43067a569edc5fe1d420918cc3b60ab68b258d4b1627f6171d649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97a57bfaf1a43067a569edc5fe1d420918cc3b60ab68b258d4b1627f6171d649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a57bfaf1a43067a569edc5fe1d420918cc3b60ab68b258d4b1627f6171d649", kill_on_drop: false }` [INFO] [stdout] 97a57bfaf1a43067a569edc5fe1d420918cc3b60ab68b258d4b1627f6171d649 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8df69481c32706e4d0bd575a56d6f7b29b00f1bea43bd38acf2769d726feef71 [INFO] running `Command { std: "docker" "start" "-a" "8df69481c32706e4d0bd575a56d6f7b29b00f1bea43bd38acf2769d726feef71", kill_on_drop: false }` [INFO] [stderr] Compiling bdd_with_cucumber_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "8df69481c32706e4d0bd575a56d6f7b29b00f1bea43bd38acf2769d726feef71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8df69481c32706e4d0bd575a56d6f7b29b00f1bea43bd38acf2769d726feef71", kill_on_drop: false }` [INFO] [stdout] 8df69481c32706e4d0bd575a56d6f7b29b00f1bea43bd38acf2769d726feef71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f1ac1d157f3841d9b55087f8024d5d0df6c84517779b4186e8a4838768513a1 [INFO] running `Command { std: "docker" "start" "-a" "2f1ac1d157f3841d9b55087f8024d5d0df6c84517779b4186e8a4838768513a1", 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 memchr v2.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling shh v1.0.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling ignore v0.4.10 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling globwalk v0.7.1 [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] Compiling gherkin_rust v0.5.1 [INFO] [stderr] Compiling cucumber_rust v0.6.3 [INFO] [stderr] Compiling bdd_with_cucumber_rust v0.1.0 (/opt/rustwide/workdir) [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)]` on by default [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] = note: `#[warn(unused_variables)]` on by default [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] 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: `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: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: `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: `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: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] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.61s [INFO] running `Command { std: "docker" "inspect" "2f1ac1d157f3841d9b55087f8024d5d0df6c84517779b4186e8a4838768513a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f1ac1d157f3841d9b55087f8024d5d0df6c84517779b4186e8a4838768513a1", kill_on_drop: false }` [INFO] [stdout] 2f1ac1d157f3841d9b55087f8024d5d0df6c84517779b4186e8a4838768513a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e4d4d3f48770b64f9ea6152918a036490015a0eef61fa7fd0c1fa6574d00c37 [INFO] running `Command { std: "docker" "start" "-a" "7e4d4d3f48770b64f9ea6152918a036490015a0eef61fa7fd0c1fa6574d00c37", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `steps` [INFO] [stderr] --> tests/cucumber.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use cucumber::{cucumber, steps, before, after}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scenario` [INFO] [stderr] --> tests/cucumber.rs:65:25 [INFO] [stderr] | [INFO] [stderr] 65 | before!(a_before_fn => |scenario| { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scenario` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scenario` [INFO] [stderr] --> tests/cucumber.rs:70:24 [INFO] [stderr] | [INFO] [stderr] 70 | after!(an_after_fn => |scenario| { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scenario` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `step` [INFO] [stderr] --> tests/cucumber.rs:23:50 [INFO] [stderr] | [INFO] [stderr] 23 | given "I am trying out Cucumber" |world, step| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `step` [INFO] [stderr] --> tests/cucumber.rs:28:51 [INFO] [stderr] | [INFO] [stderr] 28 | when "I consider what I am doing" |world, step| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `step` [INFO] [stderr] --> tests/cucumber.rs:34:48 [INFO] [stderr] | [INFO] [stderr] 34 | then "I am interested in ATDD" |world, step| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world` [INFO] [stderr] --> tests/cucumber.rs:39:55 [INFO] [stderr] | [INFO] [stderr] 39 | then regex r"^we can (.*) rules with regex$" |world, matches, step| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `step` [INFO] [stderr] --> tests/cucumber.rs:39:71 [INFO] [stderr] | [INFO] [stderr] 39 | then regex r"^we can (.*) rules with regex$" |world, matches, step| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world` [INFO] [stderr] --> tests/cucumber.rs:44:77 [INFO] [stderr] | [INFO] [stderr] 44 | then regex r"^we can also match (\d+) (.+) types$" (usize, String) |world, num, word, step| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `step` [INFO] [stderr] --> tests/cucumber.rs:44:95 [INFO] [stderr] | [INFO] [stderr] 44 | then regex r"^we can also match (\d+) (.+) types$" (usize, String) |world, num, word, step| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world` [INFO] [stderr] --> tests/cucumber.rs:50:67 [INFO] [stderr] | [INFO] [stderr] 50 | then "we can use data tables to provide more parameters" |world, step| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stderr] [INFO] [stderr] warning: `bdd_with_cucumber_rust` (test "cucumber") generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bdd_with_cucumber_rust-b41cd8072b9927ef) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cucumber.rs (/opt/rustwide/target/debug/deps/cucumber-66cda00e83a364d0) [INFO] [stdout] [Cucumber v0.6.3] [INFO] [stdout] [INFO] [stdout] Feature: Example feature features/example.feature:1:1 [INFO] [stdout] [INFO] [stdout] Scenario: An example scenario features/example.feature:3:15 [INFO] [stdout] ✔ Given I am trying out Cucumber features/example.feature:4:9 [INFO] [stdout] ✔ When I consider what I am doing features/example.feature:5:9 [INFO] [stdout] ✔ Then I am interested in ATDD features/example.feature:6:9 [INFO] [stdout] ✔ And we can implement rules with regex features/example.feature:7:9 [INFO] [stdout] [INFO] [stdout] 1 features [INFO] [stdout] 1 scenarios (1 passed) [INFO] [stdout] 4 steps (4 passed) [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e4d4d3f48770b64f9ea6152918a036490015a0eef61fa7fd0c1fa6574d00c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4d4d3f48770b64f9ea6152918a036490015a0eef61fa7fd0c1fa6574d00c37", kill_on_drop: false }` [INFO] [stdout] 7e4d4d3f48770b64f9ea6152918a036490015a0eef61fa7fd0c1fa6574d00c37