[INFO] fetching crate reqwest-builder 0.2.4... [INFO] checking reqwest-builder-0.2.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate reqwest-builder 0.2.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate reqwest-builder 0.2.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate reqwest-builder 0.2.4 [INFO] tweaked toml for crates.io crate reqwest-builder 0.2.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reqwest-builder 0.2.4 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] crate crates.io crate reqwest-builder 0.2.4 already has a lockfile, it will not be regenerated [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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reqwest-builder-derive v0.1.2 [INFO] [stderr] Downloaded windows-registry v0.5.3 [INFO] [stderr] Downloaded rustls-webpki v0.103.3 [INFO] [stderr] Downloaded reqwest v0.12.22 [INFO] [stderr] Downloaded rustls v0.23.28 [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] ce06d11869c7e369927646e2da4f895710b1097507454ffff36af4ff15aa413a [INFO] running `Command { std: "docker" "start" "-a" "ce06d11869c7e369927646e2da4f895710b1097507454ffff36af4ff15aa413a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce06d11869c7e369927646e2da4f895710b1097507454ffff36af4ff15aa413a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce06d11869c7e369927646e2da4f895710b1097507454ffff36af4ff15aa413a", kill_on_drop: false }` [INFO] [stdout] ce06d11869c7e369927646e2da4f895710b1097507454ffff36af4ff15aa413a [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] 9e2c57326b4b847d2caf5f46fc1e1adb9f47ca04e96089cbcabe5b35531e4823 [INFO] running `Command { std: "docker" "start" "-a" "9e2c57326b4b847d2caf5f46fc1e1adb9f47ca04e96089cbcabe5b35531e4823", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tokio v1.46.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking reqwest-middleware v0.4.2 [INFO] [stderr] Checking reqwest-builder v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `IntoReqwestBuilder` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, IntoReqwestBuilder)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IntoReqwestBuilder` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/reqwest_builder_derive.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest_builder::{IntoReqwestBuilder, RequestBody}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `request` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[request(method = "POST", path = "/api/users/{id}/posts", body = "json")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `path_param` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[path_param] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `query` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[query] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `query` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[query(name = "include_comments")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[header(name = "Authorization")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[header(name = "Content-Type")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `IntoReqwestBuilder` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Serialize, IntoReqwestBuilder)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IntoReqwestBuilder` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/reqwest_builder_derive.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest_builder::{IntoReqwestBuilder, RequestBody}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `request` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[request(method = "GET", path = "/simple")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `query` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[query] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `IntoReqwestBuilder` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Serialize, IntoReqwestBuilder)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IntoReqwestBuilder` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/reqwest_builder_derive.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest_builder::{IntoReqwestBuilder, RequestBody}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `request` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[request(method = "POST", path = "/form-test", body = "form")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `IntoReqwestBuilder` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Serialize, IntoReqwestBuilder)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IntoReqwestBuilder` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/reqwest_builder_derive.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest_builder::{IntoReqwestBuilder, RequestBody}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `request` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[request(method = "DELETE", path = "/resource/{id}", body = "none")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `path_param` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[path_param] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `header` in this scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[header(name = "Authorization")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `method` found for struct `CompleteTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 8 | struct CompleteTestRequest { [INFO] [stdout] | -------------------------- method `method` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 70 | assert_eq!(request.method(), http::Method::POST); [INFO] [stdout] | ^^^^^^ method not found in `CompleteTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `method`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `endpoint` found for struct `CompleteTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 8 | struct CompleteTestRequest { [INFO] [stdout] | -------------------------- method `endpoint` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(request.endpoint(), "/api/users/123/posts"); [INFO] [stdout] | ^^^^^^^^ method not found in `CompleteTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `endpoint`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `query_params` found for struct `CompleteTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 8 | struct CompleteTestRequest { [INFO] [stdout] | -------------------------- method `query_params` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 76 | let query_params = request.query_params().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `CompleteTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_params`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `headers` found for struct `CompleteTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 8 | struct CompleteTestRequest { [INFO] [stdout] | -------------------------- method `headers` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 84 | let headers = request.headers().unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `CompleteTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `headers`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body` found for struct `CompleteTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 8 | struct CompleteTestRequest { [INFO] [stdout] | -------------------------- method `body` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | assert_eq!(request.body(), RequestBody::Json); [INFO] [stdout] | ^^^^ method not found in `CompleteTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `body`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `method` found for struct `SimpleTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 33 | struct SimpleTestRequest { [INFO] [stdout] | ------------------------ method `method` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 96 | assert_eq!(request.method(), http::Method::GET); [INFO] [stdout] | ^^^^^^ method not found in `SimpleTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `method`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `endpoint` found for struct `SimpleTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 33 | struct SimpleTestRequest { [INFO] [stdout] | ------------------------ method `endpoint` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 97 | assert_eq!(request.endpoint(), "/simple"); [INFO] [stdout] | ^^^^^^^^ method not found in `SimpleTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `endpoint`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `query_params` found for struct `SimpleTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 33 | struct SimpleTestRequest { [INFO] [stdout] | ------------------------ method `query_params` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 99 | let query_params = request.query_params().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `SimpleTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_params`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `headers` found for struct `SimpleTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 33 | struct SimpleTestRequest { [INFO] [stdout] | ------------------------ method `headers` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 103 | assert!(request.headers().is_none()); [INFO] [stdout] | ^^^^^^^ method not found in `SimpleTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `headers`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body` found for struct `SimpleTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 33 | struct SimpleTestRequest { [INFO] [stdout] | ------------------------ method `body` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 105 | assert_eq!(request.body(), RequestBody::Json); [INFO] [stdout] | ^^^^ method not found in `SimpleTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `body`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `method` found for struct `FormTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 41 | struct FormTestRequest { [INFO] [stdout] | ---------------------- method `method` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 115 | assert_eq!(request.method(), http::Method::POST); [INFO] [stdout] | ^^^^^^ method not found in `FormTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `method`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `endpoint` found for struct `FormTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 41 | struct FormTestRequest { [INFO] [stdout] | ---------------------- method `endpoint` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 116 | assert_eq!(request.endpoint(), "/form-test"); [INFO] [stdout] | ^^^^^^^^ method not found in `FormTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `endpoint`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body` found for struct `FormTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 41 | struct FormTestRequest { [INFO] [stdout] | ---------------------- method `body` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 117 | assert_eq!(request.body(), RequestBody::Form); [INFO] [stdout] | ^^^^ method not found in `FormTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `body`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `method` found for struct `DeleteTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 48 | struct DeleteTestRequest { [INFO] [stdout] | ------------------------ method `method` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 127 | assert_eq!(request.method(), http::Method::DELETE); [INFO] [stdout] | ^^^^^^ method not found in `DeleteTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `method`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `endpoint` found for struct `DeleteTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 48 | struct DeleteTestRequest { [INFO] [stdout] | ------------------------ method `endpoint` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 128 | assert_eq!(request.endpoint(), "/resource/456"); [INFO] [stdout] | ^^^^^^^^ method not found in `DeleteTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `endpoint`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body` found for struct `DeleteTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 48 | struct DeleteTestRequest { [INFO] [stdout] | ------------------------ method `body` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 129 | assert_eq!(request.body(), RequestBody::None); [INFO] [stdout] | ^^^^ method not found in `DeleteTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `body`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `headers` found for struct `DeleteTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 48 | struct DeleteTestRequest { [INFO] [stdout] | ------------------------ method `headers` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 131 | let headers = request.headers().unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `DeleteTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `headers`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `query_params` found for struct `SimpleTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 33 | struct SimpleTestRequest { [INFO] [stdout] | ------------------------ method `query_params` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 141 | let params1 = request1.query_params().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `SimpleTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_params`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `query_params` found for struct `SimpleTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 33 | struct SimpleTestRequest { [INFO] [stdout] | ------------------------ method `query_params` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 145 | let params2 = request2.query_params(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `SimpleTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query_params`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_reqwest_builder` found for struct `SimpleTestRequest` in the current scope [INFO] [stdout] --> tests/reqwest_builder_derive.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 33 | struct SimpleTestRequest { [INFO] [stdout] | ------------------------ method `into_reqwest_builder` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 157 | let builder_result = request.into_reqwest_builder(&client, &base_url); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `SimpleTestRequest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `into_reqwest_builder`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoReqwestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest-builder` (test "reqwest_builder_derive") due to 36 previous errors [INFO] running `Command { std: "docker" "inspect" "9e2c57326b4b847d2caf5f46fc1e1adb9f47ca04e96089cbcabe5b35531e4823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2c57326b4b847d2caf5f46fc1e1adb9f47ca04e96089cbcabe5b35531e4823", kill_on_drop: false }` [INFO] [stdout] 9e2c57326b4b847d2caf5f46fc1e1adb9f47ca04e96089cbcabe5b35531e4823