[INFO] fetching crate documented-derive 0.5.0... [INFO] testing documented-derive-0.5.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate documented-derive 0.5.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate documented-derive 0.5.0 [INFO] finished tweaking crates.io crate documented-derive 0.5.0 [INFO] tweaked toml for crates.io crate documented-derive 0.5.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate documented-derive 0.5.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding optfield v0.3.0 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 158c38d22bcb5f4c33a290218a9f3e1f176c96a9284de95419a13743975df1d5 [INFO] running `Command { std: "docker" "start" "-a" "158c38d22bcb5f4c33a290218a9f3e1f176c96a9284de95419a13743975df1d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "158c38d22bcb5f4c33a290218a9f3e1f176c96a9284de95419a13743975df1d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158c38d22bcb5f4c33a290218a9f3e1f176c96a9284de95419a13743975df1d5", kill_on_drop: false }` [INFO] [stdout] 158c38d22bcb5f4c33a290218a9f3e1f176c96a9284de95419a13743975df1d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1377392799d3ff4d8c7d10bace63f442e52a1faefa1156667e4888834ef8b05 [INFO] running `Command { std: "docker" "start" "-a" "d1377392799d3ff4d8c7d10bace63f442e52a1faefa1156667e4888834ef8b05", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling optfield v0.3.0 [INFO] [stderr] Compiling documented-derive v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.81s [INFO] running `Command { std: "docker" "inspect" "d1377392799d3ff4d8c7d10bace63f442e52a1faefa1156667e4888834ef8b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1377392799d3ff4d8c7d10bace63f442e52a1faefa1156667e4888834ef8b05", kill_on_drop: false }` [INFO] [stdout] d1377392799d3ff4d8c7d10bace63f442e52a1faefa1156667e4888834ef8b05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2a6752fb92aeb48de81cb13c06736e3dbf682fc9f6c427255fb90a1d41d76d2 [INFO] running `Command { std: "docker" "start" "-a" "c2a6752fb92aeb48de81cb13c06736e3dbf682fc9f6c427255fb90a1d41d76d2", kill_on_drop: false }` [INFO] [stderr] Compiling documented-derive v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "c2a6752fb92aeb48de81cb13c06736e3dbf682fc9f6c427255fb90a1d41d76d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a6752fb92aeb48de81cb13c06736e3dbf682fc9f6c427255fb90a1d41d76d2", kill_on_drop: false }` [INFO] [stdout] c2a6752fb92aeb48de81cb13c06736e3dbf682fc9f6c427255fb90a1d41d76d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f5517d1fb626480c7a0a4a8848f4402455156504b636a5b2e0c4851f82eaeca5 [INFO] running `Command { std: "docker" "start" "-a" "f5517d1fb626480c7a0a4a8848f4402455156504b636a5b2e0c4851f82eaeca5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/documented_derive-f6e4f4e23983c819) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests documented_derive [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - documented (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - documented (line 54) ... FAILED [INFO] [stdout] test src/lib.rs - documented_variants (line 272) ... FAILED [INFO] [stdout] test src/lib.rs - documented_fields (line 156) ... FAILED [INFO] [stdout] test src/lib.rs - documented_fields (line 125) ... FAILED [INFO] [stdout] test src/lib.rs - documented_fields (line 109) ... FAILED [INFO] [stdout] test src/lib.rs - documented_variants (line 302) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - documented (line 22) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 3 | use documented::Documented; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `documented` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `documented`, use `cargo add documented` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DOCS` found for struct `BornIn69` in the current scope [INFO] [stdout] --> src/lib.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 14 | struct BornIn69; [INFO] [stdout] | --------------- associated item `DOCS` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(BornIn69::DOCS, doc_str); [INFO] [stdout] | ^^^^ associated item not found in `BornIn69` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - documented (line 54) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 3 | use documented::Documented; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `documented` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `documented`, use `cargo add documented` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `documented` in this scope [INFO] [stdout] --> src/lib.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[documented(trim = false)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `documented` is an attribute that can be used by the derive macro `Documented`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DOCS` found for struct `Frankly` in the current scope [INFO] [stdout] --> src/lib.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 7 | struct Frankly; [INFO] [stdout] | -------------- associated item `DOCS` not found for this struct [INFO] [stdout] 8 | [INFO] [stdout] 9 | assert_eq!(Frankly::DOCS, " Terrible."); [INFO] [stdout] | ^^^^ associated item not found in `Frankly` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - documented_variants (line 272) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 3 | use documented::{DocumentedVariants, Error}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `documented` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `documented`, use `cargo add documented` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_variant_docs` found for enum `NeverPlay` in the current scope [INFO] [stdout] --> src/lib.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 6 | enum NeverPlay { [INFO] [stdout] | -------------- method `get_variant_docs` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 13 | NeverPlay::F3.get_variant_docs(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `NeverPlay` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_variant_docs` found for enum `NeverPlay` in the current scope [INFO] [stdout] --> src/lib.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 6 | enum NeverPlay { [INFO] [stdout] | -------------- method `get_variant_docs` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 17 | NeverPlay::F6.get_variant_docs(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `NeverPlay` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - documented_fields (line 156) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 3 | use documented::DocumentedFields; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `documented` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `documented`, use `cargo add documented` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `documented_fields` in this scope [INFO] [stdout] --> src/lib.rs:159:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[documented_fields(trim = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `documented_fields` is an attribute that can be used by the derive macro `DocumentedFields`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `documented_fields` in this scope [INFO] [stdout] --> src/lib.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[documented_fields(trim = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `documented_fields` is an attribute that can be used by the derive macro `DocumentedFields`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `FIELD_DOCS` found for struct `Frankly` in the current scope [INFO] [stdout] --> src/lib.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 6 | struct Frankly { [INFO] [stdout] | -------------- associated item `FIELD_DOCS` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(Frankly::FIELD_DOCS, [Some(" Delicious."), Some("I'm vegan.")]); [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `Frankly` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - documented_fields (line 125) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 3 | use documented::{DocumentedFields, Error}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `documented` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `documented`, use `cargo add documented` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_field_docs` found for struct `BornIn69` in the current scope [INFO] [stdout] --> src/lib.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct BornIn69 { [INFO] [stdout] | --------------- function or associated item `get_field_docs` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 12 | assert_eq!(BornIn69::get_field_docs("rawr"), Ok("Cry like a grandmaster.")); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `BornIn69` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_field_docs` found for struct `BornIn69` in the current scope [INFO] [stdout] --> src/lib.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct BornIn69 { [INFO] [stdout] | --------------- function or associated item `get_field_docs` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | BornIn69::get_field_docs("explosive"), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `BornIn69` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_field_docs` found for struct `BornIn69` in the current scope [INFO] [stdout] --> src/lib.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct BornIn69 { [INFO] [stdout] | --------------- function or associated item `get_field_docs` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | BornIn69::get_field_docs("gotcha"), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `BornIn69` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - documented_fields (line 109) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 3 | use documented::DocumentedFields; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `documented` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `documented`, use `cargo add documented` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `FIELD_DOCS` found for struct `BornIn69` in the current scope [INFO] [stdout] --> src/lib.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct BornIn69 { [INFO] [stdout] | --------------- associated item `FIELD_DOCS` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 12 | assert_eq!(BornIn69::FIELD_DOCS, [Some("Cry like a grandmaster."), None]); [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `BornIn69` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - documented_variants (line 302) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 3 | use documented::DocumentedVariants; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `documented` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `documented`, use `cargo add documented` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `documented_variants` in this scope [INFO] [stdout] --> src/lib.rs:305:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[documented_variants(trim = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `documented_variants` is an attribute that can be used by the derive macro `DocumentedVariants`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `documented_variants` in this scope [INFO] [stdout] --> src/lib.rs:310:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[documented_variants(trim = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `documented_variants` is an attribute that can be used by the derive macro `DocumentedVariants`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(DocumentedVariants)] [INFO] [stdout] 7 | enum Always { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_variant_docs` found for enum `Always` in the current scope [INFO] [stdout] --> src/lib.rs:314:28 [INFO] [stdout] | [INFO] [stdout] 6 | enum Always { [INFO] [stdout] | ----------- method `get_variant_docs` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Always::SacTheExchange.get_variant_docs(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Always` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_variant_docs` found for enum `Always` in the current scope [INFO] [stdout] --> src/lib.rs:317:28 [INFO] [stdout] | [INFO] [stdout] 6 | enum Always { [INFO] [stdout] | ----------- method `get_variant_docs` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 17 | assert_eq!(Always::Retreat.get_variant_docs(), Ok("Like a Frenchman.")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Always` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - documented (line 22) [INFO] [stdout] src/lib.rs - documented (line 54) [INFO] [stdout] src/lib.rs - documented_fields (line 109) [INFO] [stdout] src/lib.rs - documented_fields (line 125) [INFO] [stdout] src/lib.rs - documented_fields (line 156) [INFO] [stdout] src/lib.rs - documented_variants (line 272) [INFO] [stdout] src/lib.rs - documented_variants (line 302) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f5517d1fb626480c7a0a4a8848f4402455156504b636a5b2e0c4851f82eaeca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5517d1fb626480c7a0a4a8848f4402455156504b636a5b2e0c4851f82eaeca5", kill_on_drop: false }` [INFO] [stdout] f5517d1fb626480c7a0a4a8848f4402455156504b636a5b2e0c4851f82eaeca5