[INFO] fetching crate enum-map-derive 0.8.0... [INFO] testing enum-map-derive-0.8.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate enum-map-derive 0.8.0 into /workspace/builds/worker-117/source [INFO] validating manifest of crates.io crate enum-map-derive 0.8.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate enum-map-derive 0.8.0 [INFO] finished tweaking crates.io crate enum-map-derive 0.8.0 [INFO] tweaked toml for crates.io crate enum-map-derive 0.8.0 written to /workspace/builds/worker-117/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f73f9f6c9b62b17985346eaf77f5510bc96b8c93f20bd48fa2ef742debe8afcf [INFO] running `Command { std: "docker" "start" "-a" "f73f9f6c9b62b17985346eaf77f5510bc96b8c93f20bd48fa2ef742debe8afcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f73f9f6c9b62b17985346eaf77f5510bc96b8c93f20bd48fa2ef742debe8afcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f73f9f6c9b62b17985346eaf77f5510bc96b8c93f20bd48fa2ef742debe8afcf", kill_on_drop: false }` [INFO] [stdout] f73f9f6c9b62b17985346eaf77f5510bc96b8c93f20bd48fa2ef742debe8afcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc7ca4c8e52c3b7829660fd1f35ee48b2e544731c194252b7569ea9aeba2b051 [INFO] running `Command { std: "docker" "start" "-a" "bc7ca4c8e52c3b7829660fd1f35ee48b2e544731c194252b7569ea9aeba2b051", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling enum-map-derive v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.90s [INFO] running `Command { std: "docker" "inspect" "bc7ca4c8e52c3b7829660fd1f35ee48b2e544731c194252b7569ea9aeba2b051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc7ca4c8e52c3b7829660fd1f35ee48b2e544731c194252b7569ea9aeba2b051", kill_on_drop: false }` [INFO] [stdout] bc7ca4c8e52c3b7829660fd1f35ee48b2e544731c194252b7569ea9aeba2b051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f6977310bf4b238d5443cd80f14b6b5d25dfb2ea4a34040088a4cf19e0efea6 [INFO] running `Command { std: "docker" "start" "-a" "4f6977310bf4b238d5443cd80f14b6b5d25dfb2ea4a34040088a4cf19e0efea6", kill_on_drop: false }` [INFO] [stderr] Compiling enum-map-derive v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "4f6977310bf4b238d5443cd80f14b6b5d25dfb2ea4a34040088a4cf19e0efea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6977310bf4b238d5443cd80f14b6b5d25dfb2ea4a34040088a4cf19e0efea6", kill_on_drop: false }` [INFO] [stdout] 4f6977310bf4b238d5443cd80f14b6b5d25dfb2ea4a34040088a4cf19e0efea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f7483500303be09ba0cc34886bbeda01ec1d501c98406b9890c497501e39870 [INFO] running `Command { std: "docker" "start" "-a" "1f7483500303be09ba0cc34886bbeda01ec1d501c98406b9890c497501e39870", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/enum_map_derive-e9bc6145a588eeff) [INFO] [stdout] [INFO] [stderr] Doc-tests enum-map-derive [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 86) ... FAILED [INFO] [stdout] test src/lib.rs - derive_enum_map (line 123) ... FAILED [INFO] [stdout] test src/lib.rs - derive_enum_map (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - derive_enum_map (line 40) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_enum_map (line 86) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `enum_map` [INFO] [stdout] --> src/lib.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate enum_map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Enum` in this scope [INFO] [stdout] --> src/lib.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Enum, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] enum_map_derive::Enum [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Enum` in this scope [INFO] [stdout] --> src/lib.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Enum, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] enum_map_derive::Enum [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Enum` in this scope [INFO] [stdout] --> src/lib.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Enum, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] enum_map_derive::Enum [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:110:53 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo { [INFO] [stdout] | ---------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 26 | 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:111:52 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo { [INFO] [stdout] | ---------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 27 | 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:112:53 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo { [INFO] [stdout] | ---------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 28 | 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:113:52 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo { [INFO] [stdout] | ---------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | 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:115:17 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo { [INFO] [stdout] | ---------- function or associated item `from_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | 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:116:17 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo { [INFO] [stdout] | ---------- function or associated item `from_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 32 | 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:117:17 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo { [INFO] [stdout] | ---------- function or associated item `from_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 33 | 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:118:17 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo { [INFO] [stdout] | ---------- function or associated item `from_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 34 | 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 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_enum_map (line 123) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `enum_map` [INFO] [stdout] --> src/lib.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate enum_map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Enum` in this scope [INFO] [stdout] --> src/lib.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Enum, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] enum_map_derive::Enum [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Enum` in this scope [INFO] [stdout] --> src/lib.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Enum, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] enum_map_derive::Enum [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Enum` in this scope [INFO] [stdout] --> src/lib.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Enum, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] enum_map_derive::Enum [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:143:36 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo(bool, A, X); [INFO] [stdout] | ----------------------- method `into_usize` not found for this [INFO] [stdout] 21 | [INFO] [stdout] 22 | 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:144:35 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo(bool, A, X); [INFO] [stdout] | ----------------------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 23 | 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:145:36 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo(bool, A, X); [INFO] [stdout] | ----------------------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | 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:146:35 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo(bool, A, X); [INFO] [stdout] | ----------------------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | 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:148:17 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo(bool, A, X); [INFO] [stdout] | ----------------------- function or associated item `from_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 27 | 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:149:17 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo(bool, A, X); [INFO] [stdout] | ----------------------- function or associated item `from_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 28 | 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:150:17 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo(bool, A, X); [INFO] [stdout] | ----------------------- function or associated item `from_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | 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:151:17 [INFO] [stdout] | [INFO] [stdout] 20 | struct Foo(bool, A, X); [INFO] [stdout] | ----------------------- function or associated item `from_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 30 | 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 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_enum_map (line 18) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `enum_map` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate enum_map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Enum` in this scope [INFO] [stdout] --> src/lib.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Enum, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] enum_map_derive::Enum [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `A` in the current scope [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] --> src/lib.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 7 | enum A { [INFO] [stdout] | ------ method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 13 | 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:30:17 [INFO] [stdout] | [INFO] [stdout] 7 | enum A { [INFO] [stdout] | ------ method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 14 | 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:31:17 [INFO] [stdout] | [INFO] [stdout] 7 | enum A { [INFO] [stdout] | ------ method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 15 | 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:33:15 [INFO] [stdout] | [INFO] [stdout] 7 | enum A { [INFO] [stdout] | ------ variant or associated item `from_usize` not found here [INFO] [stdout] ... [INFO] [stdout] 17 | 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:34:15 [INFO] [stdout] | [INFO] [stdout] 7 | enum A { [INFO] [stdout] | ------ variant or associated item `from_usize` not found here [INFO] [stdout] ... [INFO] [stdout] 18 | 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:35:15 [INFO] [stdout] | [INFO] [stdout] 7 | enum A { [INFO] [stdout] | ------ variant or associated item `from_usize` not found here [INFO] [stdout] ... [INFO] [stdout] 19 | 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 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_enum_map (line 40) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `enum_map` [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate enum_map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Enum` in this scope [INFO] [stdout] --> src/lib.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Enum, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] enum_map_derive::Enum [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Enum` in this scope [INFO] [stdout] --> src/lib.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Enum, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] enum_map_derive::Enum [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Enum` in this scope [INFO] [stdout] --> src/lib.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Enum, Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] enum_map_derive::Enum [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_usize` found for enum `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 26 | 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:65:34 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 27 | 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:66:33 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 28 | 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:67:33 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | 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:68:23 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 30 | 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:69:44 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | 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:70:44 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 32 | 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:71:44 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- method `into_usize` not found for this [INFO] [stdout] ... [INFO] [stdout] 33 | 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:73:17 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- variant or associated item `from_usize` not found here [INFO] [stdout] ... [INFO] [stdout] 35 | 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:74:17 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- variant or associated item `from_usize` not found here [INFO] [stdout] ... [INFO] [stdout] 36 | 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:75:17 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- variant or associated item `from_usize` not found here [INFO] [stdout] ... [INFO] [stdout] 37 | 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:76:17 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- variant or associated item `from_usize` not found here [INFO] [stdout] ... [INFO] [stdout] 38 | 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:77:17 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- variant or associated item `from_usize` not found here [INFO] [stdout] ... [INFO] [stdout] 39 | 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:78:17 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- variant or associated item `from_usize` not found here [INFO] [stdout] ... [INFO] [stdout] 40 | 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:79:17 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- variant or associated item `from_usize` not found here [INFO] [stdout] ... [INFO] [stdout] 41 | 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:80:17 [INFO] [stdout] | [INFO] [stdout] 20 | enum Foo { [INFO] [stdout] | -------- variant or associated item `from_usize` not found here [INFO] [stdout] ... [INFO] [stdout] 42 | 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 20 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_enum_map (line 123) [INFO] [stdout] src/lib.rs - derive_enum_map (line 18) [INFO] [stdout] src/lib.rs - derive_enum_map (line 40) [INFO] [stdout] src/lib.rs - derive_enum_map (line 86) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f7483500303be09ba0cc34886bbeda01ec1d501c98406b9890c497501e39870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7483500303be09ba0cc34886bbeda01ec1d501c98406b9890c497501e39870", kill_on_drop: false }` [INFO] [stdout] 1f7483500303be09ba0cc34886bbeda01ec1d501c98406b9890c497501e39870