[INFO] crate scrappy-web-codegen 0.0.1 is already in cache [INFO] testing scrappy-web-codegen-0.0.1 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate scrappy-web-codegen 0.0.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate scrappy-web-codegen 0.0.1 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", 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] 5105f8c5879c3730f489be1bac59e0e8b5331ab33a73ab6d0bb07acdde80baa0 [INFO] running `Command { std: "docker" "start" "-a" "5105f8c5879c3730f489be1bac59e0e8b5331ab33a73ab6d0bb07acdde80baa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5105f8c5879c3730f489be1bac59e0e8b5331ab33a73ab6d0bb07acdde80baa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5105f8c5879c3730f489be1bac59e0e8b5331ab33a73ab6d0bb07acdde80baa0", kill_on_drop: false }` [INFO] [stdout] 5105f8c5879c3730f489be1bac59e0e8b5331ab33a73ab6d0bb07acdde80baa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cb021ae41be9d98e927e17852b7a2a7384bf825ee16b5bf39fb71a778ed8303 [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" "8cb021ae41be9d98e927e17852b7a2a7384bf825ee16b5bf39fb71a778ed8303", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling scrappy-web-codegen v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.38s [INFO] running `Command { std: "docker" "inspect" "8cb021ae41be9d98e927e17852b7a2a7384bf825ee16b5bf39fb71a778ed8303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb021ae41be9d98e927e17852b7a2a7384bf825ee16b5bf39fb71a778ed8303", kill_on_drop: false }` [INFO] [stdout] 8cb021ae41be9d98e927e17852b7a2a7384bf825ee16b5bf39fb71a778ed8303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37c8a562aa66792b5b282300f1932bf29eaac722ec74874fd0e102ebd0c43713 [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" "37c8a562aa66792b5b282300f1932bf29eaac722ec74874fd0e102ebd0c43713", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling scrappy-macros v0.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling scrappy-threadpool v0.0.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling scrappy-rt v0.0.1 [INFO] [stderr] Compiling scrappy-web-codegen v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 type 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 an attribute macro (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 an attribute macro (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 an attribute macro (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 type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[put("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[patch("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[post("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[head("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[connect("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[options("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[trace("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type 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 type or module `scrappy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[get("/test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type 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 type or module `scrappy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[put("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[delete("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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 type or module `scrappy` [INFO] [stdout] --> tests/test_macro.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[get("/test/{param}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `scrappy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (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`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "37c8a562aa66792b5b282300f1932bf29eaac722ec74874fd0e102ebd0c43713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37c8a562aa66792b5b282300f1932bf29eaac722ec74874fd0e102ebd0c43713", kill_on_drop: false }` [INFO] [stdout] 37c8a562aa66792b5b282300f1932bf29eaac722ec74874fd0e102ebd0c43713