[INFO] fetching crate cucumber_rust_codegen 0.9.0... [INFO] checking cucumber_rust_codegen-0.9.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate cucumber_rust_codegen 0.9.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate cucumber_rust_codegen 0.9.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cucumber_rust_codegen 0.9.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cucumber_rust_codegen 0.9.0 [INFO] tweaked toml for crates.io crate cucumber_rust_codegen 0.9.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1ca43bdb3bb899706083ad710c0a4e651c5c81059a718c22ba7d72b48dd53b6 [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" "e1ca43bdb3bb899706083ad710c0a4e651c5c81059a718c22ba7d72b48dd53b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1ca43bdb3bb899706083ad710c0a4e651c5c81059a718c22ba7d72b48dd53b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ca43bdb3bb899706083ad710c0a4e651c5c81059a718c22ba7d72b48dd53b6", kill_on_drop: false }` [INFO] [stdout] e1ca43bdb3bb899706083ad710c0a4e651c5c81059a718c22ba7d72b48dd53b6 [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=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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] cadce6f179af199c1037a07546d734c9a9bf53166e466e859edac5bee0ef1f75 [INFO] running `Command { std: "docker" "start" "-a" "cadce6f179af199c1037a07546d734c9a9bf53166e466e859edac5bee0ef1f75", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.75: visit-mut [INFO] [stderr] syn v1.0.75 (as host dependency): visit-mut [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking inflections v1.1.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v0.3.7 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking cucumber_rust_codegen v0.9.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Compiling tokio-macros v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Migrating tests/readme.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/example.rs from 2018 edition to 2021 [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` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `cucumber_rust` [INFO] [stdout] --> tests/example.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cucumber_rust::{given, StepContext, 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:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[given(context)] ctx: &StepContext, [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:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[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: cannot determine resolution for the attribute macro `given` [INFO] [stdout] --> tests/example.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[given(context)] ctx: &StepContext, [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "cadce6f179af199c1037a07546d734c9a9bf53166e466e859edac5bee0ef1f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cadce6f179af199c1037a07546d734c9a9bf53166e466e859edac5bee0ef1f75", kill_on_drop: false }` [INFO] [stdout] cadce6f179af199c1037a07546d734c9a9bf53166e466e859edac5bee0ef1f75