[INFO] fetching crate scrappy-web-codegen 0.0.1... [INFO] checking scrappy-web-codegen-0.0.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate scrappy-web-codegen 0.0.1 into /workspace/builds/worker-98/source [INFO] validating manifest of crates.io crate scrappy-web-codegen 0.0.1 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 scrappy-web-codegen 0.0.1 [INFO] finished tweaking crates.io crate scrappy-web-codegen 0.0.1 [INFO] tweaked toml for crates.io crate scrappy-web-codegen 0.0.1 written to /workspace/builds/worker-98/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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] 18c86c839fffc30f2a4a97c7573ac74fcb86b054a3913a295fd1f27dec919fb9 [INFO] running `Command { std: "docker" "start" "-a" "18c86c839fffc30f2a4a97c7573ac74fcb86b054a3913a295fd1f27dec919fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18c86c839fffc30f2a4a97c7573ac74fcb86b054a3913a295fd1f27dec919fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c86c839fffc30f2a4a97c7573ac74fcb86b054a3913a295fd1f27dec919fb9", kill_on_drop: false }` [INFO] [stdout] 18c86c839fffc30f2a4a97c7573ac74fcb86b054a3913a295fd1f27dec919fb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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] [stdout] cecf605e60f186bf25266751ae5b6f04f9ab2e796b08afabbc6fe7f261781f1f [INFO] running `Command { std: "docker" "start" "-a" "cecf605e60f186bf25266751ae5b6f04f9ab2e796b08afabbc6fe7f261781f1f", 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: extra-traits [INFO] [stderr] syn v1.0.75 (as host dependency): extra-traits [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking futures-channel v0.3.16 [INFO] [stderr] Checking proc-macro2 v1.0.28 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling scrappy-macros v0.0.1 [INFO] [stderr] Compiling scrappy-web-codegen v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking futures-util v0.3.16 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking scrappy-threadpool v0.0.1 [INFO] [stderr] Checking scrappy-rt v0.0.1 [INFO] [stderr] Migrating tests/test_macro.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use scrappy::{http, test, web::Path, App, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scrappy` [INFO] [stdout] --> tests/test_macro.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use scrappy::{http, test, web::Path, App, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_macro.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_macro.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_macro.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[put("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[patch("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `patch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[post("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[head("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `head` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[connect("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `connect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[options("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `options` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[trace("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | fn auto_async() -> impl Future> { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:51:61 [INFO] [stdout] | [INFO] [stdout] 51 | fn auto_sync() -> impl Future> { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[put("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[delete("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `delete` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[get("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/test_macro.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | async fn put_param_test(_: Path) -> impl Responder { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 1 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/test_macro.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | async fn delete_param_test(_: Path) -> impl Responder { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 1 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/test_macro.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | async fn get_param_test(_: Path) -> impl Responder { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 1 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 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: could not compile `scrappy-web-codegen` due to 24 previous errors [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" "cecf605e60f186bf25266751ae5b6f04f9ab2e796b08afabbc6fe7f261781f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cecf605e60f186bf25266751ae5b6f04f9ab2e796b08afabbc6fe7f261781f1f", kill_on_drop: false }` [INFO] [stdout] cecf605e60f186bf25266751ae5b6f04f9ab2e796b08afabbc6fe7f261781f1f