[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 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Fbdd_with_cucumber_rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gyc567/bdd_with_cucumber_rust on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", 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] 0dc91e166d1eef3e60a134e655ce4f241be5f8fa4ddaefa0e1a885e0e6ef0755 [INFO] running `Command { std: "docker" "start" "-a" "0dc91e166d1eef3e60a134e655ce4f241be5f8fa4ddaefa0e1a885e0e6ef0755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dc91e166d1eef3e60a134e655ce4f241be5f8fa4ddaefa0e1a885e0e6ef0755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dc91e166d1eef3e60a134e655ce4f241be5f8fa4ddaefa0e1a885e0e6ef0755", kill_on_drop: false }` [INFO] [stdout] 0dc91e166d1eef3e60a134e655ce4f241be5f8fa4ddaefa0e1a885e0e6ef0755 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", 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] 8fb9f6ef54053c346af855246b88848c991770af2f9ddfea3959f9b2c477b345 [INFO] running `Command { std: "docker" "start" "-a" "8fb9f6ef54053c346af855246b88848c991770af2f9ddfea3959f9b2c477b345", 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.70s [INFO] running `Command { std: "docker" "inspect" "8fb9f6ef54053c346af855246b88848c991770af2f9ddfea3959f9b2c477b345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fb9f6ef54053c346af855246b88848c991770af2f9ddfea3959f9b2c477b345", kill_on_drop: false }` [INFO] [stdout] 8fb9f6ef54053c346af855246b88848c991770af2f9ddfea3959f9b2c477b345 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 019eb8dc98c6a76507810c2b435190b4d7f81a36e50ebe7d047935cf9b3f987e [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" "019eb8dc98c6a76507810c2b435190b4d7f81a36e50ebe7d047935cf9b3f987e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling term_size v0.3.1 [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_generator v2.1.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling ignore v0.4.10 [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 1m 10s [INFO] running `Command { std: "docker" "inspect" "019eb8dc98c6a76507810c2b435190b4d7f81a36e50ebe7d047935cf9b3f987e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019eb8dc98c6a76507810c2b435190b4d7f81a36e50ebe7d047935cf9b3f987e", kill_on_drop: false }` [INFO] [stdout] 019eb8dc98c6a76507810c2b435190b4d7f81a36e50ebe7d047935cf9b3f987e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 81d52df180b6e844678d8dd400c49a55c561cd41ba3968954b34a781772ea36f [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" "81d52df180b6e844678d8dd400c49a55c561cd41ba3968954b34a781772ea36f", 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: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/bdd_with_cucumber_rust-b1410138ff9252e9 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cucumber-e5784fde29537335 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [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" "81d52df180b6e844678d8dd400c49a55c561cd41ba3968954b34a781772ea36f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81d52df180b6e844678d8dd400c49a55c561cd41ba3968954b34a781772ea36f", kill_on_drop: false }` [INFO] [stdout] 81d52df180b6e844678d8dd400c49a55c561cd41ba3968954b34a781772ea36f