[INFO] fetching crate poise_macros 0.6.1... [INFO] testing poise_macros-0.6.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate poise_macros 0.6.1 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate poise_macros 0.6.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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.21.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b1c7f25afd3ec13d655e7165e96122da32b9f568201299fd7fd524e26668de7 [INFO] running `Command { std: "docker" "start" "-a" "1b1c7f25afd3ec13d655e7165e96122da32b9f568201299fd7fd524e26668de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b1c7f25afd3ec13d655e7165e96122da32b9f568201299fd7fd524e26668de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b1c7f25afd3ec13d655e7165e96122da32b9f568201299fd7fd524e26668de7", kill_on_drop: false }` [INFO] [stdout] 1b1c7f25afd3ec13d655e7165e96122da32b9f568201299fd7fd524e26668de7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 955c38e5264b15278db8e60874164e11493454323063f0a4b7085a74f3b3b152 [INFO] running `Command { std: "docker" "start" "-a" "955c38e5264b15278db8e60874164e11493454323063f0a4b7085a74f3b3b152", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.110 [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.73s [INFO] running `Command { std: "docker" "inspect" "955c38e5264b15278db8e60874164e11493454323063f0a4b7085a74f3b3b152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955c38e5264b15278db8e60874164e11493454323063f0a4b7085a74f3b3b152", kill_on_drop: false }` [INFO] [stdout] 955c38e5264b15278db8e60874164e11493454323063f0a4b7085a74f3b3b152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 646f9ea91d97593654774edfdc731a733104e37bbd6a964858b836d2f5ee8b96 [INFO] running `Command { std: "docker" "start" "-a" "646f9ea91d97593654774edfdc731a733104e37bbd6a964858b836d2f5ee8b96", 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.44s [INFO] running `Command { std: "docker" "inspect" "646f9ea91d97593654774edfdc731a733104e37bbd6a964858b836d2f5ee8b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "646f9ea91d97593654774edfdc731a733104e37bbd6a964858b836d2f5ee8b96", kill_on_drop: false }` [INFO] [stdout] 646f9ea91d97593654774edfdc731a733104e37bbd6a964858b836d2f5ee8b96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bdebf610bb63b5460623ef69c4c233e1a0dbdf3867e9b4a7bde1432a53cc47c9 [INFO] running `Command { std: "docker" "start" "-a" "bdebf610bb63b5460623ef69c4c233e1a0dbdf3867e9b4a7bde1432a53cc47c9", 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-9920f842f0163f4e) [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 161) ... FAILED [INFO] [stdout] test src/lib.rs - choice_parameter (line 231) ... 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] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - choice_parameter (line 208) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `poise` [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 161) stdout ---- [INFO] [stdout] error[E0412]: 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[E0412]: 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[E0412]: 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[E0412]: 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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | prefix_action: Some(|ctx| Box::pin(async move { [INFO] [stdout] | ^^^ [INFO] [stdout] 171 | inner(ctx.into()).await [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 170 | prefix_action: Some(|ctx: /* Type */| Box::pin(async move { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | slash_action: Some(|ctx| Box::pin(async move { [INFO] [stdout] | ^^^ [INFO] [stdout] 174 | inner(ctx.into()).await [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 173 | slash_action: Some(|ctx: /* Type */| Box::pin(async move { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `poise` [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]: failed to resolve: use of unresolved module or unlinked crate `poise` [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 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - choice_parameter (line 231) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `poise` [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] ---- 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]: failed to resolve: use of unresolved module or unlinked crate `poise` [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]: failed to resolve: use of unresolved module or unlinked crate `poise` [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[E0412]: 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[E0412]: 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: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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]: failed to resolve: use of unresolved module or unlinked crate `poise` [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[E0412]: 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[E0412]: 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: E0412, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bdebf610bb63b5460623ef69c4c233e1a0dbdf3867e9b4a7bde1432a53cc47c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdebf610bb63b5460623ef69c4c233e1a0dbdf3867e9b4a7bde1432a53cc47c9", kill_on_drop: false }` [INFO] [stdout] bdebf610bb63b5460623ef69c4c233e1a0dbdf3867e9b4a7bde1432a53cc47c9