[INFO] fetching crate xero-rs 0.1.0-alpha.13... [INFO] checking xero-rs-0.1.0-alpha.13 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate xero-rs 0.1.0-alpha.13 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate xero-rs 0.1.0-alpha.13 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate xero-rs 0.1.0-alpha.13 [INFO] tweaked toml for crates.io crate xero-rs 0.1.0-alpha.13 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xero-rs 0.1.0-alpha.13 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xero-rs 0.1.0-alpha.13 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owo-colors v4.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0886c0fe12be3ee1253a5928206a17c4f3639b9cb80111d848b1ffebdece1614 [INFO] running `Command { std: "docker" "start" "-a" "0886c0fe12be3ee1253a5928206a17c4f3639b9cb80111d848b1ffebdece1614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0886c0fe12be3ee1253a5928206a17c4f3639b9cb80111d848b1ffebdece1614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0886c0fe12be3ee1253a5928206a17c4f3639b9cb80111d848b1ffebdece1614", kill_on_drop: false }` [INFO] [stdout] 0886c0fe12be3ee1253a5928206a17c4f3639b9cb80111d848b1ffebdece1614 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c81240a959612a96e20a16e9fdb055037ad1f468130b5cbce910c275e03df9fe [INFO] running `Command { std: "docker" "start" "-a" "c81240a959612a96e20a16e9fdb055037ad1f468130b5cbce910c275e03df9fe", kill_on_drop: false }` [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.7 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking webpki-roots v0.26.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling owo-colors v4.2.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking terminal_size v0.4.2 [INFO] [stderr] Checking supports-color v3.0.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking supports-hyperlinks v3.1.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling miette-derive v7.5.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling rust_decimal_macros v1.37.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking miette v7.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking hyper-rustls v0.27.5 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking oauth2 v5.0.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking xero-rs v0.1.0-alpha.13 (/opt/rustwide/workdir) [INFO] [stderr] Checking warp v0.3.7 [INFO] [stdout] warning: fields `status`, `id`, `provider_name`, and `date_time_utc` are never read [INFO] [stdout] --> src/entities/invoice.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 205 | pub(crate) struct ListResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 206 | pub invoices: Vec, [INFO] [stdout] 207 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 208 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 209 | pub provider_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 210 | #[serde(rename = "DateTimeUTC")] [INFO] [stdout] 211 | pub date_time_utc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `id`, `provider_name`, and `date_time_utc` are never read [INFO] [stdout] --> src/entities/item.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) struct ListResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 128 | pub items: Vec, [INFO] [stdout] 129 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 130 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 131 | pub provider_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 132 | #[serde(rename = "DateTimeUTC")] [INFO] [stdout] 133 | pub date_time_utc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | pub fn contacts(&self) -> ContactsApi { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 637 | pub fn contacts(&self) -> ContactsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:643:21 [INFO] [stdout] | [INFO] [stdout] 643 | pub fn invoices(&self) -> InvoicesApi { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 643 | pub fn invoices(&self) -> InvoicesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:649:28 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn purchase_orders(&self) -> PurchaseOrdersApi { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 649 | pub fn purchase_orders(&self) -> PurchaseOrdersApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:655:19 [INFO] [stdout] | [INFO] [stdout] 655 | pub fn quotes(&self) -> QuotesApi { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 655 | pub fn quotes(&self) -> QuotesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:661:23 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn timesheets(&self) -> TimesheetsApi { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 661 | pub fn timesheets(&self) -> TimesheetsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:667:22 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn employees(&self) -> EmployeesApi { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 667 | pub fn employees(&self) -> EmployeesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn earnings_rates(&self) -> EarningsRatesApi { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 673 | pub fn earnings_rates(&self) -> EarningsRatesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:679:26 [INFO] [stdout] | [INFO] [stdout] 679 | pub fn pay_calendars(&self) -> PayCalendarsApi { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 679 | pub fn pay_calendars(&self) -> PayCalendarsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | pub fn items(&self) -> ItemsApi { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 685 | pub fn items(&self) -> ItemsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `ContactIdentifier` is private [INFO] [stdout] --> tests/invoice.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | use xero_rs::invoice::{Builder, Type, ListParameters, ContactIdentifier}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `ContactIdentifier` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/entities/invoice.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | contact::{Contact, ContactIdentifier}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `ContactIdentifier` directly [INFO] [stdout] | [INFO] [stdout] 12 | use xero_rs::invoice::{Builder, Type, ListParameters, xero_rs::entities::contact::ContactIdentifier}; [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/quote.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | contact, [INFO] [stdout] | ^^^^^^^ expected `ContactIdentifier`, found `Contact` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/quote.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | contact: created_quote.contact.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ContactIdentifier`, found `Contact` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `ContactIdentifier` is private [INFO] [stdout] --> tests/purchase_order.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | purchase_order::{self, ContactIdentifier}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `ContactIdentifier` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/entities/purchase_order.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | contact::{Contact, ContactIdentifier}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `ContactIdentifier` directly [INFO] [stdout] | [INFO] [stdout] 13 | purchase_order::{self, xero_rs::entities::contact::ContactIdentifier}, [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xero-rs` (test "purchase_order") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xero-rs` (test "quote") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xero-rs` (test "invoice") due to 1 previous error [INFO] [stdout] warning: fields `status`, `id`, `provider_name`, and `date_time_utc` are never read [INFO] [stdout] --> src/entities/invoice.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 205 | pub(crate) struct ListResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 206 | pub invoices: Vec, [INFO] [stdout] 207 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 208 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 209 | pub provider_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 210 | #[serde(rename = "DateTimeUTC")] [INFO] [stdout] 211 | pub date_time_utc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `id`, `provider_name`, and `date_time_utc` are never read [INFO] [stdout] --> src/entities/item.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) struct ListResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 128 | pub items: Vec, [INFO] [stdout] 129 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 130 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 131 | pub provider_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 132 | #[serde(rename = "DateTimeUTC")] [INFO] [stdout] 133 | pub date_time_utc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | pub fn contacts(&self) -> ContactsApi { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 637 | pub fn contacts(&self) -> ContactsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:643:21 [INFO] [stdout] | [INFO] [stdout] 643 | pub fn invoices(&self) -> InvoicesApi { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 643 | pub fn invoices(&self) -> InvoicesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:649:28 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn purchase_orders(&self) -> PurchaseOrdersApi { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 649 | pub fn purchase_orders(&self) -> PurchaseOrdersApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:655:19 [INFO] [stdout] | [INFO] [stdout] 655 | pub fn quotes(&self) -> QuotesApi { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 655 | pub fn quotes(&self) -> QuotesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:661:23 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn timesheets(&self) -> TimesheetsApi { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 661 | pub fn timesheets(&self) -> TimesheetsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:667:22 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn employees(&self) -> EmployeesApi { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 667 | pub fn employees(&self) -> EmployeesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn earnings_rates(&self) -> EarningsRatesApi { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 673 | pub fn earnings_rates(&self) -> EarningsRatesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:679:26 [INFO] [stdout] | [INFO] [stdout] 679 | pub fn pay_calendars(&self) -> PayCalendarsApi { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 679 | pub fn pay_calendars(&self) -> PayCalendarsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/client.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | pub fn items(&self) -> ItemsApi { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 685 | pub fn items(&self) -> ItemsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c81240a959612a96e20a16e9fdb055037ad1f468130b5cbce910c275e03df9fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81240a959612a96e20a16e9fdb055037ad1f468130b5cbce910c275e03df9fe", kill_on_drop: false }` [INFO] [stdout] c81240a959612a96e20a16e9fdb055037ad1f468130b5cbce910c275e03df9fe