[INFO] fetching crate strum_macros 0.27.2... [INFO] testing strum_macros-0.27.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate strum_macros 0.27.2 into /workspace/builds/worker-0-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate strum_macros 0.27.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c97a2f5c62be8bc73c391fbd28c3d6ebcb6a87642fb22cc09d3485da9826e055 [INFO] running `Command { std: "docker" "start" "-a" "c97a2f5c62be8bc73c391fbd28c3d6ebcb6a87642fb22cc09d3485da9826e055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c97a2f5c62be8bc73c391fbd28c3d6ebcb6a87642fb22cc09d3485da9826e055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97a2f5c62be8bc73c391fbd28c3d6ebcb6a87642fb22cc09d3485da9826e055", kill_on_drop: false }` [INFO] [stdout] c97a2f5c62be8bc73c391fbd28c3d6ebcb6a87642fb22cc09d3485da9826e055 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 248a93910d3b607781a8d98683fe36f306c86fbb7d5481c96a2919595bc52428 [INFO] running `Command { std: "docker" "start" "-a" "248a93910d3b607781a8d98683fe36f306c86fbb7d5481c96a2919595bc52428", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [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 7.12s [INFO] running `Command { std: "docker" "inspect" "248a93910d3b607781a8d98683fe36f306c86fbb7d5481c96a2919595bc52428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "248a93910d3b607781a8d98683fe36f306c86fbb7d5481c96a2919595bc52428", kill_on_drop: false }` [INFO] [stdout] 248a93910d3b607781a8d98683fe36f306c86fbb7d5481c96a2919595bc52428 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0208139953992c951791e898e9c751157dd4f540b9631a671721f5d608a6ba6 [INFO] running `Command { std: "docker" "start" "-a" "c0208139953992c951791e898e9c751157dd4f540b9631a671721f5d608a6ba6", 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 3.52s [INFO] running `Command { std: "docker" "inspect" "c0208139953992c951791e898e9c751157dd4f540b9631a671721f5d608a6ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0208139953992c951791e898e9c751157dd4f540b9631a671721f5d608a6ba6", kill_on_drop: false }` [INFO] [stdout] c0208139953992c951791e898e9c751157dd4f540b9631a671721f5d608a6ba6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] caeb1b1de212bd0afdf6fefc2e48ccbc03273ecefd20b5edbed5f10a6f9c0583 [INFO] running `Command { std: "docker" "start" "-a" "caeb1b1de212bd0afdf6fefc2e48ccbc03273ecefd20b5edbed5f10a6f9c0583", 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/strum_macros-580669a3c7360863) [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.00s [INFO] [stdout] [INFO] [stderr] Doc-tests strum_macros [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/lib.rs - enum_properties (line 796) ... FAILED [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 - from_string (line 67) ... FAILED [INFO] [stdout] test src/lib.rs - enum_iter (line 469) ... FAILED [INFO] [stdout] test src/lib.rs - display (line 404) ... ok [INFO] [stdout] test src/lib.rs - enum_table (line 584) ... ok [INFO] [stdout] test src/lib.rs - from_repr (line 668) ... 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 - static_variants_array (line 263) ... FAILED [INFO] [stdout] test src/lib.rs - variant_names (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - as_ref_str (line 143) ... ok [INFO] [stdout] test src/lib.rs - enum_try_as (line 535) ... ok [INFO] [stdout] test src/lib.rs - enum_discriminants (line 855) ... FAILED [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 - display (line 414) ... ok [INFO] [stdout] test src/lib.rs - to_string (line 349) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 - 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 - 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_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_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 - 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] [stderr] error: doctest failed, to rerun pass `--doc` [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.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "caeb1b1de212bd0afdf6fefc2e48ccbc03273ecefd20b5edbed5f10a6f9c0583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caeb1b1de212bd0afdf6fefc2e48ccbc03273ecefd20b5edbed5f10a6f9c0583", kill_on_drop: false }` [INFO] [stdout] caeb1b1de212bd0afdf6fefc2e48ccbc03273ecefd20b5edbed5f10a6f9c0583