[INFO] crate proptest-derive 0.1.0 is already in cache [INFO] extracting crate proptest-derive 0.1.0 into work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/proptest-derive/0.1.0 [INFO] extracting crate proptest-derive 0.1.0 into work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/proptest-derive/0.1.0 [INFO] validating manifest of proptest-derive-0.1.0 on toolchain master#39401465da4ce27aeeb2c2a26133ac35c63aa515 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of proptest-derive-0.1.0 on toolchain try#f45cc3094ee337acd688771b9234318046b0572d [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing proptest-derive-0.1.0 [INFO] finished frobbing proptest-derive-0.1.0 [INFO] frobbed toml for proptest-derive-0.1.0 written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/reg/proptest-derive/0.1.0/Cargo.toml [INFO] started frobbing proptest-derive-0.1.0 [INFO] finished frobbing proptest-derive-0.1.0 [INFO] frobbed toml for proptest-derive-0.1.0 written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/proptest-derive/0.1.0/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking proptest-derive-0.1.0 against try#f45cc3094ee337acd688771b9234318046b0572d for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-0/try#f45cc3094ee337acd688771b9234318046b0572d:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/reg/proptest-derive/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d3cb648e83eecd562b8915844cce22481d66385e0d20be8ba72a3ce9932f4017 [INFO] running `"docker" "start" "-a" "d3cb648e83eecd562b8915844cce22481d66385e0d20be8ba72a3ce9932f4017"` [INFO] [stderr] Compiling compiletest_rs v0.3.22 [INFO] [stderr] Compiling proptest-derive v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Checking rustfix v0.4.5 [INFO] [stderr] Checking proptest v0.9.3 [INFO] [stderr] warning: unused doc comment [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:243:1 [INFO] [stderr] | [INFO] [stderr] 243 | / /// Happens when we've been asked to derive `Arbitrary` for a type [INFO] [stderr] 244 | | /// that is parametric over lifetimes. Since proptest does not support [INFO] [stderr] 245 | | /// such types (yet), neither can we. [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] 246 | / error!(has_lifetimes, E0001, [INFO] [stderr] 247 | | "Cannot derive `Arbitrary` for types with generic lifetimes, such as: \ [INFO] [stderr] 248 | | `struct Foo<'a> { bar: &'a str }`. Currently, strategies for such types \ [INFO] [stderr] 249 | | are impossible to define."); [INFO] [stderr] | |________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_doc_comments)] on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] --> src/error.rs:243:1 [INFO] [stderr] | [INFO] [stderr] 243 | / /// Happens when we've been asked to derive `Arbitrary` for a type [INFO] [stderr] 244 | | /// that is parametric over lifetimes. Since proptest does not support [INFO] [stderr] 245 | | /// such types (yet), neither can we. [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] 246 | / error!(has_lifetimes, E0001, [INFO] [stderr] 247 | | "Cannot derive `Arbitrary` for types with generic lifetimes, such as: \ [INFO] [stderr] 248 | | `struct Foo<'a> { bar: &'a str }`. Currently, strategies for such types \ [INFO] [stderr] 249 | | are impossible to define."); [INFO] [stderr] | |________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_doc_comments)] on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:251:1 [INFO] [stderr] | [INFO] [stderr] 251 | / /// Happens when we've been asked to derive `Arbitrary` for something [INFO] [stderr] 252 | | /// that is neither an enum nor a struct. Most likely, we've been given [INFO] [stderr] 253 | | /// a union type. This might be supported in the future, but not yet. [INFO] [stderr] | |_____________________________________________________________________^ [INFO] [stderr] 254 | / fatal!(not_struct_or_enum, E0002, [INFO] [stderr] 255 | | "Deriving is only possible for structs and enums. \ [INFO] [stderr] 256 | | It is currently not defined unions."); [INFO] [stderr] | |__________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:258:1 [INFO] [stderr] | [INFO] [stderr] 258 | / /// Happens when a struct has at least one field that is uninhabited. [INFO] [stderr] 259 | | /// There must at least exist one variant that we can construct. [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] 260 | / error!(uninhabited_struct, E0003, [INFO] [stderr] 261 | | "The struct you are deriving `Arbitrary` for is uninhabited since one of \ [INFO] [stderr] 262 | | its fields is uninhabited. An uninhabited type is by definition impossible \ [INFO] [stderr] 263 | | to generate."); [INFO] [stderr] | |___________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:265:1 [INFO] [stderr] | [INFO] [stderr] 265 | / /// Happens when an enum has zero variants. Such an enum is obviously [INFO] [stderr] 266 | | /// uninhabited and can not be constructed. There must at least exist [INFO] [stderr] 267 | | /// one variant that we can construct. [INFO] [stderr] | |______________________________________^ [INFO] [stderr] 268 | / fatal!(uninhabited_enum_with_no_variants, E0004, [INFO] [stderr] 269 | | "The enum you are deriving `Arbitrary` for is uninhabited since it has no \ [INFO] [stderr] 270 | | variants. An example of such an `enum` is: `enum Void {}`. \ [INFO] [stderr] 271 | | An uninhabited type is by definition impossible to generate."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:251:1 [INFO] [stderr] | [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:273:1 [INFO] [stderr] | [INFO] [stderr] 273 | / /// Happens when an enum is uninhabited due all its variants being [INFO] [stderr] 274 | | /// uninhabited (why has the user given us such a weird enum?.. [INFO] [stderr] 275 | | /// Nonetheless, we do our best to ensure soundness). [INFO] [stderr] 276 | | /// There must at least exist one variant that we can construct. [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] 277 | / fatal!(uninhabited_enum_variants_uninhabited, E0005, [INFO] [stderr] 278 | | "The enum you are deriving `Arbitrary` for is uninhabited since all its \ [INFO] [stderr] 279 | | variants are uninhabited. \ [INFO] [stderr] 280 | | An uninhabited type is by definition impossible to generate."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] 251 | / /// Happens when we've been asked to derive `Arbitrary` for something [INFO] [stderr] 252 | | /// that is neither an enum nor a struct. Most likely, we've been given [INFO] [stderr] 253 | | /// a union type. This might be supported in the future, but not yet. [INFO] [stderr] | |_____________________________________________________________________^ [INFO] [stderr] 254 | / fatal!(not_struct_or_enum, E0002, [INFO] [stderr] 255 | | "Deriving is only possible for structs and enums. \ [INFO] [stderr] 256 | | It is currently not defined unions."); [INFO] [stderr] | |__________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:258:1 [INFO] [stderr] | [INFO] [stderr] 258 | / /// Happens when a struct has at least one field that is uninhabited. [INFO] [stderr] 259 | | /// There must at least exist one variant that we can construct. [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] 260 | / error!(uninhabited_struct, E0003, [INFO] [stderr] 261 | | "The struct you are deriving `Arbitrary` for is uninhabited since one of \ [INFO] [stderr] 262 | | its fields is uninhabited. An uninhabited type is by definition impossible \ [INFO] [stderr] 263 | | to generate."); [INFO] [stderr] | |___________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:265:1 [INFO] [stderr] | [INFO] [stderr] 265 | / /// Happens when an enum has zero variants. Such an enum is obviously [INFO] [stderr] 266 | | /// uninhabited and can not be constructed. There must at least exist [INFO] [stderr] 267 | | /// one variant that we can construct. [INFO] [stderr] | |______________________________________^ [INFO] [stderr] 268 | / fatal!(uninhabited_enum_with_no_variants, E0004, [INFO] [stderr] 269 | | "The enum you are deriving `Arbitrary` for is uninhabited since it has no \ [INFO] [stderr] 270 | | variants. An example of such an `enum` is: `enum Void {}`. \ [INFO] [stderr] 271 | | An uninhabited type is by definition impossible to generate."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:273:1 [INFO] [stderr] | [INFO] [stderr] 273 | / /// Happens when an enum is uninhabited due all its variants being [INFO] [stderr] 274 | | /// uninhabited (why has the user given us such a weird enum?.. [INFO] [stderr] 275 | | /// Nonetheless, we do our best to ensure soundness). [INFO] [stderr] 276 | | /// There must at least exist one variant that we can construct. [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] 277 | / fatal!(uninhabited_enum_variants_uninhabited, E0005, [INFO] [stderr] 278 | | "The enum you are deriving `Arbitrary` for is uninhabited since all its \ [INFO] [stderr] 279 | | variants are uninhabited. \ [INFO] [stderr] 280 | | An uninhabited type is by definition impossible to generate."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:282:1 [INFO] [stderr] | [INFO] [stderr] 282 | / /// Happens when an enum becomes effectively uninhabited due [INFO] [stderr] 283 | | /// to all inhabited variants having been skipped. There must [INFO] [stderr] 284 | | /// at least exist one variant that we can construct. [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] 285 | / error!(uninhabited_enum_because_of_skipped_variants, E0006, [INFO] [stderr] 286 | | "The enum you are deriving `Arbitrary` for is uninhabited for all intents \ [INFO] [stderr] 287 | | and purposes since you have `#[proptest(skip)]`ed all inhabited variants. \ [INFO] [stderr] 288 | | An uninhabited type is by definition impossible to generate."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:290:1 [INFO] [stderr] | [INFO] [stderr] 290 | / /// Happens when `#[proptest(strategy = "")]` or [INFO] [stderr] 291 | | /// `#[proptest(value = "")]` is specified on an `item` [INFO] [stderr] 292 | | /// that does not support setting an explicit value or strategy. [INFO] [stderr] 293 | | /// An enum or struct does not support that. [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] 294 | / error!(illegal_strategy(attr: &str, item: &str), E0007, [INFO] [stderr] 295 | | "`#[proptest({0} = \"\")]` is not allowed on {1}. Only struct fields, \ [INFO] [stderr] 296 | | enum variants and fields inside those can use an explicit {0}.", [INFO] [stderr] 297 | | attr, item); [INFO] [stderr] | |________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:299:1 [INFO] [stderr] | [INFO] [stderr] 299 | / /// Happens when `#[proptest(regex = "")]` is specified on an `item` [INFO] [stderr] 300 | | /// that does not support setting an explicit value or strategy. [INFO] [stderr] 301 | | /// See `illegal_strategy` for more. [INFO] [stderr] | |____________________________________^ [INFO] [stderr] 302 | / error!(illegal_regex(item: &str), E0007, [INFO] [stderr] 303 | | "`#[proptest(regex = \"\")]` is not allowed on {0}. Only struct \ [INFO] [stderr] 304 | | fields, enum variant fields can use an explicit regex.", [INFO] [stderr] 305 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:307:1 [INFO] [stderr] | [INFO] [stderr] 307 | / /// Happens when `#[proptest(skip)]` is specified on an `item` that does [INFO] [stderr] 308 | | /// not support skipping. Only enum variants support skipping. [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] 309 | / error!(illegal_skip(item: &str), E0008, [INFO] [stderr] 310 | | "A {} can't be `#[proptest(skip)]`ed, only enum variants can be skipped.", [INFO] [stderr] 311 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:313:1 [INFO] [stderr] | [INFO] [stderr] 313 | / /// Happens when `#[proptest(weight = )]` is specified on an [INFO] [stderr] 314 | | /// `item` that does not support weighting. [INFO] [stderr] | |___________________________________________^ [INFO] [stderr] 315 | / error!(illegal_weight(item: &str), E0009, [INFO] [stderr] 316 | | "`#[proptest(weight = )]` is not allowed on {} as it is \ [INFO] [stderr] 317 | | meaningless. Only enum variants can be assigned weights.", [INFO] [stderr] 318 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:320:1 [INFO] [stderr] | [INFO] [stderr] 320 | / /// Happens when `#[proptest(params = )]` is set on `item` [INFO] [stderr] 321 | | /// but also on the parent of `item`. If the parent has set `params` [INFO] [stderr] 322 | | /// then that applies, and the `params` on `item` would be meaningless [INFO] [stderr] 323 | | /// wherefore it is forbidden. [INFO] [stderr] | |______________________________^ [INFO] [stderr] 324 | / error!(parent_has_param(item: &str), E0010, [INFO] [stderr] 325 | | "Cannot set the associated type `Parameters` of `Arbitrary` with either \ [INFO] [stderr] 326 | | `#[proptest(no_params)]` or `#[proptest(params()]` on {} since it \ [INFO] [stderr] 327 | | was set on the parent.", [INFO] [stderr] 328 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:330:1 [INFO] [stderr] | [INFO] [stderr] 330 | / /// Happens when `#[proptest(params = )]` is set on `item` [INFO] [stderr] 331 | | /// but not `#[proptest(strategy = )]`. [INFO] [stderr] 332 | | /// This does not apply to the top level type declaration. [INFO] [stderr] | |__________________________________________________________^ [INFO] [stderr] 333 | / fatal!(cant_set_param_but_not_strat(self_ty: &syn::Type, item: &str), E0011, [INFO] [stderr] 334 | | "Cannot set `#[proptest(params = )]` on {0} while not providing a \ [INFO] [stderr] 335 | | strategy for the {0} to use it since `<{1} as Arbitrary<'a>>::Strategy` \ [INFO] [stderr] 336 | | may require a different type than the one provided in ``.", [INFO] [stderr] 337 | | item, quote! { #self_ty }); [INFO] [stderr] | |_______________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:339:1 [INFO] [stderr] | [INFO] [stderr] 339 | / /// Happens when `#[proptest(filter = "")]` is set on `item`, [INFO] [stderr] 340 | | /// but the parent of the `item` explicitly specifies a value or strategy, [INFO] [stderr] 341 | | /// which would cause the value to be generated without consulting the [INFO] [stderr] 342 | | /// `filter`. [INFO] [stderr] | |_____________^ [INFO] [stderr] 343 | / error!(meaningless_filter(item: &str), E0012, [INFO] [stderr] 344 | | "Cannot set `#[proptest(filter = )]` on {} since it is set on the \ [INFO] [stderr] 345 | | item which it is inside of that outer item specifies how to generate \ [INFO] [stderr] 346 | | itself.", [INFO] [stderr] 347 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | / /// Happens when the form `#![proptest<..>]` is used. This will probably never [INFO] [stderr] 350 | | /// happen - but just in case it does, we catch it and emit an error. [INFO] [stderr] | |_____________________________________________________________________^ [INFO] [stderr] 351 | / error!(inner_attr, E0013, [INFO] [stderr] 352 | | "Inner attributes `#![proptest(..)]` are not currently supported."); [INFO] [stderr] | |________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:354:1 [INFO] [stderr] | [INFO] [stderr] 354 | / /// Happens when the form `#[proptest]` is used. The form contains no [INFO] [stderr] 355 | | /// information for us to process, so we disallow it. [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] 356 | / error!(bare_proptest_attr, E0014, [INFO] [stderr] 357 | | "Bare `#[proptest]` attributes are not allowed."); [INFO] [stderr] | |______________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:359:1 [INFO] [stderr] | [INFO] [stderr] 359 | / /// Happens when the form `#[proptest = )]` is used. [INFO] [stderr] 360 | | /// Only the form `#[proptest()]` is supported. [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] 361 | / error!(literal_set_proptest, E0015, [INFO] [stderr] 362 | | "The attribute form `#[proptest = ]` is not allowed."); [INFO] [stderr] | |____________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:364:1 [INFO] [stderr] | [INFO] [stderr] 364 | / /// Happens when `` in `#[proptest()]` is a literal and [INFO] [stderr] 365 | | /// not a real modifier. [INFO] [stderr] | |________________________^ [INFO] [stderr] 366 | / error!(immediate_literals, E0016, [INFO] [stderr] 367 | | "Literals immediately inside `#[proptest(..)]` as in \ [INFO] [stderr] 368 | | `#[proptest(, ..)]` are not allowed."); [INFO] [stderr] | |________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:370:1 [INFO] [stderr] | [INFO] [stderr] 370 | / /// Happens when `` in `#[proptest()]` is set more than [INFO] [stderr] 371 | | /// once. [INFO] [stderr] | |_________^ [INFO] [stderr] 372 | / error!(set_again(meta: &syn::Meta), E0017, [INFO] [stderr] 373 | | "The attribute modifier `{}` inside `#[proptest(..)]` has already been \ [INFO] [stderr] 374 | | set. To fix the error, please remove at least one such modifier.", [INFO] [stderr] 375 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:377:1 [INFO] [stderr] | [INFO] [stderr] 377 | / /// Happens when `` in `#[proptest()]` is unknown to [INFO] [stderr] 378 | | /// us but we can make an educated guess as to what the user meant. [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] 379 | / error!(did_you_mean(found: &str, expected: &str), E0018, [INFO] [stderr] 380 | | "Unknown attribute modifier `{}` inside #[proptest(..)] is not allowed. \ [INFO] [stderr] 381 | | Did you mean to use `{}` instead?", [INFO] [stderr] 382 | | found, expected); [INFO] [stderr] | |_____________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:384:1 [INFO] [stderr] | [INFO] [stderr] 384 | /// Happens when `` in `#[proptest()]` is unknown to us. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 385 | / error!(unkown_modifier(modifier: &str), E0018, [INFO] [stderr] 386 | | "Unknown attribute modifier `{}` inside `#[proptest(..)]` is not allowed.", [INFO] [stderr] 387 | | modifier); [INFO] [stderr] | |______________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:389:1 [INFO] [stderr] | [INFO] [stderr] 389 | /// Happens when `#[proptest(no_params)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 390 | / error!(no_params_malformed, E0019, [INFO] [stderr] 391 | | "The attribute modifier `no_params` inside `#[proptest(..)]` does not \ [INFO] [stderr] 392 | | support any further configuration and must be a plain modifier as in \ [INFO] [stderr] 393 | | `#[proptest(no_params)]`."); [INFO] [stderr] | |________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:282:1 [INFO] [stderr] | [INFO] [stderr] 282 | / /// Happens when an enum becomes effectively uninhabited due [INFO] [stderr] 283 | | /// to all inhabited variants having been skipped. There must [INFO] [stderr] 284 | | /// at least exist one variant that we can construct. [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] 285 | / error!(uninhabited_enum_because_of_skipped_variants, E0006, [INFO] [stderr] 286 | | "The enum you are deriving `Arbitrary` for is uninhabited for all intents \ [INFO] [stderr] 287 | | and purposes since you have `#[proptest(skip)]`ed all inhabited variants. \ [INFO] [stderr] 288 | | An uninhabited type is by definition impossible to generate."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:290:1 [INFO] [stderr] | [INFO] [stderr] 290 | / /// Happens when `#[proptest(strategy = "")]` or [INFO] [stderr] 291 | | /// `#[proptest(value = "")]` is specified on an `item` [INFO] [stderr] 292 | | /// that does not support setting an explicit value or strategy. [INFO] [stderr] 293 | | /// An enum or struct does not support that. [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] 294 | / error!(illegal_strategy(attr: &str, item: &str), E0007, [INFO] [stderr] 295 | | "`#[proptest({0} = \"\")]` is not allowed on {1}. Only struct fields, \ [INFO] [stderr] 296 | | enum variants and fields inside those can use an explicit {0}.", [INFO] [stderr] 297 | | attr, item); [INFO] [stderr] | |________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:299:1 [INFO] [stderr] | [INFO] [stderr] 299 | / /// Happens when `#[proptest(regex = "")]` is specified on an `item` [INFO] [stderr] 300 | | /// that does not support setting an explicit value or strategy. [INFO] [stderr] 301 | | /// See `illegal_strategy` for more. [INFO] [stderr] | |____________________________________^ [INFO] [stderr] 302 | / error!(illegal_regex(item: &str), E0007, [INFO] [stderr] 303 | | "`#[proptest(regex = \"\")]` is not allowed on {0}. Only struct \ [INFO] [stderr] 304 | | fields, enum variant fields can use an explicit regex.", [INFO] [stderr] 305 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:307:1 [INFO] [stderr] | [INFO] [stderr] 307 | / /// Happens when `#[proptest(skip)]` is specified on an `item` that does [INFO] [stderr] 308 | | /// not support skipping. Only enum variants support skipping. [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] 309 | / error!(illegal_skip(item: &str), E0008, [INFO] [stderr] 310 | | "A {} can't be `#[proptest(skip)]`ed, only enum variants can be skipped.", [INFO] [stderr] 311 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:313:1 [INFO] [stderr] | [INFO] [stderr] 313 | / /// Happens when `#[proptest(weight = )]` is specified on an [INFO] [stderr] 314 | | /// `item` that does not support weighting. [INFO] [stderr] | |___________________________________________^ [INFO] [stderr] 315 | / error!(illegal_weight(item: &str), E0009, [INFO] [stderr] 316 | | "`#[proptest(weight = )]` is not allowed on {} as it is \ [INFO] [stderr] 317 | | meaningless. Only enum variants can be assigned weights.", [INFO] [stderr] 318 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:320:1 [INFO] [stderr] | [INFO] [stderr] 320 | / /// Happens when `#[proptest(params = )]` is set on `item` [INFO] [stderr] 321 | | /// but also on the parent of `item`. If the parent has set `params` [INFO] [stderr] 322 | | /// then that applies, and the `params` on `item` would be meaningless [INFO] [stderr] 323 | | /// wherefore it is forbidden. [INFO] [stderr] | |______________________________^ [INFO] [stderr] 324 | / error!(parent_has_param(item: &str), E0010, [INFO] [stderr] 325 | | "Cannot set the associated type `Parameters` of `Arbitrary` with either \ [INFO] [stderr] 326 | | `#[proptest(no_params)]` or `#[proptest(params()]` on {} since it \ [INFO] [stderr] 327 | | was set on the parent.", [INFO] [stderr] 328 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:330:1 [INFO] [stderr] | [INFO] [stderr] 330 | / /// Happens when `#[proptest(params = )]` is set on `item` [INFO] [stderr] 331 | | /// but not `#[proptest(strategy = )]`. [INFO] [stderr] 332 | | /// This does not apply to the top level type declaration. [INFO] [stderr] | |__________________________________________________________^ [INFO] [stderr] 333 | / fatal!(cant_set_param_but_not_strat(self_ty: &syn::Type, item: &str), E0011, [INFO] [stderr] 334 | | "Cannot set `#[proptest(params = )]` on {0} while not providing a \ [INFO] [stderr] 335 | | strategy for the {0} to use it since `<{1} as Arbitrary<'a>>::Strategy` \ [INFO] [stderr] 336 | | may require a different type than the one provided in ``.", [INFO] [stderr] 337 | | item, quote! { #self_ty }); [INFO] [stderr] | |_______________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:339:1 [INFO] [stderr] | [INFO] [stderr] 339 | / /// Happens when `#[proptest(filter = "")]` is set on `item`, [INFO] [stderr] 340 | | /// but the parent of the `item` explicitly specifies a value or strategy, [INFO] [stderr] 341 | | /// which would cause the value to be generated without consulting the [INFO] [stderr] 342 | | /// `filter`. [INFO] [stderr] | |_____________^ [INFO] [stderr] 343 | / error!(meaningless_filter(item: &str), E0012, [INFO] [stderr] 344 | | "Cannot set `#[proptest(filter = )]` on {} since it is set on the \ [INFO] [stderr] 345 | | item which it is inside of that outer item specifies how to generate \ [INFO] [stderr] 346 | | itself.", [INFO] [stderr] 347 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | / /// Happens when the form `#![proptest<..>]` is used. This will probably never [INFO] [stderr] 350 | | /// happen - but just in case it does, we catch it and emit an error. [INFO] [stderr] | |_____________________________________________________________________^ [INFO] [stderr] 351 | / error!(inner_attr, E0013, [INFO] [stderr] 352 | | "Inner attributes `#![proptest(..)]` are not currently supported."); [INFO] [stderr] | |________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:354:1 [INFO] [stderr] | [INFO] [stderr] 354 | / /// Happens when the form `#[proptest]` is used. The form contains no [INFO] [stderr] 355 | | /// information for us to process, so we disallow it. [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] 356 | / error!(bare_proptest_attr, E0014, [INFO] [stderr] 357 | | "Bare `#[proptest]` attributes are not allowed."); [INFO] [stderr] | |______________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:359:1 [INFO] [stderr] | [INFO] [stderr] 359 | / /// Happens when the form `#[proptest = )]` is used. [INFO] [stderr] 360 | | /// Only the form `#[proptest()]` is supported. [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] 361 | / error!(literal_set_proptest, E0015, [INFO] [stderr] 362 | | "The attribute form `#[proptest = ]` is not allowed."); [INFO] [stderr] | |____________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:364:1 [INFO] [stderr] | [INFO] [stderr] 364 | / /// Happens when `` in `#[proptest()]` is a literal and [INFO] [stderr] 365 | | /// not a real modifier. [INFO] [stderr] | |________________________^ [INFO] [stderr] 366 | / error!(immediate_literals, E0016, [INFO] [stderr] 367 | | "Literals immediately inside `#[proptest(..)]` as in \ [INFO] [stderr] 368 | | `#[proptest(, ..)]` are not allowed."); [INFO] [stderr] | |________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:370:1 [INFO] [stderr] | [INFO] [stderr] 370 | / /// Happens when `` in `#[proptest()]` is set more than [INFO] [stderr] 371 | | /// once. [INFO] [stderr] | |_________^ [INFO] [stderr] 372 | / error!(set_again(meta: &syn::Meta), E0017, [INFO] [stderr] 373 | | "The attribute modifier `{}` inside `#[proptest(..)]` has already been \ [INFO] [stderr] 374 | | set. To fix the error, please remove at least one such modifier.", [INFO] [stderr] 375 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:377:1 [INFO] [stderr] | [INFO] [stderr] 377 | / /// Happens when `` in `#[proptest()]` is unknown to [INFO] [stderr] 378 | | /// us but we can make an educated guess as to what the user meant. [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] 379 | / error!(did_you_mean(found: &str, expected: &str), E0018, [INFO] [stderr] 380 | | "Unknown attribute modifier `{}` inside #[proptest(..)] is not allowed. \ [INFO] [stderr] 381 | | Did you mean to use `{}` instead?", [INFO] [stderr] 382 | | found, expected); [INFO] [stderr] | |_____________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:384:1 [INFO] [stderr] | [INFO] [stderr] 384 | /// Happens when `` in `#[proptest()]` is unknown to us. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 385 | / error!(unkown_modifier(modifier: &str), E0018, [INFO] [stderr] 386 | | "Unknown attribute modifier `{}` inside `#[proptest(..)]` is not allowed.", [INFO] [stderr] 387 | | modifier); [INFO] [stderr] | |______________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:389:1 [INFO] [stderr] | [INFO] [stderr] 389 | /// Happens when `#[proptest(no_params)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 390 | / error!(no_params_malformed, E0019, [INFO] [stderr] 391 | | "The attribute modifier `no_params` inside `#[proptest(..)]` does not \ [INFO] [stderr] 392 | | support any further configuration and must be a plain modifier as in \ [INFO] [stderr] 393 | | `#[proptest(no_params)]`."); [INFO] [stderr] | |________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:395:1 [INFO] [stderr] | [INFO] [stderr] 395 | /// Happens when `#[proptest(skip)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 396 | / error!(skip_malformed, E0020, [INFO] [stderr] 397 | | "The attribute modifier `skip` inside `#[proptest(..)]` does not support \ [INFO] [stderr] 398 | | any further configuration and must be a plain modifier as in \ [INFO] [stderr] 399 | | `#[proptest(skip)]`."); [INFO] [stderr] | |___________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:401:1 [INFO] [stderr] | [INFO] [stderr] 401 | /// Happens when `#[proptest(weight..)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 402 | / error!(weight_malformed(meta: &syn::Meta), E0021, [INFO] [stderr] 403 | | "The attribute modifier `{0}` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 404 | | format `#[proptest({0} = )]` where `` is an integer that \ [INFO] [stderr] 405 | | fits within a `u32`. An example: `#[proptest({0} = 2)]` to set a relative \ [INFO] [stderr] 406 | | weight of 2.", [INFO] [stderr] 407 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:409:1 [INFO] [stderr] | [INFO] [stderr] 409 | / /// Happens when both `#[proptest(params = "")]` and [INFO] [stderr] 410 | | /// `#[proptest(no_params)]` were specified. They are mutually [INFO] [stderr] 411 | | /// exclusive choices. The user can resolve this by picking one. [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] 412 | / fatal!(overspecified_param, E0022, [INFO] [stderr] 413 | | "Cannot set `#[proptest(no_params)]` as well as \ [INFO] [stderr] 414 | | `#[proptest(params())]` simultaneously. \ [INFO] [stderr] 415 | | Please pick one of these attributes."); [INFO] [stderr] | |___________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:417:1 [INFO] [stderr] | [INFO] [stderr] 417 | / /// This happens when `#[proptest(params..)]` is malformed. [INFO] [stderr] 418 | | /// For example, `#[proptest(params)]` is malformed. Another example is when [INFO] [stderr] 419 | | /// `` inside `#[proptest(params = "")]` or [INFO] [stderr] 420 | | /// `#[proptest(params(""))]` is malformed. In other words, `` is [INFO] [stderr] 421 | | /// not a valid Rust type. Note that `syn` may not cover all valid Rust types. [INFO] [stderr] | |______________________________________________________________________________^ [INFO] [stderr] 422 | / error!(param_malformed, E0023, [INFO] [stderr] 423 | | "The attribute modifier `params` inside #[proptest(..)] must have the \ [INFO] [stderr] 424 | | format `#[proptest(params = \"\")]` where `` is a valid type \ [INFO] [stderr] 425 | | in Rust. An example: `#[proptest(params = \"ComplexType\")]`."); [INFO] [stderr] | |_________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:427:1 [INFO] [stderr] | [INFO] [stderr] 427 | /// Happens when syn can't interpret in `#[proptest ]`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 428 | / error!(no_interp_meta, E0024, [INFO] [stderr] 429 | | "The tokens `` in #[proptest ] do not make for a valid attribute."); [INFO] [stderr] | |__________________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:431:1 [INFO] [stderr] | [INFO] [stderr] 431 | / /// Happens when more than one of `#[proptest(strategy..)]`, [INFO] [stderr] 432 | | /// `#[proptest(value..)]`, or `#[proptest(regex..)]` were specified. [INFO] [stderr] 433 | | /// They are mutually exclusive choices. [INFO] [stderr] 434 | | /// The user can resolve this by picking one. [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 435 | / fatal!(overspecified_strat, E0025, [INFO] [stderr] 436 | | "Cannot set more than one of `#[proptest(value = \"\")]`, [INFO] [stderr] 437 | | `#[proptest(strategy = \"\")]`, `#[proptest(regex = \"\")]` \ [INFO] [stderr] 438 | | simultaneously. Please pick one of these attributes."); [INFO] [stderr] | |___________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] warning: unused doc comment [INFO] [stderr] [INFO] [stderr] --> src/error.rs:395:1 [INFO] [stderr] | [INFO] [stderr] 395 | /// Happens when `#[proptest(skip)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 396 | / error!(skip_malformed, E0020, [INFO] [stderr] 397 | | "The attribute modifier `skip` inside `#[proptest(..)]` does not support \ [INFO] [stderr] 398 | | any further configuration and must be a plain modifier as in \ [INFO] [stderr] 399 | | `#[proptest(skip)]`."); [INFO] [stderr] | |___________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:401:1 [INFO] [stderr] | [INFO] [stderr] 401 | /// Happens when `#[proptest(weight..)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 402 | / error!(weight_malformed(meta: &syn::Meta), E0021, [INFO] [stderr] 403 | | "The attribute modifier `{0}` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 404 | | format `#[proptest({0} = )]` where `` is an integer that \ [INFO] [stderr] 405 | | fits within a `u32`. An example: `#[proptest({0} = 2)]` to set a relative \ [INFO] [stderr] 406 | | weight of 2.", [INFO] [stderr] 407 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:409:1 [INFO] [stderr] | [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:440:1 [INFO] [stderr] | [INFO] [stderr] 440 | / /// Happens when `#[proptest(strategy..)]` or `#[proptest(value..)]` is [INFO] [stderr] 441 | | /// malformed. For example, `` inside `#[proptest(strategy = "")]` [INFO] [stderr] 442 | | /// or `#[proptest(value = "")]` is malformed. In other words, `` [INFO] [stderr] 443 | | /// is not a valid Rust expression. [INFO] [stderr] | |___________________________________^ [INFO] [stderr] 444 | / error!(strategy_malformed(meta: &syn::Meta), E0026, [INFO] [stderr] 445 | | "The attribute modifier `{0}` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 446 | | format `#[proptest({0} = \"\")]` where `` is a valid Rust \ [INFO] [stderr] 447 | | expression.", [INFO] [stderr] 448 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] 409 | / /// Happens when both `#[proptest(params = "")]` and [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] 410 | | /// `#[proptest(no_params)]` were specified. They are mutually [INFO] [stderr] 411 | | /// exclusive choices. The user can resolve this by picking one. [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] 412 | / fatal!(overspecified_param, E0022, [INFO] [stderr] 413 | | "Cannot set `#[proptest(no_params)]` as well as \ [INFO] [stderr] 414 | | `#[proptest(params())]` simultaneously. \ [INFO] [stderr] 415 | | Please pick one of these attributes."); [INFO] [stderr] | |___________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:417:1 [INFO] [stderr] | [INFO] [stderr] 417 | / /// This happens when `#[proptest(params..)]` is malformed. [INFO] [stderr] 418 | | /// For example, `#[proptest(params)]` is malformed. Another example is when [INFO] [stderr] 419 | | /// `` inside `#[proptest(params = "")]` or [INFO] [stderr] 420 | | /// `#[proptest(params(""))]` is malformed. In other words, `` is [INFO] [stderr] 421 | | /// not a valid Rust type. Note that `syn` may not cover all valid Rust types. [INFO] [stderr] | |______________________________________________________________________________^ [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:450:1 [INFO] [stderr] | [INFO] [stderr] 450 | / /// Happens when `#[proptest(filter..)]` is malformed. [INFO] [stderr] 451 | | /// For example, `` inside `#[proptest(filter = "")]` or [INFO] [stderr] 452 | | /// is malformed. In other words, `` is not a valid Rust expression. [INFO] [stderr] | |__________________________________________________________________________^ [INFO] [stderr] 453 | / error!(filter_malformed(meta: &syn::Meta), E0027, [INFO] [stderr] 454 | | "The attribute modifier `{0}` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 455 | | format `#[proptest({0} = \"\")]` where `` is a valid Rust \ [INFO] [stderr] 456 | | expression.", [INFO] [stderr] 457 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] 422 | / error!(param_malformed, E0023, [INFO] [stderr] 423 | | "The attribute modifier `params` inside #[proptest(..)] must have the \ [INFO] [stderr] 424 | | format `#[proptest(params = \"\")]` where `` is a valid type \ [INFO] [stderr] 425 | | in Rust. An example: `#[proptest(params = \"ComplexType\")]`."); [INFO] [stderr] | |_________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:427:1 [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] 427 | /// Happens when syn can't interpret in `#[proptest ]`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 428 | / error!(no_interp_meta, E0024, [INFO] [stderr] 429 | | "The tokens `` in #[proptest ] do not make for a valid attribute."); [INFO] [stderr] | |__________________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:431:1 [INFO] [stderr] | [INFO] [stderr] 431 | / /// Happens when more than one of `#[proptest(strategy..)]`, [INFO] [stderr] 432 | | /// `#[proptest(value..)]`, or `#[proptest(regex..)]` were specified. [INFO] [stderr] 433 | | /// They are mutually exclusive choices. [INFO] [stderr] 434 | | /// The user can resolve this by picking one. [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 435 | / fatal!(overspecified_strat, E0025, [INFO] [stderr] 436 | | "Cannot set more than one of `#[proptest(value = \"\")]`, [INFO] [stderr] 437 | | `#[proptest(strategy = \"\")]`, `#[proptest(regex = \"\")]` \ [INFO] [stderr] 438 | | simultaneously. Please pick one of these attributes."); [INFO] [stderr] | |___________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:440:1 [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] 440 | / /// Happens when `#[proptest(strategy..)]` or `#[proptest(value..)]` is [INFO] [stderr] 441 | | /// malformed. For example, `` inside `#[proptest(strategy = "")]` [INFO] [stderr] 442 | | /// or `#[proptest(value = "")]` is malformed. In other words, `` [INFO] [stderr] 443 | | /// is not a valid Rust expression. [INFO] [stderr] | |___________________________________^ [INFO] [stderr] 444 | / error!(strategy_malformed(meta: &syn::Meta), E0026, [INFO] [stderr] 445 | | "The attribute modifier `{0}` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 446 | | format `#[proptest({0} = \"\")]` where `` is a valid Rust \ [INFO] [stderr] 447 | | expression.", [INFO] [stderr] 448 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:459:1 [INFO] [stderr] | [INFO] [stderr] 459 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 460 | | /// to the user so that they are aware. [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] 461 | / error!(skipped_variant_has_weight(item: &str), E0028, [INFO] [stderr] 462 | | "A variant has been skipped. Setting `#[proptest(weight = )]` on \ [INFO] [stderr] 463 | | the {} is meaningless and is not allowed.", [INFO] [stderr] 464 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] warning: unused doc comment [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] --> src/error.rs:450:1 [INFO] [stderr] | [INFO] [stderr] 450 | / /// Happens when `#[proptest(filter..)]` is malformed. [INFO] [stderr] 451 | | /// For example, `` inside `#[proptest(filter = "")]` or [INFO] [stderr] 452 | | /// is malformed. In other words, `` is not a valid Rust expression. [INFO] [stderr] | |__________________________________________________________________________^ [INFO] [stderr] 453 | / error!(filter_malformed(meta: &syn::Meta), E0027, [INFO] [stderr] 454 | | "The attribute modifier `{0}` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 455 | | format `#[proptest({0} = \"\")]` where `` is a valid Rust \ [INFO] [stderr] 456 | | expression.", [INFO] [stderr] [INFO] [stderr] 457 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:459:1 [INFO] [stderr] | [INFO] [stderr] 459 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 460 | | /// to the user so that they are aware. [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] 461 | / error!(skipped_variant_has_weight(item: &str), E0028, [INFO] [stderr] 462 | | "A variant has been skipped. Setting `#[proptest(weight = )]` on \ [INFO] [stderr] 463 | | the {} is meaningless and is not allowed.", [INFO] [stderr] 464 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:466:1 [INFO] [stderr] | [INFO] [stderr] 466 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 467 | | /// to the user so that they are aware. [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] 468 | / error!(skipped_variant_has_param(item: &str), E0028, [INFO] [stderr] 469 | | "A variant has been skipped. Setting `#[proptest(no_param)]` or \ [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:466:1 [INFO] [stderr] | [INFO] [stderr] 466 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 467 | | /// to the user so that they are aware. [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] 468 | / error!(skipped_variant_has_param(item: &str), E0028, [INFO] [stderr] 469 | | "A variant has been skipped. Setting `#[proptest(no_param)]` or \ [INFO] [stderr] 470 | | `#[proptest(params())]` on the {} is meaningless and is not allowed.", [INFO] [stderr] 471 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] 470 | | `#[proptest(params())]` on the {} is meaningless and is not allowed.", [INFO] [stderr] 471 | | item); [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:473:1 [INFO] [stderr] | [INFO] [stderr] 473 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 474 | | /// to the user so that they are aware. [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:473:1 [INFO] [stderr] | [INFO] [stderr] 473 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 474 | | /// to the user so that they are aware. [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] 475 | / error!(skipped_variant_has_strat(item: &str), E0028, [INFO] [stderr] 476 | | "A variant has been skipped. Setting `#[proptest(value = \"\")]` or \ [INFO] [stderr] 477 | | `#[proptest(strategy = \"\")]` on the {} is meaningless and is not \ [INFO] [stderr] 478 | | allowed.", [INFO] [stderr] 479 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] 475 | / error!(skipped_variant_has_strat(item: &str), E0028, [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] 476 | | "A variant has been skipped. Setting `#[proptest(value = \"\")]` or \ [INFO] [stderr] 477 | | `#[proptest(strategy = \"\")]` on the {} is meaningless and is not \ [INFO] [stderr] 478 | | allowed.", [INFO] [stderr] 479 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:481:1 [INFO] [stderr] | [INFO] [stderr] 481 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 482 | | /// to the user so that they are aware. Unfortunately, there's no way to [INFO] [stderr] 483 | | /// emit a warning to the user, so we emit an error instead. [INFO] [stderr] | |____________________________________________________________^ [INFO] [stderr] 484 | / error!(skipped_variant_has_filter(item: &str), E0028, [INFO] [stderr] 485 | | "A variant has been skipped. Setting `#[proptest(filter = \"\")]` or \ [INFO] [stderr] 486 | | on the {} is meaningless and is not allowed.", [INFO] [stderr] 487 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:481:1 [INFO] [stderr] | [INFO] [stderr] 481 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 482 | | /// to the user so that they are aware. Unfortunately, there's no way to [INFO] [stderr] 483 | | /// emit a warning to the user, so we emit an error instead. [INFO] [stderr] | [INFO] [stderr] | |____________________________________________________________^ [INFO] [stderr] 484 | / error!(skipped_variant_has_filter(item: &str), E0028, [INFO] [stderr] 485 | | "A variant has been skipped. Setting `#[proptest(filter = \"\")]` or \ [INFO] [stderr] 486 | | on the {} is meaningless and is not allowed.", [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] 487 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:489:1 [INFO] [stderr] | [INFO] [stderr] 489 | / /// There's only one way to produce a specific unit variant, so setting [INFO] [stderr] 490 | | /// `#[proptest(strategy = "")]` or `#[proptest(value = "")]` [INFO] [stderr] 491 | | /// would be pointless. [INFO] [stderr] | |_______________________^ [INFO] [stderr] 492 | / error!(strategy_on_unit_variant(what: &str), E0029, [INFO] [stderr] 493 | | "Setting `#[proptest({0} = \"\")]` on a unit variant has no effect \ [INFO] [stderr] 494 | | and is redundant because there is nothing to configure.", [INFO] [stderr] 495 | | what); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:497:1 [INFO] [stderr] | [INFO] [stderr] 497 | /// See `strategy_on_unit_variant`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 498 | / error!(regex_on_unit_variant, E0029, [INFO] [stderr] 499 | | "Setting `#[proptest(regex = \"\")]` on a unit variant has no effect \ [INFO] [stderr] 500 | | and is redundant because there is nothing to configure."); [INFO] [stderr] | |______________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:502:1 [INFO] [stderr] | [INFO] [stderr] 502 | / /// There's only one way to produce a specific unit variant, so setting [INFO] [stderr] 503 | | /// `#[proptest(params = "")]` would be pointless. [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] 504 | / error!(params_on_unit_variant, E0029, [INFO] [stderr] 505 | | "Setting `#[proptest(params = \"\")]` on a unit variant has \ [INFO] [stderr] 506 | | no effect and is redundant because there is nothing to configure."); [INFO] [stderr] | |________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:508:1 [INFO] [stderr] | [INFO] [stderr] 508 | / /// There's only one way to produce a specific unit variant, so setting [INFO] [stderr] 509 | | /// `#[proptest(filter = "")]` would be pointless. [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] 510 | / error!(filter_on_unit_variant, E0029, [INFO] [stderr] 511 | | "Setting `#[proptest(filter = \"\")]` on a unit variant has \ [INFO] [stderr] 512 | | no effect and is redundant because there is nothing to further filter."); [INFO] [stderr] | |_____________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:514:1 [INFO] [stderr] | [INFO] [stderr] 514 | / /// Occurs when `#[proptest(params = "")]` is specified on a unit [INFO] [stderr] 515 | | /// struct. There's only one way to produce a unit struct, so specifying [INFO] [stderr] 516 | | /// `Parameters` would be pointless. [INFO] [stderr] | |____________________________________^ [INFO] [stderr] 517 | / error!(params_on_unit_struct, E0030, [INFO] [stderr] 518 | | "Setting `#[proptest(params = \"\")]` on a unit struct has no effect \ [INFO] [stderr] 519 | | and is redundant because there is nothing to configure."); [INFO] [stderr] | |______________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:521:1 [INFO] [stderr] | [INFO] [stderr] 521 | / /// Occurs when `#[proptest(filter = "")]` is specified on a unit [INFO] [stderr] 522 | | /// struct. There's only one way to produce a unit struct, so filtering [INFO] [stderr] 523 | | /// would be pointless. [INFO] [stderr] | |_______________________^ [INFO] [stderr] 524 | / error!(filter_on_unit_struct, E0030, [INFO] [stderr] 525 | | "Setting `#[proptest(filter = \"\")]` on a unit struct has no effect \ [INFO] [stderr] 526 | | and is redundant because there is nothing to filter."); [INFO] [stderr] | |___________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:528:1 [INFO] [stderr] | [INFO] [stderr] 528 | / /// Occurs when `#[proptest(no_bound)]` is specified [INFO] [stderr] 529 | | /// on something that is not a type variable. [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 530 | / error!(no_bound_set_on_non_tyvar, E0031, [INFO] [stderr] 531 | | "Setting `#[proptest(no_bound)]` on something that is not a type variable \ [INFO] [stderr] 532 | | has no effect and is redundant. Therefore it is not allowed."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:534:1 [INFO] [stderr] | [INFO] [stderr] 534 | /// Happens when `#[proptest(no_bound)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 535 | / error!(no_bound_malformed, E0032, [INFO] [stderr] 536 | | "The attribute modifier `no_bound` inside `#[proptest(..)]` does not \ [INFO] [stderr] 537 | | support any further configuration and must be a plain modifier as in \ [INFO] [stderr] 538 | | `#[proptest(no_bound)]`."); [INFO] [stderr] | |_______________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:540:1 [INFO] [stderr] | [INFO] [stderr] 540 | /// Happens when the sum of weights on enum variants overflowing an u32. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 541 | / error!(weight_overflowing, E0033, [INFO] [stderr] 542 | | "The sum of the weights specified on variants of the enum you are \ [INFO] [stderr] 543 | | deriving `Arbitrary` for overflows an `u32` which it can't do."); [INFO] [stderr] | |_____________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:545:1 [INFO] [stderr] | [INFO] [stderr] 545 | / /// Happens when `#[proptest(regex..)]` is malformed. [INFO] [stderr] 546 | | /// For example, `#[proptest(regex = 1)]` is not a valid form. [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] 547 | / error!(regex_malformed, E0034, [INFO] [stderr] 548 | | "The attribute modifier `regex` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 549 | | format `#[proptest(regex = \"\")]` where `` is a valid [INFO] [stderr] 550 | | regular expression embedded in a Rust string slice."); [INFO] [stderr] | |__________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / /// Happens when `#[proptest(params = )]` is set on `item` and then [INFO] [stderr] 553 | | /// `#[proptest(regex = "")]` is also set. We reject this because [INFO] [stderr] 554 | | /// the params can't be used. TODO: reduce this to a warning once we can [INFO] [stderr] 555 | | /// emit warnings. [INFO] [stderr] | |__________________^ [INFO] [stderr] 556 | / error!(cant_set_param_and_regex(item: &str), E0035, [INFO] [stderr] 557 | | "Cannot set #[proptest(regex = \"\")] and \ [INFO] [stderr] 558 | | `#[proptest(params = )]` on {0} because the latter is a logic bug \ [INFO] [stderr] 559 | | since `params` cannot be used in ``.", [INFO] [stderr] 560 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:489:1 [INFO] [stderr] | [INFO] [stderr] 489 | / /// There's only one way to produce a specific unit variant, so setting [INFO] [stderr] 490 | | /// `#[proptest(strategy = "")]` or `#[proptest(value = "")]` [INFO] [stderr] 491 | | /// would be pointless. [INFO] [stderr] | |_______________________^ [INFO] [stderr] 492 | / error!(strategy_on_unit_variant(what: &str), E0029, [INFO] [stderr] 493 | | "Setting `#[proptest({0} = \"\")]` on a unit variant has no effect \ [INFO] [stderr] 494 | | and is redundant because there is nothing to configure.", [INFO] [stderr] 495 | | what); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:497:1 [INFO] [stderr] | [INFO] [stderr] 497 | /// See `strategy_on_unit_variant`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 498 | / error!(regex_on_unit_variant, E0029, [INFO] [stderr] 499 | | "Setting `#[proptest(regex = \"\")]` on a unit variant has no effect \ [INFO] [stderr] 500 | | and is redundant because there is nothing to configure."); [INFO] [stderr] | |______________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:502:1 [INFO] [stderr] | [INFO] [stderr] 502 | / /// There's only one way to produce a specific unit variant, so setting [INFO] [stderr] 503 | | /// `#[proptest(params = "")]` would be pointless. [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] 504 | / error!(params_on_unit_variant, E0029, [INFO] [stderr] 505 | | "Setting `#[proptest(params = \"\")]` on a unit variant has \ [INFO] [stderr] 506 | | no effect and is redundant because there is nothing to configure."); [INFO] [stderr] | |________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:508:1 [INFO] [stderr] | [INFO] [stderr] 508 | / /// There's only one way to produce a specific unit variant, so setting [INFO] [stderr] 509 | | /// `#[proptest(filter = "")]` would be pointless. [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] 510 | / error!(filter_on_unit_variant, E0029, [INFO] [stderr] 511 | | "Setting `#[proptest(filter = \"\")]` on a unit variant has \ [INFO] [stderr] 512 | | no effect and is redundant because there is nothing to further filter."); [INFO] [stderr] | |_____________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:514:1 [INFO] [stderr] | [INFO] [stderr] 514 | / /// Occurs when `#[proptest(params = "")]` is specified on a unit [INFO] [stderr] 515 | | /// struct. There's only one way to produce a unit struct, so specifying [INFO] [stderr] 516 | | /// `Parameters` would be pointless. [INFO] [stderr] | |____________________________________^ [INFO] [stderr] 517 | / error!(params_on_unit_struct, E0030, [INFO] [stderr] 518 | | "Setting `#[proptest(params = \"\")]` on a unit struct has no effect \ [INFO] [stderr] 519 | | and is redundant because there is nothing to configure."); [INFO] [stderr] | |______________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:521:1 [INFO] [stderr] | [INFO] [stderr] 521 | / /// Occurs when `#[proptest(filter = "")]` is specified on a unit [INFO] [stderr] 522 | | /// struct. There's only one way to produce a unit struct, so filtering [INFO] [stderr] 523 | | /// would be pointless. [INFO] [stderr] | |_______________________^ [INFO] [stderr] 524 | / error!(filter_on_unit_struct, E0030, [INFO] [stderr] 525 | | "Setting `#[proptest(filter = \"\")]` on a unit struct has no effect \ [INFO] [stderr] 526 | | and is redundant because there is nothing to filter."); [INFO] [stderr] | |___________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:528:1 [INFO] [stderr] | [INFO] [stderr] 528 | / /// Occurs when `#[proptest(no_bound)]` is specified [INFO] [stderr] 529 | | /// on something that is not a type variable. [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 530 | / error!(no_bound_set_on_non_tyvar, E0031, [INFO] [stderr] 531 | | "Setting `#[proptest(no_bound)]` on something that is not a type variable \ [INFO] [stderr] 532 | | has no effect and is redundant. Therefore it is not allowed."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:534:1 [INFO] [stderr] | [INFO] [stderr] 534 | /// Happens when `#[proptest(no_bound)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 535 | / error!(no_bound_malformed, E0032, [INFO] [stderr] 536 | | "The attribute modifier `no_bound` inside `#[proptest(..)]` does not \ [INFO] [stderr] 537 | | support any further configuration and must be a plain modifier as in \ [INFO] [stderr] 538 | | `#[proptest(no_bound)]`."); [INFO] [stderr] | |_______________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:540:1 [INFO] [stderr] | [INFO] [stderr] 540 | /// Happens when the sum of weights on enum variants overflowing an u32. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 541 | / error!(weight_overflowing, E0033, [INFO] [stderr] 542 | | "The sum of the weights specified on variants of the enum you are \ [INFO] [stderr] 543 | | deriving `Arbitrary` for overflows an `u32` which it can't do."); [INFO] [stderr] | |_____________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:545:1 [INFO] [stderr] | [INFO] [stderr] 545 | / /// Happens when `#[proptest(regex..)]` is malformed. [INFO] [stderr] 546 | | /// For example, `#[proptest(regex = 1)]` is not a valid form. [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] 547 | / error!(regex_malformed, E0034, [INFO] [stderr] 548 | | "The attribute modifier `regex` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 549 | | format `#[proptest(regex = \"\")]` where `` is a valid [INFO] [stderr] 550 | | regular expression embedded in a Rust string slice."); [INFO] [stderr] | |__________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / /// Happens when `#[proptest(params = )]` is set on `item` and then [INFO] [stderr] 553 | | /// `#[proptest(regex = "")]` is also set. We reject this because [INFO] [stderr] 554 | | /// the params can't be used. TODO: reduce this to a warning once we can [INFO] [stderr] 555 | | /// emit warnings. [INFO] [stderr] | |__________________^ [INFO] [stderr] 556 | / error!(cant_set_param_and_regex(item: &str), E0035, [INFO] [stderr] 557 | | "Cannot set #[proptest(regex = \"\")] and \ [INFO] [stderr] 558 | | `#[proptest(params = )]` on {0} because the latter is a logic bug \ [INFO] [stderr] 559 | | since `params` cannot be used in ``.", [INFO] [stderr] 560 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: the item `IsUninhabited` is imported redundantly [INFO] [stderr] --> src/derive.rs:293:9 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::void::IsUninhabited; [INFO] [stderr] | -------------------------- the item `IsUninhabited` is already imported here [INFO] [stderr] ... [INFO] [stderr] 293 | use crate::void::IsUninhabited; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: the item `IsUninhabited` is imported redundantly [INFO] [stderr] --> src/derive.rs:537:9 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::void::IsUninhabited; [INFO] [stderr] | -------------------------- the item `IsUninhabited` is already imported here [INFO] [stderr] ... [INFO] [stderr] 537 | use crate::void::IsUninhabited; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `IsUninhabited` is imported redundantly [INFO] [stderr] --> src/derive.rs:293:9 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::void::IsUninhabited; [INFO] [stderr] | -------------------------- the item `IsUninhabited` is already imported here [INFO] [stderr] ... [INFO] [stderr] 293 | use crate::void::IsUninhabited; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: the item `IsUninhabited` is imported redundantly [INFO] [stderr] --> src/derive.rs:537:9 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::void::IsUninhabited; [INFO] [stderr] | -------------------------- the item `IsUninhabited` is already imported here [INFO] [stderr] ... [INFO] [stderr] 537 | use crate::void::IsUninhabited; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:243:1 [INFO] [stderr] | [INFO] [stderr] 243 | / /// Happens when we've been asked to derive `Arbitrary` for a type [INFO] [stderr] 244 | | /// that is parametric over lifetimes. Since proptest does not support [INFO] [stderr] 245 | | /// such types (yet), neither can we. [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] 246 | / error!(has_lifetimes, E0001, [INFO] [stderr] 247 | | "Cannot derive `Arbitrary` for types with generic lifetimes, such as: \ [INFO] [stderr] 248 | | `struct Foo<'a> { bar: &'a str }`. Currently, strategies for such types \ [INFO] [stderr] 249 | | are impossible to define."); [INFO] [stderr] | |________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_doc_comments)] on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:251:1 [INFO] [stderr] | [INFO] [stderr] 251 | / /// Happens when we've been asked to derive `Arbitrary` for something [INFO] [stderr] 252 | | /// that is neither an enum nor a struct. Most likely, we've been given [INFO] [stderr] 253 | | /// a union type. This might be supported in the future, but not yet. [INFO] [stderr] | |_____________________________________________________________________^ [INFO] [stderr] 254 | / fatal!(not_struct_or_enum, E0002, [INFO] [stderr] 255 | | "Deriving is only possible for structs and enums. \ [INFO] [stderr] 256 | | It is currently not defined unions."); [INFO] [stderr] | |__________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:258:1 [INFO] [stderr] | [INFO] [stderr] 258 | / /// Happens when a struct has at least one field that is uninhabited. [INFO] [stderr] 259 | | /// There must at least exist one variant that we can construct. [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] 260 | / error!(uninhabited_struct, E0003, [INFO] [stderr] 261 | | "The struct you are deriving `Arbitrary` for is uninhabited since one of \ [INFO] [stderr] 262 | | its fields is uninhabited. An uninhabited type is by definition impossible \ [INFO] [stderr] 263 | | to generate."); [INFO] [stderr] | |___________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:265:1 [INFO] [stderr] | [INFO] [stderr] 265 | / /// Happens when an enum has zero variants. Such an enum is obviously [INFO] [stderr] 266 | | /// uninhabited and can not be constructed. There must at least exist [INFO] [stderr] 267 | | /// one variant that we can construct. [INFO] [stderr] | |______________________________________^ [INFO] [stderr] 268 | / fatal!(uninhabited_enum_with_no_variants, E0004, [INFO] [stderr] 269 | | "The enum you are deriving `Arbitrary` for is uninhabited since it has no \ [INFO] [stderr] 270 | | variants. An example of such an `enum` is: `enum Void {}`. \ [INFO] [stderr] 271 | | An uninhabited type is by definition impossible to generate."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:273:1 [INFO] [stderr] | [INFO] [stderr] 273 | / /// Happens when an enum is uninhabited due all its variants being [INFO] [stderr] 274 | | /// uninhabited (why has the user given us such a weird enum?.. [INFO] [stderr] 275 | | /// Nonetheless, we do our best to ensure soundness). [INFO] [stderr] 276 | | /// There must at least exist one variant that we can construct. [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] 277 | / fatal!(uninhabited_enum_variants_uninhabited, E0005, [INFO] [stderr] 278 | | "The enum you are deriving `Arbitrary` for is uninhabited since all its \ [INFO] [stderr] 279 | | variants are uninhabited. \ [INFO] [stderr] 280 | | An uninhabited type is by definition impossible to generate."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:282:1 [INFO] [stderr] | [INFO] [stderr] 282 | / /// Happens when an enum becomes effectively uninhabited due [INFO] [stderr] 283 | | /// to all inhabited variants having been skipped. There must [INFO] [stderr] 284 | | /// at least exist one variant that we can construct. [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] 285 | / error!(uninhabited_enum_because_of_skipped_variants, E0006, [INFO] [stderr] 286 | | "The enum you are deriving `Arbitrary` for is uninhabited for all intents \ [INFO] [stderr] 287 | | and purposes since you have `#[proptest(skip)]`ed all inhabited variants. \ [INFO] [stderr] 288 | | An uninhabited type is by definition impossible to generate."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:290:1 [INFO] [stderr] | [INFO] [stderr] 290 | / /// Happens when `#[proptest(strategy = "")]` or [INFO] [stderr] 291 | | /// `#[proptest(value = "")]` is specified on an `item` [INFO] [stderr] 292 | | /// that does not support setting an explicit value or strategy. [INFO] [stderr] 293 | | /// An enum or struct does not support that. [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] 294 | / error!(illegal_strategy(attr: &str, item: &str), E0007, [INFO] [stderr] 295 | | "`#[proptest({0} = \"\")]` is not allowed on {1}. Only struct fields, \ [INFO] [stderr] 296 | | enum variants and fields inside those can use an explicit {0}.", [INFO] [stderr] 297 | | attr, item); [INFO] [stderr] | |________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:299:1 [INFO] [stderr] | [INFO] [stderr] 299 | / /// Happens when `#[proptest(regex = "")]` is specified on an `item` [INFO] [stderr] 300 | | /// that does not support setting an explicit value or strategy. [INFO] [stderr] 301 | | /// See `illegal_strategy` for more. [INFO] [stderr] | |____________________________________^ [INFO] [stderr] 302 | / error!(illegal_regex(item: &str), E0007, [INFO] [stderr] 303 | | "`#[proptest(regex = \"\")]` is not allowed on {0}. Only struct \ [INFO] [stderr] 304 | | fields, enum variant fields can use an explicit regex.", [INFO] [stderr] 305 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:307:1 [INFO] [stderr] | [INFO] [stderr] 307 | / /// Happens when `#[proptest(skip)]` is specified on an `item` that does [INFO] [stderr] 308 | | /// not support skipping. Only enum variants support skipping. [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] 309 | / error!(illegal_skip(item: &str), E0008, [INFO] [stderr] 310 | | "A {} can't be `#[proptest(skip)]`ed, only enum variants can be skipped.", [INFO] [stderr] 311 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:313:1 [INFO] [stderr] | [INFO] [stderr] 313 | / /// Happens when `#[proptest(weight = )]` is specified on an [INFO] [stderr] 314 | | /// `item` that does not support weighting. [INFO] [stderr] | |___________________________________________^ [INFO] [stderr] 315 | / error!(illegal_weight(item: &str), E0009, [INFO] [stderr] 316 | | "`#[proptest(weight = )]` is not allowed on {} as it is \ [INFO] [stderr] 317 | | meaningless. Only enum variants can be assigned weights.", [INFO] [stderr] 318 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:320:1 [INFO] [stderr] | [INFO] [stderr] 320 | / /// Happens when `#[proptest(params = )]` is set on `item` [INFO] [stderr] 321 | | /// but also on the parent of `item`. If the parent has set `params` [INFO] [stderr] 322 | | /// then that applies, and the `params` on `item` would be meaningless [INFO] [stderr] 323 | | /// wherefore it is forbidden. [INFO] [stderr] | |______________________________^ [INFO] [stderr] 324 | / error!(parent_has_param(item: &str), E0010, [INFO] [stderr] 325 | | "Cannot set the associated type `Parameters` of `Arbitrary` with either \ [INFO] [stderr] 326 | | `#[proptest(no_params)]` or `#[proptest(params()]` on {} since it \ [INFO] [stderr] 327 | | was set on the parent.", [INFO] [stderr] 328 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:330:1 [INFO] [stderr] | [INFO] [stderr] 330 | / /// Happens when `#[proptest(params = )]` is set on `item` [INFO] [stderr] 331 | | /// but not `#[proptest(strategy = )]`. [INFO] [stderr] 332 | | /// This does not apply to the top level type declaration. [INFO] [stderr] | |__________________________________________________________^ [INFO] [stderr] 333 | / fatal!(cant_set_param_but_not_strat(self_ty: &syn::Type, item: &str), E0011, [INFO] [stderr] 334 | | "Cannot set `#[proptest(params = )]` on {0} while not providing a \ [INFO] [stderr] 335 | | strategy for the {0} to use it since `<{1} as Arbitrary<'a>>::Strategy` \ [INFO] [stderr] 336 | | may require a different type than the one provided in ``.", [INFO] [stderr] 337 | | item, quote! { #self_ty }); [INFO] [stderr] | |_______________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:339:1 [INFO] [stderr] | [INFO] [stderr] 339 | / /// Happens when `#[proptest(filter = "")]` is set on `item`, [INFO] [stderr] 340 | | /// but the parent of the `item` explicitly specifies a value or strategy, [INFO] [stderr] 341 | | /// which would cause the value to be generated without consulting the [INFO] [stderr] 342 | | /// `filter`. [INFO] [stderr] | |_____________^ [INFO] [stderr] 343 | / error!(meaningless_filter(item: &str), E0012, [INFO] [stderr] 344 | | "Cannot set `#[proptest(filter = )]` on {} since it is set on the \ [INFO] [stderr] 345 | | item which it is inside of that outer item specifies how to generate \ [INFO] [stderr] 346 | | itself.", [INFO] [stderr] 347 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | / /// Happens when the form `#![proptest<..>]` is used. This will probably never [INFO] [stderr] 350 | | /// happen - but just in case it does, we catch it and emit an error. [INFO] [stderr] | |_____________________________________________________________________^ [INFO] [stderr] 351 | / error!(inner_attr, E0013, [INFO] [stderr] 352 | | "Inner attributes `#![proptest(..)]` are not currently supported."); [INFO] [stderr] | |________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:354:1 [INFO] [stderr] | [INFO] [stderr] 354 | / /// Happens when the form `#[proptest]` is used. The form contains no [INFO] [stderr] 355 | | /// information for us to process, so we disallow it. [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] 356 | / error!(bare_proptest_attr, E0014, [INFO] [stderr] 357 | | "Bare `#[proptest]` attributes are not allowed."); [INFO] [stderr] | |______________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:359:1 [INFO] [stderr] | [INFO] [stderr] 359 | / /// Happens when the form `#[proptest = )]` is used. [INFO] [stderr] 360 | | /// Only the form `#[proptest()]` is supported. [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] 361 | / error!(literal_set_proptest, E0015, [INFO] [stderr] 362 | | "The attribute form `#[proptest = ]` is not allowed."); [INFO] [stderr] | |____________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:364:1 [INFO] [stderr] | [INFO] [stderr] 364 | / /// Happens when `` in `#[proptest()]` is a literal and [INFO] [stderr] 365 | | /// not a real modifier. [INFO] [stderr] | |________________________^ [INFO] [stderr] 366 | / error!(immediate_literals, E0016, [INFO] [stderr] 367 | | "Literals immediately inside `#[proptest(..)]` as in \ [INFO] [stderr] 368 | | `#[proptest(, ..)]` are not allowed."); [INFO] [stderr] | |________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:370:1 [INFO] [stderr] | [INFO] [stderr] 370 | / /// Happens when `` in `#[proptest()]` is set more than [INFO] [stderr] 371 | | /// once. [INFO] [stderr] | |_________^ [INFO] [stderr] 372 | / error!(set_again(meta: &syn::Meta), E0017, [INFO] [stderr] 373 | | "The attribute modifier `{}` inside `#[proptest(..)]` has already been \ [INFO] [stderr] 374 | | set. To fix the error, please remove at least one such modifier.", [INFO] [stderr] 375 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:377:1 [INFO] [stderr] | [INFO] [stderr] 377 | / /// Happens when `` in `#[proptest()]` is unknown to [INFO] [stderr] 378 | | /// us but we can make an educated guess as to what the user meant. [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] 379 | / error!(did_you_mean(found: &str, expected: &str), E0018, [INFO] [stderr] 380 | | "Unknown attribute modifier `{}` inside #[proptest(..)] is not allowed. \ [INFO] [stderr] 381 | | Did you mean to use `{}` instead?", [INFO] [stderr] 382 | | found, expected); [INFO] [stderr] | |_____________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:384:1 [INFO] [stderr] | [INFO] [stderr] 384 | /// Happens when `` in `#[proptest()]` is unknown to us. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 385 | / error!(unkown_modifier(modifier: &str), E0018, [INFO] [stderr] 386 | | "Unknown attribute modifier `{}` inside `#[proptest(..)]` is not allowed.", [INFO] [stderr] 387 | | modifier); [INFO] [stderr] | |______________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:389:1 [INFO] [stderr] | [INFO] [stderr] 389 | /// Happens when `#[proptest(no_params)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 390 | / error!(no_params_malformed, E0019, [INFO] [stderr] 391 | | "The attribute modifier `no_params` inside `#[proptest(..)]` does not \ [INFO] [stderr] 392 | | support any further configuration and must be a plain modifier as in \ [INFO] [stderr] 393 | | `#[proptest(no_params)]`."); [INFO] [stderr] | |________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:395:1 [INFO] [stderr] | [INFO] [stderr] 395 | /// Happens when `#[proptest(skip)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 396 | / error!(skip_malformed, E0020, [INFO] [stderr] 397 | | "The attribute modifier `skip` inside `#[proptest(..)]` does not support \ [INFO] [stderr] 398 | | any further configuration and must be a plain modifier as in \ [INFO] [stderr] 399 | | `#[proptest(skip)]`."); [INFO] [stderr] | |___________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:401:1 [INFO] [stderr] | [INFO] [stderr] 401 | /// Happens when `#[proptest(weight..)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 402 | / error!(weight_malformed(meta: &syn::Meta), E0021, [INFO] [stderr] 403 | | "The attribute modifier `{0}` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 404 | | format `#[proptest({0} = )]` where `` is an integer that \ [INFO] [stderr] 405 | | fits within a `u32`. An example: `#[proptest({0} = 2)]` to set a relative \ [INFO] [stderr] 406 | | weight of 2.", [INFO] [stderr] 407 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:409:1 [INFO] [stderr] | [INFO] [stderr] 409 | / /// Happens when both `#[proptest(params = "")]` and [INFO] [stderr] 410 | | /// `#[proptest(no_params)]` were specified. They are mutually [INFO] [stderr] 411 | | /// exclusive choices. The user can resolve this by picking one. [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] 412 | / fatal!(overspecified_param, E0022, [INFO] [stderr] 413 | | "Cannot set `#[proptest(no_params)]` as well as \ [INFO] [stderr] 414 | | `#[proptest(params())]` simultaneously. \ [INFO] [stderr] 415 | | Please pick one of these attributes."); [INFO] [stderr] | |___________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:417:1 [INFO] [stderr] | [INFO] [stderr] 417 | / /// This happens when `#[proptest(params..)]` is malformed. [INFO] [stderr] 418 | | /// For example, `#[proptest(params)]` is malformed. Another example is when [INFO] [stderr] 419 | | /// `` inside `#[proptest(params = "")]` or [INFO] [stderr] 420 | | /// `#[proptest(params(""))]` is malformed. In other words, `` is [INFO] [stderr] 421 | | /// not a valid Rust type. Note that `syn` may not cover all valid Rust types. [INFO] [stderr] | |______________________________________________________________________________^ [INFO] [stderr] 422 | / error!(param_malformed, E0023, [INFO] [stderr] 423 | | "The attribute modifier `params` inside #[proptest(..)] must have the \ [INFO] [stderr] 424 | | format `#[proptest(params = \"\")]` where `` is a valid type \ [INFO] [stderr] 425 | | in Rust. An example: `#[proptest(params = \"ComplexType\")]`."); [INFO] [stderr] | |_________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:427:1 [INFO] [stderr] | [INFO] [stderr] 427 | /// Happens when syn can't interpret in `#[proptest ]`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 428 | / error!(no_interp_meta, E0024, [INFO] [stderr] 429 | | "The tokens `` in #[proptest ] do not make for a valid attribute."); [INFO] [stderr] | |__________________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:431:1 [INFO] [stderr] | [INFO] [stderr] 431 | / /// Happens when more than one of `#[proptest(strategy..)]`, [INFO] [stderr] 432 | | /// `#[proptest(value..)]`, or `#[proptest(regex..)]` were specified. [INFO] [stderr] 433 | | /// They are mutually exclusive choices. [INFO] [stderr] 434 | | /// The user can resolve this by picking one. [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 435 | / fatal!(overspecified_strat, E0025, [INFO] [stderr] 436 | | "Cannot set more than one of `#[proptest(value = \"\")]`, [INFO] [stderr] 437 | | `#[proptest(strategy = \"\")]`, `#[proptest(regex = \"\")]` \ [INFO] [stderr] 438 | | simultaneously. Please pick one of these attributes."); [INFO] [stderr] | |___________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:440:1 [INFO] [stderr] | [INFO] [stderr] 440 | / /// Happens when `#[proptest(strategy..)]` or `#[proptest(value..)]` is [INFO] [stderr] 441 | | /// malformed. For example, `` inside `#[proptest(strategy = "")]` [INFO] [stderr] 442 | | /// or `#[proptest(value = "")]` is malformed. In other words, `` [INFO] [stderr] 443 | | /// is not a valid Rust expression. [INFO] [stderr] | |___________________________________^ [INFO] [stderr] 444 | / error!(strategy_malformed(meta: &syn::Meta), E0026, [INFO] [stderr] 445 | | "The attribute modifier `{0}` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 446 | | format `#[proptest({0} = \"\")]` where `` is a valid Rust \ [INFO] [stderr] 447 | | expression.", [INFO] [stderr] 448 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:450:1 [INFO] [stderr] | [INFO] [stderr] 450 | / /// Happens when `#[proptest(filter..)]` is malformed. [INFO] [stderr] 451 | | /// For example, `` inside `#[proptest(filter = "")]` or [INFO] [stderr] 452 | | /// is malformed. In other words, `` is not a valid Rust expression. [INFO] [stderr] | |__________________________________________________________________________^ [INFO] [stderr] 453 | / error!(filter_malformed(meta: &syn::Meta), E0027, [INFO] [stderr] 454 | | "The attribute modifier `{0}` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 455 | | format `#[proptest({0} = \"\")]` where `` is a valid Rust \ [INFO] [stderr] 456 | | expression.", [INFO] [stderr] 457 | | meta.name()); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:459:1 [INFO] [stderr] | [INFO] [stderr] 459 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 460 | | /// to the user so that they are aware. [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] 461 | / error!(skipped_variant_has_weight(item: &str), E0028, [INFO] [stderr] 462 | | "A variant has been skipped. Setting `#[proptest(weight = )]` on \ [INFO] [stderr] 463 | | the {} is meaningless and is not allowed.", [INFO] [stderr] 464 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:466:1 [INFO] [stderr] | [INFO] [stderr] 466 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 467 | | /// to the user so that they are aware. [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] 468 | / error!(skipped_variant_has_param(item: &str), E0028, [INFO] [stderr] 469 | | "A variant has been skipped. Setting `#[proptest(no_param)]` or \ [INFO] [stderr] 470 | | `#[proptest(params())]` on the {} is meaningless and is not allowed.", [INFO] [stderr] 471 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:473:1 [INFO] [stderr] | [INFO] [stderr] 473 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 474 | | /// to the user so that they are aware. [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] 475 | / error!(skipped_variant_has_strat(item: &str), E0028, [INFO] [stderr] 476 | | "A variant has been skipped. Setting `#[proptest(value = \"\")]` or \ [INFO] [stderr] 477 | | `#[proptest(strategy = \"\")]` on the {} is meaningless and is not \ [INFO] [stderr] 478 | | allowed.", [INFO] [stderr] 479 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:481:1 [INFO] [stderr] | [INFO] [stderr] 481 | / /// Any attributes on a skipped variant has no effect - so we emit this error [INFO] [stderr] 482 | | /// to the user so that they are aware. Unfortunately, there's no way to [INFO] [stderr] 483 | | /// emit a warning to the user, so we emit an error instead. [INFO] [stderr] | |____________________________________________________________^ [INFO] [stderr] 484 | / error!(skipped_variant_has_filter(item: &str), E0028, [INFO] [stderr] 485 | | "A variant has been skipped. Setting `#[proptest(filter = \"\")]` or \ [INFO] [stderr] 486 | | on the {} is meaningless and is not allowed.", [INFO] [stderr] 487 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:489:1 [INFO] [stderr] | [INFO] [stderr] 489 | / /// There's only one way to produce a specific unit variant, so setting [INFO] [stderr] 490 | | /// `#[proptest(strategy = "")]` or `#[proptest(value = "")]` [INFO] [stderr] 491 | | /// would be pointless. [INFO] [stderr] | |_______________________^ [INFO] [stderr] 492 | / error!(strategy_on_unit_variant(what: &str), E0029, [INFO] [stderr] 493 | | "Setting `#[proptest({0} = \"\")]` on a unit variant has no effect \ [INFO] [stderr] 494 | | and is redundant because there is nothing to configure.", [INFO] [stderr] 495 | | what); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:497:1 [INFO] [stderr] | [INFO] [stderr] 497 | /// See `strategy_on_unit_variant`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 498 | / error!(regex_on_unit_variant, E0029, [INFO] [stderr] 499 | | "Setting `#[proptest(regex = \"\")]` on a unit variant has no effect \ [INFO] [stderr] 500 | | and is redundant because there is nothing to configure."); [INFO] [stderr] | |______________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:502:1 [INFO] [stderr] | [INFO] [stderr] 502 | / /// There's only one way to produce a specific unit variant, so setting [INFO] [stderr] 503 | | /// `#[proptest(params = "")]` would be pointless. [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] 504 | / error!(params_on_unit_variant, E0029, [INFO] [stderr] 505 | | "Setting `#[proptest(params = \"\")]` on a unit variant has \ [INFO] [stderr] 506 | | no effect and is redundant because there is nothing to configure."); [INFO] [stderr] | |________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:508:1 [INFO] [stderr] | [INFO] [stderr] 508 | / /// There's only one way to produce a specific unit variant, so setting [INFO] [stderr] 509 | | /// `#[proptest(filter = "")]` would be pointless. [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] 510 | / error!(filter_on_unit_variant, E0029, [INFO] [stderr] 511 | | "Setting `#[proptest(filter = \"\")]` on a unit variant has \ [INFO] [stderr] 512 | | no effect and is redundant because there is nothing to further filter."); [INFO] [stderr] | |_____________________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:514:1 [INFO] [stderr] | [INFO] [stderr] 514 | / /// Occurs when `#[proptest(params = "")]` is specified on a unit [INFO] [stderr] 515 | | /// struct. There's only one way to produce a unit struct, so specifying [INFO] [stderr] 516 | | /// `Parameters` would be pointless. [INFO] [stderr] | |____________________________________^ [INFO] [stderr] 517 | / error!(params_on_unit_struct, E0030, [INFO] [stderr] 518 | | "Setting `#[proptest(params = \"\")]` on a unit struct has no effect \ [INFO] [stderr] 519 | | and is redundant because there is nothing to configure."); [INFO] [stderr] | |______________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:521:1 [INFO] [stderr] | [INFO] [stderr] 521 | / /// Occurs when `#[proptest(filter = "")]` is specified on a unit [INFO] [stderr] 522 | | /// struct. There's only one way to produce a unit struct, so filtering [INFO] [stderr] 523 | | /// would be pointless. [INFO] [stderr] | |_______________________^ [INFO] [stderr] 524 | / error!(filter_on_unit_struct, E0030, [INFO] [stderr] 525 | | "Setting `#[proptest(filter = \"\")]` on a unit struct has no effect \ [INFO] [stderr] 526 | | and is redundant because there is nothing to filter."); [INFO] [stderr] | |___________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:528:1 [INFO] [stderr] | [INFO] [stderr] 528 | / /// Occurs when `#[proptest(no_bound)]` is specified [INFO] [stderr] 529 | | /// on something that is not a type variable. [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 530 | / error!(no_bound_set_on_non_tyvar, E0031, [INFO] [stderr] 531 | | "Setting `#[proptest(no_bound)]` on something that is not a type variable \ [INFO] [stderr] 532 | | has no effect and is redundant. Therefore it is not allowed."); [INFO] [stderr] | |___________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:534:1 [INFO] [stderr] | [INFO] [stderr] 534 | /// Happens when `#[proptest(no_bound)]` is malformed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 535 | / error!(no_bound_malformed, E0032, [INFO] [stderr] 536 | | "The attribute modifier `no_bound` inside `#[proptest(..)]` does not \ [INFO] [stderr] 537 | | support any further configuration and must be a plain modifier as in \ [INFO] [stderr] 538 | | `#[proptest(no_bound)]`."); [INFO] [stderr] | |_______________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:540:1 [INFO] [stderr] | [INFO] [stderr] 540 | /// Happens when the sum of weights on enum variants overflowing an u32. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 541 | / error!(weight_overflowing, E0033, [INFO] [stderr] 542 | | "The sum of the weights specified on variants of the enum you are \ [INFO] [stderr] 543 | | deriving `Arbitrary` for overflows an `u32` which it can't do."); [INFO] [stderr] | |_____________________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:545:1 [INFO] [stderr] | [INFO] [stderr] 545 | / /// Happens when `#[proptest(regex..)]` is malformed. [INFO] [stderr] 546 | | /// For example, `#[proptest(regex = 1)]` is not a valid form. [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] 547 | / error!(regex_malformed, E0034, [INFO] [stderr] 548 | | "The attribute modifier `regex` inside `#[proptest(..)]` must have the \ [INFO] [stderr] 549 | | format `#[proptest(regex = \"\")]` where `` is a valid [INFO] [stderr] 550 | | regular expression embedded in a Rust string slice."); [INFO] [stderr] | |__________________________________________________________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / /// Happens when `#[proptest(params = )]` is set on `item` and then [INFO] [stderr] 553 | | /// `#[proptest(regex = "")]` is also set. We reject this because [INFO] [stderr] 554 | | /// the params can't be used. TODO: reduce this to a warning once we can [INFO] [stderr] 555 | | /// emit warnings. [INFO] [stderr] | |__________________^ [INFO] [stderr] 556 | / error!(cant_set_param_and_regex(item: &str), E0035, [INFO] [stderr] 557 | | "Cannot set #[proptest(regex = \"\")] and \ [INFO] [stderr] 558 | | `#[proptest(params = )]` on {0} because the latter is a logic bug \ [INFO] [stderr] 559 | | since `params` cannot be used in ``.", [INFO] [stderr] 560 | | item); [INFO] [stderr] | |__________- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: the item `IsUninhabited` is imported redundantly [INFO] [stderr] --> src/derive.rs:293:9 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::void::IsUninhabited; [INFO] [stderr] | -------------------------- the item `IsUninhabited` is already imported here [INFO] [stderr] ... [INFO] [stderr] 293 | use crate::void::IsUninhabited; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: the item `IsUninhabited` is imported redundantly [INFO] [stderr] --> src/derive.rs:537:9 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::void::IsUninhabited; [INFO] [stderr] | -------------------------- the item `IsUninhabited` is already imported here [INFO] [stderr] ... [INFO] [stderr] 537 | use crate::void::IsUninhabited; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.12s [INFO] running `"docker" "inspect" "d3cb648e83eecd562b8915844cce22481d66385e0d20be8ba72a3ce9932f4017"` [INFO] running `"docker" "rm" "-f" "d3cb648e83eecd562b8915844cce22481d66385e0d20be8ba72a3ce9932f4017"` [INFO] [stdout] d3cb648e83eecd562b8915844cce22481d66385e0d20be8ba72a3ce9932f4017