[INFO] fetching crate validator_derive 0.11.0... [INFO] checking validator_derive-0.11.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate validator_derive 0.11.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate validator_derive 0.11.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_types v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a229b135747da918b489e0bd890be5a1024c3aaf0bd0c04fd0b9e880466c8b7e [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" "a229b135747da918b489e0bd890be5a1024c3aaf0bd0c04fd0b9e880466c8b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a229b135747da918b489e0bd890be5a1024c3aaf0bd0c04fd0b9e880466c8b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a229b135747da918b489e0bd890be5a1024c3aaf0bd0c04fd0b9e880466c8b7e", kill_on_drop: false }` [INFO] [stdout] a229b135747da918b489e0bd890be5a1024c3aaf0bd0c04fd0b9e880466c8b7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 842a7ce5b2297834a96aefcc9b768260e2b58caa055a7fe97580d7be10eb79eb [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" "842a7ce5b2297834a96aefcc9b768260e2b58caa055a7fe97580d7be10eb79eb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking validator_types v0.11.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling regex v1.3.9 [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.58 [INFO] [stderr] Checking trybuild v1.0.35 [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/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] [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] [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: 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: 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] 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 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[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[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 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 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: 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 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: 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[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[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/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: 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/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: 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: 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 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/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/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: 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[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[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_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_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 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[E0432]: unresolved import `validator` [INFO] [stdout] --> tests/complex.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use validator::{Validate, ValidationError, ValidationErrors, ValidationErrorsKind}; [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/complex.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Validate, Deserialize)] [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/complex.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[validate(schema(function = "validate_signup", skip_on_field_errors = false))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[validate(email)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[validate(url)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[validate(length(min = 1), custom = "validate_unique_username")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[validate(range(min = 18, max = 20))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[validate] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[validate] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[validate] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/complex.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Validate, Deserialize)] [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/complex.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[validate(phone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/complex.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Validate, Deserialize)] [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/complex.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[validate(credit_card)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[validate(range(min = 100, max = 9999))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/complex.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug, Validate, Deserialize)] [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/complex.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[validate(length(min = 4))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/complex.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | #[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/complex.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | #[validate(length(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | #[validate(length(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | #[validate(range(min = 1, max = 100))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[validate(range(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | #[validate(email)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | #[validate(url)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[validate(contains = "@")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | #[validate(regex = "RE2")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 179 | #[validate(custom = "check_str")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/complex.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | #[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/complex.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 209 | #[validate(length(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | #[validate(length(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | #[validate(length(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:215:11 [INFO] [stdout] | [INFO] [stdout] 215 | #[validate(length(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | #[validate(range(min = 1, max = 100))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | #[validate(range(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:221:11 [INFO] [stdout] | [INFO] [stdout] 221 | #[validate(email)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | #[validate(url)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 225 | #[validate(contains = "@")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:227:11 [INFO] [stdout] | [INFO] [stdout] 227 | #[validate(regex = "RE2")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 229 | #[validate(custom = "check_str")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Validate` [INFO] [stdout] --> tests/complex.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | #[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/complex.rs:277:11 [INFO] [stdout] | [INFO] [stdout] 277 | #[validate(length(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | #[validate(length(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:281:11 [INFO] [stdout] | [INFO] [stdout] 281 | #[validate(range(min = 1, max = 100))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/complex.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | #[validate(range(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [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[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 `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_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[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_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 `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 `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 `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 `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[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[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 `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_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: aborting due to 14 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_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: aborting due to 13 previous errors [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] 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_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[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] 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 `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_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] 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 `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_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[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_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: 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: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 `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_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: 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 `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 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] 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: 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 `SignupData` in the current scope [INFO] [stdout] --> tests/complex.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 25 | struct SignupData { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 76 | assert!(signup.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `SignupData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `SignupData` in the current scope [INFO] [stdout] --> tests/complex.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 25 | struct SignupData { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 90 | let res = signup.validate(); [INFO] [stdout] | ^^^^^^^^ method not found in `SignupData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `test_can_validate_option_fields_with_lifetime::PutStruct<'_>` in the current scope [INFO] [stdout] --> tests/complex.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 162 | struct PutStruct<'a> { [INFO] [stdout] | -------------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 198 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `test_can_validate_option_fields_with_lifetime::PutStruct<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `test_can_validate_option_fields_without_lifetime::PutStruct` in the current scope [INFO] [stdout] --> tests/complex.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 208 | struct PutStruct { [INFO] [stdout] | ---------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 250 | assert!(s.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `test_can_validate_option_fields_without_lifetime::PutStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `SignupData` in the current scope [INFO] [stdout] --> tests/complex.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 25 | struct SignupData { [INFO] [stdout] | ----------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 266 | signup.validate()?; [INFO] [stdout] | ^^^^^^^^ method not found in `SignupData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `test_works_with_none_values::PutStruct` in the current scope [INFO] [stdout] --> tests/complex.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 276 | struct PutStruct { [INFO] [stdout] | ---------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 291 | assert!(p.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `test_works_with_none_values::PutStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate` found for struct `test_works_with_none_values::PutStruct` in the current scope [INFO] [stdout] --> tests/complex.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 276 | struct PutStruct { [INFO] [stdout] | ---------------- method `validate` not found for this [INFO] [stdout] ... [INFO] [stdout] 292 | assert!(q.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `test_works_with_none_values::PutStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "842a7ce5b2297834a96aefcc9b768260e2b58caa055a7fe97580d7be10eb79eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842a7ce5b2297834a96aefcc9b768260e2b58caa055a7fe97580d7be10eb79eb", kill_on_drop: false }` [INFO] [stdout] 842a7ce5b2297834a96aefcc9b768260e2b58caa055a7fe97580d7be10eb79eb