[INFO] fetching crate num_enum_derive 0.7.5...
[INFO] testing num_enum_derive-0.7.5 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate num_enum_derive 0.7.5 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate num_enum_derive 0.7.5
[INFO] finished tweaking crates.io crate num_enum_derive 0.7.5
[INFO] tweaked toml for crates.io crate num_enum_derive 0.7.5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate num_enum_derive 0.7.5 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate num_enum_derive 0.7.5 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded toml_datetime v0.6.7
[INFO] [stderr]   Downloaded proc-macro-crate v3.1.0
[INFO] [stderr]   Downloaded toml_edit v0.21.1
[INFO] [stderr]   Downloaded syn v2.0.72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 26fd0b4c84199a27007ddd57d3cd318822fd5a863a0ab79e3de45135d370a811
[INFO] running `Command { std: "docker" "start" "-a" "26fd0b4c84199a27007ddd57d3cd318822fd5a863a0ab79e3de45135d370a811", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26fd0b4c84199a27007ddd57d3cd318822fd5a863a0ab79e3de45135d370a811", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26fd0b4c84199a27007ddd57d3cd318822fd5a863a0ab79e3de45135d370a811", kill_on_drop: false }`
[INFO] [stdout] 26fd0b4c84199a27007ddd57d3cd318822fd5a863a0ab79e3de45135d370a811
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d9e87bcf9eb83a6c828644fc1dd8023af689bf908864e6d2210d79ddba0d0147
[INFO] running `Command { std: "docker" "start" "-a" "d9e87bcf9eb83a6c828644fc1dd8023af689bf908864e6d2210d79ddba0d0147", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling toml_datetime v0.6.7
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling num_enum_derive v0.7.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.50s
[INFO] running `Command { std: "docker" "inspect" "d9e87bcf9eb83a6c828644fc1dd8023af689bf908864e6d2210d79ddba0d0147", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9e87bcf9eb83a6c828644fc1dd8023af689bf908864e6d2210d79ddba0d0147", kill_on_drop: false }`
[INFO] [stdout] d9e87bcf9eb83a6c828644fc1dd8023af689bf908864e6d2210d79ddba0d0147
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df8b10b2f24f728cba865b5d2d9681ea0bb6bdabf2f16e4b859a6c2d505e5bd8
[INFO] running `Command { std: "docker" "start" "-a" "df8b10b2f24f728cba865b5d2d9681ea0bb6bdabf2f16e4b859a6c2d505e5bd8", kill_on_drop: false }`
[INFO] [stderr]    Compiling num_enum_derive v0.7.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s
[INFO] running `Command { std: "docker" "inspect" "df8b10b2f24f728cba865b5d2d9681ea0bb6bdabf2f16e4b859a6c2d505e5bd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df8b10b2f24f728cba865b5d2d9681ea0bb6bdabf2f16e4b859a6c2d505e5bd8", kill_on_drop: false }`
[INFO] [stdout] df8b10b2f24f728cba865b5d2d9681ea0bb6bdabf2f16e4b859a6c2d505e5bd8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2f25a69887a462a545d46c93f3d7c043069cad7e4cbae8f6d1ca89db5728873d
[INFO] running `Command { std: "docker" "start" "-a" "2f25a69887a462a545d46c93f3d7c043069cad7e4cbae8f6d1ca89db5728873d", 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/num_enum_derive-aa3e168f2dabcf3b)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test enum_attributes::test::missing_both ... ok
[INFO] [stdout] test enum_attributes::test::missing_name ... ok
[INFO] [stdout] test enum_attributes::test::multiple_constructors ... ok
[INFO] [stdout] test enum_attributes::test::multiple_names ... ok
[INFO] [stdout] test enum_attributes::test::missing_constructor ... ok
[INFO] [stdout] test enum_attributes::test::extra_attr ... ok
[INFO] [stdout] test enum_attributes::test::parse_num_enum_attr_swapped_order ... ok
[INFO] [stdout] test enum_attributes::test::parse_num_enum_attr ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests num_enum_derive
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - derive_try_from_primitive (line 170) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_into_primitive (line 23) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_default (line 326) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_unsafe_from_primitive (line 276) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_from_primitive (line 70) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - derive_try_from_primitive (line 170) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_enum`
[INFO] [stdout]    --> src/lib.rs:171:5
[INFO] [stdout]     |
[INFO] [stdout] 171 | use num_enum::TryFromPrimitive;
[INFO] [stdout]     |     ^^^^^^^^ use of unresolved module or unlinked crate `num_enum`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `num_enum`, use `cargo add num_enum` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Number: TryFrom<u8>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 181 | let zero = Number::try_from(0u8);
[INFO] [stdout]     |            ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `From<u8>` is not implemented for `Number`
[INFO] [stdout]    --> src/lib.rs:176:1
[INFO] [stdout]     |
[INFO] [stdout] 176 | enum Number {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = note: required for `u8` to implement `Into<Number>`
[INFO] [stdout]     = note: required for `Number` to implement `TryFrom<u8>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Number: TryFrom<u8>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 | let three = Number::try_from(3u8);
[INFO] [stdout]     |             ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `From<u8>` is not implemented for `Number`
[INFO] [stdout]    --> src/lib.rs:176:1
[INFO] [stdout]     |
[INFO] [stdout] 176 | enum Number {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = note: required for `u8` to implement `Into<Number>`
[INFO] [stdout]     = note: required for `Number` to implement `TryFrom<u8>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Number: From<u8>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 181 | let zero = Number::try_from(0u8);
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `From<u8>` is not implemented for `Number`
[INFO] [stdout]    --> src/lib.rs:176:1
[INFO] [stdout]     |
[INFO] [stdout] 176 | enum Number {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = note: required for `u8` to implement `Into<Number>`
[INFO] [stdout]     = note: required for `Number` to implement `TryFrom<u8>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_into_primitive (line 23) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_enum`
[INFO] [stdout]   --> src/lib.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use num_enum::IntoPrimitive;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `num_enum`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `num_enum`, use `cargo add num_enum` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u8: From<Number>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 | let zero: u8 = Number::Zero.into();
[INFO] [stdout]    |                             ^^^^ the trait `From<Number>` is not implemented for `u8`
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `From<T>`
[INFO] [stdout]   --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/convert/num.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: `u8` implements `From<bool>`
[INFO] [stdout]   ::: /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/convert/num.rs:86:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: in this macro invocation
[INFO] [stdout]   --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ascii/ascii_char.rs:1161:12
[INFO] [stdout]    |
[INFO] [stdout]    = note: `u8` implements `From<Char>`
[INFO] [stdout]   ::: /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ascii/ascii_char.rs:1171:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: in this macro invocation
[INFO] [stdout]    = note: required for `Number` to implement `Into<u8>`
[INFO] [stdout]    = note: this error originates in the macro `impl_from` which comes from the expansion of the macro `into_int_impl` (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: E0277, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_default (line 326) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_enum`
[INFO] [stdout]    --> src/lib.rs:327:32
[INFO] [stdout]     |
[INFO] [stdout] 327 | #[derive(Debug, Eq, PartialEq, num_enum::Default)]
[INFO] [stdout]     |                                ^^^^^^^^ use of unresolved module or unlinked crate `num_enum`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `default` in this scope
[INFO] [stdout]    --> src/lib.rs:331:7
[INFO] [stdout]     |
[INFO] [stdout] 331 |     #[default]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding a derive
[INFO] [stdout]     |
[INFO] [stdout] 329 + #[derive(Default)]
[INFO] [stdout] 330 | enum Number {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `default` found for enum `Number` in the current scope
[INFO] [stdout]    --> src/lib.rs:335:33
[INFO] [stdout]     |
[INFO] [stdout] 329 | enum Number {
[INFO] [stdout]     | ----------- variant or associated item `default` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 335 | assert_eq!(Number::One, Number::default());
[INFO] [stdout]     |                                 ^^^^^^^ variant or associated item not found in `Number`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `default`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Default`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Number: Default` is not satisfied
[INFO] [stdout]    --> src/lib.rs:336:26
[INFO] [stdout]     |
[INFO] [stdout] 336 | assert_eq!(Number::One, <Number as ::core::default::Default>::default());
[INFO] [stdout]     |                          ^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Default` is not implemented for `Number`
[INFO] [stdout]    --> src/lib.rs:329:1
[INFO] [stdout]     |
[INFO] [stdout] 329 | enum Number {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_unsafe_from_primitive (line 276) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_enum`
[INFO] [stdout]    --> src/lib.rs:277:5
[INFO] [stdout]     |
[INFO] [stdout] 277 | use num_enum::UnsafeFromPrimitive;
[INFO] [stdout]     |     ^^^^^^^^ use of unresolved module or unlinked crate `num_enum`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `num_enum`, use `cargo add num_enum` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unchecked_transmute_from` found for enum `Number` in the current scope
[INFO] [stdout]    --> src/lib.rs:289:26
[INFO] [stdout]     |
[INFO] [stdout] 281 | enum Number {
[INFO] [stdout]     | ----------- variant or associated item `unchecked_transmute_from` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 289 |         unsafe { Number::unchecked_transmute_from(0_u8) },
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Number`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unchecked_transmute_from` found for enum `Number` in the current scope
[INFO] [stdout]    --> src/lib.rs:293:26
[INFO] [stdout]     |
[INFO] [stdout] 281 | enum Number {
[INFO] [stdout]     | ----------- variant or associated item `unchecked_transmute_from` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 293 |         unsafe { Number::unchecked_transmute_from(1_u8) },
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Number`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unchecked_transmute_from` found for enum `Number` in the current scope
[INFO] [stdout]    --> src/lib.rs:298:21
[INFO] [stdout]     |
[INFO] [stdout] 281 | enum Number {
[INFO] [stdout]     | ----------- variant or associated item `unchecked_transmute_from` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 298 |     let _ = Number::unchecked_transmute_from(2); // 2 is not a valid discriminant!
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Number`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_from_primitive (line 70) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_enum`
[INFO] [stdout]   --> src/lib.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | use num_enum::FromPrimitive;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `num_enum`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `num_enum`, use `cargo add num_enum` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `num_enum` in this scope
[INFO] [stdout]   --> src/lib.rs:77:7
[INFO] [stdout]    |
[INFO] [stdout] 77 |     #[num_enum(default)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `num_enum` is an attribute that can be used by the derive macros `Default`, `FromPrimitive`, `IntoPrimitive`, `TryFromPrimitive` and `UnsafeFromPrimitive`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 75 + #[derive(Default, FromPrimitive, IntoPrimitive, TryFromPrimitive, UnsafeFromPrimitive)]
[INFO] [stdout] 76 | enum Number {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:81:25
[INFO] [stdout]    |
[INFO] [stdout] 81 | let zero = Number::from(0u8);
[INFO] [stdout]    |            ------------ ^^^ expected `Number`, found `u8`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/convert/mod.rs:592:7
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:84:24
[INFO] [stdout]    |
[INFO] [stdout] 84 | let one = Number::from(1u8);
[INFO] [stdout]    |           ------------ ^^^ expected `Number`, found `u8`
[INFO] [stdout]    |           |
[INFO] [stdout]    |           arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/convert/mod.rs:592:7
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:87:24
[INFO] [stdout]    |
[INFO] [stdout] 87 | let two = Number::from(2u8);
[INFO] [stdout]    |           ------------ ^^^ expected `Number`, found `u8`
[INFO] [stdout]    |           |
[INFO] [stdout]    |           arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/convert/mod.rs:592:7
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - derive_default (line 326)
[INFO] [stdout]     src/lib.rs - derive_from_primitive (line 70)
[INFO] [stdout]     src/lib.rs - derive_into_primitive (line 23)
[INFO] [stdout]     src/lib.rs - derive_try_from_primitive (line 170)
[INFO] [stdout]     src/lib.rs - derive_unsafe_from_primitive (line 276)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2f25a69887a462a545d46c93f3d7c043069cad7e4cbae8f6d1ca89db5728873d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f25a69887a462a545d46c93f3d7c043069cad7e4cbae8f6d1ca89db5728873d", kill_on_drop: false }`
[INFO] [stdout] 2f25a69887a462a545d46c93f3d7c043069cad7e4cbae8f6d1ca89db5728873d
