[INFO] fetching crate enum-map-derive 0.17.0...
[INFO] testing enum-map-derive-0.17.0 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate enum-map-derive 0.17.0 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate enum-map-derive 0.17.0
[INFO] finished tweaking crates.io crate enum-map-derive 0.17.0
[INFO] tweaked toml for crates.io crate enum-map-derive 0.17.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate enum-map-derive 0.17.0 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 4 packages to latest compatible versions
[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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 710f3d3ea843ce31a5fecb38d3a1e22ec38f73a9005803850cdb0e15d7f2f862
[INFO] running `Command { std: "docker" "start" "-a" "710f3d3ea843ce31a5fecb38d3a1e22ec38f73a9005803850cdb0e15d7f2f862", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "710f3d3ea843ce31a5fecb38d3a1e22ec38f73a9005803850cdb0e15d7f2f862", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "710f3d3ea843ce31a5fecb38d3a1e22ec38f73a9005803850cdb0e15d7f2f862", kill_on_drop: false }`
[INFO] [stdout] 710f3d3ea843ce31a5fecb38d3a1e22ec38f73a9005803850cdb0e15d7f2f862
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 3db2eef25e80755550e3d8f52277350cc1b43aca385a4eb462ba585cbc9f72bc
[INFO] running `Command { std: "docker" "start" "-a" "3db2eef25e80755550e3d8f52277350cc1b43aca385a4eb462ba585cbc9f72bc", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling enum-map-derive v0.17.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.98s
[INFO] running `Command { std: "docker" "inspect" "3db2eef25e80755550e3d8f52277350cc1b43aca385a4eb462ba585cbc9f72bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3db2eef25e80755550e3d8f52277350cc1b43aca385a4eb462ba585cbc9f72bc", kill_on_drop: false }`
[INFO] [stdout] 3db2eef25e80755550e3d8f52277350cc1b43aca385a4eb462ba585cbc9f72bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] f5401407c8e1710a5636999c5fc1da9bae8a2f568838cc92cc67bcb862b787fa
[INFO] running `Command { std: "docker" "start" "-a" "f5401407c8e1710a5636999c5fc1da9bae8a2f568838cc92cc67bcb862b787fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling enum-map-derive v0.17.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s
[INFO] running `Command { std: "docker" "inspect" "f5401407c8e1710a5636999c5fc1da9bae8a2f568838cc92cc67bcb862b787fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5401407c8e1710a5636999c5fc1da9bae8a2f568838cc92cc67bcb862b787fa", kill_on_drop: false }`
[INFO] [stdout] f5401407c8e1710a5636999c5fc1da9bae8a2f568838cc92cc67bcb862b787fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] a8c2097c2e96708ef2e2956843bfcb55d0cd901670c7a449352edca67987f7b5
[INFO] running `Command { std: "docker" "start" "-a" "a8c2097c2e96708ef2e2956843bfcb55d0cd901670c7a449352edca67987f7b5", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/enum-map-derive/e05aebaada79c707/deps/enum_map_derive-e05aebaada79c707)
[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_map_derive
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - derive_enum_map (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_enum_map (line 133) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_enum_map (line 97) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_enum_map (line 52) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - derive_enum_map (line 31) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_map`
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use enum_map::Enum;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `enum_map`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `enum_map`, use `cargo add enum_map` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `A` in the current scope
[INFO] [stdout]   --> src/lib.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum A {
[INFO] [stdout]    | ------ method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 41 | assert_eq!(A::B.into_usize(), 0);
[INFO] [stdout]    |                 ^^^^^^^^^^ method not found in `A`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `A` in the current scope
[INFO] [stdout]   --> src/lib.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum A {
[INFO] [stdout]    | ------ method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 42 | assert_eq!(A::C.into_usize(), 1);
[INFO] [stdout]    |                 ^^^^^^^^^^ method not found in `A`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `A` in the current scope
[INFO] [stdout]   --> src/lib.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum A {
[INFO] [stdout]    | ------ method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 43 | assert_eq!(A::D.into_usize(), 2);
[INFO] [stdout]    |                 ^^^^^^^^^^ method not found in `A`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_usize` found for enum `A` in the current scope
[INFO] [stdout]   --> src/lib.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum A {
[INFO] [stdout]    | ------ variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 45 | assert_eq!(A::from_usize(0), A::B);
[INFO] [stdout]    |               ^^^^^^^^^^ variant or associated item not found in `A`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_usize` found for enum `A` in the current scope
[INFO] [stdout]   --> src/lib.rs:46:15
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum A {
[INFO] [stdout]    | ------ variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 46 | assert_eq!(A::from_usize(1), A::C);
[INFO] [stdout]    |               ^^^^^^^^^^ variant or associated item not found in `A`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_usize` found for enum `A` in the current scope
[INFO] [stdout]   --> src/lib.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum A {
[INFO] [stdout]    | ------ variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 47 | assert_eq!(A::from_usize(2), A::D);
[INFO] [stdout]    |               ^^^^^^^^^^ variant or associated item not found in `A`
[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] ---- src/lib.rs - derive_enum_map (line 133) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_map`
[INFO] [stdout]    --> src/lib.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 134 | use enum_map::Enum;
[INFO] [stdout]     |     ^^^^^^^^ use of unresolved module or unlinked crate `enum_map`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `enum_map`, use `cargo add enum_map` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:152:36
[INFO] [stdout]     |
[INFO] [stdout] 150 | struct Foo(bool, A, X);
[INFO] [stdout]     | ---------- method `into_usize` not found for this struct
[INFO] [stdout] 151 |
[INFO] [stdout] 152 | assert_eq!(Foo(false, A::B, X::Y ).into_usize(), 0);
[INFO] [stdout]     |                                    ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:153:35
[INFO] [stdout]     |
[INFO] [stdout] 150 | struct Foo(bool, A, X);
[INFO] [stdout]     | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 153 | assert_eq!(Foo(true, A::B, X::Y ).into_usize(), 1);
[INFO] [stdout]     |                                   ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:154:36
[INFO] [stdout]     |
[INFO] [stdout] 150 | struct Foo(bool, A, X);
[INFO] [stdout]     | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 154 | assert_eq!(Foo(false, A::D, X::Y ).into_usize(), 4);
[INFO] [stdout]     |                                    ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:155:35
[INFO] [stdout]     |
[INFO] [stdout] 150 | struct Foo(bool, A, X);
[INFO] [stdout]     | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 155 | assert_eq!(Foo(true, A::C, X::Z ).into_usize(), 9);
[INFO] [stdout]     |                                   ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:157:17
[INFO] [stdout]     |
[INFO] [stdout] 150 | struct Foo(bool, A, X);
[INFO] [stdout]     | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 157 | assert_eq!(Foo::from_usize(0), Foo(false, A::B, X::Y));
[INFO] [stdout]     |                 ^^^^^^^^^^ function or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 150 | struct Foo(bool, A, X);
[INFO] [stdout]     | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 158 | assert_eq!(Foo::from_usize(1), Foo(true, A::B, X::Y));
[INFO] [stdout]     |                 ^^^^^^^^^^ function or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 150 | struct Foo(bool, A, X);
[INFO] [stdout]     | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 159 | assert_eq!(Foo::from_usize(4), Foo(false, A::D, X::Y));
[INFO] [stdout]     |                 ^^^^^^^^^^ function or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 150 | struct Foo(bool, A, X);
[INFO] [stdout]     | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 160 | assert_eq!(Foo::from_usize(9), Foo(true, A::C, X::Z));
[INFO] [stdout]     |                 ^^^^^^^^^^ function or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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_enum_map (line 97) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_map`
[INFO] [stdout]   --> src/lib.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 | use enum_map::Enum;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `enum_map`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `enum_map`, use `cargo add enum_map` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:120:53
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Foo {
[INFO] [stdout]     | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 120 | assert_eq!(Foo { bar: false, baz: A::B, end: X::Y }.into_usize(), 0);
[INFO] [stdout]     |                                                     ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:121:52
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Foo {
[INFO] [stdout]     | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 121 | assert_eq!(Foo { bar: true, baz: A::B, end: X::Y }.into_usize(), 1);
[INFO] [stdout]     |                                                    ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:122:53
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Foo {
[INFO] [stdout]     | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 122 | assert_eq!(Foo { bar: false, baz: A::D, end: X::Y }.into_usize(), 4);
[INFO] [stdout]     |                                                     ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:123:52
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Foo {
[INFO] [stdout]     | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 123 | assert_eq!(Foo { bar: true, baz: A::C, end: X::Z }.into_usize(), 9);
[INFO] [stdout]     |                                                    ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Foo {
[INFO] [stdout]     | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 125 | assert_eq!(Foo::from_usize(0), Foo { bar: false, baz: A::B, end: X::Y });
[INFO] [stdout]     |                 ^^^^^^^^^^ function or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Foo {
[INFO] [stdout]     | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 126 | assert_eq!(Foo::from_usize(1), Foo { bar: true, baz: A::B, end: X::Y });
[INFO] [stdout]     |                 ^^^^^^^^^^ function or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Foo {
[INFO] [stdout]     | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 127 | assert_eq!(Foo::from_usize(4), Foo { bar: false, baz: A::D, end: X::Y });
[INFO] [stdout]     |                 ^^^^^^^^^^ function or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope
[INFO] [stdout]    --> src/lib.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Foo {
[INFO] [stdout]     | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 | assert_eq!(Foo::from_usize(9), Foo { bar: true, baz: A::C, end: X::Z });
[INFO] [stdout]     |                 ^^^^^^^^^^ function or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 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_enum_map (line 52) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_map`
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | use enum_map::Enum;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `enum_map`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `enum_map`, use `cargo add enum_map` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:75:34
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 75 | assert_eq!(Foo::Bar(false, A::B).into_usize(), 0);
[INFO] [stdout]    |                                  ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:76:34
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 76 | assert_eq!(Foo::Bar(false, A::D).into_usize(), 4);
[INFO] [stdout]    |                                  ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:77:33
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 77 | assert_eq!(Foo::Bar(true, A::B).into_usize(), 1);
[INFO] [stdout]    |                                 ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:78:33
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 78 | assert_eq!(Foo::Bar(true, A::C).into_usize(), 3);
[INFO] [stdout]    |                                 ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 79 | assert_eq!(Foo::Empty.into_usize(), 6);
[INFO] [stdout]    |                       ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:80:44
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 80 | assert_eq!(Foo::Baz { fa: A::B, fx: X::Y }.into_usize(), 7);
[INFO] [stdout]    |                                            ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:81:44
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 81 | assert_eq!(Foo::Baz { fa: A::B, fx: X::Z }.into_usize(), 10);
[INFO] [stdout]    |                                            ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:82:44
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 82 | assert_eq!(Foo::Baz { fa: A::D, fx: X::Y }.into_usize(), 9);
[INFO] [stdout]    |                                            ^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 84 | assert_eq!(Foo::from_usize(0), Foo::Bar(false, A::B));
[INFO] [stdout]    |                 ^^^^^^^^^^ variant or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 85 | assert_eq!(Foo::from_usize(4), Foo::Bar(false, A::D));
[INFO] [stdout]    |                 ^^^^^^^^^^ variant or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 86 | assert_eq!(Foo::from_usize(1), Foo::Bar(true, A::B));
[INFO] [stdout]    |                 ^^^^^^^^^^ variant or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 87 | assert_eq!(Foo::from_usize(3), Foo::Bar(true, A::C));
[INFO] [stdout]    |                 ^^^^^^^^^^ variant or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 88 | assert_eq!(Foo::from_usize(6), Foo::Empty);
[INFO] [stdout]    |                 ^^^^^^^^^^ variant or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 89 | assert_eq!(Foo::from_usize(7), Foo::Baz { fa: A::B, fx: X::Y });
[INFO] [stdout]    |                 ^^^^^^^^^^ variant or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 90 | assert_eq!(Foo::from_usize(10), Foo::Baz { fa: A::B, fx: X::Z });
[INFO] [stdout]    |                 ^^^^^^^^^^ variant or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_usize` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 91 | assert_eq!(Foo::from_usize(9), Foo::Baz { fa: A::D, fx: X::Y });
[INFO] [stdout]    |                 ^^^^^^^^^^ variant or associated item not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 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 - derive_enum_map (line 133)
[INFO] [stdout]     src/lib.rs - derive_enum_map (line 31)
[INFO] [stdout]     src/lib.rs - derive_enum_map (line 52)
[INFO] [stdout]     src/lib.rs - derive_enum_map (line 97)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a8c2097c2e96708ef2e2956843bfcb55d0cd901670c7a449352edca67987f7b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8c2097c2e96708ef2e2956843bfcb55d0cd901670c7a449352edca67987f7b5", kill_on_drop: false }`
[INFO] [stdout] a8c2097c2e96708ef2e2956843bfcb55d0cd901670c7a449352edca67987f7b5
