[INFO] fetching crate restcrab_macros 0.2.0... [INFO] checking restcrab_macros-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate restcrab_macros 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate restcrab_macros 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate restcrab_macros 0.2.0 [INFO] tweaked toml for crates.io crate restcrab_macros 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate restcrab_macros 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding darling v0.14.4 (available: v0.21.3) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding snafu v0.7.5 (available: v0.8.7) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19e578c7961a951696b5cbf6b863c203571101128ce9dcaa1af82e15935e5d5f [INFO] running `Command { std: "docker" "start" "-a" "19e578c7961a951696b5cbf6b863c203571101128ce9dcaa1af82e15935e5d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19e578c7961a951696b5cbf6b863c203571101128ce9dcaa1af82e15935e5d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e578c7961a951696b5cbf6b863c203571101128ce9dcaa1af82e15935e5d5f", kill_on_drop: false }` [INFO] [stdout] 19e578c7961a951696b5cbf6b863c203571101128ce9dcaa1af82e15935e5d5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0b20ac903be6c2832b9985b5a5a5c45de002fbe06ecf44e06882f638178f2fb [INFO] running `Command { std: "docker" "start" "-a" "f0b20ac903be6c2832b9985b5a5a5c45de002fbe06ecf44e06882f638178f2fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking darling_core v0.14.4 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking darling v0.14.4 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Compiling restcrab_macros v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `restcrab` [INFO] [stdout] --> test/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use restcrab::{crabs::reqwest::*, restcrab, Restcrab}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `restcrab` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `restcrab`, use `cargo add restcrab` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `restcrab` [INFO] [stdout] --> test/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use restcrab::{crabs::reqwest::*, restcrab, Restcrab}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `restcrab` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `restcrab`, use `cargo add restcrab` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `body` in this scope [INFO] [stdout] --> test/tests.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | fn echo(#[body] body: String) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `headers` in this scope [INFO] [stdout] --> test/tests.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | fn test(#[headers] headers: HashMap) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `headers` in this scope [INFO] [stdout] --> test/tests.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn get(#[headers] headers: HashMap); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `queries` in this scope [INFO] [stdout] --> test/tests.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | fn dynamic_query(#[queries] queries: HashMap); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `parameter` in this scope [INFO] [stdout] --> test/tests.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn path_parameters(#[parameter] test: String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Options` in this scope [INFO] [stdout] --> test/tests.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | CrabClient::from_options(Options { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use darling::usage::Options; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Options` in this scope [INFO] [stdout] --> test/tests.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | Reqwest::from_options(Options { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use darling::usage::Options; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CrabClient` [INFO] [stdout] --> test/tests.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | CrabClient::from_options(Options { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CrabClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CrabClient` [INFO] [stdout] --> test/tests.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | CrabClient::from_crab( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CrabClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reqwest` [INFO] [stdout] --> test/tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Reqwest::from_options(Options { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `restcrab_macros` (test "test") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f0b20ac903be6c2832b9985b5a5a5c45de002fbe06ecf44e06882f638178f2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0b20ac903be6c2832b9985b5a5a5c45de002fbe06ecf44e06882f638178f2fb", kill_on_drop: false }` [INFO] [stdout] f0b20ac903be6c2832b9985b5a5a5c45de002fbe06ecf44e06882f638178f2fb