[INFO] fetching crate poise_macros 0.6.1... [INFO] testing poise_macros-0.6.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [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 cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b5aa858657c21193a630da5158c72279c3e8dbf976bb14e19884f7031637c38 [INFO] running `Command { std: "docker" "start" "-a" "9b5aa858657c21193a630da5158c72279c3e8dbf976bb14e19884f7031637c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b5aa858657c21193a630da5158c72279c3e8dbf976bb14e19884f7031637c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5aa858657c21193a630da5158c72279c3e8dbf976bb14e19884f7031637c38", kill_on_drop: false }` [INFO] [stdout] 9b5aa858657c21193a630da5158c72279c3e8dbf976bb14e19884f7031637c38 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35b6aac8493b6e1cf8e35fff505cbe2d8cfd433ca03743718fbca6b95bd832f5 [INFO] running `Command { std: "docker" "start" "-a" "35b6aac8493b6e1cf8e35fff505cbe2d8cfd433ca03743718fbca6b95bd832f5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [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 6.98s [INFO] running `Command { std: "docker" "inspect" "35b6aac8493b6e1cf8e35fff505cbe2d8cfd433ca03743718fbca6b95bd832f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35b6aac8493b6e1cf8e35fff505cbe2d8cfd433ca03743718fbca6b95bd832f5", kill_on_drop: false }` [INFO] [stdout] 35b6aac8493b6e1cf8e35fff505cbe2d8cfd433ca03743718fbca6b95bd832f5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0fe23fd8460bd6ff6704be994b11da9e46524ebc3e30886d4831429bfd38d27 [INFO] running `Command { std: "docker" "start" "-a" "d0fe23fd8460bd6ff6704be994b11da9e46524ebc3e30886d4831429bfd38d27", 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.03s [INFO] running `Command { std: "docker" "inspect" "d0fe23fd8460bd6ff6704be994b11da9e46524ebc3e30886d4831429bfd38d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0fe23fd8460bd6ff6704be994b11da9e46524ebc3e30886d4831429bfd38d27", kill_on_drop: false }` [INFO] [stdout] d0fe23fd8460bd6ff6704be994b11da9e46524ebc3e30886d4831429bfd38d27 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f955c6e946c29e4a1763377e3800eb04201037614eab1dde665df96719796a87 [INFO] running `Command { std: "docker" "start" "-a" "f955c6e946c29e4a1763377e3800eb04201037614eab1dde665df96719796a87", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/poise_macros-47ab401fb5434c9e) [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 - command (line 153) ... FAILED [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 - choice_parameter (line 231) ... FAILED [INFO] [stdout] test src/lib.rs - command (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - command (line 161) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 4 | #[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] 5 | 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] 2 + 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] 5 | 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] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + 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 - 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] 3 | #[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] 5 | #[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] 8 | #[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] 9 | #[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] 3 | poise::Command { [INFO] [stdout] | -------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 6 | ... [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] 3 | 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 - 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] 3 | #[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] 5 | #[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] 6 | #[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] 8 | #[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] 9 | #[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] 11 | #[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] 12 | #[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 127) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:137:78 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 12 - pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { ... } [INFO] [stdout] 12 + pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 12 - pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { ... } [INFO] [stdout] 12 + 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] 12 | 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] 12 - pub async fn coolcommand(ctx: Context<'_>, s: String) -> Result<(), Error> { ... } [INFO] [stdout] 12 + 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] 11 | #[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] 12 | 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] 2 + 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] 12 | 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] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + 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] ---- 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] 3 | 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] 2 + use darling::ast::Data; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | 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] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 4 | 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] 2 + 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] 4 | 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] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [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] 3 | 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] 8 | 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: E0412, E0433. [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.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f955c6e946c29e4a1763377e3800eb04201037614eab1dde665df96719796a87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f955c6e946c29e4a1763377e3800eb04201037614eab1dde665df96719796a87", kill_on_drop: false }` [INFO] [stdout] f955c6e946c29e4a1763377e3800eb04201037614eab1dde665df96719796a87