[INFO] fetching crate enum-map-derive 0.17.0...
[INFO] testing enum-map-derive-0.17.0 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate enum-map-derive 0.17.0 into /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate enum-map-derive 0.17.0 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8411e85f2d58c3be848d18a79346d8b7cc2bc1eaefb61503b4deaa83a01cb21d
[INFO] running `Command { std: "docker" "start" "-a" "8411e85f2d58c3be848d18a79346d8b7cc2bc1eaefb61503b4deaa83a01cb21d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8411e85f2d58c3be848d18a79346d8b7cc2bc1eaefb61503b4deaa83a01cb21d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8411e85f2d58c3be848d18a79346d8b7cc2bc1eaefb61503b4deaa83a01cb21d", kill_on_drop: false }`
[INFO] [stdout] 8411e85f2d58c3be848d18a79346d8b7cc2bc1eaefb61503b4deaa83a01cb21d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26c6ec258430a5702f4efab260c84549e24fba13b136af54579b9092b4784257
[INFO] running `Command { std: "docker" "start" "-a" "26c6ec258430a5702f4efab260c84549e24fba13b136af54579b9092b4784257", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling enum-map-derive v0.17.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.06s
[INFO] running `Command { std: "docker" "inspect" "26c6ec258430a5702f4efab260c84549e24fba13b136af54579b9092b4784257", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26c6ec258430a5702f4efab260c84549e24fba13b136af54579b9092b4784257", kill_on_drop: false }`
[INFO] [stdout] 26c6ec258430a5702f4efab260c84549e24fba13b136af54579b9092b4784257
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ec6d1b1c0c53afad7e0b66f40138f584ff71d0e1d2745479dcf9cfa001d2edcb
[INFO] running `Command { std: "docker" "start" "-a" "ec6d1b1c0c53afad7e0b66f40138f584ff71d0e1d2745479dcf9cfa001d2edcb", 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 2.05s
[INFO] running `Command { std: "docker" "inspect" "ec6d1b1c0c53afad7e0b66f40138f584ff71d0e1d2745479dcf9cfa001d2edcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec6d1b1c0c53afad7e0b66f40138f584ff71d0e1d2745479dcf9cfa001d2edcb", kill_on_drop: false }`
[INFO] [stdout] ec6d1b1c0c53afad7e0b66f40138f584ff71d0e1d2745479dcf9cfa001d2edcb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1355c0fb94696cb42621203c3cc0552eaabeeb28507fb7968ad295e7a3a16149
[INFO] running `Command { std: "docker" "start" "-a" "1355c0fb94696cb42621203c3cc0552eaabeeb28507fb7968ad295e7a3a16149", 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/deps/enum_map_derive-0c2a1d3df3d03241)
[INFO] [stderr]    Doc-tests enum_map_derive
[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] [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 97) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_enum_map (line 133) ... 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] 3 | 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] 6  | enum A {
[INFO] [stdout]    | ------ method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 | 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] 6  | enum A {
[INFO] [stdout]    | ------ method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 | 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] 6  | enum A {
[INFO] [stdout]    | ------ method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 | 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] 6  | enum A {
[INFO] [stdout]    | ------ variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 | 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] 6  | enum A {
[INFO] [stdout]    | ------ variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 | 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] 6  | enum A {
[INFO] [stdout]    | ------ variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 | 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 97) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_map`
[INFO] [stdout]  --> src/lib.rs:98:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 19 | struct Foo {
[INFO] [stdout]    | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 | 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] 19 | struct Foo {
[INFO] [stdout]    | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 | 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] 19 | struct Foo {
[INFO] [stdout]    | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 | 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] 19 | struct Foo {
[INFO] [stdout]    | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 | 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] 19 | struct Foo {
[INFO] [stdout]    | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 | 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] 19 | struct Foo {
[INFO] [stdout]    | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 | 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] 19 | struct Foo {
[INFO] [stdout]    | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 | 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] 19 | struct Foo {
[INFO] [stdout]    | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 | 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 133) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_map`
[INFO] [stdout]  --> src/lib.rs:134:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 19 | struct Foo(bool, A, X);
[INFO] [stdout]    | ---------- method `into_usize` not found for this struct
[INFO] [stdout] 20 |
[INFO] [stdout] 21 | 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] 19 | struct Foo(bool, A, X);
[INFO] [stdout]    | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 | 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] 19 | struct Foo(bool, A, X);
[INFO] [stdout]    | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 | 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] 19 | struct Foo(bool, A, X);
[INFO] [stdout]    | ---------- method `into_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 | 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] 19 | struct Foo(bool, A, X);
[INFO] [stdout]    | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 | 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] 19 | struct Foo(bool, A, X);
[INFO] [stdout]    | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 | 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] 19 | struct Foo(bool, A, X);
[INFO] [stdout]    | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 | 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] 19 | struct Foo(bool, A, X);
[INFO] [stdout]    | ---------- function or associated item `from_usize` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 | 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 52) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_map`
[INFO] [stdout]  --> src/lib.rs:53:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 25 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 28 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 29 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 30 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 31 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- method `into_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 32 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 35 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 36 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 37 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 38 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 39 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 40 | 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] 19 | enum Foo {
[INFO] [stdout]    | -------- variant or associated item `from_usize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 41 | 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.27s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1355c0fb94696cb42621203c3cc0552eaabeeb28507fb7968ad295e7a3a16149", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1355c0fb94696cb42621203c3cc0552eaabeeb28507fb7968ad295e7a3a16149", kill_on_drop: false }`
[INFO] [stdout] 1355c0fb94696cb42621203c3cc0552eaabeeb28507fb7968ad295e7a3a16149
