[INFO] cloning repository https://github.com/r1cm3d/cards [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r1cm3d/cards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1cm3d%2Fcards", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1cm3d%2Fcards'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1aa1b17e241556a0b31e477f366de7871179c011 [INFO] checking r1cm3d/cards against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1cm3d%2Fcards" "/workspace/builds/worker-110/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-110/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r1cm3d/cards on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r1cm3d/cards [INFO] finished tweaking git repo https://github.com/r1cm3d/cards [INFO] tweaked toml for git repo https://github.com/r1cm3d/cards written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate git repo https://github.com/r1cm3d/cards already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e8db8bd25df7f3e5cded6ba637d08a59d752ebe9aedd9b27ca62e68437a991c [INFO] running `Command { std: "docker" "start" "-a" "8e8db8bd25df7f3e5cded6ba637d08a59d752ebe9aedd9b27ca62e68437a991c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e8db8bd25df7f3e5cded6ba637d08a59d752ebe9aedd9b27ca62e68437a991c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8db8bd25df7f3e5cded6ba637d08a59d752ebe9aedd9b27ca62e68437a991c", kill_on_drop: false }` [INFO] [stdout] 8e8db8bd25df7f3e5cded6ba637d08a59d752ebe9aedd9b27ca62e68437a991c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17b931b90af4a086579e1efd5dd0133a3bb1a35e38dd8a9c876337ed64ebf106 [INFO] running `Command { std: "docker" "start" "-a" "17b931b90af4a086579e1efd5dd0133a3bb1a35e38dd8a9c876337ed64ebf106", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] standback v0.2.15 (as host dependency): std [INFO] [stderr] syn v1.0.60 (as host dependency): visit [INFO] [stderr] tokio v0.2.25: winapi [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking uuid v0.4.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tracing v0.1.24 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking idna v0.2.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking predicates v1.0.7 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling mockall_derive v0.9.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking mockall v0.9.1 [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stderr] Checking cards v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, `NaiveDate` [INFO] [stdout] --> src/domain/card.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/domain/card.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/domain/card.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | / macro_rules! validate_str_field { [INFO] [stdout] 129 | | ($field:tt, $field_str:expr) => { [INFO] [stdout] 130 | | let $field = match card.$field.is_empty() { // TODO: the same above [INFO] [stdout] 131 | | true => return Err(protocol::ValidationError::new(String::from($field_str), card.$field.clone())), [INFO] [stdout] 132 | | false => card.$field [INFO] [stdout] 133 | | }; [INFO] [stdout] 134 | | }} [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): UuidGenerator` is not satisfied [INFO] [stdout] --> src/config.rs:9:73 [INFO] [stdout] | [INFO] [stdout] 9 | .data::>(Box::new(card::Service::new(Box::new(()), Box::new(()), Box::new(()), Box::new(())))) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `UuidGenerator` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn UuidGenerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): TimeService` is not satisfied [INFO] [stdout] --> src/config.rs:9:87 [INFO] [stdout] | [INFO] [stdout] 9 | .data::>(Box::new(card::Service::new(Box::new(()), Box::new(()), Box::new(()), Box::new(())))) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `TimeService` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn TimeService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): PanGenerator` is not satisfied [INFO] [stdout] --> src/config.rs:9:101 [INFO] [stdout] | [INFO] [stdout] 9 | .data::>(Box::new(card::Service::new(Box::new(()), Box::new(()), Box::new(()), Box::new(())))) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `PanGenerator` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn PanGenerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): Repository` is not satisfied [INFO] [stdout] --> src/config.rs:9:115 [INFO] [stdout] | [INFO] [stdout] 9 | .data::>(Box::new(card::Service::new(Box::new(()), Box::new(()), Box::new(()), Box::new(())))) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Repository` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn Repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cards` due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, `NaiveDate` [INFO] [stdout] --> src/domain/card.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/domain/card.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/domain/card.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | / macro_rules! validate_str_field { [INFO] [stdout] 129 | | ($field:tt, $field_str:expr) => { [INFO] [stdout] 130 | | let $field = match card.$field.is_empty() { // TODO: the same above [INFO] [stdout] 131 | | true => return Err(protocol::ValidationError::new(String::from($field_str), card.$field.clone())), [INFO] [stdout] 132 | | false => card.$field [INFO] [stdout] 133 | | }; [INFO] [stdout] 134 | | }} [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): domain::card::UuidGenerator` is not satisfied [INFO] [stdout] --> src/config.rs:9:73 [INFO] [stdout] | [INFO] [stdout] 9 | .data::>(Box::new(card::Service::new(Box::new(()), Box::new(()), Box::new(()), Box::new(())))) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `domain::card::UuidGenerator` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn domain::card::UuidGenerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): domain::card::TimeService` is not satisfied [INFO] [stdout] --> src/config.rs:9:87 [INFO] [stdout] | [INFO] [stdout] 9 | .data::>(Box::new(card::Service::new(Box::new(()), Box::new(()), Box::new(()), Box::new(())))) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `domain::card::TimeService` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn domain::card::TimeService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): domain::card::PanGenerator` is not satisfied [INFO] [stdout] --> src/config.rs:9:101 [INFO] [stdout] | [INFO] [stdout] 9 | .data::>(Box::new(card::Service::new(Box::new(()), Box::new(()), Box::new(()), Box::new(())))) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `domain::card::PanGenerator` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn domain::card::PanGenerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): domain::card::Repository` is not satisfied [INFO] [stdout] --> src/config.rs:9:115 [INFO] [stdout] | [INFO] [stdout] 9 | .data::>(Box::new(card::Service::new(Box::new(()), Box::new(()), Box::new(()), Box::new(())))) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `domain::card::Repository` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn domain::card::Repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 236 | test_invalid_field!(test_invalid_customer_id, a_card_without_customer_id(), empty_error("customer_id")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 237 | test_invalid_field!(test_invalid_org_id, a_card_without_org_id(), empty_error("org_id")); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 238 | test_invalid_field!(test_invalid_program_id, a_card_without_program_id(), empty_error("program_id")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 239 | test_invalid_field!(test_invalid_printed_name, a_card_without_printed_name(), empty_error("printed_name")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 240 | test_invalid_field!(test_invalid_password, a_card_without_password(), invalid_error("password", "")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 241 | test_invalid_field!(test_invalid_kind, a_card_without_kind(), empty_error("kind")); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 242 | test_invalid_field!(test_invalid_cvv, a_card_without_cvv(), invalid_error("cvv", "")); [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 243 | test_invalid_field!(test_invalid_printed_name_invalid_characters_number, a_card_with_invalid_printed_name("R1CARDO"), invalid_error("printed_name", "R1CARDO")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 244 | test_invalid_field!(test_invalid_printed_name_invalid_characters_cedilha, a_card_with_invalid_printed_name("RIÇARDO"), invalid_error("printed_name", "RIÇARDO"... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 245 | test_invalid_field!(test_invalid_printed_name_invalid_characters_special_characters, a_card_with_invalid_printed_name("#RIC*RDO"), invalid_error("printed_name", "#RIC*RDO")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 246 | test_invalid_field!(test_invalid_password_with_letters, a_card_with_invalid_password("0912C8"), invalid_error("password", "0912C8")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 247 | test_invalid_field!(test_invalid_password_with_more_than_six_characters, a_card_with_invalid_password("091261128"), invalid_error("password", "091261128")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 248 | test_invalid_field!(test_invalid_cvv_with_letters, a_card_with_invalid_cvv("0B12"), invalid_error("cvv", "0B12")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 249 | test_invalid_field!(test_invalid_cvv_with_more_than_four_characters, a_card_with_invalid_cvv("61112"), invalid_error("cvv", "61112")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 250 | test_invalid_field!(test_invalid_empty_expiration_date, a_card_without_expiration_date(), invalid_error("expiration_date", "")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 251 | test_invalid_field!(test_invalid_expiration_date_with_letters, a_card_with_invalid_expiration_date("ABCEFG"), invalid_error("expiration_date", "ABCEFG")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 0 arguments were supplied [INFO] [stdout] --> src/domain/card.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | let svc = Service::new(); [INFO] [stdout] | ^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] ... [INFO] [stdout] 252 | test_invalid_field!(test_invalid_expiration_date_with_invalid_month, a_card_with_invalid_expiration_date("1300"), invalid_error("expiration_date", "1300")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/card.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn new(uuid_generator :Box, time_service :Box, [INFO] [stdout] | ^^^ -------------------------------------- ---------------------------------- [INFO] [stdout] 110 | pan_generator :Box, repository :Box) -> Service { [INFO] [stdout] | ------------------------------------ ------------------------------- [INFO] [stdout] = note: this error originates in the macro `test_invalid_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "17b931b90af4a086579e1efd5dd0133a3bb1a35e38dd8a9c876337ed64ebf106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17b931b90af4a086579e1efd5dd0133a3bb1a35e38dd8a9c876337ed64ebf106", kill_on_drop: false }` [INFO] [stdout] 17b931b90af4a086579e1efd5dd0133a3bb1a35e38dd8a9c876337ed64ebf106