[INFO] fetching crate pbt-macro 0.3.1... [INFO] checking pbt-macro-0.3.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pbt-macro 0.3.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate pbt-macro 0.3.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pbt-macro 0.3.1 [INFO] tweaked toml for crates.io crate pbt-macro 0.3.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pbt-macro 0.3.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pbt-macro 0.3.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 191f829c68f54ec33e1f4fac90e1e01ef3b1b1f492dcf8beca4b6c184a3eea61 [INFO] running `Command { std: "docker" "start" "-a" "191f829c68f54ec33e1f4fac90e1e01ef3b1b1f492dcf8beca4b6c184a3eea61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "191f829c68f54ec33e1f4fac90e1e01ef3b1b1f492dcf8beca4b6c184a3eea61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191f829c68f54ec33e1f4fac90e1e01ef3b1b1f492dcf8beca4b6c184a3eea61", kill_on_drop: false }` [INFO] [stdout] 191f829c68f54ec33e1f4fac90e1e01ef3b1b1f492dcf8beca4b6c184a3eea61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4797254c7b8b6e0a378ebc34ef0b4943d3c42047a47d88d8be4220e4a9ab557b [INFO] running `Command { std: "docker" "start" "-a" "4797254c7b8b6e0a378ebc34ef0b4943d3c42047a47d88d8be4220e4a9ab557b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Checking pbt-macro v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/generic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pbt::prelude::*; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/void_enum.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/singleton_struct.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/nat.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/void_enum.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 9 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/triple_enum.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/triple_struct_of_vec.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/dual_struct.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/triple_struct.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `impl_tests` in this scope [INFO] [stdout] --> examples/generic.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl_tests!(Tree, tree_u8); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/nat.rs:16:71 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 13 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `impl_tests` in this scope [INFO] [stdout] --> examples/generic.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | impl_tests!(Tree<()>, tree_unit); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `impl_tests` in this scope [INFO] [stdout] --> examples/generic.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | impl_tests!(Tree<::core::convert::Infallible>, tree_infallible); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/generic.rs:5:71 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/nat.rs:37:71 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 13 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/nat.rs:58:71 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 13 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/dual_struct.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 10 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/triple_struct_of_vec.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 11 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pbt` in this scope [INFO] [stdout] --> examples/nat.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[pbt(index = 1)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 13 + use pbt_macro::pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pbt` in this scope [INFO] [stdout] --> examples/nat.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[pbt(index = 0)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 13 + use pbt_macro::pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/dual_struct.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 10 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pbt` in the list of imported crates [INFO] [stdout] --> examples/nat.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | ::pseudorandom(0, &mut seed).is_some(), [INFO] [stdout] | ^^^ could not find `pbt` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/singleton_struct.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 9 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/triple_enum.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 11 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/singleton_enum.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/dual_enum.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/triple_enum_of_u8.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 12 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MAX_SIZE` found for struct `Triple` in the current scope [INFO] [stdout] --> examples/triple_struct_of_vec.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 14 | struct Triple { [INFO] [stdout] | ------------- associated item `MAX_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Triple::MAX_SIZE, MaxSize::Infinite); [INFO] [stdout] | ^^^^^^^^ associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/triple_struct_of_vec.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(Triple::MAX_SIZE, MaxSize::Infinite); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MAX_SIZE` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/dual_struct.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 13 | struct Paren((), ()); [INFO] [stdout] | ------------ associated item `MAX_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/dual_struct.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/singleton_enum.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 9 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `smallest` found for struct `Triple` in the current scope [INFO] [stdout] --> examples/triple_struct_of_vec.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 14 | struct Triple { [INFO] [stdout] | ------------- function or associated item `smallest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | Triple::smallest(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/singleton_struct.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 9 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `smallest` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/dual_struct.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 13 | struct Paren((), ()); [INFO] [stdout] | ------------ function or associated item `smallest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | assert_eq!(Paren::smallest(), Some(Paren((), ()))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/singleton_enum.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 9 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/singleton_enum.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 9 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `edge_cases` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/dual_struct.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 13 | struct Paren((), ()); [INFO] [stdout] | ------------ function or associated item `edge_cases` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 24 | assert!(Paren::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `edge_cases` found for struct `Triple` in the current scope [INFO] [stdout] --> examples/triple_struct_of_vec.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 14 | struct Triple { [INFO] [stdout] | ------------- function or associated item `edge_cases` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | assert!(Triple::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Triple` in the current scope [INFO] [stdout] --> examples/triple_struct_of_vec.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 14 | struct Triple { [INFO] [stdout] | ------------- function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | assert!(Triple::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/dual_struct.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 13 | struct Paren((), ()); [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | assert!(Paren::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Triple` in the current scope [INFO] [stdout] --> examples/triple_struct_of_vec.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 14 | struct Triple { [INFO] [stdout] | ------------- function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | assert!(Triple::exhaust_size(1).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Void` in the current scope [INFO] [stdout] --> examples/void_enum.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 12 | enum Void {} [INFO] [stdout] | --------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 15 | assert_eq!(Void::MAX_SIZE, MaxSize::Uninstantiable); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Void` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/void_enum.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(Void::MAX_SIZE, MaxSize::Uninstantiable); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/dual_struct.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 13 | struct Paren((), ()); [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | assert!(Paren::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/dual_struct.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/dual_struct.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/triple_struct_of_vec.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Void` in the current scope [INFO] [stdout] --> examples/void_enum.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 12 | enum Void {} [INFO] [stdout] | --------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 16 | assert_eq!(Void::smallest(), None); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Void` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Bare` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 12 | enum Bare { [INFO] [stdout] | --------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 39 | assert_eq!(Bare::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/singleton_enum.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(Bare::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 22 | assert_eq!(Triple::MAX_SIZE, MaxSize::Finite(2)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(Triple::MAX_SIZE, MaxSize::Finite(2)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MAX_SIZE` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/dual_struct.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 16 | struct Brace { [INFO] [stdout] | ------------ associated item `MAX_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/dual_struct.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Bare` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 12 | enum Bare { [INFO] [stdout] | --------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 40 | assert_eq!(Bare::smallest(), Some(Bare::Variant)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Nat` in the current scope [INFO] [stdout] --> examples/nat.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Nat { [INFO] [stdout] | ------------ variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 77 | assert_eq!(Nat::MAX_SIZE, MaxSize::Infinite); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Nat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/nat.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(Nat::MAX_SIZE, MaxSize::Infinite); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `smallest` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/dual_struct.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 16 | struct Brace { [INFO] [stdout] | ------------ function or associated item `smallest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | assert_eq!(Brace::smallest(), Some(Brace { a: (), b: () })); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 18 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(Triple::MAX_SIZE, MaxSize::Finite(2)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Nat` in the current scope [INFO] [stdout] --> examples/nat.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Nat { [INFO] [stdout] | ------------ variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 78 | assert_eq!(Nat::smallest(), Some(Nat::O)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Nat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Bare` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 12 | enum Bare { [INFO] [stdout] | --------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 41 | assert!(Bare::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/triple_enum.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(Triple::MAX_SIZE, MaxSize::Finite(2)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 23 | assert_eq!(Triple::smallest(), Some(Triple::A)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 18 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Triple::smallest(), Some(Triple::A)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Bare` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 12 | enum Bare { [INFO] [stdout] | --------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 42 | assert!(Bare::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 18 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 28 | let mut iter = Triple::edge_cases(BTreeSet::new()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 25 | let mut iter = Triple::edge_cases(BTreeSet::new()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Bare` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 12 | enum Bare { [INFO] [stdout] | --------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 43 | assert!(Bare::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/singleton_enum.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/singleton_enum.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Nat` in the current scope [INFO] [stdout] --> examples/nat.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Nat { [INFO] [stdout] | ------------ variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 80 | let mut iter = Nat::edge_cases(BTreeSet::new()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Nat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Paren` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 21 | enum Paren { [INFO] [stdout] | ---------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 56 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/singleton_enum.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 18 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 35 | let mut iter = Triple::exhaust_size(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Void` in the current scope [INFO] [stdout] --> examples/void_enum.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 12 | enum Void {} [INFO] [stdout] | --------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 17 | assert!(Void::edge_cases(BTreeSet::new()).next().is_none()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Void` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Paren` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 21 | enum Paren { [INFO] [stdout] | ---------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 57 | assert_eq!(Paren::smallest(), Some(Paren::Variant())); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Paren` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 21 | enum Paren { [INFO] [stdout] | ---------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 58 | assert!(Paren::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 18 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 40 | let mut iter = Triple::exhaust_size(1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Nat` in the current scope [INFO] [stdout] --> examples/nat.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Nat { [INFO] [stdout] | ------------ variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 91 | let mut iter = Nat::exhaust_size(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Nat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 39 | let mut iter = Triple::exhaust_size(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `edge_cases` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/dual_struct.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Brace { [INFO] [stdout] | ------------ function or associated item `edge_cases` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | assert!(Brace::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Paren` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 21 | enum Paren { [INFO] [stdout] | ---------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 59 | assert!(Paren::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Paren` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 21 | enum Paren { [INFO] [stdout] | ---------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 60 | assert!(Paren::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/singleton_enum.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/singleton_enum.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Void` in the current scope [INFO] [stdout] --> examples/void_enum.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 12 | enum Void {} [INFO] [stdout] | --------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 18 | assert!(Void::exhaust_size(0).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Void` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/void_enum.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(exhaust::().next(), None); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/void_enum.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(best_first::().next(), None); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 44 | let mut iter = Triple::exhaust_size(1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Nat` in the current scope [INFO] [stdout] --> examples/nat.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Nat { [INFO] [stdout] | ------------ variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 96 | let mut iter = Nat::exhaust_size(1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Nat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Brace` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 30 | enum Brace { [INFO] [stdout] | ---------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/singleton_enum.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Brace` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 30 | enum Brace { [INFO] [stdout] | ---------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 74 | assert_eq!(Brace::smallest(), Some(Brace::Variant {})); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pbt-macro` (example "generic") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pbt-macro` (example "singleton_enum") due to 28 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/dual_struct.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Brace { [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 42 | assert!(Brace::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 49 | let mut iter = Triple::exhaust_size(2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Brace` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 30 | enum Brace { [INFO] [stdout] | ---------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 75 | assert!(Brace::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 18 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 45 | let mut iter = Triple::exhaust_size(2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Nat` in the current scope [INFO] [stdout] --> examples/nat.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Nat { [INFO] [stdout] | ------------ variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 106 | let mut iter = Nat::exhaust_size(2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Nat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Brace` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 30 | enum Brace { [INFO] [stdout] | ---------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 76 | assert!(Brace::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Brace` in the current scope [INFO] [stdout] --> examples/singleton_enum.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 30 | enum Brace { [INFO] [stdout] | ---------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 77 | assert!(Brace::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/singleton_enum.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/singleton_enum.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pbt` [INFO] [stdout] --> examples/unit_struct.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | use {pbt::prelude::*, std::collections::BTreeSet}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pbt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pbt`, use `cargo add pbt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 60 | assert!(Triple::exhaust_size(3).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `NatInv` in the current scope [INFO] [stdout] --> examples/nat.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum NatInv { [INFO] [stdout] | --------------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 118 | assert_eq!(NatInv::MAX_SIZE, MaxSize::Infinite); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `NatInv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/nat.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(NatInv::MAX_SIZE, MaxSize::Infinite); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/triple_enum_of_triple_struct.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/dual_struct.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Brace { [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 43 | assert!(Brace::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/dual_struct.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/dual_struct.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `NatInv` in the current scope [INFO] [stdout] --> examples/nat.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum NatInv { [INFO] [stdout] | --------------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 119 | assert_eq!(NatInv::smallest(), Some(NatInv::O)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `NatInv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `NatInv` in the current scope [INFO] [stdout] --> examples/nat.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum NatInv { [INFO] [stdout] | --------------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 121 | let mut iter = NatInv::edge_cases(BTreeSet::new()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `NatInv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 18 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 49 | assert!(Triple::exhaust_size(3).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/triple_enum.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/triple_enum.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `NatInv` in the current scope [INFO] [stdout] --> examples/nat.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum NatInv { [INFO] [stdout] | --------------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 132 | let mut iter = NatInv::exhaust_size(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `NatInv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `NatInv` in the current scope [INFO] [stdout] --> examples/nat.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum NatInv { [INFO] [stdout] | --------------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 137 | let mut iter = NatInv::exhaust_size(1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `NatInv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `NatInv` in the current scope [INFO] [stdout] --> examples/nat.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum NatInv { [INFO] [stdout] | --------------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 147 | let mut iter = NatInv::exhaust_size(2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `NatInv` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pbt-macro` (example "triple_struct_of_vec") due to 9 previous errors [INFO] [stderr] error: could not compile `pbt-macro` (example "dual_struct") due to 19 previous errors [INFO] [stderr] error: could not compile `pbt-macro` (example "triple_enum_of_triple_struct") due to 12 previous errors [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `NatReindexed` in the current scope [INFO] [stdout] --> examples/nat.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum NatReindexed { [INFO] [stdout] | --------------------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 159 | assert_eq!(NatReindexed::MAX_SIZE, MaxSize::Infinite); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `NatReindexed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/nat.rs:159:40 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(NatReindexed::MAX_SIZE, MaxSize::Infinite); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `NatReindexed` in the current scope [INFO] [stdout] --> examples/nat.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum NatReindexed { [INFO] [stdout] | --------------------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 160 | assert_eq!(NatReindexed::smallest(), Some(NatReindexed::O)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `NatReindexed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `NatReindexed` in the current scope [INFO] [stdout] --> examples/nat.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum NatReindexed { [INFO] [stdout] | --------------------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 162 | let mut iter = NatReindexed::edge_cases(BTreeSet::new()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `NatReindexed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MAX_SIZE` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/singleton_struct.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Paren(()); [INFO] [stdout] | ------------ associated item `MAX_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/singleton_struct.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `NatReindexed` in the current scope [INFO] [stdout] --> examples/nat.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum NatReindexed { [INFO] [stdout] | --------------------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 173 | let mut iter = NatReindexed::exhaust_size(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `NatReindexed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `smallest` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/singleton_struct.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 12 | struct Paren(()); [INFO] [stdout] | ------------ function or associated item `smallest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | assert_eq!(Paren::smallest(), Some(Paren(()))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/triple_struct.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 10 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `NatReindexed` in the current scope [INFO] [stdout] --> examples/nat.rs:178:38 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum NatReindexed { [INFO] [stdout] | --------------------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 178 | let mut iter = NatReindexed::exhaust_size(1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `NatReindexed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `edge_cases` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/singleton_struct.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 12 | struct Paren(()); [INFO] [stdout] | ------------ function or associated item `edge_cases` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | assert!(Paren::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `NatReindexed` in the current scope [INFO] [stdout] --> examples/nat.rs:188:38 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum NatReindexed { [INFO] [stdout] | --------------------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 188 | let mut iter = NatReindexed::exhaust_size(2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `NatReindexed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/singleton_struct.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 12 | struct Paren(()); [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | assert!(Paren::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/singleton_struct.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 12 | struct Paren(()); [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 24 | assert!(Paren::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pbt-macro` (example "void_enum") due to 9 previous errors [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/singleton_struct.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pbt-macro` (example "triple_enum") due to 12 previous errors [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/singleton_struct.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MAX_SIZE` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/singleton_struct.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 15 | struct Brace { [INFO] [stdout] | ------------ associated item `MAX_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/singleton_struct.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `smallest` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/singleton_struct.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 15 | struct Brace { [INFO] [stdout] | ------------ function or associated item `smallest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(Brace::smallest(), Some(Brace { unit: () })); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pbt-macro` (example "nat") due to 28 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `edge_cases` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/singleton_struct.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 15 | struct Brace { [INFO] [stdout] | ------------ function or associated item `edge_cases` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | assert!(Brace::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pbt-macro` (example "singleton_struct") due to 19 previous errors [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/singleton_struct.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 15 | struct Brace { [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | assert!(Brace::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/triple_struct.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 10 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/singleton_struct.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 15 | struct Brace { [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | assert!(Brace::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/singleton_struct.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/singleton_struct.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/triple_enum_of_u8.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 12 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/dual_enum.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 11 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/dual_enum.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 11 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/dual_enum.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 11 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/dual_enum.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 11 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/unit_struct.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 9 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/unit_struct.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 9 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Pbt` in this scope [INFO] [stdout] --> examples/unit_struct.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Eq, PartialEq, Pbt)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 9 + use pbt_macro::Pbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_u8.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(Triple::MAX_SIZE, MaxSize::Finite(257)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/triple_enum_of_u8.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(Triple::MAX_SIZE, MaxSize::Finite(257)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_u8.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Triple::smallest(), Some(Triple::A)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MAX_SIZE` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/triple_struct.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 13 | struct Paren((), (), ()); [INFO] [stdout] | ------------ associated item `MAX_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/triple_struct.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_u8.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 29 | let mut iter = Triple::edge_cases(BTreeSet::new()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `smallest` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/triple_struct.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 13 | struct Paren((), (), ()); [INFO] [stdout] | ------------ function or associated item `smallest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(Paren::smallest(), Some(Paren((), (), ()))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Bare` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 14 | enum Bare { [INFO] [stdout] | --------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 55 | assert_eq!(Bare::MAX_SIZE, MaxSize::Finite(1)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/dual_enum.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(Bare::MAX_SIZE, MaxSize::Finite(1)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_u8.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 44 | let mut iter = Triple::exhaust_size(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Bare` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 14 | enum Bare { [INFO] [stdout] | --------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 56 | assert_eq!(Bare::smallest(), Some(Bare::A)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `edge_cases` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/triple_struct.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 13 | struct Paren((), (), ()); [INFO] [stdout] | ------------ function or associated item `edge_cases` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | assert!(Paren::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Bare` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 14 | enum Bare { [INFO] [stdout] | --------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 57 | assert!(Bare::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Bare` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 14 | enum Bare { [INFO] [stdout] | --------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 59 | let mut iter = Bare::exhaust_size(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/triple_struct.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 13 | struct Paren((), (), ()); [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | assert!(Paren::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_u8.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 49 | let mut iter = Triple::exhaust_size(1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Bare` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 14 | enum Bare { [INFO] [stdout] | --------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 64 | let mut iter = Bare::exhaust_size(1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/dual_enum.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/dual_enum.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Paren` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 24 | enum Paren { [INFO] [stdout] | ---------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 83 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(1)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/dual_enum.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(1)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/triple_struct.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 13 | struct Paren((), (), ()); [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | assert!(Paren::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_u8.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 54 | let mut iter = Triple::exhaust_size(2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/triple_struct.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Paren` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 24 | enum Paren { [INFO] [stdout] | ---------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 84 | assert_eq!(Paren::smallest(), Some(Paren::A())); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/triple_struct.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Paren` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 24 | enum Paren { [INFO] [stdout] | ---------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 85 | assert!(Paren::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MAX_SIZE` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/triple_struct.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 16 | struct Brace { [INFO] [stdout] | ------------ associated item `MAX_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/triple_struct.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Paren` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 24 | enum Paren { [INFO] [stdout] | ---------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 87 | let mut iter = Paren::exhaust_size(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `smallest` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/triple_struct.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 16 | struct Brace { [INFO] [stdout] | ------------ function or associated item `smallest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 42 | Brace::smallest(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Triple` in the current scope [INFO] [stdout] --> examples/triple_enum_of_u8.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 15 | enum Triple { [INFO] [stdout] | ----------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 59 | assert!(Triple::exhaust_size(3).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Triple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Paren` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 24 | enum Paren { [INFO] [stdout] | ---------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 92 | let mut iter = Paren::exhaust_size(1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `edge_cases` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/triple_struct.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Brace { [INFO] [stdout] | ------------ function or associated item `edge_cases` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | assert!(Brace::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/triple_enum_of_u8.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/dual_enum.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/dual_enum.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/triple_struct.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Brace { [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 50 | assert!(Brace::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Brace` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 34 | enum Brace { [INFO] [stdout] | ---------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 111 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(1)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/dual_enum.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(1)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/triple_struct.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Brace { [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 51 | assert!(Brace::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/triple_struct.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pbt-macro` (example "triple_struct") due to 19 previous errors [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Brace` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 34 | enum Brace { [INFO] [stdout] | ---------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 112 | assert_eq!(Brace::smallest(), Some(Brace::A {})); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pbt-macro` (example "triple_enum_of_u8") due to 11 previous errors [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/triple_struct.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Brace` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 34 | enum Brace { [INFO] [stdout] | ---------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 113 | assert!(Brace::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MAX_SIZE` found for struct `Bare` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 12 | struct Bare; [INFO] [stdout] | ----------- associated item `MAX_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Bare::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Brace` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 34 | enum Brace { [INFO] [stdout] | ---------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 115 | let mut iter = Brace::exhaust_size(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/unit_struct.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(Bare::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Brace` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 34 | enum Brace { [INFO] [stdout] | ---------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 120 | let mut iter = Brace::exhaust_size(1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `smallest` found for struct `Bare` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 12 | struct Bare; [INFO] [stdout] | ----------- function or associated item `smallest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Bare::smallest(), Some(Bare)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/dual_enum.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/dual_enum.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MAX_SIZE` found for enum `Mixed` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 44 | enum Mixed { [INFO] [stdout] | ---------- variant or associated item `MAX_SIZE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 139 | assert_eq!(Mixed::MAX_SIZE, MaxSize::Finite(1)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Mixed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/dual_enum.rs:139:33 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(Mixed::MAX_SIZE, MaxSize::Finite(1)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `smallest` found for enum `Mixed` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 44 | enum Mixed { [INFO] [stdout] | ---------- variant or associated item `smallest` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 140 | assert_eq!(Mixed::smallest(), Some(Mixed::A())); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Mixed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `edge_cases` found for struct `Bare` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 12 | struct Bare; [INFO] [stdout] | ----------- function or associated item `edge_cases` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | assert!(Bare::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `edge_cases` found for enum `Mixed` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 44 | enum Mixed { [INFO] [stdout] | ---------- variant or associated item `edge_cases` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 141 | assert!(Mixed::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Mixed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Mixed` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 44 | enum Mixed { [INFO] [stdout] | ---------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 143 | let mut iter = Mixed::exhaust_size(0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Mixed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `exhaust_size` found for enum `Mixed` in the current scope [INFO] [stdout] --> examples/dual_enum.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 44 | enum Mixed { [INFO] [stdout] | ---------- variant or associated item `exhaust_size` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 148 | let mut iter = Mixed::exhaust_size(1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `Mixed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/dual_enum.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/dual_enum.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Bare` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 12 | struct Bare; [INFO] [stdout] | ----------- function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(Bare::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Bare` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 12 | struct Bare; [INFO] [stdout] | ----------- function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | assert!(Bare::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Bare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/unit_struct.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/unit_struct.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MAX_SIZE` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 16 | struct Paren(); [INFO] [stdout] | ------------ associated item `MAX_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 44 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/unit_struct.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(Paren::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `smallest` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 16 | struct Paren(); [INFO] [stdout] | ------------ function or associated item `smallest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!(Paren::smallest(), Some(Paren())); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `edge_cases` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Paren(); [INFO] [stdout] | ------------ function or associated item `edge_cases` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 46 | assert!(Paren::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Paren(); [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | assert!(Paren::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Paren` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 16 | struct Paren(); [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 48 | assert!(Paren::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/unit_struct.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/unit_struct.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MAX_SIZE` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 20 | struct Brace {} [INFO] [stdout] | ------------ associated item `MAX_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 61 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^^ associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxSize` [INFO] [stdout] --> examples/unit_struct.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(Brace::MAX_SIZE, MaxSize::Finite(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MaxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `smallest` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 20 | struct Brace {} [INFO] [stdout] | ------------ function or associated item `smallest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 62 | assert_eq!(Brace::smallest(), Some(Brace {})); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `edge_cases` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 20 | struct Brace {} [INFO] [stdout] | ------------ function or associated item `edge_cases` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 63 | assert!(Brace::edge_cases(BTreeSet::new()).next().is_some()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pbt-macro` (example "dual_enum") due to 37 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 20 | struct Brace {} [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 64 | assert!(Brace::exhaust_size(0).is_some()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `exhaust_size` found for struct `Brace` in the current scope [INFO] [stdout] --> examples/unit_struct.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 20 | struct Brace {} [INFO] [stdout] | ------------ function or associated item `exhaust_size` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 65 | assert!(Brace::exhaust_size(1).is_none()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Brace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exhaust` in this scope [INFO] [stdout] --> examples/unit_struct.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let mut iter = exhaust::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `best_first` in this scope [INFO] [stdout] --> examples/unit_struct.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let mut iter = best_first::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pbt-macro` (example "unit_struct") due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "4797254c7b8b6e0a378ebc34ef0b4943d3c42047a47d88d8be4220e4a9ab557b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4797254c7b8b6e0a378ebc34ef0b4943d3c42047a47d88d8be4220e4a9ab557b", kill_on_drop: false }` [INFO] [stdout] 4797254c7b8b6e0a378ebc34ef0b4943d3c42047a47d88d8be4220e4a9ab557b