[INFO] fetching crate square-ox 0.2.0... [INFO] building square-ox-0.2.0 against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] extracting crate square-ox 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate square-ox 0.2.0 on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate square-ox 0.2.0 [INFO] finished tweaking crates.io crate square-ox 0.2.0 [INFO] tweaked toml for crates.io crate square-ox 0.2.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate square-ox 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-connect v2.0.0 [INFO] [stderr] Downloaded actix-cors v0.5.4 [INFO] [stderr] Downloaded awc v2.0.3 [INFO] [stderr] Downloaded actix-web-codegen v0.4.0 [INFO] [stderr] Downloaded actix-web v3.3.3 [INFO] [stderr] Downloaded actix-http v2.2.2 [INFO] [stderr] Downloaded buf-min v0.4.0 [INFO] [stderr] Downloaded v_escape_derive v0.8.5 [INFO] [stderr] Downloaded v_escape v0.15.0 [INFO] [stderr] Downloaded actix-tls v2.0.0 [INFO] [stderr] Downloaded v_htmlescape v0.12.0 [INFO] [stderr] Downloaded actix-files v0.5.0 [INFO] [stderr] Downloaded square-ox-derive v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18080b5642937dd66551bc67370575a37d2081611eb50f625882cf7b8b23e8e1 [INFO] running `Command { std: "docker" "start" "-a" "18080b5642937dd66551bc67370575a37d2081611eb50f625882cf7b8b23e8e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18080b5642937dd66551bc67370575a37d2081611eb50f625882cf7b8b23e8e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18080b5642937dd66551bc67370575a37d2081611eb50f625882cf7b8b23e8e1", kill_on_drop: false }` [INFO] [stdout] 18080b5642937dd66551bc67370575a37d2081611eb50f625882cf7b8b23e8e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7bbf950fd23693c146e05995fb51690c0137cfe94be0b4da9913dabb477377c [INFO] running `Command { std: "docker" "start" "-a" "b7bbf950fd23693c146e05995fb51690c0137cfe94be0b4da9913dabb477377c", 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] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.27 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling square-ox-derive v0.1.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling square-ox v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PaymentBuildError` [INFO] [stdout] --> src/api/payment.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{PaymentBuildError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/payment.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::builder::{Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BookingsCancelBuildError`, `BookingsPostBuildError`, `SearchQueryBuildError` [INFO] [stdout] --> src/api/bookings.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{SquareError, SearchQueryBuildError, BookingsPostBuildError, BookingsCancelBuildError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppointmentSegment`, `FilterValue`, `enums::BusinessAppointmentSettingsBookingLocationType` [INFO] [stdout] --> src/api/bookings.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::objects::{AppointmentSegment, Booking, FilterValue, enums::BusinessAppointmentSettingsBookingLocationType, StartAtRange, Segme... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackIntoBuilder`, `Buildable` [INFO] [stdout] --> src/api/bookings.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::builder::{AddField, Builder, ParentBuilder, Validate, Buildable, BackIntoBuilder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LocationBuildError` [INFO] [stdout] --> src/api/locations.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{SquareError, LocationBuildError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `square_ox_derive::Builder` [INFO] [stdout] --> src/api/locations.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use square_ox_derive::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/locations.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::builder::{Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectUpsertRequestBuildError` [INFO] [stdout] --> src/api/catalog.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::errors::{ObjectUpsertRequestBuildError, SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buildable`, `Nil` [INFO] [stdout] --> src/api/catalog.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::builder::{Builder, Nil, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/customers.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::builder::{Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardBuildError`, `ValidationError` [INFO] [stdout] --> src/api/cards.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{CardBuildError, SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Address` [INFO] [stdout] --> src/api/cards.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::objects::{Address, Card}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/api/cards.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddField`, `Buildable`, `Builder`, `ParentBuilder`, `Validate` [INFO] [stdout] --> src/api/cards.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::builder::{AddField, Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/checkout.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::builder::{AddField, Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/api/checkout.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::objects::{self, Address, ChargeRequestAdditionalRecipient, CheckoutOptions, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InventoryChangeBodyBuildError` [INFO] [stdout] --> src/api/inventory.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{InventoryChangeBodyBuildError, SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InventoryPhysicalCount`, `InventoryTransfer` [INFO] [stdout] --> src/api/inventory.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::objects::{CatalogObject, InventoryChange, InventoryPhysicalCount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | InventoryTransfer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InventoryChangeType` [INFO] [stdout] --> src/api/inventory.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::objects::enums::{InventoryChangeType, InventoryState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/api/inventory.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/inventory.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::builder::{AddField, Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TerminalCheckoutStatus` [INFO] [stdout] --> src/api/terminal.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::objects::enums::{CheckoutOptionsPaymentType, TerminalCheckoutStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::objects::TimeRange` [INFO] [stdout] --> src/api/terminal.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::objects::TimeRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/terminal.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::builder::{AddField, Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationError` [INFO] [stdout] --> src/api/orders.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Customer`, `OrderServiceCharge` [INFO] [stdout] --> src/api/orders.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::objects::{Customer, Order, OrderReward, OrderServiceCharge, SearchOrdersQuery}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackIntoBuilder`, `Buildable`, `Builder`, `ParentBuilder`, `Validate` [INFO] [stdout] --> src/api/orders.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::builder::{Builder, ParentBuilder, Validate, BackIntoBuilder, AddField, Buildable}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/api/orders.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::orders::Orders` [INFO] [stdout] --> src/objects/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::api::orders::Orders; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::terminal::Terminal` [INFO] [stdout] --> src/objects/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::api::terminal::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/objects/mod.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::builder::{AddField, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Money`, `OrderLineItem`, `OrderServiceCharge`, `Order` [INFO] [stdout] --> src/builder/implementations.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::objects::{TimeRange, DeviceCheckoutOptions, Money, Order, OrderLineItem, OrderServiceCharge, SearchOrdersFilter, SearchOrdersQ... [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderServiceChargeCalculationPhase` [INFO] [stdout] --> src/builder/implementations.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::objects::enums::{InventoryChangeType, OrderServiceChargeCalculationPhase, SearchOrdersSortField, SortOrder, TerminalCheckoutSt... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.80s [INFO] running `Command { std: "docker" "inspect" "b7bbf950fd23693c146e05995fb51690c0137cfe94be0b4da9913dabb477377c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bbf950fd23693c146e05995fb51690c0137cfe94be0b4da9913dabb477377c", kill_on_drop: false }` [INFO] [stdout] b7bbf950fd23693c146e05995fb51690c0137cfe94be0b4da9913dabb477377c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 382150f7f74b15dab44f5f29619197950b8e5de06a6e0aed71728812be8f7b6c [INFO] running `Command { std: "docker" "start" "-a" "382150f7f74b15dab44f5f29619197950b8e5de06a6e0aed71728812be8f7b6c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling v_escape v0.15.0 [INFO] [stderr] Compiling v_htmlescape v0.12.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling bytestring v1.1.0 [INFO] [stderr] Compiling buf-min v0.4.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling v_escape_derive v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stdout] warning: unused import: `PaymentBuildError` [INFO] [stdout] --> src/api/payment.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{PaymentBuildError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/payment.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::builder::{Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BookingsCancelBuildError`, `BookingsPostBuildError`, `SearchQueryBuildError` [INFO] [stdout] --> src/api/bookings.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{SquareError, SearchQueryBuildError, BookingsPostBuildError, BookingsCancelBuildError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppointmentSegment`, `FilterValue`, `enums::BusinessAppointmentSettingsBookingLocationType` [INFO] [stdout] --> src/api/bookings.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::objects::{AppointmentSegment, Booking, FilterValue, enums::BusinessAppointmentSettingsBookingLocationType, StartAtRange, Segme... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackIntoBuilder`, `Buildable` [INFO] [stdout] --> src/api/bookings.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::builder::{AddField, Builder, ParentBuilder, Validate, Buildable, BackIntoBuilder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LocationBuildError` [INFO] [stdout] --> src/api/locations.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{SquareError, LocationBuildError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `square_ox_derive::Builder` [INFO] [stdout] --> src/api/locations.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use square_ox_derive::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/locations.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::builder::{Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectUpsertRequestBuildError` [INFO] [stdout] --> src/api/catalog.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::errors::{ObjectUpsertRequestBuildError, SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buildable`, `Nil` [INFO] [stdout] --> src/api/catalog.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::builder::{Builder, Nil, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/customers.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::builder::{Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardBuildError`, `ValidationError` [INFO] [stdout] --> src/api/cards.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{CardBuildError, SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Address` [INFO] [stdout] --> src/api/cards.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::objects::{Address, Card}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/api/cards.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddField`, `Buildable`, `Builder`, `ParentBuilder`, `Validate` [INFO] [stdout] --> src/api/cards.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::builder::{AddField, Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/checkout.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::builder::{AddField, Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/api/checkout.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::objects::{self, Address, ChargeRequestAdditionalRecipient, CheckoutOptions, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InventoryChangeBodyBuildError` [INFO] [stdout] --> src/api/inventory.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{InventoryChangeBodyBuildError, SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InventoryPhysicalCount`, `InventoryTransfer` [INFO] [stdout] --> src/api/inventory.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::objects::{CatalogObject, InventoryChange, InventoryPhysicalCount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | InventoryTransfer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InventoryChangeType` [INFO] [stdout] --> src/api/inventory.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::objects::enums::{InventoryChangeType, InventoryState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/api/inventory.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/inventory.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::builder::{AddField, Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TerminalCheckoutStatus` [INFO] [stdout] --> src/api/terminal.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::objects::enums::{CheckoutOptionsPaymentType, TerminalCheckoutStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::objects::TimeRange` [INFO] [stdout] --> src/api/terminal.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::objects::TimeRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/api/terminal.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::builder::{AddField, Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationError` [INFO] [stdout] --> src/api/orders.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Customer`, `OrderServiceCharge` [INFO] [stdout] --> src/api/orders.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::objects::{Customer, Order, OrderReward, OrderServiceCharge, SearchOrdersQuery}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackIntoBuilder`, `Buildable`, `Builder`, `ParentBuilder`, `Validate` [INFO] [stdout] --> src/api/orders.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::builder::{Builder, ParentBuilder, Validate, BackIntoBuilder, AddField, Buildable}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/api/orders.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::orders::Orders` [INFO] [stdout] --> src/objects/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::api::orders::Orders; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::terminal::Terminal` [INFO] [stdout] --> src/objects/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::api::terminal::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/objects/mod.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::builder::{AddField, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Money`, `OrderLineItem`, `OrderServiceCharge`, `Order` [INFO] [stdout] --> src/builder/implementations.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::objects::{TimeRange, DeviceCheckoutOptions, Money, Order, OrderLineItem, OrderServiceCharge, SearchOrdersFilter, SearchOrdersQ... [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderServiceChargeCalculationPhase` [INFO] [stdout] --> src/builder/implementations.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::objects::enums::{InventoryChangeType, OrderServiceChargeCalculationPhase, SearchOrdersSortField, SortOrder, TerminalCheckoutSt... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling actix-cors v0.5.4 [INFO] [stderr] Compiling actix-files v0.5.0 [INFO] [stderr] Compiling square-ox v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PaymentBuildError` [INFO] [stdout] --> src/api/payment.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{PaymentBuildError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BookingsCancelBuildError`, `BookingsPostBuildError`, `SearchQueryBuildError` [INFO] [stdout] --> src/api/bookings.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{SquareError, SearchQueryBuildError, BookingsPostBuildError, BookingsCancelBuildError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FilterValue`, `enums::BusinessAppointmentSettingsBookingLocationType` [INFO] [stdout] --> src/api/bookings.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::objects::{AppointmentSegment, Booking, FilterValue, enums::BusinessAppointmentSettingsBookingLocationType, StartAtRange, Segme... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LocationBuildError` [INFO] [stdout] --> src/api/locations.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{SquareError, LocationBuildError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `square_ox_derive::Builder` [INFO] [stdout] --> src/api/locations.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use square_ox_derive::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectUpsertRequestBuildError` [INFO] [stdout] --> src/api/catalog.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::errors::{ObjectUpsertRequestBuildError, SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nil` [INFO] [stdout] --> src/api/catalog.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::builder::{Builder, Nil, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardBuildError`, `ValidationError` [INFO] [stdout] --> src/api/cards.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{CardBuildError, SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Address` [INFO] [stdout] --> src/api/cards.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::objects::{Address, Card}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddField`, `ParentBuilder`, `Validate` [INFO] [stdout] --> src/api/cards.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::builder::{AddField, Builder, ParentBuilder, Validate, Buildable}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InventoryChangeBodyBuildError` [INFO] [stdout] --> src/api/inventory.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{InventoryChangeBodyBuildError, SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InventoryTransfer` [INFO] [stdout] --> src/api/inventory.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | InventoryTransfer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::objects::TimeRange` [INFO] [stdout] --> src/api/terminal.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::objects::TimeRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationError` [INFO] [stdout] --> src/api/orders.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::errors::{SquareError, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Customer` [INFO] [stdout] --> src/api/orders.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::objects::{Customer, Order, OrderReward, OrderServiceCharge, SearchOrdersQuery}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParentBuilder`, `Validate` [INFO] [stdout] --> src/api/orders.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::builder::{Builder, ParentBuilder, Validate, BackIntoBuilder, AddField, Buildable}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::builder::Nil` [INFO] [stdout] --> src/api/orders.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::builder::Nil; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::orders::Orders` [INFO] [stdout] --> src/objects/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::api::orders::Orders; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::terminal::Terminal` [INFO] [stdout] --> src/objects/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::api::terminal::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Money`, `OrderLineItem`, `OrderServiceCharge`, `Order` [INFO] [stdout] --> src/builder/implementations.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::objects::{TimeRange, DeviceCheckoutOptions, Money, Order, OrderLineItem, OrderServiceCharge, SearchOrdersFilter, SearchOrdersQ... [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderServiceChargeCalculationPhase` [INFO] [stdout] --> src/builder/implementations.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::objects::enums::{InventoryChangeType, OrderServiceChargeCalculationPhase, SearchOrdersSortField, SortOrder, TerminalCheckoutSt... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/orders.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let mut actual = Builder::from(OrderCalculateBody::default()) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cancel_by_idempotency_key` is never used [INFO] [stdout] --> src/api/payment.rs:529:14 [INFO] [stdout] | [INFO] [stdout] 529 | async fn test_cancel_by_idempotency_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_update_payment` is never used [INFO] [stdout] --> src/api/payment.rs:620:14 [INFO] [stdout] | [INFO] [stdout] 620 | async fn test_update_payment() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cancel_payment` is never used [INFO] [stdout] --> src/api/payment.rs:681:14 [INFO] [stdout] | [INFO] [stdout] 681 | async fn test_cancel_payment() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_create_booking` is never used [INFO] [stdout] --> src/api/bookings.rs:634:14 [INFO] [stdout] | [INFO] [stdout] 634 | async fn test_create_booking() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_create_location` is never used [INFO] [stdout] --> src/api/locations.rs:457:14 [INFO] [stdout] | [INFO] [stdout] 457 | async fn test_create_location() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_delete_object` is never used [INFO] [stdout] --> src/api/catalog.rs:841:14 [INFO] [stdout] | [INFO] [stdout] 841 | async fn test_delete_object() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_create_customer` is never used [INFO] [stdout] --> src/api/customers.rs:782:14 [INFO] [stdout] | [INFO] [stdout] 782 | async fn test_create_customer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_delete_customer` is never used [INFO] [stdout] --> src/api/customers.rs:817:14 [INFO] [stdout] | [INFO] [stdout] 817 | async fn test_delete_customer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_create_card` is never used [INFO] [stdout] --> src/api/cards.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | async fn test_create_card() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_update_payment_link` is never used [INFO] [stdout] --> src/api/checkout.rs:709:14 [INFO] [stdout] | [INFO] [stdout] 709 | async fn test_update_payment_link() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_batch_change` is never used [INFO] [stdout] --> src/api/inventory.rs:277:14 [INFO] [stdout] | [INFO] [stdout] 277 | async fn test_batch_change() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_search_checkouts` is never used [INFO] [stdout] --> src/api/terminal.rs:457:14 [INFO] [stdout] | [INFO] [stdout] 457 | async fn test_search_checkouts() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_update_order` is never used [INFO] [stdout] --> src/api/orders.rs:473:14 [INFO] [stdout] | [INFO] [stdout] 473 | async fn test_update_order() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `square-ox`; 35 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name square_ox --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' -C metadata=e328418a50a8661a -C extra-filename=-e328418a50a8661a --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern actix_cors=/opt/rustwide/target/debug/deps/libactix_cors-e394dbb549303a39.rlib --extern actix_files=/opt/rustwide/target/debug/deps/libactix_files-2f763a05657370d6.rlib --extern actix_web=/opt/rustwide/target/debug/deps/libactix_web-14f9b62f27e2c715.rlib --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-700445d3d22bfbe4.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-9d9246dfca814328.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-2aea261907451eb5.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-bb7ce6f4a30f5cbd.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-09f3053fd63822ae.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-b7aab9475edd820d.rlib --extern square_ox_derive=/opt/rustwide/target/debug/deps/libsquare_ox_derive-1bbd89e6820c4536.so --extern tokio=/opt/rustwide/target/debug/deps/libtokio-3f129d680515b464.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-ffd13b5b5b32a3b3.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "382150f7f74b15dab44f5f29619197950b8e5de06a6e0aed71728812be8f7b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "382150f7f74b15dab44f5f29619197950b8e5de06a6e0aed71728812be8f7b6c", kill_on_drop: false }` [INFO] [stdout] 382150f7f74b15dab44f5f29619197950b8e5de06a6e0aed71728812be8f7b6c