[INFO] fetching crate enum-map-derive 0.8.0... [INFO] testing enum-map-derive-0.8.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate enum-map-derive 0.8.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate enum-map-derive 0.8.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 662bfff11fdbb02e4b45786157e097b4713244138dc943ab4ed0a614327dfda8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "662bfff11fdbb02e4b45786157e097b4713244138dc943ab4ed0a614327dfda8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "662bfff11fdbb02e4b45786157e097b4713244138dc943ab4ed0a614327dfda8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "662bfff11fdbb02e4b45786157e097b4713244138dc943ab4ed0a614327dfda8", kill_on_drop: false }` [INFO] [stdout] 662bfff11fdbb02e4b45786157e097b4713244138dc943ab4ed0a614327dfda8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9be8aa2467fb5f820d3c764a3ad8fe2537ea28da7f72c3ebb2e3114932b3531a [INFO] running `Command { std: "docker" "start" "-a" "9be8aa2467fb5f820d3c764a3ad8fe2537ea28da7f72c3ebb2e3114932b3531a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling enum-map-derive v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.58s [INFO] running `Command { std: "docker" "inspect" "9be8aa2467fb5f820d3c764a3ad8fe2537ea28da7f72c3ebb2e3114932b3531a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9be8aa2467fb5f820d3c764a3ad8fe2537ea28da7f72c3ebb2e3114932b3531a", kill_on_drop: false }` [INFO] [stdout] 9be8aa2467fb5f820d3c764a3ad8fe2537ea28da7f72c3ebb2e3114932b3531a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5caa8a3c2b17509e5259d2580bcf2ea86ee6434e0028a1ed71c8f402a2d06923 [INFO] running `Command { std: "docker" "start" "-a" "5caa8a3c2b17509e5259d2580bcf2ea86ee6434e0028a1ed71c8f402a2d06923", 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.59s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/enum_map_derive-19e85eb520da2ec9) [INFO] running `Command { std: "docker" "inspect" "5caa8a3c2b17509e5259d2580bcf2ea86ee6434e0028a1ed71c8f402a2d06923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5caa8a3c2b17509e5259d2580bcf2ea86ee6434e0028a1ed71c8f402a2d06923", kill_on_drop: false }` [INFO] [stdout] 5caa8a3c2b17509e5259d2580bcf2ea86ee6434e0028a1ed71c8f402a2d06923 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd9c81f2d53629fe5808751db3d2daa100468a6374bac0a80f30e03670387e8a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cd9c81f2d53629fe5808751db3d2daa100468a6374bac0a80f30e03670387e8a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/enum_map_derive-19e85eb520da2ec9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests enum-map-derive [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - derive_enum_map (line 18) ... FAILED [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 40) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] [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 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 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.41s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "cd9c81f2d53629fe5808751db3d2daa100468a6374bac0a80f30e03670387e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd9c81f2d53629fe5808751db3d2daa100468a6374bac0a80f30e03670387e8a", kill_on_drop: false }` [INFO] [stdout] cd9c81f2d53629fe5808751db3d2daa100468a6374bac0a80f30e03670387e8a