[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 master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Fbdd_with_cucumber_rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gyc567/bdd_with_cucumber_rust on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aa94c0941ff636978f09edf2e87a932d367d303d5c80ffcae827819c62b45dc [INFO] running `Command { std: "docker" "start" "-a" "4aa94c0941ff636978f09edf2e87a932d367d303d5c80ffcae827819c62b45dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aa94c0941ff636978f09edf2e87a932d367d303d5c80ffcae827819c62b45dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aa94c0941ff636978f09edf2e87a932d367d303d5c80ffcae827819c62b45dc", kill_on_drop: false }` [INFO] [stdout] 4aa94c0941ff636978f09edf2e87a932d367d303d5c80ffcae827819c62b45dc [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ca819539e2debac8387190cba98e7f8fe01f0517eab7a687eb7497765b80606 [INFO] running `Command { std: "docker" "start" "-a" "8ca819539e2debac8387190cba98e7f8fe01f0517eab7a687eb7497765b80606", 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.72s [INFO] running `Command { std: "docker" "inspect" "8ca819539e2debac8387190cba98e7f8fe01f0517eab7a687eb7497765b80606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ca819539e2debac8387190cba98e7f8fe01f0517eab7a687eb7497765b80606", kill_on_drop: false }` [INFO] [stdout] 8ca819539e2debac8387190cba98e7f8fe01f0517eab7a687eb7497765b80606 [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 687bcd64d38c9bf22ced704f6c35e5d7344f768de47840aa9580b2fe3c501faf [INFO] running `Command { std: "docker" "start" "-a" "687bcd64d38c9bf22ced704f6c35e5d7344f768de47840aa9580b2fe3c501faf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [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 globset v0.4.4 [INFO] [stderr] Compiling ignore v0.4.10 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling globwalk v0.7.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling darling_core v0.9.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] 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 22.65s [INFO] running `Command { std: "docker" "inspect" "687bcd64d38c9bf22ced704f6c35e5d7344f768de47840aa9580b2fe3c501faf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "687bcd64d38c9bf22ced704f6c35e5d7344f768de47840aa9580b2fe3c501faf", kill_on_drop: false }` [INFO] [stdout] 687bcd64d38c9bf22ced704f6c35e5d7344f768de47840aa9580b2fe3c501faf [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 121ab49940bb9c1d9825522059f482202430fe961028ca055a225418a4677e65 [INFO] running `Command { std: "docker" "start" "-a" "121ab49940bb9c1d9825522059f482202430fe961028ca055a225418a4677e65", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.40s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bdd_with_cucumber_rust-5199b6f420628313) [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-966dabf371f9f00d) [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" "121ab49940bb9c1d9825522059f482202430fe961028ca055a225418a4677e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121ab49940bb9c1d9825522059f482202430fe961028ca055a225418a4677e65", kill_on_drop: false }` [INFO] [stdout] 121ab49940bb9c1d9825522059f482202430fe961028ca055a225418a4677e65