[INFO] fetching crate strum_macros 0.27.2... [INFO] testing strum_macros-0.27.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate strum_macros 0.27.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate strum_macros 0.27.2 [INFO] finished tweaking crates.io crate strum_macros 0.27.2 [INFO] tweaked toml for crates.io crate strum_macros 0.27.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate strum_macros 0.27.2 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] crate crates.io crate strum_macros 0.27.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad8fbd9fdc763bd42a6f531e5f4b35b6703b93c4e6de38d9e7a835bf154c35c2 [INFO] running `Command { std: "docker" "start" "-a" "ad8fbd9fdc763bd42a6f531e5f4b35b6703b93c4e6de38d9e7a835bf154c35c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad8fbd9fdc763bd42a6f531e5f4b35b6703b93c4e6de38d9e7a835bf154c35c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad8fbd9fdc763bd42a6f531e5f4b35b6703b93c4e6de38d9e7a835bf154c35c2", kill_on_drop: false }` [INFO] [stdout] ad8fbd9fdc763bd42a6f531e5f4b35b6703b93c4e6de38d9e7a835bf154c35c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46f99ce5f5b866723d898813a206dce61de0983ce1164bce34a216e8a7ea9131 [INFO] running `Command { std: "docker" "start" "-a" "46f99ce5f5b866723d898813a206dce61de0983ce1164bce34a216e8a7ea9131", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling strum_macros v0.27.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.33s [INFO] running `Command { std: "docker" "inspect" "46f99ce5f5b866723d898813a206dce61de0983ce1164bce34a216e8a7ea9131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f99ce5f5b866723d898813a206dce61de0983ce1164bce34a216e8a7ea9131", kill_on_drop: false }` [INFO] [stdout] 46f99ce5f5b866723d898813a206dce61de0983ce1164bce34a216e8a7ea9131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed477194be13d9a84a01aca5f2502ed5caad800bca0bc0ab097a590ac4f830ee [INFO] running `Command { std: "docker" "start" "-a" "ed477194be13d9a84a01aca5f2502ed5caad800bca0bc0ab097a590ac4f830ee", kill_on_drop: false }` [INFO] [stderr] Compiling strum_macros v0.27.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "ed477194be13d9a84a01aca5f2502ed5caad800bca0bc0ab097a590ac4f830ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed477194be13d9a84a01aca5f2502ed5caad800bca0bc0ab097a590ac4f830ee", kill_on_drop: false }` [INFO] [stdout] ed477194be13d9a84a01aca5f2502ed5caad800bca0bc0ab097a590ac4f830ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 89fd4c9fa99b7836c45ced4cb3b57e3645b3c8a9afb443d13f888ce2fd2730c3 [INFO] running `Command { std: "docker" "start" "-a" "89fd4c9fa99b7836c45ced4cb3b57e3645b3c8a9afb443d13f888ce2fd2730c3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/strum_macros-580669a3c7360863) [INFO] [stdout] running 2 tests [INFO] [stderr] Doc-tests strum_macros [INFO] [stdout] test helpers::case_style::tests::test_convert_case ... ok [INFO] [stdout] test helpers::case_style::tests::test_impl_from_str_for_case_style_pascal_case ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/lib.rs - enum_iter (line 469) ... FAILED [INFO] [stdout] test src/lib.rs - enum_properties (line 796) ... FAILED [INFO] [stdout] test src/lib.rs - from_string (line 67) ... FAILED [INFO] [stdout] test src/lib.rs - as_ref_str (line 143) ... ok [INFO] [stdout] test src/lib.rs - enum_discriminants (line 918) ... FAILED [INFO] [stdout] test src/lib.rs - into_static_str (line 311) ... ok [INFO] [stdout] test src/lib.rs - enum_is (line 508) ... ok [INFO] [stdout] test src/lib.rs - from_repr (line 637) ... ok [INFO] [stdout] test src/lib.rs - enum_count (line 956) ... FAILED [INFO] [stdout] test src/lib.rs - enum_messages (line 708) ... FAILED [INFO] [stdout] test src/lib.rs - display (line 404) ... ok [INFO] [stdout] test src/lib.rs - enum_try_as (line 535) ... ok [INFO] [stdout] test src/lib.rs - from_repr (line 668) ... ok [INFO] [stdout] test src/lib.rs - display (line 414) ... ok [INFO] [stdout] test src/lib.rs - static_variants_array (line 263) ... FAILED [INFO] [stdout] test src/lib.rs - to_string (line 349) ... ok [INFO] [stdout] test src/lib.rs - enum_table (line 584) ... ok [INFO] [stdout] test src/lib.rs - variant_names (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - enum_discriminants (line 855) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - enum_iter (line 469) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 6 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `strum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `strum`, use `cargo add strum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:475:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(EnumIter, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumIter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [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_properties (line 796) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 7 | use strum::EnumProperty; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `strum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `strum`, use `cargo add strum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:802:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(strum_macros::EnumProperty, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `strum_macros::EnumProperty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - from_string (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, EnumString)] [INFO] [stdout] | ^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumString` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, EnumString)] [INFO] [stdout] | ^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumString` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use std::string::ParseError; [INFO] [stdout] | [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 - enum_discriminants (line 918) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:927:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, EnumDiscriminants)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumDiscriminants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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_count (line 956) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:958:5 [INFO] [stdout] | [INFO] [stdout] 5 | use strum::{EnumCount, IntoEnumIterator}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `strum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `strum`, use `cargo add strum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:961:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, EnumCountMacro, EnumIter)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumCountMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:961:33 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, EnumCountMacro, EnumIter)] [INFO] [stdout] | ^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumIter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [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_messages (line 708) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 6 | use strum::EnumMessage; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `strum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `strum`, use `cargo add strum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:714:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(strum_macros::EnumMessage, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `strum_macros::EnumMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - static_variants_array (line 263) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 5 | use strum::VariantArray as _; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `strum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `strum`, use `cargo add strum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(VariantArray, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `VariantArray` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - variant_names (line 214) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 8 | use strum::VariantNames; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `strum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `strum`, use `cargo add strum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, EnumString, strum_macros::VariantNames)] [INFO] [stdout] | ^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumString` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, EnumString, strum_macros::VariantNames)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `strum_macros::VariantNames` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, EnumString, strum_macros::VariantNames)] [INFO] [stdout] | ^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumString` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use std::string::ParseError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [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_discriminants (line 855) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:859:5 [INFO] [stdout] | [INFO] [stdout] 7 | use strum::{IntoEnumIterator, EnumMessage as _}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `strum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `strum`, use `cargo add strum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:868:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[strum_discriminants(derive(EnumString, EnumMessage))] [INFO] [stdout] | ^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumString` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:868:42 [INFO] [stdout] | [INFO] [stdout] 16 | #[strum_discriminants(derive(EnumString, EnumMessage))] [INFO] [stdout] | ^^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:867:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, EnumDiscriminants)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumDiscriminants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:879:30 [INFO] [stdout] | [INFO] [stdout] 27 | #[strum_discriminants(derive(EnumIter))] [INFO] [stdout] | ^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumIter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:878:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, EnumDiscriminants)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumDiscriminants` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `strum` in the list of imported crates [INFO] [stdout] --> src/lib.rs:868:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[strum_discriminants(derive(EnumString, EnumMessage))] [INFO] [stdout] | ^^^^^^^^^^ could not find `strum` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnumString` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use std::string::ParseError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - enum_count (line 956) [INFO] [stdout] src/lib.rs - enum_discriminants (line 855) [INFO] [stdout] src/lib.rs - enum_discriminants (line 918) [INFO] [stdout] src/lib.rs - enum_iter (line 469) [INFO] [stdout] src/lib.rs - enum_messages (line 708) [INFO] [stdout] src/lib.rs - enum_properties (line 796) [INFO] [stdout] src/lib.rs - from_string (line 67) [INFO] [stdout] src/lib.rs - static_variants_array (line 263) [INFO] [stdout] src/lib.rs - variant_names (line 214) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "89fd4c9fa99b7836c45ced4cb3b57e3645b3c8a9afb443d13f888ce2fd2730c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89fd4c9fa99b7836c45ced4cb3b57e3645b3c8a9afb443d13f888ce2fd2730c3", kill_on_drop: false }` [INFO] [stdout] 89fd4c9fa99b7836c45ced4cb3b57e3645b3c8a9afb443d13f888ce2fd2730c3