[INFO] fetching crate cucumber_rust_codegen 0.1.0... [INFO] checking cucumber_rust_codegen-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate cucumber_rust_codegen 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate cucumber_rust_codegen 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cucumber_rust_codegen 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cucumber_rust_codegen 0.1.0 [INFO] tweaked toml for crates.io crate cucumber_rust_codegen 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.3.2 [INFO] [stderr] Downloaded tokio v0.3.7 [INFO] [stderr] Downloaded inflections v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8935085415be10d71756b44644ac588ea081e3b4afdf45593a6d434eaa1d27b3 [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" "8935085415be10d71756b44644ac588ea081e3b4afdf45593a6d434eaa1d27b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8935085415be10d71756b44644ac588ea081e3b4afdf45593a6d434eaa1d27b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8935085415be10d71756b44644ac588ea081e3b4afdf45593a6d434eaa1d27b3", kill_on_drop: false }` [INFO] [stdout] 8935085415be10d71756b44644ac588ea081e3b4afdf45593a6d434eaa1d27b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--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] 6dbe95da3e2532f376f333a41aea741d1df843c04faf62a39cbf2728b5978147 [INFO] running `Command { std: "docker" "start" "-a" "6dbe95da3e2532f376f333a41aea741d1df843c04faf62a39cbf2728b5978147", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Checking inflections v1.1.1 [INFO] [stderr] Checking memchr v2.3.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling tokio v0.3.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking cucumber_rust_codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v0.3.2 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cucumber_rust` [INFO] [stdout] --> tests/example.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber_rust::{gherkin::Step, given, World, WorldInit}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cucumber_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cucumber_rust` [INFO] [stdout] --> tests/example.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber_rust::{gherkin::Step, given, World, WorldInit}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cucumber_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `WorldInit` [INFO] [stdout] --> tests/example.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(WorldInit)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `given` [INFO] [stdout] --> tests/example.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[given(regex = r"(\S+) is (\d+)")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `given` [INFO] [stdout] --> tests/example.rs:22:60 [INFO] [stdout] | [INFO] [stdout] 22 | async fn test_regex_async(w: &mut MyWorld, step: String, #[given(step)] s: &Step, num: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `given` [INFO] [stdout] --> tests/example.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[given(regex = r"(\S+) is sync (\d+)")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cucumber_rust` [INFO] [stdout] --> tests/readme.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber_rust::{given, then, when, World, WorldInit}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `cucumber_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `WorldInit` [INFO] [stdout] --> tests/readme.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(WorldInit)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `given` [INFO] [stdout] --> tests/readme.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[given("a thing")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `when` [INFO] [stdout] --> tests/readme.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[when(regex = "something goes (.*)")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `given` [INFO] [stdout] --> tests/readme.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[given("I am trying out Cucumber")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `when` [INFO] [stdout] --> tests/readme.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[when("I consider what I am doing")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `then` [INFO] [stdout] --> tests/readme.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[then("I am interested in ATDD")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `then` [INFO] [stdout] --> tests/readme.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | #[then(regex = r"^we can (.*) rules with regex$")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cucumber_rust_codegen` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Step` in this scope [INFO] [stdout] --> tests/example.rs:22:77 [INFO] [stdout] | [INFO] [stdout] 22 | async fn test_regex_async(w: &mut MyWorld, step: String, #[given(step)] s: &Step, num: usize) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Step; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::time::instant::ops::range::fmt::result::iter::Step; [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Step; [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::__std_iter::Step; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Step` in this scope [INFO] [stdout] --> tests/example.rs:33:61 [INFO] [stdout] | [INFO] [stdout] 33 | async fn test_regex_sync(w: &mut MyWorld, s: String, step: &Step, num: usize) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Step; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::time::instant::ops::range::fmt::result::iter::Step; [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Step; [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::__std_iter::Step; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6dbe95da3e2532f376f333a41aea741d1df843c04faf62a39cbf2728b5978147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dbe95da3e2532f376f333a41aea741d1df843c04faf62a39cbf2728b5978147", kill_on_drop: false }` [INFO] [stdout] 6dbe95da3e2532f376f333a41aea741d1df843c04faf62a39cbf2728b5978147