[INFO] fetching crate validator_derive 0.11.0... [INFO] checking validator_derive-0.11.0 against try#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [INFO] extracting crate validator_derive 0.11.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate validator_derive 0.11.0 on toolchain b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate validator_derive 0.11.0 [INFO] finished tweaking crates.io crate validator_derive 0.11.0 [INFO] tweaked toml for crates.io crate validator_derive 0.11.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d402233d39c30747a5786923a524498482fb42e5278f4ef4cf44dd0a1bc97b7a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d402233d39c30747a5786923a524498482fb42e5278f4ef4cf44dd0a1bc97b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d402233d39c30747a5786923a524498482fb42e5278f4ef4cf44dd0a1bc97b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d402233d39c30747a5786923a524498482fb42e5278f4ef4cf44dd0a1bc97b7a", kill_on_drop: false }` [INFO] [stdout] d402233d39c30747a5786923a524498482fb42e5278f4ef4cf44dd0a1bc97b7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b2a5c452a8b6d4cf3fc458b9a698f7d18c0c524c1727c6ee38cfa11c1a7a0a4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8b2a5c452a8b6d4cf3fc458b9a698f7d18c0c524c1727c6ee38cfa11c1a7a0a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling trybuild v1.0.35 [INFO] [stderr] Checking validator_types v0.11.0 [INFO] [stderr] Checking if_chain v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking proc-macro-error v1.0.4 [INFO] [stderr] Checking validator_derive v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/email.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/email.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/email.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[validate(email)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/email.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/email.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[validate(email)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/email.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/email.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[validate(email(code = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/email.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/email.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | #[validate(email(message = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/regex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/regex.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/regex.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[validate(regex = "crate::RE2")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/regex.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/regex.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[validate(regex = "crate::RE2")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/regex.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/regex.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | #[validate(regex(path = "crate::RE2", code = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/regex.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/regex.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[validate(regex(path = "crate::RE2", message = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/credit_card.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `validator_derive` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_validate_valid_regex::TestStruct` in the current scope [INFO] [stdout] --> tests/regex.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 12 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 19 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `can_validate_valid_regex::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_validate_valid_email::TestStruct` in the current scope [INFO] [stdout] --> tests/email.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 13 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `can_validate_valid_email::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `bad_value_for_regex_fails_validation::TestStruct` in the current scope [INFO] [stdout] --> tests/regex.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 25 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `bad_value_for_regex_fails_validation::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_code_for_regex::TestStruct` in the current scope [INFO] [stdout] --> tests/regex.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 44 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 49 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_code_for_regex::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_message_for_regex::TestStruct` in the current scope [INFO] [stdout] --> tests/regex.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 61 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 66 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_message_for_regex::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `bad_email_fails_validation::TestStruct` in the current scope [INFO] [stdout] --> tests/email.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 19 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `bad_email_fails_validation::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/contains.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/contains.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/contains.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[validate(contains = "he")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/contains.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/contains.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[validate(contains = "he")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/contains.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/contains.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | #[validate(contains(pattern = "he", code = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/contains.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/contains.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[validate(contains(pattern = "he", message = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_code_for_email::TestStruct` in the current scope [INFO] [stdout] --> tests/email.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 38 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 43 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_code_for_email::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_message_for_email::TestStruct` in the current scope [INFO] [stdout] --> tests/email.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 55 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 60 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_message_for_email::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/nested.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use validator::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/nested.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/nested.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/nested.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[validate] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/nested.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/nested.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/nested.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[validate] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/nested.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/nested.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/nested.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/nested.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[validate] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/nested.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/nested.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[validate] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/nested.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/nested.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Validate, Serialize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/nested.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/nested.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/nested.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | #[validate] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/range.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::{Validate, ValidationErrors}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/range.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/length.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/range.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[validate(range(min = 5, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/range.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/range.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[validate(range(min = 5, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/range.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/range.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | #[validate(range(min = 5, max = 10, code = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/range.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/range.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[validate(range(min = 5, max = 10, message = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/range.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/range.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | #[validate(range(min = 100))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/length.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/length.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[validate(length(min = 5, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/length.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/length.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[validate(length(min = 5, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/length.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/length.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[validate(length(min = 5, max = 10, code = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/length.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/length.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | #[validate(length(min = 5, max = 10, message = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::{Validate, ValidationError}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/custom.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/custom.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[validate(custom = "valid_custom_fn")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/custom.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/custom.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[validate(custom = "invalid_custom_fn")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/custom.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/custom.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[validate(custom(function = "invalid_custom_fn", message = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/phone.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/schema.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::{Validate, ValidationError}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/schema.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/schema.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[validate(schema(function = "valid_schema_fn"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/schema.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/schema.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[validate(schema(function = "invalid_schema_fn"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/schema.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/schema.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[validate(schema(function = "invalid_schema_fn", message = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/schema.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/schema.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[validate(schema(function = "invalid_schema_fn", skip_on_field_errors = false))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/schema.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | #[validate(range(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/url.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/url.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/url.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[validate(url)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/url.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/url.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[validate(url)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/url.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/url.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[validate(url(code = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/url.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/url.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | #[validate(url(message = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/must_match.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/must_match.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/must_match.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[validate(must_match = "val2")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/must_match.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/must_match.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[validate(must_match = "val2")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/must_match.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/must_match.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | #[validate(must_match(other = "val2", code = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/must_match.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/must_match.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[validate(must_match(other = "val2", message = "oops"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/required.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/required.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/required.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[validate(range(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/required.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/required.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/required.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[validate(required)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/required.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/required.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[validate(required_nested)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/non_control.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_validate_contains_ok::TestStruct` in the current scope [INFO] [stdout] --> tests/contains.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 13 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `can_validate_contains_ok::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `value_not_containing_needle_fails_validation::TestStruct` in the current scope [INFO] [stdout] --> tests/contains.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 19 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `value_not_containing_needle_fails_validation::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_code_for_contains::TestStruct` in the current scope [INFO] [stdout] --> tests/contains.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 39 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 44 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_code_for_contains::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_message_for_contains::TestStruct` in the current scope [INFO] [stdout] --> tests/contains.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 56 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 61 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_message_for_contains::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_validate_length_ok::TestStruct` in the current scope [INFO] [stdout] --> tests/length.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 13 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `can_validate_length_ok::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `value_out_of_length_fails_validation::TestStruct` in the current scope [INFO] [stdout] --> tests/length.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 19 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `value_out_of_length_fails_validation::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_code_for_length::TestStruct` in the current scope [INFO] [stdout] --> tests/length.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 40 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 45 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_code_for_length::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_message_for_length::TestStruct` in the current scope [INFO] [stdout] --> tests/length.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 57 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 62 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_message_for_length::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_validate_valid_must_match::TestStruct` in the current scope [INFO] [stdout] --> tests/must_match.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 14 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `can_validate_valid_must_match::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `not_matching_fails_validation::TestStruct` in the current scope [INFO] [stdout] --> tests/must_match.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 20 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 28 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `not_matching_fails_validation::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_code_for_must_match::TestStruct` in the current scope [INFO] [stdout] --> tests/must_match.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 42 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 48 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_code_for_must_match::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_message_for_must_match::TestStruct` in the current scope [INFO] [stdout] --> tests/must_match.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 60 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 66 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_message_for_must_match::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_validate_url_ok::TestStruct` in the current scope [INFO] [stdout] --> tests/url.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 13 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `can_validate_url_ok::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `bad_url_fails_validation::TestStruct` in the current scope [INFO] [stdout] --> tests/url.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 19 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `bad_url_fails_validation::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_validate_schema_fn_ok::TestStruct` in the current scope [INFO] [stdout] --> tests/schema.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 11 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 17 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `can_validate_schema_fn_ok::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_validate_custom_fn_ok::TestStruct` in the current scope [INFO] [stdout] --> tests/custom.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 14 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `can_validate_custom_fn_ok::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_fail_schema_fn_validation::TestStruct` in the current scope [INFO] [stdout] --> tests/schema.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 28 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 33 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_fail_schema_fn_validation::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_fail_custom_fn_validation::TestStruct` in the current scope [INFO] [stdout] --> tests/custom.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 27 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 33 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_fail_custom_fn_validation::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_code_for_url::TestStruct` in the current scope [INFO] [stdout] --> tests/url.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 38 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 43 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_code_for_url::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_message_for_url::TestStruct` in the current scope [INFO] [stdout] --> tests/url.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 57 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 62 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_message_for_url::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_message_for_custom_fn::TestStruct` in the current scope [INFO] [stdout] --> tests/custom.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 46 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 51 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_message_for_custom_fn::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `Required` in the current scope [INFO] [stdout] --> tests/required.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 19 | struct Required { [INFO] [stdout] | --------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 34 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `Required` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_specify_message_for_schema_fn::TestStruct` in the current scope [INFO] [stdout] --> tests/schema.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 50 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 54 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_specify_message_for_schema_fn::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `RequiredNested` in the current scope [INFO] [stdout] --> tests/required.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 25 | struct RequiredNested { [INFO] [stdout] | --------------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 43 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `RequiredNested` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `can_choose_to_run_schema_validation_even_after_field_errors::TestStruct` in the current scope [INFO] [stdout] --> tests/schema.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 70 | struct TestStruct { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 78 | let res = s.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `can_choose_to_run_schema_validation_even_after_field_errors::TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `Required` in the current scope [INFO] [stdout] --> tests/required.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 19 | struct Required { [INFO] [stdout] | --------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 50 | assert!(s.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `Required` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `RequiredNested` in the current scope [INFO] [stdout] --> tests/required.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 25 | struct RequiredNested { [INFO] [stdout] | --------------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 57 | assert!(s.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `RequiredNested` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8b2a5c452a8b6d4cf3fc458b9a698f7d18c0c524c1727c6ee38cfa11c1a7a0a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b2a5c452a8b6d4cf3fc458b9a698f7d18c0c524c1727c6ee38cfa11c1a7a0a4", kill_on_drop: false }` [INFO] [stdout] 8b2a5c452a8b6d4cf3fc458b9a698f7d18c0c524c1727c6ee38cfa11c1a7a0a4