[INFO] fetching crate enum-primitive-derive-nostd 0.2.2...
[INFO] testing enum-primitive-derive-nostd-0.2.2 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate enum-primitive-derive-nostd 0.2.2 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate enum-primitive-derive-nostd 0.2.2
[INFO] finished tweaking crates.io crate enum-primitive-derive-nostd 0.2.2
[INFO] tweaked toml for crates.io crate enum-primitive-derive-nostd 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate enum-primitive-derive-nostd 0.2.2 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 6 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.114)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f7dd6e8a56303cdf3a7b4f928e53da20f6eaf774304306eafc2d4dc35f88024e
[INFO] running `Command { std: "docker" "start" "-a" "f7dd6e8a56303cdf3a7b4f928e53da20f6eaf774304306eafc2d4dc35f88024e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f7dd6e8a56303cdf3a7b4f928e53da20f6eaf774304306eafc2d4dc35f88024e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7dd6e8a56303cdf3a7b4f928e53da20f6eaf774304306eafc2d4dc35f88024e", kill_on_drop: false }`
[INFO] [stdout] f7dd6e8a56303cdf3a7b4f928e53da20f6eaf774304306eafc2d4dc35f88024e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 906f8115b2ca5cd0cc2bccc75ed09bca8a047739f09f45cd1a3c41922f595c8a
[INFO] running `Command { std: "docker" "start" "-a" "906f8115b2ca5cd0cc2bccc75ed09bca8a047739f09f45cd1a3c41922f595c8a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling enum-primitive-derive-nostd v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.23s
[INFO] running `Command { std: "docker" "inspect" "906f8115b2ca5cd0cc2bccc75ed09bca8a047739f09f45cd1a3c41922f595c8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "906f8115b2ca5cd0cc2bccc75ed09bca8a047739f09f45cd1a3c41922f595c8a", kill_on_drop: false }`
[INFO] [stdout] 906f8115b2ca5cd0cc2bccc75ed09bca8a047739f09f45cd1a3c41922f595c8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] e18db283e1e8bc62260dd02cb0916feaf57cc92b3c8b525d9510296f8674f289
[INFO] running `Command { std: "docker" "start" "-a" "e18db283e1e8bc62260dd02cb0916feaf57cc92b3c8b525d9510296f8674f289", kill_on_drop: false }`
[INFO] [stderr]    Compiling enum-primitive-derive-nostd v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s
[INFO] running `Command { std: "docker" "inspect" "e18db283e1e8bc62260dd02cb0916feaf57cc92b3c8b525d9510296f8674f289", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e18db283e1e8bc62260dd02cb0916feaf57cc92b3c8b525d9510296f8674f289", kill_on_drop: false }`
[INFO] [stdout] e18db283e1e8bc62260dd02cb0916feaf57cc92b3c8b525d9510296f8674f289
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 0015dc54f0eb9e67bcf06bf75f6380ffb41733e6e268c66e22a674b94637a5ed
[INFO] running `Command { std: "docker" "start" "-a" "0015dc54f0eb9e67bcf06bf75f6380ffb41733e6e268c66e22a674b94637a5ed", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/enum-primitive-derive-nostd/4771cf9ebe4a4ff0/deps/enum_primitive_derive_nostd-4771cf9ebe4a4ff0)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests enum_primitive_derive_nostd
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - (line 84) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 57) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 30) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 84) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_primitive_derive`
[INFO] [stdout]   --> src/lib.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | use enum_primitive_derive::Primitive;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `enum_primitive_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 85 | use enum_primitive_derive_nostd::Primitive;
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Foo: TryFrom<{integer}>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let bar = Foo::try_from(32);
[INFO] [stdout]    |               ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<{integer}>` is not implemented for `Foo`
[INFO] [stdout]   --> src/lib.rs:89:1
[INFO] [stdout]    |
[INFO] [stdout] 89 | enum Foo {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = note: required for `{integer}` to implement `Into<Foo>`
[INFO] [stdout]    = note: required for `Foo` to implement `TryFrom<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Foo: TryFrom<{integer}>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:99:16
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let dead = Foo::try_from(42);
[INFO] [stdout]    |                ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<{integer}>` is not implemented for `Foo`
[INFO] [stdout]   --> src/lib.rs:89:1
[INFO] [stdout]    |
[INFO] [stdout] 89 | enum Foo {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = note: required for `{integer}` to implement `Into<Foo>`
[INFO] [stdout]    = note: required for `Foo` to implement `TryFrom<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Foo: TryFrom<{integer}>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let unknown = Foo::try_from(12);
[INFO] [stdout]     |                   ^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `From<{integer}>` is not implemented for `Foo`
[INFO] [stdout]    --> src/lib.rs:89:1
[INFO] [stdout]     |
[INFO] [stdout]  89 | enum Foo {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = note: required for `{integer}` to implement `Into<Foo>`
[INFO] [stdout]     = note: required for `Foo` to implement `TryFrom<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Foo: From<{integer}>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let bar = Foo::try_from(32);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<{integer}>` is not implemented for `Foo`
[INFO] [stdout]   --> src/lib.rs:89:1
[INFO] [stdout]    |
[INFO] [stdout] 89 | enum Foo {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = note: required for `{integer}` to implement `Into<Foo>`
[INFO] [stdout]    = note: required for `Foo` to implement `TryFrom<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Foo: From<{integer}>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:99:16
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let dead = Foo::try_from(42);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<{integer}>` is not implemented for `Foo`
[INFO] [stdout]   --> src/lib.rs:89:1
[INFO] [stdout]    |
[INFO] [stdout] 89 | enum Foo {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    = note: required for `{integer}` to implement `Into<Foo>`
[INFO] [stdout]    = note: required for `Foo` to implement `TryFrom<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Foo: From<{integer}>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let unknown = Foo::try_from(12);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `From<{integer}>` is not implemented for `Foo`
[INFO] [stdout]    --> src/lib.rs:89:1
[INFO] [stdout]     |
[INFO] [stdout]  89 | enum Foo {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = note: required for `{integer}` to implement `Into<Foo>`
[INFO] [stdout]     = note: required for `Foo` to implement `TryFrom<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 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 - (line 57) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_primitive_derive`
[INFO] [stdout]   --> src/lib.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | use enum_primitive_derive::Primitive;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `enum_primitive_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 58 | use enum_primitive_derive_nostd::Primitive;
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_isize` found for enum `BindGenLike` in the current scope
[INFO] [stdout]   --> src/lib.rs:73:29
[INFO] [stdout]    |
[INFO] [stdout] 66 | enum BindGenLike {
[INFO] [stdout]    | ---------------- variant or associated item `from_isize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 73 |     assert_eq!(BindGenLike::from_isize(4), Some(BindGenLike::GHI));
[INFO] [stdout]    |                             ^^^^^^^^^^ variant or associated item not found in `BindGenLike`
[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 `from_isize`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `FromPrimitive`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_u32` found for enum `BindGenLike` in the current scope
[INFO] [stdout]   --> src/lib.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 66 | enum BindGenLike {
[INFO] [stdout]    | ---------------- variant or associated item `from_u32` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 74 |     assert_eq!(BindGenLike::from_u32(2), Some(BindGenLike::DEF));
[INFO] [stdout]    |                             ^^^^^^^^ variant or associated item not found in `BindGenLike`
[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 `from_u32`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `FromPrimitive`
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 -     assert_eq!(BindGenLike::from_u32(2), Some(BindGenLike::DEF));
[INFO] [stdout] 74 +     assert_eq!(BindGenLike::from(2), Some(BindGenLike::DEF));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_u32` found for enum `BindGenLike` in the current scope
[INFO] [stdout]   --> src/lib.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 66 | enum BindGenLike {
[INFO] [stdout]    | ---------------- variant or associated item `from_u32` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 75 |     assert_eq!(BindGenLike::from_u32(8), None);
[INFO] [stdout]    |                             ^^^^^^^^ variant or associated item not found in `BindGenLike`
[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 `from_u32`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `FromPrimitive`
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 -     assert_eq!(BindGenLike::from_u32(8), None);
[INFO] [stdout] 75 +     assert_eq!(BindGenLike::from(8), None);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_u32` found for enum `BindGenLike` in the current scope
[INFO] [stdout]   --> src/lib.rs:78:20
[INFO] [stdout]    |
[INFO] [stdout] 66 | enum BindGenLike {
[INFO] [stdout]    | ---------------- method `to_u32` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 78 |     assert_eq!(abc.to_u32(), Some(1));
[INFO] [stdout]    |                    ^^^^^^ method not found in `BindGenLike`
[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 `to_u32`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToPrimitive`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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 - (line 30) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_primitive_derive`
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use enum_primitive_derive::Primitive;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `enum_primitive_derive`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 31 | use enum_primitive_derive_nostd::Primitive;
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_i32` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_i32` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 42 |     assert_eq!(Foo::from_i32(32), Some(Foo::Bar));
[INFO] [stdout]    |                     ^^^^^^^^ variant or associated item not found in `Foo`
[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 `from_i32`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `FromPrimitive`
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 42 -     assert_eq!(Foo::from_i32(32), Some(Foo::Bar));
[INFO] [stdout] 42 +     assert_eq!(Foo::from(32), Some(Foo::Bar));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_i32` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:43:21
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_i32` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 43 |     assert_eq!(Foo::from_i32(42), Some(Foo::Dead));
[INFO] [stdout]    |                     ^^^^^^^^ variant or associated item not found in `Foo`
[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 `from_i32`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `FromPrimitive`
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 43 -     assert_eq!(Foo::from_i32(42), Some(Foo::Dead));
[INFO] [stdout] 43 +     assert_eq!(Foo::from(42), Some(Foo::Dead));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_i64` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:44:21
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_i64` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 44 |     assert_eq!(Foo::from_i64(50), Some(Foo::Beef));
[INFO] [stdout]    |                     ^^^^^^^^ variant or associated item not found in `Foo`
[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 `from_i64`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `FromPrimitive`
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 44 -     assert_eq!(Foo::from_i64(50), Some(Foo::Beef));
[INFO] [stdout] 44 +     assert_eq!(Foo::from(50), Some(Foo::Beef));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_isize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_isize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 45 |     assert_eq!(Foo::from_isize(17), None);
[INFO] [stdout]    |                     ^^^^^^^^^^ variant or associated item not found in `Foo`
[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 `from_isize`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `FromPrimitive`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_i32` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:48:20
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Foo {
[INFO] [stdout]    | -------- method `to_i32` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 48 |     assert_eq!(bar.to_i32(), Some(32));
[INFO] [stdout]    |                    ^^^^^^ method not found in `Foo`
[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 `to_i32`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToPrimitive`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_isize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Foo {
[INFO] [stdout]    | -------- method `to_isize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 51 |     assert_eq!(dead.to_isize(), Some(42));
[INFO] [stdout]    |                     ^^^^^^^^ method not found in `Foo`
[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 `to_isize`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ToPrimitive`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 30)
[INFO] [stdout]     src/lib.rs - (line 57)
[INFO] [stdout]     src/lib.rs - (line 84)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "0015dc54f0eb9e67bcf06bf75f6380ffb41733e6e268c66e22a674b94637a5ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0015dc54f0eb9e67bcf06bf75f6380ffb41733e6e268c66e22a674b94637a5ed", kill_on_drop: false }`
[INFO] [stdout] 0015dc54f0eb9e67bcf06bf75f6380ffb41733e6e268c66e22a674b94637a5ed
