[INFO] fetching crate documented-macros 0.9.2... [INFO] testing documented-macros-0.9.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate documented-macros 0.9.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate documented-macros 0.9.2 [INFO] finished tweaking crates.io crate documented-macros 0.9.2 [INFO] tweaked toml for crates.io crate documented-macros 0.9.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate documented-macros 0.9.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate documented-macros 0.9.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded optfield v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97d21da423fc42598ce3f354f2be6cf0020958c14b8365ea25e9a02cf06a8d6a [INFO] running `Command { std: "docker" "start" "-a" "97d21da423fc42598ce3f354f2be6cf0020958c14b8365ea25e9a02cf06a8d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97d21da423fc42598ce3f354f2be6cf0020958c14b8365ea25e9a02cf06a8d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d21da423fc42598ce3f354f2be6cf0020958c14b8365ea25e9a02cf06a8d6a", kill_on_drop: false }` [INFO] [stdout] 97d21da423fc42598ce3f354f2be6cf0020958c14b8365ea25e9a02cf06a8d6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2efb7ac4f7e3ffd1a94e62e4f6f20e1074dc806b7c654eff7fa8b349bcd8f0c [INFO] running `Command { std: "docker" "start" "-a" "e2efb7ac4f7e3ffd1a94e62e4f6f20e1074dc806b7c654eff7fa8b349bcd8f0c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling documented-macros v0.9.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.75s [INFO] running `Command { std: "docker" "inspect" "e2efb7ac4f7e3ffd1a94e62e4f6f20e1074dc806b7c654eff7fa8b349bcd8f0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2efb7ac4f7e3ffd1a94e62e4f6f20e1074dc806b7c654eff7fa8b349bcd8f0c", kill_on_drop: false }` [INFO] [stdout] e2efb7ac4f7e3ffd1a94e62e4f6f20e1074dc806b7c654eff7fa8b349bcd8f0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e05ff3e5977548c973769a70e0490693897b614c074e8f27657c84cc211c2583 [INFO] running `Command { std: "docker" "start" "-a" "e05ff3e5977548c973769a70e0490693897b614c074e8f27657c84cc211c2583", kill_on_drop: false }` [INFO] [stderr] Compiling documented-macros v0.9.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "e05ff3e5977548c973769a70e0490693897b614c074e8f27657c84cc211c2583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e05ff3e5977548c973769a70e0490693897b614c074e8f27657c84cc211c2583", kill_on_drop: false }` [INFO] [stdout] e05ff3e5977548c973769a70e0490693897b614c074e8f27657c84cc211c2583 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6db62da6c0bcfd4cd00d2d4dbf017f492faa1cea0b34df2a4fa9e0b345899a33 [INFO] running `Command { std: "docker" "start" "-a" "6db62da6c0bcfd4cd00d2d4dbf017f492faa1cea0b34df2a4fa9e0b345899a33", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/documented_macros-ee22ea5dfc5a4785) [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_macros [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/lib.rs - docs_const (line 386) ... FAILED [INFO] [stdout] test src/lib.rs - documented (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - docs_const (line 448) ... FAILED [INFO] [stdout] test src/lib.rs - docs_const (line 430) ... FAILED [INFO] [stdout] test src/lib.rs - docs_const (line 405) ... FAILED [INFO] [stdout] test src/lib.rs - documented_fields (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - docs_const (line 419) ... FAILED [INFO] [stdout] test src/lib.rs - documented (line 67) ... FAILED [INFO] [stdout] test src/lib.rs - documented_fields (line 186) ... FAILED [INFO] [stdout] test src/lib.rs - documented (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - documented_fields (line 128) ... FAILED [INFO] [stdout] test src/lib.rs - documented_fields (line 216) ... FAILED [INFO] [stdout] test src/lib.rs - documented_fields (line 239) ... FAILED [INFO] [stdout] test src/lib.rs - documented_fields (line 162) ... FAILED [INFO] [stdout] test src/lib.rs - documented_variants (line 333) ... FAILED [INFO] [stdout] test src/lib.rs - documented_variants (line 285) ... FAILED [INFO] [stdout] test src/lib.rs - documented_variants (line 312) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - docs_const (line 386) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 3 | use documented::docs_const; [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[E0425]: cannot find value `TEST_FN_DOCS` in this scope [INFO] [stdout] --> src/lib.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(TEST_FN_DOCS, "This is a test function"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - documented (line 52) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:53: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:55:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[documented(default = "The answer is fries.")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DOCS` found for struct `WhosTurnIsIt` in the current scope [INFO] [stdout] --> src/lib.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct WhosTurnIsIt; [INFO] [stdout] | ------------------- associated item `DOCS` not found for this struct [INFO] [stdout] 7 | [INFO] [stdout] 8 | assert_eq!(WhosTurnIsIt::DOCS, "The answer is fries."); [INFO] [stdout] | ^^^^ associated item not found in `WhosTurnIsIt` [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 - docs_const (line 448) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 3 | use documented::docs_const; [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[E0425]: cannot find value `TEST_CONST_DOCS` in this scope [INFO] [stdout] --> src/lib.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(TEST_CONST_DOCS, " This is a test constant"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - docs_const (line 430) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 3 | use documented::docs_const; [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[E0425]: cannot find value `STARTING_POSITION_DOCS` in this scope [INFO] [stdout] --> src/lib.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 9 | STARTING_POSITION_DOCS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - docs_const (line 405) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 4 | use documented::docs_const; [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[E0425]: cannot find value `WOOOOO_DOCS` in module `submodule` [INFO] [stdout] --> src/lib.rs:414:23 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(submodule::WOOOOO_DOCS, "Boo!"); [INFO] [stdout] | ^^^^^^^^^^^ not found in `submodule` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - documented_fields (line 108) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:109: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:120:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct BornIn69 { [INFO] [stdout] | --------------- associated item `FIELD_DOCS` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | BornIn69::FIELD_DOCS, [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 - docs_const (line 419) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 3 | use documented::docs_const; [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[E0425]: cannot find value `DONT_RAISE_YOUR_HAND` in this scope [INFO] [stdout] --> src/lib.rs:425:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(DONT_RAISE_YOUR_HAND, "If you have a question raise your hand"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - documented (line 67) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:68: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:71:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[documented(trim = false)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DOCS` found for struct `Frankly` in the current scope [INFO] [stdout] --> src/lib.rs:74: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_fields (line 186) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:187: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:192:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[documented_fields(rename = "knows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `documented_fields` in this scope [INFO] [stdout] --> src/lib.rs:195:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[documented_fields(rename = "doesnt_know")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_field_docs` found for struct `ThisPosition` in the current scope [INFO] [stdout] --> src/lib.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 6 | struct ThisPosition { [INFO] [stdout] | ------------------- function or associated item `get_field_docs` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 16 | ThisPosition::get_field_docs("knows"), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `ThisPosition` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_field_docs` found for struct `ThisPosition` in the current scope [INFO] [stdout] --> src/lib.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 6 | struct ThisPosition { [INFO] [stdout] | ------------------- function or associated item `get_field_docs` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | ThisPosition::get_field_docs("doesnt_know"), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `ThisPosition` [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] ---- src/lib.rs - documented (line 18) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:19: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:40: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_fields (line 128) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:129: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:140: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("rawr"), [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:143: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] 17 | assert_eq!(BornIn69::get_field_docs("explosive"), Ok("Before what?")); [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:145: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] 19 | 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 216) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:217: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:219:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[documented_fields(default = "Confusing the audience.")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `FIELD_DOCS` found for struct `SettingUpForTheNextGame` in the current scope [INFO] [stdout] --> src/lib.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 6 | struct SettingUpForTheNextGame { [INFO] [stdout] | ------------------------------ associated item `FIELD_DOCS` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | SettingUpForTheNextGame::FIELD_DOCS, [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `SettingUpForTheNextGame` [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 239) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:240: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:242:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[documented_fields(trim = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `documented_fields` in this scope [INFO] [stdout] --> src/lib.rs:247:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[documented_fields(trim = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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:251: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, [" Delicious.", "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 162) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:163: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:165:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[documented_fields(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `documented_fields` in this scope [INFO] [stdout] --> src/lib.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[documented_fields(rename_all = "PascalCase")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_field_docs` found for struct `BooksYouShouldWrite` in the current scope [INFO] [stdout] --> src/lib.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct BooksYouShouldWrite { [INFO] [stdout] | -------------------------- function or associated item `get_field_docs` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | BooksYouShouldWrite::get_field_docs("whose-turn-is-it"), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `BooksYouShouldWrite` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_field_docs` found for struct `BooksYouShouldWrite` in the current scope [INFO] [stdout] --> src/lib.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct BooksYouShouldWrite { [INFO] [stdout] | -------------------------- function or associated item `get_field_docs` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | BooksYouShouldWrite::get_field_docs("HowManyLegalMovesDoYouHave"), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `BooksYouShouldWrite` [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] ---- src/lib.rs - documented_variants (line 333) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:334: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:336:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[documented_variants(trim = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `documented_variants` in this scope [INFO] [stdout] --> src/lib.rs:341:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[documented_variants(trim = true)] [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:345: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:348: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(), "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] ---- src/lib.rs - documented_variants (line 285) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:286: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:296:26 [INFO] [stdout] | [INFO] [stdout] 6 | enum NeverPlay { [INFO] [stdout] | -------------- method `get_variant_docs` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 13 | assert_eq!(NeverPlay::F3.get_variant_docs(), "Terrible."); [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:297:26 [INFO] [stdout] | [INFO] [stdout] 6 | enum NeverPlay { [INFO] [stdout] | -------------- method `get_variant_docs` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(NeverPlay::F6.get_variant_docs(), "I fell out of my chair."); [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_variants (line 312) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `documented` [INFO] [stdout] --> src/lib.rs:313: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:315:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[documented_variants(default = "Still theory.")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_variant_docs` found for enum `OurHeroPlayed` in the current scope [INFO] [stdout] --> src/lib.rs:323:34 [INFO] [stdout] | [INFO] [stdout] 6 | enum OurHeroPlayed { [INFO] [stdout] | ------------------ method `get_variant_docs` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 13 | assert_eq!(OurHeroPlayed::G4Mate.get_variant_docs(), "Still theory."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `OurHeroPlayed` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_variant_docs` found for enum `OurHeroPlayed` in the current scope [INFO] [stdout] --> src/lib.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 6 | enum OurHeroPlayed { [INFO] [stdout] | ------------------ method `get_variant_docs` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(OurHeroPlayed::OOOMate.get_variant_docs(), "Still theory."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `OurHeroPlayed` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_variant_docs` found for enum `OurHeroPlayed` in the current scope [INFO] [stdout] --> src/lib.rs:326:30 [INFO] [stdout] | [INFO] [stdout] 6 | enum OurHeroPlayed { [INFO] [stdout] | ------------------ method `get_variant_docs` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 16 | OurHeroPlayed::Bf1g2Mate.get_variant_docs(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `OurHeroPlayed` [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 - docs_const (line 386) [INFO] [stdout] src/lib.rs - docs_const (line 405) [INFO] [stdout] src/lib.rs - docs_const (line 419) [INFO] [stdout] src/lib.rs - docs_const (line 430) [INFO] [stdout] src/lib.rs - docs_const (line 448) [INFO] [stdout] src/lib.rs - documented (line 18) [INFO] [stdout] src/lib.rs - documented (line 52) [INFO] [stdout] src/lib.rs - documented (line 67) [INFO] [stdout] src/lib.rs - documented_fields (line 108) [INFO] [stdout] src/lib.rs - documented_fields (line 128) [INFO] [stdout] src/lib.rs - documented_fields (line 162) [INFO] [stdout] src/lib.rs - documented_fields (line 186) [INFO] [stdout] src/lib.rs - documented_fields (line 216) [INFO] [stdout] src/lib.rs - documented_fields (line 239) [INFO] [stdout] src/lib.rs - documented_variants (line 285) [INFO] [stdout] src/lib.rs - documented_variants (line 312) [INFO] [stdout] src/lib.rs - documented_variants (line 333) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6db62da6c0bcfd4cd00d2d4dbf017f492faa1cea0b34df2a4fa9e0b345899a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6db62da6c0bcfd4cd00d2d4dbf017f492faa1cea0b34df2a4fa9e0b345899a33", kill_on_drop: false }` [INFO] [stdout] 6db62da6c0bcfd4cd00d2d4dbf017f492faa1cea0b34df2a4fa9e0b345899a33