uuid 1.2.2

A library to generate and parse UUIDs.
Documentation
error: invalid length: expected length 32 for simple format, found 0
 --> tests/ui/compile_fail/invalid_parse.rs:3:17
  |
3 | const _: Uuid = uuid!("");
  |                 ^^^^^^^^^
  |
  = note: this error originates in the macro `uuid` (in Nightly builds, run with -Z macro-backtrace for more info)

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `!` at 1
 --> tests/ui/compile_fail/invalid_parse.rs:4:24
  |
4 | const _: Uuid = uuid!("!");
  |                        ^

error: invalid group length in group 4: expected 12, found 13
 --> tests/ui/compile_fail/invalid_parse.rs:5:48
  |
5 | const _: Uuid = uuid!("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E45");
  |                                                ^^^^^^^^^^^^^

error: invalid group length in group 3: expected 4, found 3
 --> tests/ui/compile_fail/invalid_parse.rs:6:43
  |
6 | const _: Uuid = uuid!("F9168C5E-CEB2-4faa-BBF-329BF39FA1E4");
  |                                           ^^^

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `G` at 21
 --> tests/ui/compile_fail/invalid_parse.rs:7:44
  |
7 | const _: Uuid = uuid!("F9168C5E-CEB2-4faa-BGBF-329BF39FA1E4");
  |                                            ^

error: invalid group count: expected 5, found 4
 --> tests/ui/compile_fail/invalid_parse.rs:8:17
  |
8 | const _: Uuid = uuid!("F9168C5E-CEB2-4faa-B6BFF329BF39FA1E4");
  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `uuid` (in Nightly builds, run with -Z macro-backtrace for more info)

error: invalid group count: expected 5, found 3
 --> tests/ui/compile_fail/invalid_parse.rs:9:17
  |
9 | const _: Uuid = uuid!("F9168C5E-CEB2-4faa");
  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `uuid` (in Nightly builds, run with -Z macro-backtrace for more info)

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `X` at 19
  --> tests/ui/compile_fail/invalid_parse.rs:10:42
   |
10 | const _: Uuid = uuid!("F9168C5E-CEB2-4faaXB6BFF329BF39FA1E4");
   |                                          ^

error: invalid group length in group 1: expected 4, found 3
  --> tests/ui/compile_fail/invalid_parse.rs:11:33
   |
11 | const _: Uuid = uuid!("F9168C5E-CEB-24fa-eB6BFF32-BF39FA1E4");
   |                                 ^^^

error: invalid group length in group 4: expected 12, found 8
  --> tests/ui/compile_fail/invalid_parse.rs:12:48
   |
12 | const _: Uuid = uuid!("01020304-1112-2122-3132-41424344");
   |                                                ^^^^^^^^

error: invalid length: expected length 32 for simple format, found 33
  --> tests/ui/compile_fail/invalid_parse.rs:13:17
   |
13 | const _: Uuid = uuid!("67e5504410b1426f9247bb680e5fe0c88");
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `uuid` (in Nightly builds, run with -Z macro-backtrace for more info)

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `g` at 32
  --> tests/ui/compile_fail/invalid_parse.rs:14:55
   |
14 | const _: Uuid = uuid!("67e5504410b1426f9247bb680e5fe0cg8");
   |                                                       ^

error: invalid length: expected length 32 for simple format, found 31
  --> tests/ui/compile_fail/invalid_parse.rs:18:17
   |
18 | const _: Uuid = uuid!("67e5504410b1426f9247bb680e5fe0c");
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `uuid` (in Nightly builds, run with -Z macro-backtrace for more info)

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `X` at 7
  --> tests/ui/compile_fail/invalid_parse.rs:19:30
   |
19 | const _: Uuid = uuid!("67e550X410b1426f9247bb680e5fe0cd");
   |                              ^

error: invalid group count: expected 5, found 2
  --> tests/ui/compile_fail/invalid_parse.rs:20:17
   |
20 | const _: Uuid = uuid!("67e550-4105b1426f9247bb680e5fe0c");
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `uuid` (in Nightly builds, run with -Z macro-backtrace for more info)

