[INFO] fetching crate not-so-fast 0.2.0... [INFO] testing not-so-fast-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate not-so-fast 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate not-so-fast 0.2.0 [INFO] finished tweaking crates.io crate not-so-fast 0.2.0 [INFO] tweaked toml for crates.io crate not-so-fast 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate not-so-fast 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate not-so-fast 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded not-so-fast-derive v0.1.0 [INFO] [stderr] Downloaded serde_json v1.0.84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19d6584eb256c012160c54f6c1ae85de4a2309eee0280bf9e4d842838f3090f3 [INFO] running `Command { std: "docker" "start" "-a" "19d6584eb256c012160c54f6c1ae85de4a2309eee0280bf9e4d842838f3090f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19d6584eb256c012160c54f6c1ae85de4a2309eee0280bf9e4d842838f3090f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d6584eb256c012160c54f6c1ae85de4a2309eee0280bf9e4d842838f3090f3", kill_on_drop: false }` [INFO] [stdout] 19d6584eb256c012160c54f6c1ae85de4a2309eee0280bf9e4d842838f3090f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2824a6f4f205f3e9975bc302502074b165145d58358fe287dc1f703bb30fea59 [INFO] running `Command { std: "docker" "start" "-a" "2824a6f4f205f3e9975bc302502074b165145d58358fe287dc1f703bb30fea59", kill_on_drop: false }` [INFO] [stderr] Compiling not-so-fast v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "2824a6f4f205f3e9975bc302502074b165145d58358fe287dc1f703bb30fea59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2824a6f4f205f3e9975bc302502074b165145d58358fe287dc1f703bb30fea59", kill_on_drop: false }` [INFO] [stdout] 2824a6f4f205f3e9975bc302502074b165145d58358fe287dc1f703bb30fea59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fbe6cac17c251c9e46adde49897d8c668087ac046278d597261bb26efe78c437 [INFO] running `Command { std: "docker" "start" "-a" "fbe6cac17c251c9e46adde49897d8c668087ac046278d597261bb26efe78c437", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.84 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling pretty_assertions v1.3.0 [INFO] [stderr] Compiling not-so-fast v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/args.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `not_so_fast::ValidationNode: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/rendering.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | let errors_json = &serde_json::to_string(&errors).unwrap(); [INFO] [stdout] | --------------------- ^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `not_so_fast::ValidationNode` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 127 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.84/src/ser.rs:2219:17 [INFO] [stdout] | [INFO] [stdout] 2217 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2218 | where [INFO] [stdout] 2219 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/args.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[validate(args())] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/args.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[validate(args(a: u64))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/args.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[validate(args(a: u64, b: bool))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/args.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | #[validate(range(min = -100, max = 100))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[validate(args(a: u64, b: bool))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/args.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[validate(args(a: &'arg str, b: &'arg [u8]))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | #[validate(length(min = 1, max = 3))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `not-so-fast` (test "rendering") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[validate(char_length(min = 5, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | #[validate(items(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | #[validate(fields(char_length(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | struct Field(#[validate(range(max = 10))] i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/args.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[validate(args(a: u64, b: &'arg str, c: bool))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[validate(custom(function = validate_a, args(a, b)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/args.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[validate(nested(args(b, c)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/basic.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/basic.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/basic.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/basic.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/basic.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/basic.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/basic.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | #[validate] // or #[validate(nested)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/basic.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/basic.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:173:7 [INFO] [stdout] | [INFO] [stdout] 173 | #[validate(args(bottom: i32, top: i32))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | struct FieldWithArgs(#[validate(range(min=bottom, max=top))] i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 178 | #[validate(nested(args(-100, 100)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:196:11 [INFO] [stdout] | [INFO] [stdout] 196 | #[validate(custom = validate_name)] // or #[validate(custom(function = validate_name))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/char_length.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/char_length.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/char_length.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[validate(char_length(min = 8))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/char_length.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[validate(char_length(max = 50))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/char_length.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[validate(char_length(min = 8, max = 50))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/char_length.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[validate(char_length(equal = 20))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/char_length.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[validate(char_length(min = 8))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/char_length.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[validate(char_length(min = self::USIZE_8, max = self::USIZE_50))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[validate(custom = validate_struct)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[validate(custom(function = validate_struct))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:214:7 [INFO] [stdout] | [INFO] [stdout] 214 | #[validate(custom = validate_struct)] // or #[validate(custom(function = validate_struct))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[validate(custom = validate_struct_a, custom = validate_struct_b)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | #[validate(custom = validate_name)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | #[validate(custom(function = validate_bio, args(1000)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:267:7 [INFO] [stdout] | [INFO] [stdout] 267 | #[validate(args(x: u64, y: i32, z: char))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[validate(custom(function = validate_struct_c))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> examples/derive.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[validate(custom = validate_enum)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:287:7 [INFO] [stdout] | [INFO] [stdout] 287 | #[validate(args(x: u64, y: i32, z: char))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | #[validate(custom = validate_field)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:289:11 [INFO] [stdout] | [INFO] [stdout] 289 | #[validate(range(min = 1, max = x))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:291:11 [INFO] [stdout] | [INFO] [stdout] 291 | #[validate(custom(function = validate_b, args(z, 100)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/derive.rs:293:11 [INFO] [stdout] | [INFO] [stdout] 293 | #[validate(nested(args(-100, y)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | #[validate(custom(function = validate_field))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `OkStruct`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 21 | struct OkStruct { [INFO] [stdout] | --------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `OkStruct: not_so_fast::ValidateArgs<'_>` or `OkStruct: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 32 | assert!(OkStruct { a: "test".into() }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `OkStruct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OkStruct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `OkStruct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `OkStruct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `OkEnum`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 26 | enum OkEnum { [INFO] [stdout] | ----------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `OkEnum: not_so_fast::ValidateArgs<'_>` or `OkEnum: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 33 | assert!(OkEnum::Three { a: "test".into() }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `OkEnum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OkEnum: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `OkEnum: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `OkEnum: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 179 | #[validate(custom = validate_field_a, custom(function = validate_field_b))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructRange`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 51 | struct StructRange { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructRange: not_so_fast::ValidateArgs<'_>` or `StructRange: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 56 | assert!(StructRange { n: -101 }.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructRange` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructRange: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructRange: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructRange: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructRange`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 51 | struct StructRange { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructRange: not_so_fast::ValidateArgs<'_>` or `StructRange: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 57 | assert!(StructRange { n: -100 }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructRange` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructRange: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructRange: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructRange: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:180:11 [INFO] [stdout] | [INFO] [stdout] 180 | #[validate(custom = validate_field_c)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructRange`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 51 | struct StructRange { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructRange: not_so_fast::ValidateArgs<'_>` or `StructRange: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 58 | assert!(StructRange { n: 0 }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructRange` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructRange: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructRange: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructRange: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructRange`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 51 | struct StructRange { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructRange: not_so_fast::ValidateArgs<'_>` or `StructRange: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 59 | assert!(StructRange { n: 100 }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructRange` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructRange: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructRange: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructRange: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | B(#[validate(custom = validate_enum_field_b)] u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructRange`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 51 | struct StructRange { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructRange: not_so_fast::ValidateArgs<'_>` or `StructRange: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 60 | assert!(StructRange { n: 101 }.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructRange` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructRange: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructRange: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructRange: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/custom.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | #[validate(custom = validate_enum_field_c)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructLength`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 71 | struct StructLength { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructLength: not_so_fast::ValidateArgs<'_>` or `StructLength: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 76 | assert!(StructLength { l: vec![] }.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructLength` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructLength: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructLength: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructLength: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructLength`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 71 | struct StructLength { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructLength: not_so_fast::ValidateArgs<'_>` or `StructLength: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 77 | assert!(StructLength { l: vec![1] }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructLength` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructLength: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructLength: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructLength: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/fields.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructLength`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 71 | struct StructLength { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructLength: not_so_fast::ValidateArgs<'_>` or `StructLength: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 78 | assert!(StructLength { l: vec![2, 2] }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructLength` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructLength: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructLength: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructLength: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructLength`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:79:47 [INFO] [stdout] | [INFO] [stdout] 71 | struct StructLength { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructLength: not_so_fast::ValidateArgs<'_>` or `StructLength: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 79 | assert!(StructLength { l: vec![3, 3, 3] }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructLength` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructLength: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructLength: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructLength: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructLength`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 71 | struct StructLength { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructLength: not_so_fast::ValidateArgs<'_>` or `StructLength: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 80 | assert!(StructLength { [INFO] [stdout] | _____________- [INFO] [stdout] 81 | | l: vec![4, 4, 4, 4] [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructLength` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructLength: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructLength: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructLength: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | struct Child(#[validate(range(max = 10))] i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructCharLength`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:98:50 [INFO] [stdout] | [INFO] [stdout] 93 | struct StructCharLength { [INFO] [stdout] | ----------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructCharLength: not_so_fast::ValidateArgs<'_>` or `StructCharLength: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 98 | assert!(StructCharLength { s: "hi!".into() }.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructCharLength` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructCharLength: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructCharLength: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructCharLength: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructCharLength`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 93 | struct StructCharLength { [INFO] [stdout] | ----------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructCharLength: not_so_fast::ValidateArgs<'_>` or `StructCharLength: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 99 | assert!(StructCharLength { s: "hello!".into() }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructCharLength` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructCharLength: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructCharLength: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructCharLength: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/fields.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructCharLength`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:103:6 [INFO] [stdout] | [INFO] [stdout] 93 | struct StructCharLength { [INFO] [stdout] | ----------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructCharLength: not_so_fast::ValidateArgs<'_>` or `StructCharLength: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 100 | assert!(StructCharLength { [INFO] [stdout] | _____________- [INFO] [stdout] 101 | | s: "hello world!".into() [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructCharLength` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructCharLength: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructCharLength: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructCharLength: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructCharLength`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:108:6 [INFO] [stdout] | [INFO] [stdout] 93 | struct StructCharLength { [INFO] [stdout] | ----------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructCharLength: not_so_fast::ValidateArgs<'_>` or `StructCharLength: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 105 | assert!(StructCharLength { [INFO] [stdout] | _____________- [INFO] [stdout] 106 | | s: "€€€€€€€€€€".into() [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructCharLength` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructCharLength: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructCharLength: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructCharLength: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructItems`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 119 | struct StructItems { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructItems: not_so_fast::ValidateArgs<'_>` or `StructItems: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 124 | assert!(StructItems { l: vec![2, 9, 3] }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructItems` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructItems: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructItems: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructItems: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[validate(fields)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructItems`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:125:47 [INFO] [stdout] | [INFO] [stdout] 119 | struct StructItems { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructItems: not_so_fast::ValidateArgs<'_>` or `StructItems: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 125 | assert!(StructItems { l: vec![9, 20, 5] }.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructItems` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructItems: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructItems: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructItems: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/fields.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructFields`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 134 | struct StructFields { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructFields: not_so_fast::ValidateArgs<'_>` or `StructFields: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 139 | assert!(StructFields { [INFO] [stdout] | _____________- [INFO] [stdout] 140 | | m: [("a".into(), "good".into())].into_iter().collect() [INFO] [stdout] 141 | | } [INFO] [stdout] 142 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructFields` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructFields: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructFields: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructFields: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructFields`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:147:6 [INFO] [stdout] | [INFO] [stdout] 134 | struct StructFields { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructFields: not_so_fast::ValidateArgs<'_>` or `StructFields: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 144 | assert!(StructFields { [INFO] [stdout] | _____________- [INFO] [stdout] 145 | | m: [("a".into(), "bad bad bad".into())].into_iter().collect() [INFO] [stdout] 146 | | } [INFO] [stdout] 147 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructFields` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructFields: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructFields: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructFields: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructWithNestedField`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 160 | struct StructWithNestedField { [INFO] [stdout] | ---------------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructWithNestedField: not_so_fast::Validate` or `_: ValidateArgs<'_>` [INFO] [stdout] ... [INFO] [stdout] 165 | assert!(StructWithNestedField { field: Field(15) } [INFO] [stdout] | _____________- [INFO] [stdout] 166 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructWithNestedField` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructWithNestedField: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructWithNestedField: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructWithNestedField: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructWithNestedField2`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:185:6 [INFO] [stdout] | [INFO] [stdout] 177 | struct StructWithNestedField2 { [INFO] [stdout] | ----------------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructWithNestedField2: not_so_fast::Validate` or `_: ValidateArgs<'_>` [INFO] [stdout] ... [INFO] [stdout] 182 | assert!(StructWithNestedField2 { [INFO] [stdout] | _____________- [INFO] [stdout] 183 | | field: FieldWithArgs(500) [INFO] [stdout] 184 | | } [INFO] [stdout] 185 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructWithNestedField2` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructWithNestedField2: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructWithNestedField2: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructWithNestedField2: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | struct Child(#[validate(range(max = 10))] i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructWithCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:206:51 [INFO] [stdout] | [INFO] [stdout] 195 | struct StructWithCustom { [INFO] [stdout] | ----------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructWithCustom: not_so_fast::ValidateArgs<'_>` or `StructWithCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 206 | assert!(StructWithCustom { name: "n".into() }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructWithCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructWithCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructWithCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructWithCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructWithCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:207:52 [INFO] [stdout] | [INFO] [stdout] 195 | struct StructWithCustom { [INFO] [stdout] | ----------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructWithCustom: not_so_fast::ValidateArgs<'_>` or `StructWithCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 207 | assert!(StructWithCustom { name: "_n".into() }.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructWithCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructWithCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructWithCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructWithCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructWithCustom2`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:231:6 [INFO] [stdout] | [INFO] [stdout] 215 | struct StructWithCustom2 { [INFO] [stdout] | ------------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructWithCustom2: not_so_fast::ValidateArgs<'_>` or `StructWithCustom2: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 227 | assert!(StructWithCustom2 { [INFO] [stdout] | _____________- [INFO] [stdout] 228 | | name: "n".repeat(10), [INFO] [stdout] 229 | | age: 20 [INFO] [stdout] 230 | | } [INFO] [stdout] 231 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructWithCustom2` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructWithCustom2: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructWithCustom2: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructWithCustom2: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/fields.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructWithCustom2`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive.rs:238:6 [INFO] [stdout] | [INFO] [stdout] 215 | struct StructWithCustom2 { [INFO] [stdout] | ------------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructWithCustom2: not_so_fast::ValidateArgs<'_>` or `StructWithCustom2: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 234 | assert!(StructWithCustom2 { [INFO] [stdout] | _____________- [INFO] [stdout] 235 | | name: "n".repeat(50), [INFO] [stdout] 236 | | age: 40 [INFO] [stdout] 237 | | } [INFO] [stdout] 238 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructWithCustom2` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructWithCustom2: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructWithCustom2: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructWithCustom2: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | #[validate(fields(nested))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for struct `StructWithArgs` in the current scope [INFO] [stdout] --> examples/derive.rs:280:31 [INFO] [stdout] | [INFO] [stdout] 268 | struct StructWithArgs {} [INFO] [stdout] | --------------------- method `validate_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 280 | assert!(StructWithArgs {}.validate_args((60, 40, '@')).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `StructWithArgs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/fields.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[validate(fields(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/fields.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for struct `StructWithArgs2` in the current scope [INFO] [stdout] --> examples/derive.rs:309:6 [INFO] [stdout] | [INFO] [stdout] 288 | struct StructWithArgs2 { [INFO] [stdout] | ---------------------- method `validate_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 304 | assert!(StructWithArgs2 { [INFO] [stdout] | _____________- [INFO] [stdout] 305 | | a: 200, [INFO] [stdout] 306 | | b: "@".repeat(200), [INFO] [stdout] 307 | | c: FieldWithArgs(200) [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | .validate_args((60, 40, '@')) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `StructWithArgs2` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[validate(fields(fields(range(max = 10))))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/fields.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 125 | #[validate(fields(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | #[validate(fields(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | #[validate(fields(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | #[validate(fields(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | #[validate(fields(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/fields.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | #[validate(fields(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/generics.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/generics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/generics.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/generics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/generics.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/generics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/generics.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/generics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/generics.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/generics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/generics.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/generics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/generics.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/generics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `not-so-fast` (example "derive") due to 63 previous errors [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/generics.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/generics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct Child(#[validate(range(max = 10))] i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[validate(items)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | struct Child(#[validate(range(max = 10))] i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[validate(items(nested))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[validate(items(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | #[validate(items(items(range(max = 10))))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | #[validate(items(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[validate(items(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | #[validate(items(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[validate(items(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/items.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[validate(items(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/length.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[validate(length(min = 8))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[validate(length(max = 50))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[validate(length(min = 8, max = 50))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[validate(length(equal = 20))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[validate(length(min = 8))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[validate(length(min = 8))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[validate(length(min = 8))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[validate(length(min = self::USIZE_8, max = self::USIZE_50))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/length.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[validate(length(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/nested.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct Child(#[validate(range(max = 10))] i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/nested.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[validate] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/nested.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | struct Child(#[validate(range(max = 10))] i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/nested.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[validate(nested)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/nested.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[validate(args(m: i32))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | struct Child(#[validate(range(max=m))] i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/nested.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/nested.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[validate(nested(args(10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/range.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/range.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/range.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[validate(range(min = 8))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/range.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[validate(range(max = 50))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/range.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[validate(range(min = 8.0, max = 50.0))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/range.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[validate(range(min = 8u8))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/range.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[validate(range(min = U8_8, max = U8_50))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/some.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct Child(#[validate(range(max = 10))] i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/some.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[validate(some)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/some.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | struct Child(#[validate(range(max = 10))] i32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/some.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[validate(some(nested))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/some.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[validate(some(range(max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive_tests/some.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive_tests/some.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[validate(some(some(range(max = 10))))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[validate(args(a: u64, b: bool), custom = validate_empty_enum)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Validate` in this scope [INFO] [stdout] --> tests/derive.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Validate` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use not_so_fast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive.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/derive.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | OneField(#[validate(custom(function = validate_string, args(a)))] String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[validate(custom(function = validate_string, args(a)))] String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | #[validate(custom(function = validate_string, args(a)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/derive.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | #[validate(custom(function = validate_string, args(a)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructNoArgs`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/args.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct StructNoArgs; [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructNoArgs: not_so_fast::ValidateArgs<'_>` or `StructNoArgs: not_so_fast::Validate` [INFO] [stdout] 7 | assert!(StructNoArgs.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructNoArgs` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructNoArgs: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructNoArgs: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructNoArgs: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructZeroArgs`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/args.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 14 | struct StructZeroArgs; [INFO] [stdout] | --------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructZeroArgs: not_so_fast::ValidateArgs<'_>` or `StructZeroArgs: not_so_fast::Validate` [INFO] [stdout] 15 | assert!(StructZeroArgs.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructZeroArgs` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructZeroArgs: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructZeroArgs: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructZeroArgs: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for struct `StructOneArg` in the current scope [INFO] [stdout] --> tests/derive_tests/args.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 22 | struct StructOneArg; [INFO] [stdout] | ------------------- method `validate_args` not found for this struct [INFO] [stdout] 23 | assert!(StructOneArg.validate_args((2,)).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `StructOneArg` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for struct `StructTwoArgs` in the current scope [INFO] [stdout] --> tests/derive_tests/args.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 30 | struct StructTwoArgs; [INFO] [stdout] | -------------------- method `validate_args` not found for this struct [INFO] [stdout] 31 | assert!(StructTwoArgs.validate_args((2, true)).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `StructTwoArgs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for enum `args::enum_two_args::EnumTwoArgs` in the current scope [INFO] [stdout] --> tests/derive_tests/args.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 38 | enum EnumTwoArgs { [INFO] [stdout] | ---------------- method `validate_args` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 41 | assert!(EnumTwoArgs::A.validate_args((2, true)).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `args::enum_two_args::EnumTwoArgs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for enum `args::struct_arg_lifetime::EnumTwoArgs` in the current scope [INFO] [stdout] --> tests/derive_tests/args.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 48 | enum EnumTwoArgs { [INFO] [stdout] | ---------------- method `validate_args` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 51 | assert!(EnumTwoArgs::A.validate_args(("a", &[0])).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `args::struct_arg_lifetime::EnumTwoArgs` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for struct `args::struct_routing_args::Struct` in the current scope [INFO] [stdout] --> tests/derive_tests/args.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 58 | struct Struct { [INFO] [stdout] | ------------- method `validate_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 82 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 83 | | a: "abc".into(), [INFO] [stdout] 84 | | b: Nested [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | .validate_args((10, "x", false)) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `args::struct_routing_args::Struct` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 86 | .b.validate_args((10, "x", false)) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructUnit`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 6 | struct StructUnit; [INFO] [stdout] | ----------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructUnit: not_so_fast::ValidateArgs<'_>` or `StructUnit: not_so_fast::Validate` [INFO] [stdout] 7 | assert!(StructUnit.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructUnit` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructUnit: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructUnit: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructUnit: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructTuple0`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 13 | struct StructTuple0(); [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructTuple0: not_so_fast::ValidateArgs<'_>` or `StructTuple0: not_so_fast::Validate` [INFO] [stdout] 14 | assert!(StructTuple0().validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructTuple0` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructTuple0: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructTuple0: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructTuple0: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructTuple1`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 17 | struct StructTuple1(String); [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructTuple1: not_so_fast::ValidateArgs<'_>` or `StructTuple1: not_so_fast::Validate` [INFO] [stdout] 18 | assert!(StructTuple1("1".into()).validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructTuple1` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructTuple1: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructTuple1: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructTuple1: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructTuple2`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 21 | struct StructTuple2(String, String); [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructTuple2: not_so_fast::ValidateArgs<'_>` or `StructTuple2: not_so_fast::Validate` [INFO] [stdout] 22 | assert!(StructTuple2("1".into(), "2".into()).validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructTuple2` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructTuple2: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructTuple2: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructTuple2: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructRegular0`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 28 | struct StructRegular0 {} [INFO] [stdout] | --------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructRegular0: not_so_fast::ValidateArgs<'_>` or `StructRegular0: not_so_fast::Validate` [INFO] [stdout] 29 | assert!(StructRegular0 {}.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructRegular0` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructRegular0: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructRegular0: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructRegular0: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructRegular1`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 32 | struct StructRegular1 { [INFO] [stdout] | --------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructRegular1: not_so_fast::ValidateArgs<'_>` or `StructRegular1: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 35 | assert!(StructRegular1 { a: "a".into() }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructRegular1` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructRegular1: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructRegular1: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructRegular1: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructRegular2`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 38 | struct StructRegular2 { [INFO] [stdout] | --------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructRegular2: not_so_fast::ValidateArgs<'_>` or `StructRegular2: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 42 | assert!(StructRegular2 { [INFO] [stdout] | _____________- [INFO] [stdout] 43 | | a: "a".into(), [INFO] [stdout] 44 | | b: "b".into(), [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructRegular2` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructRegular2: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructRegular2: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructRegular2: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `basic::empty_different_variants::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 61 | enum Enum { [INFO] [stdout] | --------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 69 | assert!(Enum::NoFields.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `basic::empty_different_variants::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `basic::empty_different_variants::Enum: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `basic::empty_different_variants::Enum: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `basic::empty_different_variants::Enum: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `basic::empty_different_variants::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 61 | enum Enum { [INFO] [stdout] | --------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 70 | assert!(Enum::OneField("x".into()).validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `basic::empty_different_variants::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `basic::empty_different_variants::Enum: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `basic::empty_different_variants::Enum: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `basic::empty_different_variants::Enum: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `basic::empty_different_variants::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 61 | enum Enum { [INFO] [stdout] | --------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 71 | assert!(Enum::TwoFields("x".into(), "x".into()).validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `basic::empty_different_variants::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `basic::empty_different_variants::Enum: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `basic::empty_different_variants::Enum: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `basic::empty_different_variants::Enum: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `basic::empty_different_variants::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 61 | enum Enum { [INFO] [stdout] | --------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 72 | assert!(Enum::OneNamedField { first: "x".into() }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `basic::empty_different_variants::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `basic::empty_different_variants::Enum: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `basic::empty_different_variants::Enum: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `basic::empty_different_variants::Enum: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `basic::empty_different_variants::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/basic.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 61 | enum Enum { [INFO] [stdout] | --------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 73 | assert!(Enum::TwoNamedFields { [INFO] [stdout] | _____________- [INFO] [stdout] 74 | | first: "x".into(), [INFO] [stdout] 75 | | second: "x".into() [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `basic::empty_different_variants::Enum` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `basic::empty_different_variants::Enum: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `basic::empty_different_variants::Enum: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `basic::empty_different_variants::Enum: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 42 | assert!(S::default().validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 47 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 48 | | a: "ß".repeat(7), [INFO] [stdout] 49 | | ..Default::default() [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 53 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 54 | | a: "ß".repeat(8), [INFO] [stdout] 55 | | ..Default::default() [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 59 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 60 | | a: "ß".repeat(9), [INFO] [stdout] 61 | | ..Default::default() [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 69 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 70 | | b: "ß".repeat(49), [INFO] [stdout] 71 | | ..Default::default() [INFO] [stdout] 72 | | } [INFO] [stdout] 73 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 75 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 76 | | b: "ß".repeat(50), [INFO] [stdout] 77 | | ..Default::default() [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:85:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 81 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 82 | | b: "ß".repeat(51), [INFO] [stdout] 83 | | ..Default::default() [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 91 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 92 | | c: "ß".repeat(7), [INFO] [stdout] 93 | | ..Default::default() [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:101:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 97 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 98 | | c: "ß".repeat(8), [INFO] [stdout] 99 | | ..Default::default() [INFO] [stdout] 100 | | } [INFO] [stdout] 101 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 103 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 104 | | c: "ß".repeat(9), [INFO] [stdout] 105 | | ..Default::default() [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 109 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 110 | | c: "ß".repeat(49), [INFO] [stdout] 111 | | ..Default::default() [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:119:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 115 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 116 | | c: "ß".repeat(50), [INFO] [stdout] 117 | | ..Default::default() [INFO] [stdout] 118 | | } [INFO] [stdout] 119 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:125:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 121 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 122 | | c: "ß".repeat(51), [INFO] [stdout] 123 | | ..Default::default() [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:135:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 131 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 132 | | d: "ß".repeat(19), [INFO] [stdout] 133 | | ..Default::default() [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 137 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 138 | | d: "ß".repeat(20), [INFO] [stdout] 139 | | ..Default::default() [INFO] [stdout] 140 | | } [INFO] [stdout] 141 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:147:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 143 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 144 | | d: "ß".repeat(21), [INFO] [stdout] 145 | | ..Default::default() [INFO] [stdout] 146 | | } [INFO] [stdout] 147 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 151 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 152 | | d: "a".repeat(20), [INFO] [stdout] 153 | | ..Default::default() [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:161:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 157 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 158 | | d: "ą".repeat(20), [INFO] [stdout] 159 | | ..Default::default() [INFO] [stdout] 160 | | } [INFO] [stdout] 161 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:167:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 163 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 164 | | d: "🔥".repeat(20), [INFO] [stdout] 165 | | ..Default::default() [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:177:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 173 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 174 | | e: &"ß".repeat(7), [INFO] [stdout] 175 | | ..Default::default() [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:183:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 179 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 180 | | e: &"ß".repeat(8), [INFO] [stdout] 181 | | ..Default::default() [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:189:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 185 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 186 | | e: &"ß".repeat(9), [INFO] [stdout] 187 | | ..Default::default() [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:199:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 195 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 196 | | f: "ß".repeat(7), [INFO] [stdout] 197 | | ..Default::default() [INFO] [stdout] 198 | | } [INFO] [stdout] 199 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:205:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 201 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 202 | | f: "ß".repeat(8), [INFO] [stdout] 203 | | ..Default::default() [INFO] [stdout] 204 | | } [INFO] [stdout] 205 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:211:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 207 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 208 | | f: "ß".repeat(9), [INFO] [stdout] 209 | | ..Default::default() [INFO] [stdout] 210 | | } [INFO] [stdout] 211 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:217:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 213 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 214 | | f: "ß".repeat(49), [INFO] [stdout] 215 | | ..Default::default() [INFO] [stdout] 216 | | } [INFO] [stdout] 217 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:223:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 219 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 220 | | f: "ß".repeat(50), [INFO] [stdout] 221 | | ..Default::default() [INFO] [stdout] 222 | | } [INFO] [stdout] 223 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `char_length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/char_length.rs:229:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` or `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 225 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 226 | | f: "ß".repeat(51), [INFO] [stdout] 227 | | ..Default::default() [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `char_length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `char_length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `char_length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_custom_basic::StructCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 7 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!("", StructCustom { a: 2 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `custom::struct_custom_basic::StructCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_custom_basic::StructCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_custom_basic::StructCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_custom_basic::StructCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_custom_basic::StructCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 7 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 15 | assert_eq!(".: x", StructCustom { a: 3 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `custom::struct_custom_basic::StructCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_custom_basic::StructCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_custom_basic::StructCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_custom_basic::StructCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_custom_alternative_syntax::StructCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 22 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 29 | assert_eq!("", StructCustom { a: 2 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_custom_alternative_syntax::StructCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_custom_alternative_syntax::StructCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_custom_alternative_syntax::StructCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_custom_alternative_syntax::StructCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 22 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 30 | assert_eq!(".: x", StructCustom { a: 3 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_custom_alternative_syntax::StructCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_custom_alternative_syntax::StructCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_custom_alternative_syntax::StructCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_custom_three_custom::StructCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 38 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 51 | assert_eq!("", StructCustom { a: 2 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `custom::struct_custom_three_custom::StructCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_custom_three_custom::StructCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_custom_three_custom::StructCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_custom_three_custom::StructCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_custom_three_custom::StructCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 38 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 52 | assert_eq!(".: a", StructCustom { a: 3 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `custom::struct_custom_three_custom::StructCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_custom_three_custom::StructCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_custom_three_custom::StructCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_custom_three_custom::StructCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_custom_three_custom::StructCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 38 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 53 | assert_eq!(".: b", StructCustom { a: 4 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `custom::struct_custom_three_custom::StructCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_custom_three_custom::StructCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_custom_three_custom::StructCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_custom_three_custom::StructCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_custom_three_custom::StructCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 38 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 54 | assert_eq!(".: c", StructCustom { a: 5 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `custom::struct_custom_three_custom::StructCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_custom_three_custom::StructCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_custom_three_custom::StructCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_custom_three_custom::StructCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_custom_three_custom::StructCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 38 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 57 | StructCustom { a: 60 }.validate().to_string() [INFO] [stdout] | ^^^^^^^^ method cannot be called on `custom::struct_custom_three_custom::StructCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_custom_three_custom::StructCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_custom_three_custom::StructCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_custom_three_custom::StructCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for struct `custom::struct_custom_with_one_arg::StructCustom` in the current scope [INFO] [stdout] --> tests/derive_tests/custom.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 70 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 80 | / StructCustom { a: 2 } [INFO] [stdout] 81 | | .validate_args((true, "hello", 50)) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `custom::struct_custom_with_one_arg::StructCustom` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for struct `custom::struct_custom_with_one_arg::StructCustom` in the current scope [INFO] [stdout] --> tests/derive_tests/custom.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 70 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 86 | / StructCustom { a: 3 } [INFO] [stdout] 87 | | .validate_args((true, "hello", 50)) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `custom::struct_custom_with_one_arg::StructCustom` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for struct `custom::struct_custom_with_multiple_args::StructCustom` in the current scope [INFO] [stdout] --> tests/derive_tests/custom.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 101 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 113 | / StructCustom { a: 2 } [INFO] [stdout] 114 | | .validate_args((true, "hello", 50)) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `custom::struct_custom_with_multiple_args::StructCustom` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for struct `custom::struct_custom_with_multiple_args::StructCustom` in the current scope [INFO] [stdout] --> tests/derive_tests/custom.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 101 | struct StructCustom { [INFO] [stdout] | ------------------- method `validate_args` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 119 | / StructCustom { a: 3 } [INFO] [stdout] 120 | | .validate_args((true, "hello", 50)) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `custom::struct_custom_with_multiple_args::StructCustom` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:140:34 [INFO] [stdout] | [INFO] [stdout] 129 | enum EnumCustom { [INFO] [stdout] | --------------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `EnumCustom: not_so_fast::ValidateArgs<'_>` or `EnumCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 140 | assert_eq!("", EnumCustom::A.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `EnumCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `EnumCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:141:43 [INFO] [stdout] | [INFO] [stdout] 129 | enum EnumCustom { [INFO] [stdout] | --------------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `EnumCustom: not_so_fast::ValidateArgs<'_>` or `EnumCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 141 | assert_eq!("", EnumCustom::C { x: 1 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `EnumCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `EnumCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:142:41 [INFO] [stdout] | [INFO] [stdout] 129 | enum EnumCustom { [INFO] [stdout] | --------------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `EnumCustom: not_so_fast::ValidateArgs<'_>` or `EnumCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 142 | assert_eq!(".: x", EnumCustom::B(5).validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `EnumCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `EnumCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_field_custom_basic::StructFieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:156:47 [INFO] [stdout] | [INFO] [stdout] 148 | struct StructFieldCustom { [INFO] [stdout] | ------------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 156 | assert_eq!("", StructFieldCustom { a: 2 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_field_custom_basic::StructFieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_field_custom_basic::StructFieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_field_custom_basic::StructFieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_field_custom_basic::StructFieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:157:52 [INFO] [stdout] | [INFO] [stdout] 148 | struct StructFieldCustom { [INFO] [stdout] | ------------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 157 | assert_eq!(".a: x", StructFieldCustom { a: 3 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_field_custom_basic::StructFieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_field_custom_basic::StructFieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_field_custom_basic::StructFieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_field_custom_alternative_syntax::StructFieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 163 | struct StructFieldCustom { [INFO] [stdout] | ------------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 171 | assert_eq!("", StructFieldCustom { a: 2 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_field_custom_alternative_syntax::StructFieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_field_custom_alternative_syntax::StructFieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_field_custom_alternative_syntax::StructFieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `custom::struct_field_custom_alternative_syntax::StructFieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:172:52 [INFO] [stdout] | [INFO] [stdout] 163 | struct StructFieldCustom { [INFO] [stdout] | ------------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 172 | assert_eq!(".a: x", StructFieldCustom { a: 3 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `custom::struct_field_custom_alternative_syntax::StructFieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `custom::struct_field_custom_alternative_syntax::StructFieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `custom::struct_field_custom_alternative_syntax::StructFieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `FieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:193:41 [INFO] [stdout] | [INFO] [stdout] 178 | struct FieldCustom { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `FieldCustom: not_so_fast::ValidateArgs<'_>` or `FieldCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 193 | assert_eq!("", FieldCustom { a: 2 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `FieldCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `FieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `FieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `FieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:194:46 [INFO] [stdout] | [INFO] [stdout] 178 | struct FieldCustom { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `FieldCustom: not_so_fast::ValidateArgs<'_>` or `FieldCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 194 | assert_eq!(".a: a", FieldCustom { a: 3 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `FieldCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `FieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `FieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `FieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:195:46 [INFO] [stdout] | [INFO] [stdout] 178 | struct FieldCustom { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `FieldCustom: not_so_fast::ValidateArgs<'_>` or `FieldCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 195 | assert_eq!(".a: b", FieldCustom { a: 4 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `FieldCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `FieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `FieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `FieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:196:46 [INFO] [stdout] | [INFO] [stdout] 178 | struct FieldCustom { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `FieldCustom: not_so_fast::ValidateArgs<'_>` or `FieldCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 196 | assert_eq!(".a: c", FieldCustom { a: 5 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `FieldCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `FieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `FieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `FieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 178 | struct FieldCustom { [INFO] [stdout] | ------------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `FieldCustom: not_so_fast::ValidateArgs<'_>` or `FieldCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 199 | FieldCustom { a: 60 }.validate().to_string() [INFO] [stdout] | ^^^^^^^^ method cannot be called on `FieldCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `FieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `FieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumFieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:221:39 [INFO] [stdout] | [INFO] [stdout] 206 | enum EnumFieldCustom { [INFO] [stdout] | -------------------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `EnumFieldCustom: not_so_fast::ValidateArgs<'_>` or `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 221 | assert_eq!("", EnumFieldCustom::A.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `EnumFieldCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumFieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumFieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:222:49 [INFO] [stdout] | [INFO] [stdout] 206 | enum EnumFieldCustom { [INFO] [stdout] | -------------------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `EnumFieldCustom: not_so_fast::ValidateArgs<'_>` or `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 222 | assert_eq!(".[0]: x", EnumFieldCustom::B(8).validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `EnumFieldCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumFieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumFieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:223:43 [INFO] [stdout] | [INFO] [stdout] 206 | enum EnumFieldCustom { [INFO] [stdout] | -------------------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `EnumFieldCustom: not_so_fast::ValidateArgs<'_>` or `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 223 | assert_eq!("", EnumFieldCustom::B(16).validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `EnumFieldCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumFieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumFieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:224:48 [INFO] [stdout] | [INFO] [stdout] 206 | enum EnumFieldCustom { [INFO] [stdout] | -------------------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `EnumFieldCustom: not_so_fast::ValidateArgs<'_>` or `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 224 | assert_eq!("", EnumFieldCustom::C { x: 8 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `EnumFieldCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumFieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumFieldCustom`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/custom.rs:225:54 [INFO] [stdout] | [INFO] [stdout] 206 | enum EnumFieldCustom { [INFO] [stdout] | -------------------- method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `EnumFieldCustom: not_so_fast::ValidateArgs<'_>` or `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 225 | assert_eq!(".x: x", EnumFieldCustom::C { x: 16 }.validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `EnumFieldCustom` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumFieldCustom: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `EnumFieldCustom: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 18 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 22 | assert!(Parent { field: map! {} }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `fields::field_validate_fields::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 18 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 23 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 24 | | field: map! { 1 => Child(10) } [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `fields::field_validate_fields::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 18 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 28 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 29 | | field: map! { 1 => Child(10), 2 => Child(11) } [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `fields::field_validate_fields::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields_nested::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 41 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 45 | assert!(Parent { field: map! {} }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `fields::field_validate_fields_nested::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields_nested::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields_nested::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields_nested::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields_nested::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 41 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 46 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 47 | | field: map! { 1 => Child(10) } [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `fields::field_validate_fields_nested::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields_nested::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields_nested::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields_nested::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields_nested::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 41 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 51 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 52 | | field: map! { 1 => Child(10), 2 => Child(11) } [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `fields::field_validate_fields_nested::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields_nested::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields_nested::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields_nested::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 61 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 65 | assert!(Struct { field: map! {} }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `fields::field_validate_fields_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 61 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 66 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 67 | | field: map! { 1 => 10 } [INFO] [stdout] 68 | | } [INFO] [stdout] 69 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `fields::field_validate_fields_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 61 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 71 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 72 | | field: map! { 1 => 10, 2 => 11 } [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `fields::field_validate_fields_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields_fields_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 81 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 85 | assert!(Struct { field: map! {} }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `fields::field_validate_fields_fields_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields_fields_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields_fields_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 81 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 86 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 87 | | field: map! { [INFO] [stdout] 88 | | 1 => map!{} [INFO] [stdout] ... | [INFO] [stdout] 91 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `fields::field_validate_fields_fields_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields_fields_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields_fields_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 81 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 93 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 94 | | field: map! { [INFO] [stdout] 95 | | 1 => map! { 1 => 10 }, [INFO] [stdout] 96 | | 2 => map! { 1 => 10 } [INFO] [stdout] ... | [INFO] [stdout] 99 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `fields::field_validate_fields_fields_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields_fields_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::field_validate_fields_fields_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 81 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 101 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 102 | | field: map! { [INFO] [stdout] 103 | | 1 => map! { 1 => 10 }, [INFO] [stdout] 104 | | 2 => map! { 1 => 10, 2 => 11 } [INFO] [stdout] ... | [INFO] [stdout] 107 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `fields::field_validate_fields_fields_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::field_validate_fields_fields_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::field_validate_fields_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `fields::field_validate_fields_fields_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `fields::different_types::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/fields.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 124 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 144 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 145 | | a: Default::default(), [INFO] [stdout] 146 | | b: Default::default(), [INFO] [stdout] 147 | | c: Default::default(), [INFO] [stdout] ... | [INFO] [stdout] 152 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `fields::different_types::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fields::different_types::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `fields::different_types::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `fields::different_types::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructGenerics0`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/generics.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 6 | struct StructGenerics0 { [INFO] [stdout] | ---------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructGenerics0: not_so_fast::ValidateArgs<'_>` or `StructGenerics0: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 9 | assert!(StructGenerics0 { a: 0 }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructGenerics0` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructGenerics0: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructGenerics0: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `StructGenerics0: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructGenerics1L<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/generics.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 12 | struct StructGenerics1L<'a> { [INFO] [stdout] | --------------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructGenerics1L<'_>: not_so_fast::Validate` or `_: ValidateArgs<'_>` [INFO] [stdout] ... [INFO] [stdout] 15 | assert!(StructGenerics1L { a: "hello" }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructGenerics1L<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructGenerics1L<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructGenerics1L<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `StructGenerics1L<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructGenerics1T`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/generics.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 18 | struct StructGenerics1T { [INFO] [stdout] | -------------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 21 | assert!(StructGenerics1T { [INFO] [stdout] | _____________- [INFO] [stdout] 22 | | a: String::from("hello") [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructGenerics1T` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructGenerics1T: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructGenerics1T: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `StructGenerics1T: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructGenerics1C<3>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/generics.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 28 | struct StructGenerics1C { [INFO] [stdout] | --------------------------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `StructGenerics1C<3>: not_so_fast::ValidateArgs<'_>` or `StructGenerics1C<3>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 31 | assert!(StructGenerics1C { a: [0; 3] }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `StructGenerics1C<3>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructGenerics1C<3>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructGenerics1C<3>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `StructGenerics1C<3>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructGenerics1Each<'_, std::string::String, 3>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/generics.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 34 | struct StructGenerics1Each<'a, T, const C: usize> { [INFO] [stdout] | ------------------------------------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 39 | assert!(StructGenerics1Each { [INFO] [stdout] | _____________- [INFO] [stdout] 40 | | a: "hello", [INFO] [stdout] 41 | | b: String::from("hello"), [INFO] [stdout] 42 | | c: [0; 3] [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructGenerics1Each<'_, std::string::String, 3>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructGenerics1Each<'_, std::string::String, 3>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructGenerics1Each<'_, std::string::String, 3>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `StructGenerics1Each<'_, std::string::String, 3>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructGenerics2Each<'_, '_, std::string::String, Vec, 3, 1>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/generics.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 48 | struct StructGenerics2Each<'a, 'b, T1, T2, const C1: usize, const C2: usize> { [INFO] [stdout] | ---------------------------------------------------------------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 56 | assert!(StructGenerics2Each { [INFO] [stdout] | _____________- [INFO] [stdout] 57 | | a: "a", [INFO] [stdout] 58 | | b: "b", [INFO] [stdout] 59 | | t1: String::from("t1"), [INFO] [stdout] ... | [INFO] [stdout] 64 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructGenerics2Each<'_, '_, std::string::String, Vec, 3, 1>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructGenerics2Each<'_, '_, std::string::String, Vec, 3, 1>: not_so_fast::Validate` [INFO] [stdout] `, 3, 1> as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `StructGenerics2Each<'_, '_, std::string::String, Vec, 3, 1>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `StructGenericsBounds<'_, '_, bool, 10>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/generics.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 68 | struct StructGenericsBounds<'a, 'b: 'a, T: Clone + 'b, const N: usize> { [INFO] [stdout] | ---------------------------------------------------------------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 74 | assert!(StructGenericsBounds { [INFO] [stdout] | _____________- [INFO] [stdout] 75 | | a: &0, [INFO] [stdout] 76 | | b: &0, [INFO] [stdout] 77 | | y: false, [INFO] [stdout] ... | [INFO] [stdout] 80 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `StructGenericsBounds<'_, '_, bool, 10>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StructGenericsBounds<'_, '_, bool, 10>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `StructGenericsBounds<'_, '_, bool, 10>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `StructGenericsBounds<'_, '_, bool, 10>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumGenericsBounds<'_, '_, std::string::String, 2>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/generics.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 86 | enum EnumGenericsBounds<'a, 'b: 'a, T: Clone + 'b, const N: usize> { [INFO] [stdout] | ------------------------------------------------------------------ method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 92 | assert!(EnumGenericsBounds::<'_, '_, String, 2>::A(&0) [INFO] [stdout] | _____________- [INFO] [stdout] 93 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `EnumGenericsBounds<'_, '_, std::string::String, 2>` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumGenericsBounds<'_, '_, std::string::String, 2>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/generics.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 86 | enum EnumGenericsBounds<'a, 'b: 'a, T: Clone + 'b, const N: usize> { [INFO] [stdout] | ------------------------------------------------------------------ method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 95 | assert!(EnumGenericsBounds::<'_, '_, String, 2>::B(&0) [INFO] [stdout] | _____________- [INFO] [stdout] 96 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `EnumGenericsBounds<'_, '_, std::string::String, 2>` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumGenericsBounds<'_, '_, std::string::String, 2>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/generics.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 86 | enum EnumGenericsBounds<'a, 'b: 'a, T: Clone + 'b, const N: usize> { [INFO] [stdout] | ------------------------------------------------------------------ method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 98 | assert!(EnumGenericsBounds::<'_, '_, String, 2>::C("x".into()) [INFO] [stdout] | _____________- [INFO] [stdout] 99 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `EnumGenericsBounds<'_, '_, std::string::String, 2>` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for enum `EnumGenericsBounds<'_, '_, std::string::String, 2>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/generics.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 86 | enum EnumGenericsBounds<'a, 'b: 'a, T: Clone + 'b, const N: usize> { [INFO] [stdout] | ------------------------------------------------------------------ method `validate` not found for this enum because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 101 | assert!(EnumGenericsBounds::<'_, '_, String, 2>::D([0; 2]) [INFO] [stdout] | _____________- [INFO] [stdout] 102 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `EnumGenericsBounds<'_, '_, std::string::String, 2>` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `EnumGenericsBounds<'_, '_, std::string::String, 2>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 9 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 13 | assert!(Parent { field: vec![] }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `items::field_validate_items::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 9 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 14 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 15 | | field: vec![Child(10)] [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `items::field_validate_items::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 9 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 19 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 20 | | field: vec![Child(10), Child(11)] [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `items::field_validate_items::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items_nested::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 32 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 36 | assert!(Parent { field: vec![] }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `items::field_validate_items_nested::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items_nested::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items_nested::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items_nested::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items_nested::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 32 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 37 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 38 | | field: vec![Child(10)] [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `items::field_validate_items_nested::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items_nested::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items_nested::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items_nested::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items_nested::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 32 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 42 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 43 | | field: vec![Child(10), Child(11)] [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `items::field_validate_items_nested::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items_nested::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items_nested::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items_nested::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 52 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 56 | assert!(Struct { field: vec![] }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `items::field_validate_items_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 52 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 57 | assert!(Struct { field: vec![10] }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `items::field_validate_items_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 52 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 58 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 59 | | field: vec![10, 11] [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `items::field_validate_items_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items_items_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 68 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 72 | assert!(Struct { field: vec![] }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `items::field_validate_items_items_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items_items_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items_items_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 68 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 73 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 74 | | field: vec![vec![]] [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `items::field_validate_items_items_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items_items_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items_items_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 68 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 78 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 79 | | field: vec![vec![10], vec![10]] [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `items::field_validate_items_items_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items_items_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::field_validate_items_items_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 68 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 83 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 84 | | field: vec![vec![10], vec![10, 11]] [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `items::field_validate_items_items_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::field_validate_items_items_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::field_validate_items_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `items::field_validate_items_items_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `items::different_types::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/items.rs:115:6 [INFO] [stdout] | [INFO] [stdout] 95 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 108 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 109 | | a: Default::default(), [INFO] [stdout] 110 | | b: Default::default(), [INFO] [stdout] 111 | | c: Default::default(), [INFO] [stdout] ... | [INFO] [stdout] 115 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `items::different_types::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `items::different_types::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `items::different_types::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `items::different_types::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 75 | assert!(S::default().validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 80 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 81 | | a: "a".repeat(7), [INFO] [stdout] 82 | | ..Default::default() [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 86 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 87 | | a: "a".repeat(8), [INFO] [stdout] 88 | | ..Default::default() [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 92 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 93 | | a: "a".repeat(9), [INFO] [stdout] 94 | | ..Default::default() [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:106:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 102 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 103 | | b: "a".repeat(49), [INFO] [stdout] 104 | | ..Default::default() [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 108 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 109 | | b: "a".repeat(50), [INFO] [stdout] 110 | | ..Default::default() [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 114 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 115 | | b: "a".repeat(51), [INFO] [stdout] 116 | | ..Default::default() [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:128:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 124 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 125 | | c: "a".repeat(7), [INFO] [stdout] 126 | | ..Default::default() [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 130 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 131 | | c: "a".repeat(8), [INFO] [stdout] 132 | | ..Default::default() [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:140:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 136 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 137 | | c: "a".repeat(9), [INFO] [stdout] 138 | | ..Default::default() [INFO] [stdout] 139 | | } [INFO] [stdout] 140 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:146:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 142 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 143 | | c: "a".repeat(49), [INFO] [stdout] 144 | | ..Default::default() [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 148 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 149 | | c: "a".repeat(50), [INFO] [stdout] 150 | | ..Default::default() [INFO] [stdout] 151 | | } [INFO] [stdout] 152 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 154 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 155 | | c: "a".repeat(51), [INFO] [stdout] 156 | | ..Default::default() [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:168:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 164 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 165 | | d: "a".repeat(19), [INFO] [stdout] 166 | | ..Default::default() [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:174:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 170 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 171 | | d: "a".repeat(20), [INFO] [stdout] 172 | | ..Default::default() [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:180:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 176 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 177 | | d: "a".repeat(21), [INFO] [stdout] 178 | | ..Default::default() [INFO] [stdout] 179 | | } [INFO] [stdout] 180 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:188:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 184 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 185 | | d: "a".repeat(20), [INFO] [stdout] 186 | | ..Default::default() [INFO] [stdout] 187 | | } [INFO] [stdout] 188 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:194:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 190 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 191 | | d: "ą".repeat(20), [INFO] [stdout] 192 | | ..Default::default() [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:200:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 196 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 197 | | d: "🔥".repeat(20), [INFO] [stdout] 198 | | ..Default::default() [INFO] [stdout] 199 | | } [INFO] [stdout] 200 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:210:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 206 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 207 | | e: &"a".repeat(7), [INFO] [stdout] 208 | | ..Default::default() [INFO] [stdout] 209 | | } [INFO] [stdout] 210 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:216:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 212 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 213 | | e: &"a".repeat(8), [INFO] [stdout] 214 | | ..Default::default() [INFO] [stdout] 215 | | } [INFO] [stdout] 216 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:222:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 218 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 219 | | e: &"a".repeat(9), [INFO] [stdout] 220 | | ..Default::default() [INFO] [stdout] 221 | | } [INFO] [stdout] 222 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:232:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 228 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 229 | | f: vec![0; 7], [INFO] [stdout] 230 | | ..Default::default() [INFO] [stdout] 231 | | } [INFO] [stdout] 232 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:238:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 234 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 235 | | f: vec![0; 8], [INFO] [stdout] 236 | | ..Default::default() [INFO] [stdout] 237 | | } [INFO] [stdout] 238 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:244:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 240 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 241 | | f: vec![0; 9], [INFO] [stdout] 242 | | ..Default::default() [INFO] [stdout] 243 | | } [INFO] [stdout] 244 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:254:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 250 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 251 | | g: &[0; 7], [INFO] [stdout] 252 | | ..Default::default() [INFO] [stdout] 253 | | } [INFO] [stdout] 254 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:260:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 256 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 257 | | g: &[0; 8], [INFO] [stdout] 258 | | ..Default::default() [INFO] [stdout] 259 | | } [INFO] [stdout] 260 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:266:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 262 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 263 | | g: &[0; 9], [INFO] [stdout] 264 | | ..Default::default() [INFO] [stdout] 265 | | } [INFO] [stdout] 266 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:276:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 272 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 273 | | h: "a".repeat(7), [INFO] [stdout] 274 | | ..Default::default() [INFO] [stdout] 275 | | } [INFO] [stdout] 276 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:282:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 278 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 279 | | h: "a".repeat(8), [INFO] [stdout] 280 | | ..Default::default() [INFO] [stdout] 281 | | } [INFO] [stdout] 282 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:288:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 284 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 285 | | h: "a".repeat(9), [INFO] [stdout] 286 | | ..Default::default() [INFO] [stdout] 287 | | } [INFO] [stdout] 288 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:294:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 290 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 291 | | h: "a".repeat(49), [INFO] [stdout] 292 | | ..Default::default() [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:300:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 296 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 297 | | h: "a".repeat(50), [INFO] [stdout] 298 | | ..Default::default() [INFO] [stdout] 299 | | } [INFO] [stdout] 300 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:306:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 302 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 303 | | h: "a".repeat(51), [INFO] [stdout] 304 | | ..Default::default() [INFO] [stdout] 305 | | } [INFO] [stdout] 306 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:316:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 312 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 313 | | i: [].into_iter().collect(), [INFO] [stdout] 314 | | ..Default::default() [INFO] [stdout] 315 | | } [INFO] [stdout] 316 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:322:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 318 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 319 | | j: [].into_iter().collect(), [INFO] [stdout] 320 | | ..Default::default() [INFO] [stdout] 321 | | } [INFO] [stdout] 322 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:328:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 324 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 325 | | k: [].into_iter().collect(), [INFO] [stdout] 326 | | ..Default::default() [INFO] [stdout] 327 | | } [INFO] [stdout] 328 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:334:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 330 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 331 | | l: [].into_iter().collect(), [INFO] [stdout] 332 | | ..Default::default() [INFO] [stdout] 333 | | } [INFO] [stdout] 334 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:340:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 336 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 337 | | m: [].into_iter().collect(), [INFO] [stdout] 338 | | ..Default::default() [INFO] [stdout] 339 | | } [INFO] [stdout] 340 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `length::S<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/length.rs:346:6 [INFO] [stdout] | [INFO] [stdout] 8 | struct S<'a> { [INFO] [stdout] | ------------ method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `length::S<'_>: not_so_fast::ValidateArgs<'_>` or `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 342 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 343 | | n: [].into_iter().collect(), [INFO] [stdout] 344 | | ..Default::default() [INFO] [stdout] 345 | | } [INFO] [stdout] 346 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `length::S<'_>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `length::S<'_>: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] ` as not_so_fast::ValidateArgs<'_>>::Args = ()` [INFO] [stdout] which is required by `length::S<'_>: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `nested::field_validate::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/nested.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 9 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 13 | assert!(Parent { field: Child(10) }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `nested::field_validate::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `nested::field_validate::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `nested::field_validate::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `nested::field_validate::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `nested::field_validate::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/nested.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 9 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 14 | assert!(Parent { field: Child(11) }.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `nested::field_validate::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `nested::field_validate::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `nested::field_validate::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `nested::field_validate::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `nested::field_validate_nested::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/nested.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 23 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 27 | assert!(Parent { field: Child(10) }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `nested::field_validate_nested::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `nested::field_validate_nested::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `nested::field_validate_nested::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `nested::field_validate_nested::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `nested::field_validate_nested::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/nested.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 23 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 28 | assert!(Parent { field: Child(11) }.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `nested::field_validate_nested::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `nested::field_validate_nested::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `nested::field_validate_nested::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `nested::field_validate_nested::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `nested::field_validate_nested_args::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/nested.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 38 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 42 | assert!(Parent { field: Child(10) }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `nested::field_validate_nested_args::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `nested::field_validate_nested_args::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `nested::field_validate_nested_args::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `nested::field_validate_nested_args::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `nested::field_validate_nested_args::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/nested.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 38 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 43 | assert!(Parent { field: Child(11) }.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `nested::field_validate_nested_args::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `nested::field_validate_nested_args::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `nested::field_validate_nested_args::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `nested::field_validate_nested_args::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 38 | dbg!(S::default().validate().to_string()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 39 | assert!(S::default().validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 44 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 45 | | a: 7, [INFO] [stdout] 46 | | ..Default::default() [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 50 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 51 | | a: 8, [INFO] [stdout] 52 | | ..Default::default() [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 56 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 57 | | a: 9, [INFO] [stdout] 58 | | ..Default::default() [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 66 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 67 | | b: 49, [INFO] [stdout] 68 | | ..Default::default() [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 72 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 73 | | b: 50, [INFO] [stdout] 74 | | ..Default::default() [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 78 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 79 | | b: 51, [INFO] [stdout] 80 | | ..Default::default() [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 88 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 89 | | c: 7.0, [INFO] [stdout] 90 | | ..Default::default() [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 94 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 95 | | c: 7.9999, [INFO] [stdout] 96 | | ..Default::default() [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:104:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 100 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 101 | | c: 8.0, [INFO] [stdout] 102 | | ..Default::default() [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:110:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 106 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 107 | | c: 9.0, [INFO] [stdout] 108 | | ..Default::default() [INFO] [stdout] 109 | | } [INFO] [stdout] 110 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 112 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 113 | | c: 49.0, [INFO] [stdout] 114 | | ..Default::default() [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:122:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 118 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 119 | | c: 50.0, [INFO] [stdout] 120 | | ..Default::default() [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:128:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 124 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 125 | | c: 50.0001, [INFO] [stdout] 126 | | ..Default::default() [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 130 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 131 | | c: 51.0, [INFO] [stdout] 132 | | ..Default::default() [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:144:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 140 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 141 | | d: 7, [INFO] [stdout] 142 | | ..Default::default() [INFO] [stdout] 143 | | } [INFO] [stdout] 144 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:150:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 146 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 147 | | d: 8, [INFO] [stdout] 148 | | ..Default::default() [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:156:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 152 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 153 | | d: 9, [INFO] [stdout] 154 | | ..Default::default() [INFO] [stdout] 155 | | } [INFO] [stdout] 156 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:166:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 162 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 163 | | e: 7, [INFO] [stdout] 164 | | ..Default::default() [INFO] [stdout] 165 | | } [INFO] [stdout] 166 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:172:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 168 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 169 | | e: 8, [INFO] [stdout] 170 | | ..Default::default() [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `derive_tests::range::S`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/range.rs:178:6 [INFO] [stdout] | [INFO] [stdout] 7 | struct S { [INFO] [stdout] | -------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] ... [INFO] [stdout] 174 | assert!(S { [INFO] [stdout] | _____________- [INFO] [stdout] 175 | | e: 9, [INFO] [stdout] 176 | | ..Default::default() [INFO] [stdout] 177 | | } [INFO] [stdout] 178 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `derive_tests::range::S` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `derive_tests::range::S: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `derive_tests::range::S: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 9 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 13 | assert!(Parent { field: None }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `some::field_validate_some::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 9 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 14 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 15 | | field: Some(Child(10)) [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `some::field_validate_some::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 9 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 19 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 20 | | field: Some(Child(11)) [INFO] [stdout] 21 | | } [INFO] [stdout] 22 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `some::field_validate_some::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some_nested::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 32 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 36 | assert!(Parent { field: None }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `some::field_validate_some_nested::Parent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some_nested::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some_nested::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some_nested::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some_nested::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 32 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 37 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 38 | | field: Some(Child(10)) [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `some::field_validate_some_nested::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some_nested::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some_nested::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some_nested::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some_nested::Parent`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 32 | struct Parent { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 42 | assert!(Parent { [INFO] [stdout] | _____________- [INFO] [stdout] 43 | | field: Some(Child(11)) [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `some::field_validate_some_nested::Parent` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some_nested::Parent: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some_nested::Parent: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some_nested::Parent: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 52 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 56 | assert!(Struct { field: None }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `some::field_validate_some_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 52 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 57 | assert!(Struct { field: Some(10) }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `some::field_validate_some_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 52 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 58 | assert!(Struct { field: Some(11) }.validate().is_err()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `some::field_validate_some_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some_some_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 64 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 68 | assert!(Struct { field: None }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `some::field_validate_some_some_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some_some_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some_some_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:69:42 [INFO] [stdout] | [INFO] [stdout] 64 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 69 | assert!(Struct { field: Some(None) }.validate().is_ok()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `some::field_validate_some_some_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some_some_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some_some_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 64 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 70 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 71 | | field: Some(Some(10)) [INFO] [stdout] 72 | | } [INFO] [stdout] 73 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `some::field_validate_some_some_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some_some_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `validate` exists for struct `some::field_validate_some_some_range::Struct`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive_tests/some.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 64 | struct Struct { [INFO] [stdout] | ------------- method `validate` not found for this struct because it doesn't satisfy `<_ as ValidateArgs<'_>>::Args = ()`, `_: ValidateArgs<'_>` or `_: Validate` [INFO] [stdout] ... [INFO] [stdout] 75 | assert!(Struct { [INFO] [stdout] | _____________- [INFO] [stdout] 76 | | field: Some(Some(11)) [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | .validate() [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `some::field_validate_some_some_range::Struct` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `some::field_validate_some_some_range::Struct: not_so_fast::ValidateArgs<'_>` [INFO] [stdout] which is required by `some::field_validate_some_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] `>::Args = ()` [INFO] [stdout] which is required by `some::field_validate_some_some_range::Struct: not_so_fast::Validate` [INFO] [stdout] note: the trait `not_so_fast::ValidateArgs` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | pub trait ValidateArgs<'arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::Validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for enum `enum_different_variants::Enum` in the current scope [INFO] [stdout] --> tests/derive.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 43 | enum Enum { [INFO] [stdout] | --------- method `validate_args` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 71 | Enum::NoFields.validate_args((100, false)).to_string() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `enum_different_variants::Enum` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for enum `enum_different_variants::Enum` in the current scope [INFO] [stdout] --> tests/derive.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 43 | enum Enum { [INFO] [stdout] | --------- method `validate_args` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 75 | / Enum::OneField("x".into()) [INFO] [stdout] 76 | | .validate_args((100, false)) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `enum_different_variants::Enum` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for enum `enum_different_variants::Enum` in the current scope [INFO] [stdout] --> tests/derive.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 43 | enum Enum { [INFO] [stdout] | --------- method `validate_args` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 81 | / Enum::TwoFields("x".into(), 5) [INFO] [stdout] 82 | | .validate_args((100, false)) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `enum_different_variants::Enum` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for enum `enum_different_variants::Enum` in the current scope [INFO] [stdout] --> tests/derive.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 43 | enum Enum { [INFO] [stdout] | --------- method `validate_args` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 87 | / Enum::OneNamedField { first: "x".into() } [INFO] [stdout] 88 | | .validate_args((100, false)) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `enum_different_variants::Enum` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_args` found for enum `enum_different_variants::Enum` in the current scope [INFO] [stdout] --> tests/derive.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 43 | enum Enum { [INFO] [stdout] | --------- method `validate_args` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 93 | / Enum::TwoNamedFields { [INFO] [stdout] 94 | | first: "x".into(), [INFO] [stdout] 95 | | second: 5 [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | .validate_args((100, false)) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `enum_different_variants::Enum` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `validate_args`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `not_so_fast::ValidateArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `not-so-fast` (test "derive") due to 355 previous errors [INFO] running `Command { std: "docker" "inspect" "fbe6cac17c251c9e46adde49897d8c668087ac046278d597261bb26efe78c437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe6cac17c251c9e46adde49897d8c668087ac046278d597261bb26efe78c437", kill_on_drop: false }` [INFO] [stdout] fbe6cac17c251c9e46adde49897d8c668087ac046278d597261bb26efe78c437