[INFO] fetching crate square-api-client 0.1.9... [INFO] testing square-api-client-0.1.9 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate square-api-client 0.1.9 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate square-api-client 0.1.9 [INFO] finished tweaking crates.io crate square-api-client 0.1.9 [INFO] tweaked toml for crates.io crate square-api-client 0.1.9 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate square-api-client 0.1.9 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 208 packages to latest compatible versions [INFO] [stderr] Adding infer v0.9.0 (available: v0.19.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding reqwest-middleware v0.1.6 (available: v0.5.1) [INFO] [stderr] Adding reqwest-retry v0.1.5 (available: v0.9.1) [INFO] [stderr] Adding rustc_version_runtime v0.2.1 (available: v0.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] beddd9c1fd7e406072d4c49765fe05ec1d6b415507d46d47b227b7d537660d5b [INFO] running `Command { std: "docker" "start" "-a" "beddd9c1fd7e406072d4c49765fe05ec1d6b415507d46d47b227b7d537660d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "beddd9c1fd7e406072d4c49765fe05ec1d6b415507d46d47b227b7d537660d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beddd9c1fd7e406072d4c49765fe05ec1d6b415507d46d47b227b7d537660d5b", kill_on_drop: false }` [INFO] [stdout] beddd9c1fd7e406072d4c49765fe05ec1d6b415507d46d47b227b7d537660d5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10c63aea9d0ea804b4c432b4911b508c41ee9c162f8275d6d7ebd4c34ce014fd [INFO] running `Command { std: "docker" "start" "-a" "10c63aea9d0ea804b4c432b4911b508c41ee9c162f8275d6d7ebd4c34ce014fd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling task-local-extensions v0.1.4 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling package_info v0.1.0 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling infer v0.9.0 [INFO] [stderr] Compiling package_info_derive v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling retry-policies v0.1.2 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-middleware v0.1.6 [INFO] [stderr] Compiling reqwest-retry v0.1.5 [INFO] [stderr] Compiling square-api-client v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/mod.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | pub use additional_recipient::AdditionalRecipient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::transaction::Transaction` [INFO] [stdout] --> src/models/mod.rs:665:22 [INFO] [stdout] | [INFO] [stdout] 665 | pub use transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/refund.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{enums::RefundStatus, AdditionalRecipient, DateTime, Money}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/refund.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | pub additional_recipients: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/tender.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | enums::TenderType, AdditionalRecipient, DateTime, Money, TenderCardDetails, TenderCashDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/tender.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | pub additional_recipients: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/models/date_time.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | Self::from(&chrono::DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/models/date_time.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | chrono::NaiveDateTime::from_timestamp(timestamp, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "10c63aea9d0ea804b4c432b4911b508c41ee9c162f8275d6d7ebd4c34ce014fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c63aea9d0ea804b4c432b4911b508c41ee9c162f8275d6d7ebd4c34ce014fd", kill_on_drop: false }` [INFO] [stdout] 10c63aea9d0ea804b4c432b4911b508c41ee9c162f8275d6d7ebd4c34ce014fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38485ea5bbd835ef82842d83e1b5b2f9339c31f6bed579c0028bf055962300bc [INFO] running `Command { std: "docker" "start" "-a" "38485ea5bbd835ef82842d83e1b5b2f9339c31f6bed579c0028bf055962300bc", kill_on_drop: false }` [INFO] [stderr] Compiling square-api-client v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/mod.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | pub use additional_recipient::AdditionalRecipient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::transaction::Transaction` [INFO] [stdout] --> src/models/mod.rs:665:22 [INFO] [stdout] | [INFO] [stdout] 665 | pub use transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/refund.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{enums::RefundStatus, AdditionalRecipient, DateTime, Money}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/refund.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | pub additional_recipients: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/tender.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | enums::TenderType, AdditionalRecipient, DateTime, Money, TenderCardDetails, TenderCashDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/tender.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | pub additional_recipients: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/models/date_time.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | Self::from(&chrono::DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/models/date_time.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | chrono::NaiveDateTime::from_timestamp(timestamp, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/mod.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | pub use additional_recipient::AdditionalRecipient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::transaction::Transaction` [INFO] [stdout] --> src/models/mod.rs:665:22 [INFO] [stdout] | [INFO] [stdout] 665 | pub use transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/refund.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{enums::RefundStatus, AdditionalRecipient, DateTime, Money}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/refund.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | pub additional_recipients: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/tender.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | enums::TenderType, AdditionalRecipient, DateTime, Money, TenderCardDetails, TenderCashDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/tender.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | pub additional_recipients: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/models/date_time.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | Self::from(&chrono::DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/models/date_time.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | chrono::NaiveDateTime::from_timestamp(timestamp, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.63s [INFO] running `Command { std: "docker" "inspect" "38485ea5bbd835ef82842d83e1b5b2f9339c31f6bed579c0028bf055962300bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38485ea5bbd835ef82842d83e1b5b2f9339c31f6bed579c0028bf055962300bc", kill_on_drop: false }` [INFO] [stdout] 38485ea5bbd835ef82842d83e1b5b2f9339c31f6bed579c0028bf055962300bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 879fd6e25834833d0b12e0dcd91a50c591732a4d4df4792846fa4b29f2bc9e4a [INFO] running `Command { std: "docker" "start" "-a" "879fd6e25834833d0b12e0dcd91a50c591732a4d4df4792846fa4b29f2bc9e4a", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stderr] --> src/models/mod.rs:352:31 [INFO] [stderr] | [INFO] [stderr] 352 | pub use additional_recipient::AdditionalRecipient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `models::transaction::Transaction` [INFO] [stderr] --> src/models/mod.rs:665:22 [INFO] [stderr] | [INFO] [stderr] 665 | pub use transaction::Transaction; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stderr] --> src/models/refund.rs:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | use super::{enums::RefundStatus, AdditionalRecipient, DateTime, Money}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stderr] --> src/models/refund.rs:32:43 [INFO] [stderr] | [INFO] [stderr] 32 | pub additional_recipients: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stderr] --> src/models/tender.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | enums::TenderType, AdditionalRecipient, DateTime, Money, TenderCardDetails, TenderCashDetails, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stderr] --> src/models/tender.rs:49:43 [INFO] [stderr] | [INFO] [stderr] 49 | pub additional_recipients: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/models/date_time.rs:86:46 [INFO] [stderr] | [INFO] [stderr] 86 | Self::from(&chrono::DateTime::::from_utc( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/models/date_time.rs:87:36 [INFO] [stderr] | [INFO] [stderr] 87 | chrono::NaiveDateTime::from_timestamp(timestamp, 0), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `square-api-client` (lib) generated 8 warnings [INFO] [stderr] warning: `square-api-client` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/square_api_client-9d061ec61bf0cfe7) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test config::environment::tests::get_base_url_custom ... ok [INFO] [stdout] test config::configuration::tests::get_base_url_for_custom_url ... ok [INFO] [stdout] test config::configuration::tests::get_base_url_default_url ... ok [INFO] [stdout] test config::environment::tests::get_base_url_default ... ok [INFO] [stdout] test config::configuration::tests::get_base_url_with_different_base_uri ... ok [INFO] [stdout] test config::environment::tests::get_base_url_production ... ok [INFO] [stdout] test config::environment::tests::get_base_url_sandbox ... ok [INFO] [stdout] test http::client::http_client_configuration::tests::http_client_configuration_new_with_default_headers ... ok [INFO] [stdout] test http::client::http_client_configuration::tests::http_client_configuration_new_with_different_user_agent_in_headers ... ok [INFO] [stdout] test http::headers::tests::headers_has_user_agent ... ok [INFO] [stdout] test http::headers::tests::headers_set_user_agent ... ok [INFO] [stdout] test http::headers::tests::try_from_error ... ok [INFO] [stdout] test http::headers::tests::headers_default ... ok [INFO] [stdout] test http::headers::tests::try_from_ok ... ok [INFO] [stderr] Doc-tests square_api_client [INFO] [stdout] test http::client::http_client::tests::try_new_ok ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/models/catalog_time_period.rs - models::catalog_time_period::CatalogTimePeriod::event (line 12) ... ok [INFO] [stdout] test src/models/search_team_members_filter.rs - models::search_team_members_filter::SearchTeamMembersFilter (line 12) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.84s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "879fd6e25834833d0b12e0dcd91a50c591732a4d4df4792846fa4b29f2bc9e4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "879fd6e25834833d0b12e0dcd91a50c591732a4d4df4792846fa4b29f2bc9e4a", kill_on_drop: false }` [INFO] [stdout] 879fd6e25834833d0b12e0dcd91a50c591732a4d4df4792846fa4b29f2bc9e4a