[INFO] fetching crate strum_macros 0.28.0... [INFO] testing strum_macros-0.28.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate strum_macros 0.28.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate strum_macros 0.28.0 [INFO] finished tweaking crates.io crate strum_macros 0.28.0 [INFO] tweaked toml for crates.io crate strum_macros 0.28.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate strum_macros 0.28.0 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] crate crates.io crate strum_macros 0.28.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] 1197fb6bff127412fb17f9d2c377d50054382550e2ad9a3bcb902f83b1c3f524 [INFO] running `Command { std: "docker" "start" "-a" "1197fb6bff127412fb17f9d2c377d50054382550e2ad9a3bcb902f83b1c3f524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1197fb6bff127412fb17f9d2c377d50054382550e2ad9a3bcb902f83b1c3f524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1197fb6bff127412fb17f9d2c377d50054382550e2ad9a3bcb902f83b1c3f524", kill_on_drop: false }` [INFO] [stdout] 1197fb6bff127412fb17f9d2c377d50054382550e2ad9a3bcb902f83b1c3f524 [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] 0cf873c951ccf9bd3061c4be416f1a8ddb1329dd8246d31978e84de4a0823eee [INFO] running `Command { std: "docker" "start" "-a" "0cf873c951ccf9bd3061c4be416f1a8ddb1329dd8246d31978e84de4a0823eee", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling strum_macros v0.28.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.16s [INFO] running `Command { std: "docker" "inspect" "0cf873c951ccf9bd3061c4be416f1a8ddb1329dd8246d31978e84de4a0823eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf873c951ccf9bd3061c4be416f1a8ddb1329dd8246d31978e84de4a0823eee", kill_on_drop: false }` [INFO] [stdout] 0cf873c951ccf9bd3061c4be416f1a8ddb1329dd8246d31978e84de4a0823eee [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] 218a95e02f1fec9d4247ecf575251a259f7c76c4777ac94d7367232b6f634839 [INFO] running `Command { std: "docker" "start" "-a" "218a95e02f1fec9d4247ecf575251a259f7c76c4777ac94d7367232b6f634839", kill_on_drop: false }` [INFO] [stderr] Compiling strum_macros v0.28.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "218a95e02f1fec9d4247ecf575251a259f7c76c4777ac94d7367232b6f634839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "218a95e02f1fec9d4247ecf575251a259f7c76c4777ac94d7367232b6f634839", kill_on_drop: false }` [INFO] [stdout] 218a95e02f1fec9d4247ecf575251a259f7c76c4777ac94d7367232b6f634839 [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] 96b81dfba44d93da8c6b8c31d7e63b14bb0fe43692fd8cbb14b9029f85c79f6e [INFO] running `Command { std: "docker" "start" "-a" "96b81dfba44d93da8c6b8c31d7e63b14bb0fe43692fd8cbb14b9029f85c79f6e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/strum_macros-2e60de1c284593ed) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test helpers::case_style::tests::test_impl_from_str_for_case_style_pascal_case ... ok [INFO] [stdout] test helpers::case_style::tests::test_convert_case ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests strum_macros [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/lib.rs - enum_count (line 965) ... FAILED [INFO] [stdout] test src/lib.rs - enum_messages (line 717) ... FAILED [INFO] [stdout] test src/lib.rs - enum_properties (line 805) ... FAILED [INFO] [stdout] test src/lib.rs - enum_iter (line 478) ... FAILED [INFO] [stdout] test src/lib.rs - variant_names (line 223) ... FAILED [INFO] [stdout] test src/lib.rs - static_variants_array (line 272) ... FAILED [INFO] [stdout] test src/lib.rs - as_ref_str (line 152) ... ok [INFO] [stdout] test src/lib.rs - from_repr (line 677) ... ok [INFO] [stdout] test src/lib.rs - enum_discriminants (line 927) ... FAILED [INFO] [stdout] test src/lib.rs - from_string (line 76) ... FAILED [INFO] [stdout] test src/lib.rs - enum_is (line 517) ... ok [INFO] [stdout] test src/lib.rs - display (line 413) ... ok [INFO] [stdout] test src/lib.rs - enum_table (line 593) ... ok [INFO] [stdout] test src/lib.rs - into_static_str (line 320) ... ok [INFO] [stdout] test src/lib.rs - enum_try_as (line 544) ... ok [INFO] [stdout] test src/lib.rs - display (line 423) ... ok [INFO] [stdout] test src/lib.rs - from_repr (line 646) ... ok [INFO] [stdout] test src/lib.rs - to_string (line 358) ... ok [INFO] [stdout] test src/lib.rs - enum_discriminants (line 864) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - enum_count (line 965) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:967:5 [INFO] [stdout] | [INFO] [stdout] 967 | 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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:970:17 [INFO] [stdout] | [INFO] [stdout] 970 | #[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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:970:33 [INFO] [stdout] | [INFO] [stdout] 970 | #[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 717) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | 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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:723:10 [INFO] [stdout] | [INFO] [stdout] 723 | #[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 - enum_properties (line 805) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 809 | 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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:811:10 [INFO] [stdout] | [INFO] [stdout] 811 | #[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 - enum_iter (line 478) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | 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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:484:10 [INFO] [stdout] | [INFO] [stdout] 484 | #[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 - variant_names (line 223) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | 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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | #[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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:230:29 [INFO] [stdout] | [INFO] [stdout] 230 | #[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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | #[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] 222 + 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 - static_variants_array (line 272) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | 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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:277:10 [INFO] [stdout] | [INFO] [stdout] 277 | #[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 - enum_discriminants (line 927) stdout ---- [INFO] [stdout] error[E0433]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:936:21 [INFO] [stdout] | [INFO] [stdout] 936 | #[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 - from_string (line 76) stdout ---- [INFO] [stdout] error[E0433]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | #[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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | #[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] 75 + 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 864) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `strum` [INFO] [stdout] --> src/lib.rs:868:5 [INFO] [stdout] | [INFO] [stdout] 868 | 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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:877:30 [INFO] [stdout] | [INFO] [stdout] 877 | #[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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:877:42 [INFO] [stdout] | [INFO] [stdout] 877 | #[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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:876:17 [INFO] [stdout] | [INFO] [stdout] 876 | #[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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:888:30 [INFO] [stdout] | [INFO] [stdout] 888 | #[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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:887:17 [INFO] [stdout] | [INFO] [stdout] 887 | #[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]: cannot find `strum` in the crate root [INFO] [stdout] --> src/lib.rs:877:30 [INFO] [stdout] | [INFO] [stdout] 877 | #[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] 863 + 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 965) [INFO] [stdout] src/lib.rs - enum_discriminants (line 864) [INFO] [stdout] src/lib.rs - enum_discriminants (line 927) [INFO] [stdout] src/lib.rs - enum_iter (line 478) [INFO] [stdout] src/lib.rs - enum_messages (line 717) [INFO] [stdout] src/lib.rs - enum_properties (line 805) [INFO] [stdout] src/lib.rs - from_string (line 76) [INFO] [stdout] src/lib.rs - static_variants_array (line 272) [INFO] [stdout] src/lib.rs - variant_names (line 223) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.70s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "96b81dfba44d93da8c6b8c31d7e63b14bb0fe43692fd8cbb14b9029f85c79f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b81dfba44d93da8c6b8c31d7e63b14bb0fe43692fd8cbb14b9029f85c79f6e", kill_on_drop: false }` [INFO] [stdout] 96b81dfba44d93da8c6b8c31d7e63b14bb0fe43692fd8cbb14b9029f85c79f6e