[INFO] fetching crate elicitor 0.6.1... [INFO] testing elicitor-0.6.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate elicitor 0.6.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate elicitor 0.6.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate elicitor 0.6.1 [INFO] tweaked toml for crates.io crate elicitor 0.6.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate elicitor 0.6.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate elicitor 0.6.1 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded elicitor-macro v0.6.1 [INFO] [stderr] Downloaded elicitor-types v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 639f83aad96176b674a3feac7c7ea4e4deecd5608d96ac1dedf44b02bef7cd9f [INFO] running `Command { std: "docker" "start" "-a" "639f83aad96176b674a3feac7c7ea4e4deecd5608d96ac1dedf44b02bef7cd9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "639f83aad96176b674a3feac7c7ea4e4deecd5608d96ac1dedf44b02bef7cd9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "639f83aad96176b674a3feac7c7ea4e4deecd5608d96ac1dedf44b02bef7cd9f", kill_on_drop: false }` [INFO] [stdout] 639f83aad96176b674a3feac7c7ea4e4deecd5608d96ac1dedf44b02bef7cd9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eb1cecab7692340a1ccf12d7f40d7d5bd70082938b8e285a1956c3d0de1634d [INFO] running `Command { std: "docker" "start" "-a" "7eb1cecab7692340a1ccf12d7f40d7d5bd70082938b8e285a1956c3d0de1634d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling elicitor-macro v0.6.1 [INFO] [stderr] Compiling elicitor-types v0.6.1 [INFO] [stderr] Compiling elicitor v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.44s [INFO] running `Command { std: "docker" "inspect" "7eb1cecab7692340a1ccf12d7f40d7d5bd70082938b8e285a1956c3d0de1634d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb1cecab7692340a1ccf12d7f40d7d5bd70082938b8e285a1956c3d0de1634d", kill_on_drop: false }` [INFO] [stdout] 7eb1cecab7692340a1ccf12d7f40d7d5bd70082938b8e285a1956c3d0de1634d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0655d448cfbc7e84e26b3bb6a49a8c7691363875c1a91642a59f9502941b130 [INFO] running `Command { std: "docker" "start" "-a" "f0655d448cfbc7e84e26b3bb6a49a8c7691363875c1a91642a59f9502941b130", kill_on_drop: false }` [INFO] [stderr] Compiling elicitor v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "f0655d448cfbc7e84e26b3bb6a49a8c7691363875c1a91642a59f9502941b130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0655d448cfbc7e84e26b3bb6a49a8c7691363875c1a91642a59f9502941b130", kill_on_drop: false }` [INFO] [stdout] f0655d448cfbc7e84e26b3bb6a49a8c7691363875c1a91642a59f9502941b130 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bc9df6ddc6b2892e9bfc96e16840ab1f0e90257f6598d7d5d4f262adb1482208 [INFO] running `Command { std: "docker" "start" "-a" "bc9df6ddc6b2892e9bfc96e16840ab1f0e90257f6598d7d5d4f262adb1482208", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/elicitor-ec076c326c12c502) [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] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-13f2fa8829b7a743) [INFO] [stdout] running 16 tests [INFO] [stdout] test assume_nested_struct ... ok [INFO] [stdout] test assume_enum_with_fields ... ok [INFO] [stdout] test enum_suggest_builder_suggest_variant ... ok [INFO] [stdout] test enum_suggest_builder_variant_fields ... ok [INFO] [stdout] test min_max_bounds ... ok [INFO] [stdout] test nested_struct_suggest_builder ... ok [INFO] [stdout] test option_suggest_some ... ok [INFO] [stdout] test option_suggest_none ... ok [INFO] [stdout] test mask_and_multiline ... ok [INFO] [stdout] test enum_suggest_multiple_variants ... ok [INFO] [stdout] test simple_survey_definition ... ok [INFO] [stdout] test builder_with_suggestions ... ok [INFO] [stdout] test combined_suggest_and_assume ... ok [INFO] [stdout] test prelude_and_epilogue ... ok [INFO] [stdout] test builder_with_assumptions ... ok [INFO] [stdout] test simple_survey_with_test_backend ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests elicitor [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/../README.md - (line 113) ... FAILED [INFO] [stdout] test src/../README.md - (line 193) ... FAILED [INFO] [stdout] test src/test_backend.rs - test_backend (line 8) ... ignored [INFO] [stdout] test src/../README.md - (line 135) ... FAILED [INFO] [stdout] test src/../README.md - (line 159) ... FAILED [INFO] [stdout] test src/../README.md - (line 202) ... FAILED [INFO] [stdout] test src/../README.md - (line 244) ... ok [INFO] [stdout] test src/../README.md - (line 210) ... FAILED [INFO] [stdout] test src/../README.md - (line 90) ... FAILED [INFO] [stdout] test src/../README.md - (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 113) stdout ---- [INFO] [stdout] error: cannot find derive macro `Survey` in this scope [INFO] [stdout] --> src/../README.md:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Survey, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 113 + use elicitor::Survey; [INFO] [stdout] | [INFO] [stdout] 113 + use elicitor_macro::Survey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ask` in this scope [INFO] [stdout] --> src/../README.md:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[ask("Enable features:")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `multiselect` in this scope [INFO] [stdout] --> src/../README.md:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | #[multiselect] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Survey` in this scope [INFO] [stdout] --> src/../README.md:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Survey, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 113 + use elicitor::Survey; [INFO] [stdout] | [INFO] [stdout] 113 + use elicitor_macro::Survey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ask` in this scope [INFO] [stdout] --> src/../README.md:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | Analytics (#[ask("Analytics ID:")] u32), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 193) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `backend` in this scope [INFO] [stdout] --> src/../README.md:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | .run(backend)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `UserProfile` in this scope [INFO] [stdout] --> src/../README.md:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | let profile = UserProfile::builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UserProfile` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 135) stdout ---- [INFO] [stdout] error: cannot find derive macro `Survey` in this scope [INFO] [stdout] --> src/../README.md:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Survey)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 134 + use elicitor::Survey; [INFO] [stdout] | [INFO] [stdout] 134 + use elicitor_macro::Survey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ask` in this scope [INFO] [stdout] --> src/../README.md:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | #[ask("Email:")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ask` is an attribute that can be used by the derive macro `Survey`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/../README.md:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | #[validate("validate_email")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is an attribute that can be used by the derive macro `Survey`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_string` found for reference `&ResponseValue` in the current scope [INFO] [stdout] --> src/../README.md:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | let s = value.as_string().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 142 - let s = value.as_string().unwrap_or(""); [INFO] [stdout] 142 + let s = value.as_str().unwrap_or(""); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 159) stdout ---- [INFO] [stdout] error: cannot find derive macro `Survey` in this scope [INFO] [stdout] --> src/../README.md:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | #[derive(Survey)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 158 + use elicitor::Survey; [INFO] [stdout] | [INFO] [stdout] 158 + use elicitor_macro::Survey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/../README.md:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | #[validate("passwords_match")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is an attribute that can be used by the derive macro `Survey`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ask` in this scope [INFO] [stdout] --> src/../README.md:177:7 [INFO] [stdout] | [INFO] [stdout] 177 | #[ask("Password:")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ask` is an attribute that can be used by the derive macro `Survey`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `mask` in this scope [INFO] [stdout] --> src/../README.md:178:7 [INFO] [stdout] | [INFO] [stdout] 178 | #[mask] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `mask` is an attribute that can be used by the derive macro `Survey`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ask` in this scope [INFO] [stdout] --> src/../README.md:181:7 [INFO] [stdout] | [INFO] [stdout] 181 | #[ask("Confirm:")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ask` is an attribute that can be used by the derive macro `Survey`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `mask` in this scope [INFO] [stdout] --> src/../README.md:182:7 [INFO] [stdout] | [INFO] [stdout] 182 | #[mask] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `mask` is an attribute that can be used by the derive macro `Survey`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/../README.md:161:56 [INFO] [stdout] | [INFO] [stdout] 161 | fn passwords_match(responses: &elicitor::Responses) -> HashMap { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 158 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ResponsePath` in this scope [INFO] [stdout] --> src/../README.md:161:64 [INFO] [stdout] | [INFO] [stdout] 161 | fn passwords_match(responses: &elicitor::Responses) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 158 + use elicitor::ResponsePath; [INFO] [stdout] | [INFO] [stdout] 158 + use elicitor_types::ResponsePath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/../README.md:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | let mut errors = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 158 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ResponsePath` in this scope [INFO] [stdout] --> src/../README.md:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | let pw = responses.get_string(&ResponsePath::new("password")); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponsePath` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 158 + use elicitor::ResponsePath; [INFO] [stdout] | [INFO] [stdout] 158 + use elicitor_types::ResponsePath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ResponsePath` in this scope [INFO] [stdout] --> src/../README.md:164:41 [INFO] [stdout] | [INFO] [stdout] 164 | let confirm = responses.get_string(&ResponsePath::new("confirm")); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponsePath` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 158 + use elicitor::ResponsePath; [INFO] [stdout] | [INFO] [stdout] 158 + use elicitor_types::ResponsePath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ResponsePath` in this scope [INFO] [stdout] --> src/../README.md:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | errors.insert(ResponsePath::new("confirm"), "Passwords must match".into()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponsePath` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 158 + use elicitor::ResponsePath; [INFO] [stdout] | [INFO] [stdout] 158 + use elicitor_types::ResponsePath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 202) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `backend` in this scope [INFO] [stdout] --> src/../README.md:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | .run(backend)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `UserProfile` in this scope [INFO] [stdout] --> src/../README.md:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | let profile = UserProfile::builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UserProfile` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 210) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `backend` in this scope [INFO] [stdout] --> src/../README.md:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | .run(backend)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_profile` in this scope [INFO] [stdout] --> src/../README.md:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | let existing = load_profile()?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `UserProfile` in this scope [INFO] [stdout] --> src/../README.md:212:15 [INFO] [stdout] | [INFO] [stdout] 212 | let updated = UserProfile::builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UserProfile` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 90) stdout ---- [INFO] [stdout] error: cannot find derive macro `Survey` in this scope [INFO] [stdout] --> src/../README.md:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Survey, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 90 + use elicitor::Survey; [INFO] [stdout] | [INFO] [stdout] 90 + use elicitor_macro::Survey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ask` in this scope [INFO] [stdout] --> src/../README.md:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[ask("Name:")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ask` in this scope [INFO] [stdout] --> src/../README.md:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[ask("Preferred contact method:")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Survey` in this scope [INFO] [stdout] --> src/../README.md:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Survey, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 90 + use elicitor::Survey; [INFO] [stdout] | [INFO] [stdout] 90 + use elicitor_macro::Survey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ask` in this scope [INFO] [stdout] --> src/../README.md:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[ask("Email address:")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ask` in this scope [INFO] [stdout] --> src/../README.md:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | Phone(#[ask("Phone number:")] String), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 13) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `elicitor_wizard_dialoguer` in this scope [INFO] [stdout] --> src/../README.md:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | .run(elicitor_wizard_dialoguer::DialoguerWizard::new())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `elicitor_wizard_dialoguer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elicitor_wizard_dialoguer`, use `cargo add elicitor_wizard_dialoguer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/../README.md:20:16 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Survey, Debug)] [INFO] [stdout] | ------ expected because of the type of the constant [INFO] [stdout] ... [INFO] [stdout] 20 | #[validate(name_rules)] [INFO] [stdout] | ^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `for<'a, 'b, 'c> fn(&'a ResponseValue, &'b Responses, &'c ResponsePath) -> Result<_, _>` [INFO] [stdout] found fn item `for<'a> fn(&'a str) -> Result<_, _> {name_rules}` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/../README.md:20:16 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Survey, Debug)] [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found `&ResponseValue` [INFO] [stdout] | unexpected argument #2 of type `&Responses` [INFO] [stdout] | unexpected argument #3 of type `&ResponsePath` [INFO] [stdout] ... [INFO] [stdout] 20 | #[validate(name_rules)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&ResponseValue` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/../README.md:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn name_rules(name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 113) [INFO] [stdout] src/../README.md - (line 13) [INFO] [stdout] src/../README.md - (line 135) [INFO] [stdout] src/../README.md - (line 159) [INFO] [stdout] src/../README.md - (line 193) [INFO] [stdout] src/../README.md - (line 202) [INFO] [stdout] src/../README.md - (line 210) [INFO] [stdout] src/../README.md - (line 90) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 8 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.78s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.18s; merged doctests compilation took 0.40s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bc9df6ddc6b2892e9bfc96e16840ab1f0e90257f6598d7d5d4f262adb1482208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc9df6ddc6b2892e9bfc96e16840ab1f0e90257f6598d7d5d4f262adb1482208", kill_on_drop: false }` [INFO] [stdout] bc9df6ddc6b2892e9bfc96e16840ab1f0e90257f6598d7d5d4f262adb1482208