error: invalid group length in group 3: expected 4, found 5
  --> tests/ui/compile_fail/invalid_parse.rs:21:43
   |
21 | const _: Uuid = uuid!("F9168C5E-CEB2-4faa-B6BF1-02BF39FA1E4");
   |                                           ^^^^^

error: invalid group length in group 3: expected 4, found 3
  --> tests/ui/compile_fail/invalid_parse.rs:24:43
   |
24 | const _: Uuid = uuid!("F9168C5E-CEB2-4faa-BBF-329BF39FA1E4");
   |                                           ^^^

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `G` at 21
  --> tests/ui/compile_fail/invalid_parse.rs:25:44
   |
25 | const _: Uuid = uuid!("F9168C5E-CEB2-4faa-BGBF-329BF39FA1E4");
   |                                            ^

error: invalid group length in group 4: expected 12, found 8
  --> tests/ui/compile_fail/invalid_parse.rs:26:48
   |
26 | const _: Uuid = uuid!("01020304-1112-2122-3132-41424344");
   |                                                ^^^^^^^^

error: invalid group count: expected 5, found 4
  --> tests/ui/compile_fail/invalid_parse.rs:27:17
   |
27 | const _: Uuid = uuid!("F9168C5E-CEB2-4faa-B6BFF329BF39FA1E4");
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `uuid` (in Nightly builds, run with -Z macro-backtrace for more info)

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `G` at 30
  --> tests/ui/compile_fail/invalid_parse.rs:28:53
   |
28 | const _: Uuid = uuid!("urn:uuid:F9168C5E-CEB2-4faa-BGBF-329BF39FA1E4");
   |                                                     ^

error: invalid group length in group 3: expected 4, found 5
  --> tests/ui/compile_fail/invalid_parse.rs:29:52
   |
29 | const _: Uuid = uuid!("urn:uuid:F9168C5E-CEB2-4faa-B2cBF-32BF39FA1E4");
   |                                                    ^^^^^

error: invalid group length in group 3: expected 4, found 5
  --> tests/ui/compile_fail/invalid_parse.rs:30:44
   |
30 | const _: Uuid = uuid!("{F9168C5E-CEB2-4faa-B0a75-32BF39FA1E4}");
   |                                            ^^^^^

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `z` at 30
  --> tests/ui/compile_fail/invalid_parse.rs:32:53
   |
32 | const _: Uuid = uuid!("{F9168C5E-CEB2-4faa-B6BF-329Bz39FA1E4}");
   |                                                     ^

error: invalid group count: expected 5, found 2
  --> tests/ui/compile_fail/invalid_parse.rs:35:17
   |
35 | const _: Uuid = uuid!("67e550-4105b1426f9247bb680e5fe0c");
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `uuid` (in Nightly builds, run with -Z macro-backtrace for more info)

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `岡` at 7
  --> tests/ui/compile_fail/invalid_parse.rs:37:30
   |
37 | const _: Uuid = uuid!("504410岡林aab1426f9247bb680e5fe0c8");
   |                              ^^

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `😎` at 7
  --> tests/ui/compile_fail/invalid_parse.rs:38:30
   |
38 | const _: Uuid = uuid!("504410😎👍aab1426f9247bb680e5fe0c8");
   |                              ^^

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `👍` at 21
  --> tests/ui/compile_fail/invalid_parse.rs:40:44
   |
40 | const _: Uuid = uuid!("{F9168C5E-CEB2-4faa-👍5-32BF39FA1E4}");
   |                                            ^^

error: invalid length: expected length 32 for simple format, found 4
  --> tests/ui/compile_fail/invalid_parse.rs:42:17
   |
42 | const _: Uuid = uuid!("F916");
   |                 ^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `uuid` (in Nightly builds, run with -Z macro-backtrace for more info)

error: invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-zA-Z], found `x` at 5
  --> tests/ui/compile_fail/invalid_parse.rs:43:28
   |
43 | const _: Uuid = uuid!("F916x");
   |                            ^