[INFO] fetching crate thisenum-impl 0.2.2... [INFO] testing thisenum-impl-0.2.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate thisenum-impl 0.2.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate thisenum-impl 0.2.2 [INFO] finished tweaking crates.io crate thisenum-impl 0.2.2 [INFO] tweaked toml for crates.io crate thisenum-impl 0.2.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate thisenum-impl 0.2.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate thisenum-impl 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca3095dfffd95f55df4f9e5fed6462c8c3adcee61fbddaf24fd9ad5cc72ca059 [INFO] running `Command { std: "docker" "start" "-a" "ca3095dfffd95f55df4f9e5fed6462c8c3adcee61fbddaf24fd9ad5cc72ca059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca3095dfffd95f55df4f9e5fed6462c8c3adcee61fbddaf24fd9ad5cc72ca059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3095dfffd95f55df4f9e5fed6462c8c3adcee61fbddaf24fd9ad5cc72ca059", kill_on_drop: false }` [INFO] [stdout] ca3095dfffd95f55df4f9e5fed6462c8c3adcee61fbddaf24fd9ad5cc72ca059 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21761f9a82afed67baabf36e1804f80f6743f80720d50950ffb447925a3646d5 [INFO] running `Command { std: "docker" "start" "-a" "21761f9a82afed67baabf36e1804f80f6743f80720d50950ffb447925a3646d5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling unzip-n v0.1.2 [INFO] [stderr] Compiling thisenum-impl v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/prelude.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | self.for_each(|item| (*counts.entry(item).or_insert(0_usize) += 1_usize)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - self.for_each(|item| (*counts.entry(item).or_insert(0_usize) += 1_usize)); [INFO] [stdout] 23 + self.for_each(|item| *counts.entry(item).or_insert(0_usize) += 1_usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Unique` is never used [INFO] [stdout] --> src/prelude.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub trait Unique { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UniqueIndices` is never used [INFO] [stdout] --> src/prelude.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | pub trait UniqueIndices { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.00s [INFO] running `Command { std: "docker" "inspect" "21761f9a82afed67baabf36e1804f80f6743f80720d50950ffb447925a3646d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21761f9a82afed67baabf36e1804f80f6743f80720d50950ffb447925a3646d5", kill_on_drop: false }` [INFO] [stdout] 21761f9a82afed67baabf36e1804f80f6743f80720d50950ffb447925a3646d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44e420e5e5c9b3dbb5df495d38afc6a5c31b53983f883c3a3749ea90ebbe14e5 [INFO] running `Command { std: "docker" "start" "-a" "44e420e5e5c9b3dbb5df495d38afc6a5c31b53983f883c3a3749ea90ebbe14e5", kill_on_drop: false }` [INFO] [stderr] Compiling thisenum-impl v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/prelude.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | self.for_each(|item| (*counts.entry(item).or_insert(0_usize) += 1_usize)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - self.for_each(|item| (*counts.entry(item).or_insert(0_usize) += 1_usize)); [INFO] [stdout] 23 + self.for_each(|item| *counts.entry(item).or_insert(0_usize) += 1_usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/prelude.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | self.for_each(|item| (*counts.entry(item).or_insert(0_usize) += 1_usize)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - self.for_each(|item| (*counts.entry(item).or_insert(0_usize) += 1_usize)); [INFO] [stdout] 23 + self.for_each(|item| *counts.entry(item).or_insert(0_usize) += 1_usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Unique` is never used [INFO] [stdout] --> src/prelude.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub trait Unique { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UniqueIndices` is never used [INFO] [stdout] --> src/prelude.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | pub trait UniqueIndices { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Unique` is never used [INFO] [stdout] --> src/prelude.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub trait Unique { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UniqueIndices` is never used [INFO] [stdout] --> src/prelude.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | pub trait UniqueIndices { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "44e420e5e5c9b3dbb5df495d38afc6a5c31b53983f883c3a3749ea90ebbe14e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e420e5e5c9b3dbb5df495d38afc6a5c31b53983f883c3a3749ea90ebbe14e5", kill_on_drop: false }` [INFO] [stdout] 44e420e5e5c9b3dbb5df495d38afc6a5c31b53983f883c3a3749ea90ebbe14e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a78942af6cba32837f719def158e2dc634120a26c6a66abdc9d35a26e68018aa [INFO] running `Command { std: "docker" "start" "-a" "a78942af6cba32837f719def158e2dc634120a26c6a66abdc9d35a26e68018aa", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/prelude.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | self.for_each(|item| (*counts.entry(item).or_insert(0_usize) += 1_usize)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 23 - self.for_each(|item| (*counts.entry(item).or_insert(0_usize) += 1_usize)); [INFO] [stderr] 23 + self.for_each(|item| *counts.entry(item).or_insert(0_usize) += 1_usize); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait `Unique` is never used [INFO] [stderr] --> src/prelude.rs:90:11 [INFO] [stderr] | [INFO] [stderr] 90 | pub trait Unique { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `UniqueIndices` is never used [INFO] [stderr] --> src/prelude.rs:110:11 [INFO] [stderr] | [INFO] [stderr] 110 | pub trait UniqueIndices { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `thisenum-impl` (lib) generated 3 warnings (run `cargo fix --lib -p thisenum-impl` to apply 1 suggestion) [INFO] [stderr] warning: `thisenum-impl` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thisenum_impl-92e23d0ffc7b0be0) [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 thisenum_impl [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/prelude.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | self.for_each(|item| (*counts.entry(item).or_insert(0_usize) += 1_usize)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 23 - self.for_each(|item| (*counts.entry(item).or_insert(0_usize) += 1_usize)); [INFO] [stderr] 23 + self.for_each(|item| *counts.entry(item).or_insert(0_usize) += 1_usize); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - thisenum_const (line 60) ... FAILED [INFO] [stdout] test src/lib.rs - (line 40) ... FAILED [INFO] [stdout] test src/lib.rs - thisenum_const_each (line 404) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `thisenum` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use thisenum::Const; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `thisenum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thisenum`, use `cargo add thisenum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `armtype` in this scope [INFO] [stdout] --> src/lib.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[armtype(&[u8])] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `armtype` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[value = b"\x01\x00"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Const, ConstEach)] [INFO] [stdout] 19 | enum ExifTag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[value = b"\x01\x01"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Const, ConstEach)] [INFO] [stdout] 19 | enum ExifTag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[value = b"\x01\x02"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Const, ConstEach)] [INFO] [stdout] 19 | enum ExifTag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[value = b"\x01\x03"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Const, ConstEach)] [INFO] [stdout] 19 | enum ExifTag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[value = b"\x01\x06"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Const, ConstEach)] [INFO] [stdout] 19 | enum ExifTag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `ExifTag` in the current scope [INFO] [stdout] --> src/lib.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 18 | enum ExifTag { [INFO] [stdout] | ------------ method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 33 | assert_eq!(ExifTag::ImageWidth.value(), b"\x01\x00"); [INFO] [stdout] | ^^^^^ method not found in `ExifTag` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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 - thisenum_const (line 60) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `thisenum` [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use thisenum::Const; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `thisenum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thisenum`, use `cargo add thisenum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `armtype` in this scope [INFO] [stdout] --> src/lib.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[armtype(i32)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `armtype` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 65 + #[derive(Const, ConstEach)] [INFO] [stdout] 66 | enum MyEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[value = 0] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 65 + #[derive(Const, ConstEach)] [INFO] [stdout] 66 | enum MyEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[value = 1] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 65 + #[derive(Const, ConstEach)] [INFO] [stdout] 66 | enum MyEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `armtype` in this scope [INFO] [stdout] --> src/lib.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | #[armtype(&[u8])] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `armtype` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 74 + #[derive(Const, ConstEach)] [INFO] [stdout] 75 | enum Tags { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[value = b"\x00\x01\x7f"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 74 + #[derive(Const, ConstEach)] [INFO] [stdout] 75 | enum Tags { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[value = b"\xba\x5e"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 74 + #[derive(Const, ConstEach)] [INFO] [stdout] 75 | enum Tags { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[value = b"\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 74 + #[derive(Const, ConstEach)] [INFO] [stdout] 75 | enum Tags { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `MyEnum` in the current scope [INFO] [stdout] --> src/lib.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 65 | enum MyEnum { [INFO] [stdout] | ----------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 86 | assert_eq!(MyEnum::A.value(), &0); [INFO] [stdout] | ^^^^^ method not found in `MyEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `MyEnum` in the current scope [INFO] [stdout] --> src/lib.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 65 | enum MyEnum { [INFO] [stdout] | ----------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 87 | assert_eq!(MyEnum::B.value(), &1); [INFO] [stdout] | ^^^^^ method not found in `MyEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 74 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 88 | assert_eq!(Tags::Key.value(), b"\x00\x01\x7f"); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 74 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 89 | assert_eq!(Tags::Length.value(), b"\xba\x5e"); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 74 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 90 | assert_eq!(Tags::Data.value(), b"\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 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 - (line 40) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `thisenum` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use thisenum::ConstEach; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `thisenum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thisenum`, use `cargo add thisenum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `armtype` in this scope [INFO] [stdout] --> src/lib.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[armtype(&[u8])] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `armtype` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 44 + #[derive(Const, ConstEach)] [INFO] [stdout] 45 | enum CustomEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[value = b"\x01\x00"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 44 + #[derive(Const, ConstEach)] [INFO] [stdout] 45 | enum CustomEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[value = "foo"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 44 + #[derive(Const, ConstEach)] [INFO] [stdout] 45 | enum CustomEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `armtype` in this scope [INFO] [stdout] --> src/lib.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[armtype(f32)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `armtype` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 44 + #[derive(Const, ConstEach)] [INFO] [stdout] 45 | enum CustomEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[value = 3.14] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 44 + #[derive(Const, ConstEach)] [INFO] [stdout] 45 | enum CustomEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `CustomEnum` in the current scope [INFO] [stdout] --> src/lib.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 44 | enum CustomEnum { [INFO] [stdout] | --------------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 56 | assert_eq!(CustomEnum::A.value::<&[u8]>().unwrap(), b"\x01\x00"); [INFO] [stdout] | ^^^^^ method not found in `CustomEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `CustomEnum` in the current scope [INFO] [stdout] --> src/lib.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 44 | enum CustomEnum { [INFO] [stdout] | --------------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 57 | assert!(CustomEnum::B.value::<&str>().is_some()); [INFO] [stdout] | ^^^^^ method not found in `CustomEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `CustomEnum` in the current scope [INFO] [stdout] --> src/lib.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 44 | enum CustomEnum { [INFO] [stdout] | --------------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 58 | assert_eq!(CustomEnum::B.value::<&str>().unwrap(), &"foo"); [INFO] [stdout] | ^^^^^ method not found in `CustomEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `CustomEnum` in the current scope [INFO] [stdout] --> src/lib.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 44 | enum CustomEnum { [INFO] [stdout] | --------------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 59 | assert_eq!(CustomEnum::B.value::<&str>(), Some("foo").as_ref()); [INFO] [stdout] | ^^^^^ method not found in `CustomEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `CustomEnum` in the current scope [INFO] [stdout] --> src/lib.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 44 | enum CustomEnum { [INFO] [stdout] | --------------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 60 | assert_eq!(CustomEnum::C.value::().unwrap(), &3.14); [INFO] [stdout] | ^^^^^ method not found in `CustomEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `CustomEnum` in the current scope [INFO] [stdout] --> src/lib.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 44 | enum CustomEnum { [INFO] [stdout] | --------------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 62 | assert!(CustomEnum::C.value::().is_none()); [INFO] [stdout] | ^^^^^ method not found in `CustomEnum` [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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 - thisenum_const_each (line 404) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `thisenum` [INFO] [stdout] --> src/lib.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | use thisenum::ConstEach; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `thisenum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thisenum`, use `cargo add thisenum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `armtype` in this scope [INFO] [stdout] --> src/lib.rs:409:7 [INFO] [stdout] | [INFO] [stdout] 409 | #[armtype(u8)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `armtype` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 408 + #[derive(Const, ConstEach)] [INFO] [stdout] 409 | enum MyEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 410 | #[value = 0xAA] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 408 + #[derive(Const, ConstEach)] [INFO] [stdout] 409 | enum MyEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:412:7 [INFO] [stdout] | [INFO] [stdout] 412 | #[value = "test3"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 408 + #[derive(Const, ConstEach)] [INFO] [stdout] 409 | enum MyEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:418:7 [INFO] [stdout] | [INFO] [stdout] 418 | #[value = b"\x00\x01"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 417 + #[derive(Const, ConstEach)] [INFO] [stdout] 418 | enum Tags { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `armtype` in this scope [INFO] [stdout] --> src/lib.rs:420:7 [INFO] [stdout] | [INFO] [stdout] 420 | #[armtype(u16)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `armtype` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 417 + #[derive(Const, ConstEach)] [INFO] [stdout] 418 | enum Tags { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:421:7 [INFO] [stdout] | [INFO] [stdout] 421 | #[value = 24250] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 417 + #[derive(Const, ConstEach)] [INFO] [stdout] 418 | enum Tags { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `armtype` in this scope [INFO] [stdout] --> src/lib.rs:423:7 [INFO] [stdout] | [INFO] [stdout] 423 | #[armtype(&[u8])] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `armtype` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 417 + #[derive(Const, ConstEach)] [INFO] [stdout] 418 | enum Tags { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `value` in this scope [INFO] [stdout] --> src/lib.rs:424:7 [INFO] [stdout] | [INFO] [stdout] 424 | #[value = b"\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `value` is an attribute that can be used by the derive macros `Const` and `ConstEach`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 417 + #[derive(Const, ConstEach)] [INFO] [stdout] 418 | enum Tags { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `MyEnum` in the current scope [INFO] [stdout] --> src/lib.rs:430:23 [INFO] [stdout] | [INFO] [stdout] 408 | enum MyEnum { [INFO] [stdout] | ----------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 430 | assert!(MyEnum::A.value::().is_some()); [INFO] [stdout] | ^^^^^ method not found in `MyEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `MyEnum` in the current scope [INFO] [stdout] --> src/lib.rs:431:23 [INFO] [stdout] | [INFO] [stdout] 408 | enum MyEnum { [INFO] [stdout] | ----------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 431 | assert!(MyEnum::A.value::>().is_none()); [INFO] [stdout] | ^^^^^ method not found in `MyEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `MyEnum` in the current scope [INFO] [stdout] --> src/lib.rs:432:23 [INFO] [stdout] | [INFO] [stdout] 408 | enum MyEnum { [INFO] [stdout] | ----------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 432 | assert!(MyEnum::B.value::().is_none()); [INFO] [stdout] | ^^^^^ method not found in `MyEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `MyEnum` in the current scope [INFO] [stdout] --> src/lib.rs:433:23 [INFO] [stdout] | [INFO] [stdout] 408 | enum MyEnum { [INFO] [stdout] | ----------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 433 | assert!(MyEnum::B.value::<&str>().is_some()); [INFO] [stdout] | ^^^^^ method not found in `MyEnum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:434:24 [INFO] [stdout] | [INFO] [stdout] 417 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 434 | assert!(Tags::Data.value::<&[u8]>().is_some()); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:438:23 [INFO] [stdout] | [INFO] [stdout] 417 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 438 | assert!(Tags::Key.value::<&[u8; 2]>().is_some()); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:439:23 [INFO] [stdout] | [INFO] [stdout] 417 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 439 | assert!(Tags::Key.value::<&[u8; 5]>().is_none()); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:440:23 [INFO] [stdout] | [INFO] [stdout] 417 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 440 | assert!(Tags::Key.value::<&[u8]>().is_none()); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:441:44 [INFO] [stdout] | [INFO] [stdout] 417 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 441 | assert!(u16::from_le_bytes(**Tags::Key.value::<&[u8; 2]>().unwrap()) == 0x0100); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:445:26 [INFO] [stdout] | [INFO] [stdout] 417 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 445 | assert!(Tags::Length.value::().is_some()); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:446:26 [INFO] [stdout] | [INFO] [stdout] 417 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 446 | assert!(Tags::Length.value::().is_none()); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:447:26 [INFO] [stdout] | [INFO] [stdout] 417 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 447 | assert!(Tags::Length.value::().is_none()); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `value` found for enum `Tags` in the current scope [INFO] [stdout] --> src/lib.rs:451:27 [INFO] [stdout] | [INFO] [stdout] 417 | enum Tags { [INFO] [stdout] | --------- method `value` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 451 | assert!(*Tags::Length.value::().unwrap() as u32 == 24250); [INFO] [stdout] | ^^^^^ method not found in `Tags` [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 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 - (line 12) [INFO] [stdout] src/lib.rs - (line 40) [INFO] [stdout] src/lib.rs - thisenum_const (line 60) [INFO] [stdout] src/lib.rs - thisenum_const_each (line 404) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a78942af6cba32837f719def158e2dc634120a26c6a66abdc9d35a26e68018aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78942af6cba32837f719def158e2dc634120a26c6a66abdc9d35a26e68018aa", kill_on_drop: false }` [INFO] [stdout] a78942af6cba32837f719def158e2dc634120a26c6a66abdc9d35a26e68018aa