[INFO] fetching crate cucumber-codegen 0.21.1... [INFO] testing cucumber-codegen-0.21.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cucumber-codegen 0.21.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate cucumber-codegen 0.21.1 [INFO] removed 2 missing tests [INFO] finished tweaking crates.io crate cucumber-codegen 0.21.1 [INFO] tweaked toml for crates.io crate cucumber-codegen 0.21.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cucumber-codegen 0.21.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding cucumber-expressions v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding itertools v0.13.0 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded synthez-core v0.3.1 [INFO] [stderr] Downloaded sealed v0.5.0 [INFO] [stderr] Downloaded synthez-codegen v0.3.1 [INFO] [stderr] Downloaded synthez v0.3.1 [INFO] [stderr] Downloaded cucumber-expressions v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c71756cefa3d9c43f92b5c428c28c8c7413ff0c22ace75730b81c9d6b8bb73cf [INFO] running `Command { std: "docker" "start" "-a" "c71756cefa3d9c43f92b5c428c28c8c7413ff0c22ace75730b81c9d6b8bb73cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c71756cefa3d9c43f92b5c428c28c8c7413ff0c22ace75730b81c9d6b8bb73cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c71756cefa3d9c43f92b5c428c28c8c7413ff0c22ace75730b81c9d6b8bb73cf", kill_on_drop: false }` [INFO] [stdout] c71756cefa3d9c43f92b5c428c28c8c7413ff0c22ace75730b81c9d6b8bb73cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c7d58645d50c6a59cdb9b075bb5e889b8ffae5653e1c077ec3c6a375ba70e55 [INFO] running `Command { std: "docker" "start" "-a" "0c7d58645d50c6a59cdb9b075bb5e889b8ffae5653e1c077ec3c6a375ba70e55", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling sealed v0.5.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synthez-core v0.3.1 [INFO] [stderr] Compiling synthez-codegen v0.3.1 [INFO] [stderr] Compiling cucumber-expressions v0.3.0 [INFO] [stderr] Compiling synthez v0.3.1 [INFO] [stderr] Compiling cucumber-codegen v0.21.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.95s [INFO] running `Command { std: "docker" "inspect" "0c7d58645d50c6a59cdb9b075bb5e889b8ffae5653e1c077ec3c6a375ba70e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7d58645d50c6a59cdb9b075bb5e889b8ffae5653e1c077ec3c6a375ba70e55", kill_on_drop: false }` [INFO] [stdout] 0c7d58645d50c6a59cdb9b075bb5e889b8ffae5653e1c077ec3c6a375ba70e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a952ad265d199632a24e436f065b467b10f67d4e1420d202c2b1e405b9a718a [INFO] running `Command { std: "docker" "start" "-a" "8a952ad265d199632a24e436f065b467b10f67d4e1420d202c2b1e405b9a718a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling cucumber-expressions v0.3.0 [INFO] [stderr] Compiling cucumber-codegen v0.21.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: extern crate `derive_more` is unused in crate `cucumber_codegen` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #![doc( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use derive_more as _;` to the crate root [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | unused_crate_dependencies, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `futures` is unused in crate `cucumber_codegen` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #![doc( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use futures as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `tempfile` is unused in crate `cucumber_codegen` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #![doc( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use tempfile as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `tokio` is unused in crate `cucumber_codegen` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #![doc( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use tokio as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.59s [INFO] running `Command { std: "docker" "inspect" "8a952ad265d199632a24e436f065b467b10f67d4e1420d202c2b1e405b9a718a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a952ad265d199632a24e436f065b467b10f67d4e1420d202c2b1e405b9a718a", kill_on_drop: false }` [INFO] [stdout] 8a952ad265d199632a24e436f065b467b10f67d4e1420d202c2b1e405b9a718a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca8805df0142f8eeca3e57dcafa7ed1b54ccb52b5a1ba0277904d98191f44f60 [INFO] running `Command { std: "docker" "start" "-a" "ca8805df0142f8eeca3e57dcafa7ed1b54ccb52b5a1ba0277904d98191f44f60", kill_on_drop: false }` [INFO] [stderr] warning: extern crate `derive_more` is unused in crate `cucumber_codegen` [INFO] [stderr] --> src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #![doc( [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: remove the dependency or add `use derive_more as _;` to the crate root [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:150:5 [INFO] [stderr] | [INFO] [stderr] 150 | unused_crate_dependencies, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: extern crate `futures` is unused in crate `cucumber_codegen` [INFO] [stderr] --> src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #![doc( [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: remove the dependency or add `use futures as _;` to the crate root [INFO] [stderr] [INFO] [stderr] warning: extern crate `tempfile` is unused in crate `cucumber_codegen` [INFO] [stderr] --> src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #![doc( [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: remove the dependency or add `use tempfile as _;` to the crate root [INFO] [stderr] [INFO] [stderr] warning: extern crate `tokio` is unused in crate `cucumber_codegen` [INFO] [stderr] --> src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #![doc( [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: remove the dependency or add `use tokio as _;` to the crate root [INFO] [stderr] [INFO] [stderr] warning: `cucumber-codegen` (lib test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cucumber_codegen-a0dc65fba5058e8d) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test parameter::spec::regex_arg_is_required ... ok [INFO] [stdout] test parameter::spec::invalid_regex ... ok [INFO] [stdout] test parameter::spec::derives_impl ... ok [INFO] [stdout] test parameter::spec::derives_impl_with_default_name ... ok [INFO] [stdout] test parameter::spec::derives_impl_with_non_capturing_regex_groups ... ok [INFO] [stdout] test world::spec::derives_impl_with_init_fn ... ok [INFO] [stdout] test world::spec::derives_impl ... ok [INFO] [stdout] test parameter::spec::derives_impl_with_generics ... ok [INFO] [stdout] test parameter::spec::derives_impl_with_capturing_group ... ok [INFO] [stdout] test world::spec::derives_impl_with_generics ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests cucumber_codegen [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - world (line 286) ... FAILED [INFO] [stdout] test src/lib.rs - given (line 289) ... FAILED [INFO] [stdout] test src/lib.rs - then (line 289) ... FAILED [INFO] [stdout] test src/lib.rs - when (line 289) ... FAILED [INFO] [stdout] test src/lib.rs - when (line 336) ... FAILED [INFO] [stdout] test src/lib.rs - parameter (line 319) ... FAILED [INFO] [stdout] test src/lib.rs - then (line 336) ... FAILED [INFO] [stdout] test src/lib.rs - given (line 336) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - world (line 286) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] --> src/lib.rs:287:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(cucumber::World)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `world` in this scope [INFO] [stdout] --> src/lib.rs:288:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[world(init = Self::new)] // optional, uses `Default::default()` if omitted [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - given (line 289) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cucumber` [INFO] [stdout] --> src/lib.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber::{given, when, World}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cucumber`, use `cargo add cucumber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `run` found for struct `MyWorld` in the current scope [INFO] [stdout] --> src/lib.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyWorld; [INFO] [stdout] | -------------- function or associated item `run` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | MyWorld::run("./tests/features/doctests.feature").await; [INFO] [stdout] | ^^^ function or associated item not found in `MyWorld` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - then (line 289) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cucumber` [INFO] [stdout] --> src/lib.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber::{given, when, World}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cucumber`, use `cargo add cucumber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `run` found for struct `MyWorld` in the current scope [INFO] [stdout] --> src/lib.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyWorld; [INFO] [stdout] | -------------- function or associated item `run` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | MyWorld::run("./tests/features/doctests.feature").await; [INFO] [stdout] | ^^^ function or associated item not found in `MyWorld` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - when (line 289) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cucumber` [INFO] [stdout] --> src/lib.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber::{given, when, World}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cucumber`, use `cargo add cucumber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `run` found for struct `MyWorld` in the current scope [INFO] [stdout] --> src/lib.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyWorld; [INFO] [stdout] | -------------- function or associated item `run` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | MyWorld::run("./tests/features/doctests.feature").await; [INFO] [stdout] | ^^^ function or associated item not found in `MyWorld` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - when (line 336) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber::{gherkin::Step, given, World}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cucumber`, use `cargo add cucumber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cucumber` [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber::{gherkin::Step, given, World}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cucumber`, use `cargo add cucumber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `step` in this scope [INFO] [stdout] --> src/lib.rs:347:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[step] s: &Step, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `run` found for struct `MyWorld` in the current scope [INFO] [stdout] --> src/lib.rs:357:14 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyWorld; [INFO] [stdout] | -------------- function or associated item `run` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | MyWorld::run("./tests/features/doctests.feature").await; [INFO] [stdout] | ^^^ function or associated item not found in `MyWorld` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - parameter (line 319) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cucumber` [INFO] [stdout] --> src/lib.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber::{given, when, Parameter, World}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cucumber`, use `cargo add cucumber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> src/lib.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[param(regex = r"\d+", name = "u64")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `param` is an attribute that can be used by the derive macro `Parameter`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Parameter)] [INFO] [stdout] 20 | struct CustomU64(u64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `run` found for struct `MyWorld` in the current scope [INFO] [stdout] --> src/lib.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 8 | struct MyWorld; [INFO] [stdout] | -------------- function or associated item `run` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | MyWorld::run("./tests/features/doctests.feature").await; [INFO] [stdout] | ^^^ function or associated item not found in `MyWorld` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - then (line 336) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber::{gherkin::Step, given, World}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cucumber`, use `cargo add cucumber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cucumber` [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber::{gherkin::Step, given, World}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cucumber`, use `cargo add cucumber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `step` in this scope [INFO] [stdout] --> src/lib.rs:347:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[step] s: &Step, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `run` found for struct `MyWorld` in the current scope [INFO] [stdout] --> src/lib.rs:357:14 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyWorld; [INFO] [stdout] | -------------- function or associated item `run` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | MyWorld::run("./tests/features/doctests.feature").await; [INFO] [stdout] | ^^^ function or associated item not found in `MyWorld` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - given (line 336) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber::{gherkin::Step, given, World}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cucumber`, use `cargo add cucumber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cucumber` [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber::{gherkin::Step, given, World}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cucumber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cucumber`, use `cargo add cucumber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `step` in this scope [INFO] [stdout] --> src/lib.rs:347:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[step] s: &Step, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `run` found for struct `MyWorld` in the current scope [INFO] [stdout] --> src/lib.rs:357:14 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyWorld; [INFO] [stdout] | -------------- function or associated item `run` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | MyWorld::run("./tests/features/doctests.feature").await; [INFO] [stdout] | ^^^ function or associated item not found in `MyWorld` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - given (line 289) [INFO] [stdout] src/lib.rs - given (line 336) [INFO] [stdout] src/lib.rs - parameter (line 319) [INFO] [stdout] src/lib.rs - then (line 289) [INFO] [stdout] src/lib.rs - then (line 336) [INFO] [stdout] src/lib.rs - when (line 289) [INFO] [stdout] src/lib.rs - when (line 336) [INFO] [stdout] src/lib.rs - world (line 286) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ca8805df0142f8eeca3e57dcafa7ed1b54ccb52b5a1ba0277904d98191f44f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca8805df0142f8eeca3e57dcafa7ed1b54ccb52b5a1ba0277904d98191f44f60", kill_on_drop: false }` [INFO] [stdout] ca8805df0142f8eeca3e57dcafa7ed1b54ccb52b5a1ba0277904d98191f44f60