[INFO] fetching crate dialogue-core 0.3.3... [INFO] testing dialogue-core-0.3.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate dialogue-core 0.3.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate dialogue-core 0.3.3 [INFO] finished tweaking crates.io crate dialogue-core 0.3.3 [INFO] tweaked toml for crates.io crate dialogue-core 0.3.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dialogue-core 0.3.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 823fd8bddf70cf542dec4279df6010502697625097414d321813d9e5831bc3b1 [INFO] running `Command { std: "docker" "start" "-a" "823fd8bddf70cf542dec4279df6010502697625097414d321813d9e5831bc3b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "823fd8bddf70cf542dec4279df6010502697625097414d321813d9e5831bc3b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823fd8bddf70cf542dec4279df6010502697625097414d321813d9e5831bc3b1", kill_on_drop: false }` [INFO] [stdout] 823fd8bddf70cf542dec4279df6010502697625097414d321813d9e5831bc3b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9e586a2115e976bc988282380ff1c7428a44ba31a88621d6f20ae05ac7c29c6 [INFO] running `Command { std: "docker" "start" "-a" "f9e586a2115e976bc988282380ff1c7428a44ba31a88621d6f20ae05ac7c29c6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling dialogue-core v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.82s [INFO] running `Command { std: "docker" "inspect" "f9e586a2115e976bc988282380ff1c7428a44ba31a88621d6f20ae05ac7c29c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9e586a2115e976bc988282380ff1c7428a44ba31a88621d6f20ae05ac7c29c6", kill_on_drop: false }` [INFO] [stdout] f9e586a2115e976bc988282380ff1c7428a44ba31a88621d6f20ae05ac7c29c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f49a97a4f6aafe938b9859cea170beb120c9d9bf62b12d052ff683728fdbe10 [INFO] running `Command { std: "docker" "start" "-a" "9f49a97a4f6aafe938b9859cea170beb120c9d9bf62b12d052ff683728fdbe10", kill_on_drop: false }` [INFO] [stderr] Compiling dialogue-core v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "9f49a97a4f6aafe938b9859cea170beb120c9d9bf62b12d052ff683728fdbe10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f49a97a4f6aafe938b9859cea170beb120c9d9bf62b12d052ff683728fdbe10", kill_on_drop: false }` [INFO] [stdout] 9f49a97a4f6aafe938b9859cea170beb120c9d9bf62b12d052ff683728fdbe10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] baaf53c2befe8121d609c5c8d85a90f189546b235af868804bfdf39b4abee0e4 [INFO] running `Command { std: "docker" "start" "-a" "baaf53c2befe8121d609c5c8d85a90f189546b235af868804bfdf39b4abee0e4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dialogue_core-70e62495f1161b2c) [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 dialogue_core [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - enum_asker (line 209) ... FAILED [INFO] [stdout] test src/lib.rs - enum_asker (line 337) ... FAILED [INFO] [stdout] test src/lib.rs - enum_asker (line 223) ... FAILED [INFO] [stdout] test src/lib.rs - enum_asker (line 255) ... FAILED [INFO] [stdout] test src/lib.rs - enum_asker (line 271) ... FAILED [INFO] [stdout] test src/lib.rs - asker (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - asker (line 109) ... FAILED [INFO] [stdout] test src/lib.rs - asker (line 83) ... FAILED [INFO] [stdout] test src/lib.rs - asker (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - asker (line 153) ... FAILED [INFO] [stdout] test src/lib.rs - enum_asker (line 298) ... FAILED [INFO] [stdout] test src/lib.rs - enum_asker (line 363) ... FAILED [INFO] [stdout] test src/lib.rs - enum_asker (line 234) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - enum_asker (line 209) stdout ---- [INFO] [stdout] error: cannot find derive macro `EnumAsker` in this scope [INFO] [stdout] --> src/lib.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(EnumAsker)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use dialogue_core::EnumAsker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - enum_asker (line 337) stdout ---- [INFO] [stdout] error: cannot find derive macro `EnumAsker` in this scope [INFO] [stdout] --> src/lib.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, EnumAsker)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use dialogue_core::EnumAsker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asker` in this scope [INFO] [stdout] --> src/lib.rs:339:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[asker( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asker` in this scope [INFO] [stdout] --> src/lib.rs:346:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[asker(label = "Register as a regular user")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asker` in this scope [INFO] [stdout] --> src/lib.rs:349:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[asker(label = "Register as a student")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asker` in this scope [INFO] [stdout] --> src/lib.rs:352:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[asker(label = "Exit")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:347:10 [INFO] [stdout] | [INFO] [stdout] 12 | User(User), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Student` in this scope [INFO] [stdout] --> src/lib.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 15 | Student(Student), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - enum_asker (line 223) stdout ---- [INFO] [stdout] error: cannot find derive macro `EnumAsker` in this scope [INFO] [stdout] --> src/lib.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(EnumAsker)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use dialogue_core::EnumAsker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Student` in this scope [INFO] [stdout] --> src/lib.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 5 | A(Student, User), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 5 | A(Student, User), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:227:7 [INFO] [stdout] | [INFO] [stdout] 6 | B(User), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - enum_asker (line 255) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum Register { [INFO] [stdout] | -------- while parsing this enum [INFO] [stdout] 8 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - enum_asker (line 271) stdout ---- [INFO] [stdout] error: cannot find derive macro `EnumAsker` in this scope [INFO] [stdout] --> src/lib.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, EnumAsker)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use dialogue_core::EnumAsker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asker` in this scope [INFO] [stdout] --> src/lib.rs:273:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[asker(...)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asker` in this scope [INFO] [stdout] --> src/lib.rs:275:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[asker(label = "注册为普通用户")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asker` in this scope [INFO] [stdout] --> src/lib.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[asker(label = "注册为学生")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `asker` in this scope [INFO] [stdout] --> src/lib.rs:279:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[asker(label = "退出")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 7 | User(User), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Student` in this scope [INFO] [stdout] --> src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 9 | Student(Student), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - asker (line 28) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `dialogue_macro` [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dialogue_macro::Asker; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `dialogue_macro` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use dialogue_macro::Asker; [INFO] [stdout] 4 + use dialogue_core::Asker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `input` in this scope [INFO] [stdout] --> src/lib.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[input(prompt = "请输入您的邮箱地址: ")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `input` in this scope [INFO] [stdout] --> src/lib.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[input(default = 16)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `input` in this scope [INFO] [stdout] --> src/lib.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[input(prompt = "请输入您的学校: ", default = "清华大学")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `asker` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 7 | struct User { [INFO] [stdout] | ----------- function or associated item `asker` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | let user = User::asker() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [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 - asker (line 109) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `dialogue_macro` [INFO] [stdout] --> src/lib.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dialogue_macro::Asker; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `dialogue_macro` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use dialogue_macro::Asker; [INFO] [stdout] 4 + use dialogue_core::Asker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `select` in this scope [INFO] [stdout] --> src/lib.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[select(prompt = "请选择您的性别", options = ["男", "女", "其他"], default = 1)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `select` in this scope [INFO] [stdout] --> src/lib.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[select(prompt = "请选择您的学校: ", default = 1,options=[ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `asker` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 7 | struct User { [INFO] [stdout] | ----------- function or associated item `asker` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | let user = User::asker().sex().school().finish(); [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [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 - asker (line 83) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `dialogue_macro` [INFO] [stdout] --> src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dialogue_macro::Asker; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `dialogue_macro` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use dialogue_macro::Asker; [INFO] [stdout] 4 + use dialogue_core::Asker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `password` in this scope [INFO] [stdout] --> src/lib.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[password()] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `password` in this scope [INFO] [stdout] --> src/lib.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[password( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] error[E0599]: no function or associated item named `asker` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 7 | struct User { [INFO] [stdout] | ----------- function or associated item `asker` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | let user = User::asker().password2().password("请输入您的密码:").finish(); [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [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 - asker (line 61) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `dialogue_macro` [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dialogue_macro::Asker; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `dialogue_macro` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use dialogue_macro::Asker; [INFO] [stdout] 4 + use dialogue_core::Asker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `confirm` in this scope [INFO] [stdout] --> src/lib.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[confirm(prompt = "您是否是学生?")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `asker` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 7 | struct User { [INFO] [stdout] | ----------- function or associated item `asker` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | let user = User::asker().boy("您是男孩吗?").student().finish(); [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [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 - asker (line 153) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `dialogue_macro` [INFO] [stdout] --> src/lib.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dialogue_macro::Asker; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `dialogue_macro` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use dialogue_macro::Asker; [INFO] [stdout] 4 + use dialogue_core::Asker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `multiselect` in this scope [INFO] [stdout] --> src/lib.rs:160:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[multiselect(prompt = "请选择您的兴趣爱好", options = ["吃", "睡", "编程"], default=[1])] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `multiselect` in this scope [INFO] [stdout] --> src/lib.rs:162:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[multiselect(prompt = "请选择您的学校: ", default = [1,2],options=[ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `asker` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 7 | struct User { [INFO] [stdout] | ----------- function or associated item `asker` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | let user = User::asker().school().favorite().finish(); [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [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 - enum_asker (line 298) stdout ---- [INFO] [stdout] error: cannot find derive macro `Asker` in this scope [INFO] [stdout] --> src/lib.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Asker, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use dialogue_core::Asker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Asker` in this scope [INFO] [stdout] --> src/lib.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Asker, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use dialogue_core::Asker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `input` in this scope [INFO] [stdout] --> src/lib.rs:301:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[input(with_default = true)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Build` in this scope [INFO] [stdout] --> src/lib.rs:306:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl Build for User { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Build` in this scope [INFO] [stdout] --> src/lib.rs:322:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl Build for Student { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - enum_asker (line 363) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Register` [INFO] [stdout] --> src/lib.rs:365:18 [INFO] [stdout] | [INFO] [stdout] 3 | let choice = Register::build(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Register` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Register` [INFO] [stdout] --> src/lib.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 8 | Register::Exit => println!("Exiting..."), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Register` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Register` [INFO] [stdout] --> src/lib.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 6 | Register::User(user) => println!("Registered regular user: {:?}", user), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Register` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Register` [INFO] [stdout] --> src/lib.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 7 | Register::Student(student) => println!("Registered student: {:?}", student), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Register` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - enum_asker (line 234) stdout ---- [INFO] [stdout] error: cannot find derive macro `EnumAsker` in this scope [INFO] [stdout] --> src/lib.rs:235:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(EnumAsker)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use dialogue_core::EnumAsker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - asker (line 109) [INFO] [stdout] src/lib.rs - asker (line 153) [INFO] [stdout] src/lib.rs - asker (line 28) [INFO] [stdout] src/lib.rs - asker (line 61) [INFO] [stdout] src/lib.rs - asker (line 83) [INFO] [stdout] src/lib.rs - enum_asker (line 209) [INFO] [stdout] src/lib.rs - enum_asker (line 223) [INFO] [stdout] src/lib.rs - enum_asker (line 234) [INFO] [stdout] src/lib.rs - enum_asker (line 255) [INFO] [stdout] src/lib.rs - enum_asker (line 271) [INFO] [stdout] src/lib.rs - enum_asker (line 298) [INFO] [stdout] src/lib.rs - enum_asker (line 337) [INFO] [stdout] src/lib.rs - enum_asker (line 363) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "baaf53c2befe8121d609c5c8d85a90f189546b235af868804bfdf39b4abee0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baaf53c2befe8121d609c5c8d85a90f189546b235af868804bfdf39b4abee0e4", kill_on_drop: false }` [INFO] [stdout] baaf53c2befe8121d609c5c8d85a90f189546b235af868804bfdf39b4abee0e4