[INFO] fetching crate enum-map-derive 0.17.0...
[INFO] testing enum-map-derive-0.17.0 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[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 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 946843e96abcbb6e845a9ecb51749689e7e7b30310ddd353436729743d4b09c6
[INFO] running `Command { std: "docker" "start" "-a" "946843e96abcbb6e845a9ecb51749689e7e7b30310ddd353436729743d4b09c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "946843e96abcbb6e845a9ecb51749689e7e7b30310ddd353436729743d4b09c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "946843e96abcbb6e845a9ecb51749689e7e7b30310ddd353436729743d4b09c6", kill_on_drop: false }`
[INFO] [stdout] 946843e96abcbb6e845a9ecb51749689e7e7b30310ddd353436729743d4b09c6
[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" "-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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a22dffdca0e9e68bb33696e17189917aae2d0ab5a47eab11e3cb1ebacf62c0c
[INFO] running `Command { std: "docker" "start" "-a" "1a22dffdca0e9e68bb33696e17189917aae2d0ab5a47eab11e3cb1ebacf62c0c", 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.68s
[INFO] running `Command { std: "docker" "inspect" "1a22dffdca0e9e68bb33696e17189917aae2d0ab5a47eab11e3cb1ebacf62c0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a22dffdca0e9e68bb33696e17189917aae2d0ab5a47eab11e3cb1ebacf62c0c", kill_on_drop: false }`
[INFO] [stdout] 1a22dffdca0e9e68bb33696e17189917aae2d0ab5a47eab11e3cb1ebacf62c0c
[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" "-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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d90a171075fe20ca039a2d155c3d44d9d5d37f523ea3d8af698889b96a147f6a
[INFO] running `Command { std: "docker" "start" "-a" "d90a171075fe20ca039a2d155c3d44d9d5d37f523ea3d8af698889b96a147f6a", 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.78s
[INFO] running `Command { std: "docker" "inspect" "d90a171075fe20ca039a2d155c3d44d9d5d37f523ea3d8af698889b96a147f6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d90a171075fe20ca039a2d155c3d44d9d5d37f523ea3d8af698889b96a147f6a", kill_on_drop: false }`
[INFO] [stdout] d90a171075fe20ca039a2d155c3d44d9d5d37f523ea3d8af698889b96a147f6a
[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" "-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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] eaf816d55d2320aec74f3b1dc8dd0d1a72c4bf0fcb040ba960b33c2550e3d52e
[INFO] running `Command { std: "docker" "start" "-a" "eaf816d55d2320aec74f3b1dc8dd0d1a72c4bf0fcb040ba960b33c2550e3d52e", 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/deps/enum_map_derive-e05aebaada79c707)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests enum_map_derive
[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 52) ... 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] 
[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 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] ---- 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 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] 
[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.66s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "eaf816d55d2320aec74f3b1dc8dd0d1a72c4bf0fcb040ba960b33c2550e3d52e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eaf816d55d2320aec74f3b1dc8dd0d1a72c4bf0fcb040ba960b33c2550e3d52e", kill_on_drop: false }`
[INFO] [stdout] eaf816d55d2320aec74f3b1dc8dd0d1a72c4bf0fcb040ba960b33c2550e3d52e
