[INFO] fetching crate poise_macros 0.6.1... [INFO] testing poise_macros-0.6.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate poise_macros 0.6.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate poise_macros 0.6.1 [INFO] finished tweaking crates.io crate poise_macros 0.6.1 [INFO] tweaked toml for crates.io crate poise_macros 0.6.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate poise_macros 0.6.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding darling v0.20.11 (available: v0.23.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83c3d08e2ff2be47fc567c514f839ba797c70556187a9ff435e21174166dfc49 [INFO] running `Command { std: "docker" "start" "-a" "83c3d08e2ff2be47fc567c514f839ba797c70556187a9ff435e21174166dfc49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83c3d08e2ff2be47fc567c514f839ba797c70556187a9ff435e21174166dfc49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c3d08e2ff2be47fc567c514f839ba797c70556187a9ff435e21174166dfc49", kill_on_drop: false }` [INFO] [stdout] 83c3d08e2ff2be47fc567c514f839ba797c70556187a9ff435e21174166dfc49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fe087b517d61ef64ed97e74c4b48c7eba8bf57e3d9175bb453fcdab1e7b0fbb [INFO] running `Command { std: "docker" "start" "-a" "4fe087b517d61ef64ed97e74c4b48c7eba8bf57e3d9175bb453fcdab1e7b0fbb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling poise_macros v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.59s [INFO] running `Command { std: "docker" "inspect" "4fe087b517d61ef64ed97e74c4b48c7eba8bf57e3d9175bb453fcdab1e7b0fbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe087b517d61ef64ed97e74c4b48c7eba8bf57e3d9175bb453fcdab1e7b0fbb", kill_on_drop: false }` [INFO] [stdout] 4fe087b517d61ef64ed97e74c4b48c7eba8bf57e3d9175bb453fcdab1e7b0fbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b325bcc63a25ac451c875fa0f2ca1571274d2193e9eea84f013de48f810cb49d [INFO] running `Command { std: "docker" "start" "-a" "b325bcc63a25ac451c875fa0f2ca1571274d2193e9eea84f013de48f810cb49d", kill_on_drop: false }` [INFO] [stderr] Compiling poise_macros v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "b325bcc63a25ac451c875fa0f2ca1571274d2193e9eea84f013de48f810cb49d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b325bcc63a25ac451c875fa0f2ca1571274d2193e9eea84f013de48f810cb49d", kill_on_drop: false }` [INFO] [stdout] b325bcc63a25ac451c875fa0f2ca1571274d2193e9eea84f013de48f810cb49d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cbc9525bb03f42f058b5bf39d9ab7f4ac818086ca27c0d16fc8501b4c7499a90 [INFO] running `Command { std: "docker" "start" "-a" "cbc9525bb03f42f058b5bf39d9ab7f4ac818086ca27c0d16fc8501b4c7499a90", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/poise_macros-d72f0424b6d45f43) [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 poise_macros [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - choice_parameter (line 208) ... FAILED [INFO] [stdout] test src/lib.rs - command (line 140) ... FAILED [INFO] [stdout] test src/lib.rs - command (line 153) ... FAILED [INFO] [stdout] test src/lib.rs - command (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - command (line 161) ... FAILED [INFO] [stdout] test src/lib.rs - choice_parameter (line 231) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - choice_parameter (line 208) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `poise` in this scope [INFO] [stdout] --> src/lib.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(poise::ChoiceParameter)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `poise` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `name` in this scope [INFO] [stdout] --> src/lib.rs:211:7 [INFO] [stdout] | [INFO] [stdout] 211 | #[name = "The first choice"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `name` in this scope [INFO] [stdout] --> src/lib.rs:214:7 [INFO] [stdout] | [INFO] [stdout] 214 | #[name = "The second choice"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `name` in this scope [INFO] [stdout] --> src/lib.rs:215:7 [INFO] [stdout] | [INFO] [stdout] 215 | #[name = "ChoiceB"] [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - command (line 140) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 141 | poise::Command { [INFO] [stdout] | -------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 144 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `poise` in this scope [INFO] [stdout] --> src/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | poise::Command { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `poise` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `poise`, use `cargo add poise` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 - command (line 153) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `poise` in this scope [INFO] [stdout] --> src/lib.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | #[poise::command(slash_command, prefix_command)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `poise` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | async fn my_command(ctx: Context<'_>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:156:53 [INFO] [stdout] | [INFO] [stdout] 156 | async fn my_command(ctx: Context<'_>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 153 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 153 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 153 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 153 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [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/lib.rs - command (line 127) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:137:78 [INFO] [stdout] | [INFO] [stdout] 137 | pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 137 - pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { ... } [INFO] [stdout] 137 + pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 137 - pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { ... } [INFO] [stdout] 137 + pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:137:78 [INFO] [stdout] | [INFO] [stdout] 137 | pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 137 - pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { ... } [INFO] [stdout] 137 + pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `poise` in this scope [INFO] [stdout] --> src/lib.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | #[poise::command(slash_command)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `poise` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:137:31 [INFO] [stdout] | [INFO] [stdout] 137 | pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { ... } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 127 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:137:69 [INFO] [stdout] | [INFO] [stdout] 137 | pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { ... } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 127 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 127 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 127 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 127 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - command (line 161) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `Data` in this scope [INFO] [stdout] --> src/lib.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 162 | fn my_command() -> poise::Command { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 161 + use darling::ast::Data; [INFO] [stdout] | [INFO] [stdout] 161 + use syn::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | fn my_command() -> poise::Command { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 161 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 161 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 161 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 161 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | async fn inner(ctx: Context<'_>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 161 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:163:52 [INFO] [stdout] | [INFO] [stdout] 163 | async fn inner(ctx: Context<'_>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 161 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 161 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 161 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 161 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `poise` in this scope [INFO] [stdout] --> src/lib.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | fn my_command() -> poise::Command { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `poise` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `poise`, use `cargo add poise` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `poise` in this scope [INFO] [stdout] --> src/lib.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | poise::Command { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `poise` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `poise`, use `cargo add poise` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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/lib.rs - choice_parameter (line 231) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `poise` in this scope [INFO] [stdout] --> src/lib.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(poise::ChoiceParameter)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `poise` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `name_localized` in this scope [INFO] [stdout] --> src/lib.rs:234:7 [INFO] [stdout] | [INFO] [stdout] 234 | #[name_localized("de", "Eier")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `name_localized` in this scope [INFO] [stdout] --> src/lib.rs:235:7 [INFO] [stdout] | [INFO] [stdout] 235 | #[name_localized("es-ES", "Huevos")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `name_localized` in this scope [INFO] [stdout] --> src/lib.rs:237:7 [INFO] [stdout] | [INFO] [stdout] 237 | #[name_localized("de", "Pizza")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `name_localized` in this scope [INFO] [stdout] --> src/lib.rs:238:7 [INFO] [stdout] | [INFO] [stdout] 238 | #[name_localized("es-ES", "Pizza")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `name_localized` in this scope [INFO] [stdout] --> src/lib.rs:240:7 [INFO] [stdout] | [INFO] [stdout] 240 | #[name_localized("de", "Müsli")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `name_localized` in this scope [INFO] [stdout] --> src/lib.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | #[name_localized("es-ES", "Muesli")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - choice_parameter (line 208) [INFO] [stdout] src/lib.rs - choice_parameter (line 231) [INFO] [stdout] src/lib.rs - command (line 127) [INFO] [stdout] src/lib.rs - command (line 140) [INFO] [stdout] src/lib.rs - command (line 153) [INFO] [stdout] src/lib.rs - command (line 161) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cbc9525bb03f42f058b5bf39d9ab7f4ac818086ca27c0d16fc8501b4c7499a90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbc9525bb03f42f058b5bf39d9ab7f4ac818086ca27c0d16fc8501b4c7499a90", kill_on_drop: false }` [INFO] [stdout] cbc9525bb03f42f058b5bf39d9ab7f4ac818086ca27c0d16fc8501b4c7499a90