[INFO] fetching crate pbt-macro 0.3.1... [INFO] building pbt-macro-0.3.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate pbt-macro 0.3.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pbt-macro 0.3.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fa659bb13398a6c156bebf954b5c524bb4456be99b05c6ebdfd4fdc3ab6acd0 [INFO] running `Command { std: "docker" "start" "-a" "0fa659bb13398a6c156bebf954b5c524bb4456be99b05c6ebdfd4fdc3ab6acd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fa659bb13398a6c156bebf954b5c524bb4456be99b05c6ebdfd4fdc3ab6acd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fa659bb13398a6c156bebf954b5c524bb4456be99b05c6ebdfd4fdc3ab6acd0", kill_on_drop: false }` [INFO] [stdout] 0fa659bb13398a6c156bebf954b5c524bb4456be99b05c6ebdfd4fdc3ab6acd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be254f8b5367e8ecd3cffb07d954041e37c63b92f7d412e4d3eeb084cde5b4ee [INFO] running `Command { std: "docker" "start" "-a" "be254f8b5367e8ecd3cffb07d954041e37c63b92f7d412e4d3eeb084cde5b4ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling pbt-macro v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.01s [INFO] running `Command { std: "docker" "inspect" "be254f8b5367e8ecd3cffb07d954041e37c63b92f7d412e4d3eeb084cde5b4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be254f8b5367e8ecd3cffb07d954041e37c63b92f7d412e4d3eeb084cde5b4ee", kill_on_drop: false }` [INFO] [stdout] be254f8b5367e8ecd3cffb07d954041e37c63b92f7d412e4d3eeb084cde5b4ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 722e0d12146627c8f870f6b0fa7babcc49db992aae09b163f6d095fe780eb752 [INFO] running `Command { std: "docker" "start" "-a" "722e0d12146627c8f870f6b0fa7babcc49db992aae09b163f6d095fe780eb752", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling 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/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 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: 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[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/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/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: 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 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 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/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[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: 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/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] For more information about this error, try `rustc --explain E0433`. [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] [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/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[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[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[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 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[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 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 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 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/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 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[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_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 `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 `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 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[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 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[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 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 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 `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 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: 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[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 `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 `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[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 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] 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/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[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] [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 `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 `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[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[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: 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[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] 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] [stderr] error: could not compile `pbt-macro` (example "dual_struct") due to 19 previous errors [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: 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[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 `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] 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/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: 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[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] [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 `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[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[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 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 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 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[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 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] [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] 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 `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[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 `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] [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 `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] [stderr] error: could not compile `pbt-macro` (example "triple_enum") due to 12 previous errors [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 `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 `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 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[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] 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[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 `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 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 `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] [stderr] error: could not compile `pbt-macro` (example "void_enum") due to 9 previous errors [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 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 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[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[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] 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 `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] [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" "722e0d12146627c8f870f6b0fa7babcc49db992aae09b163f6d095fe780eb752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "722e0d12146627c8f870f6b0fa7babcc49db992aae09b163f6d095fe780eb752", kill_on_drop: false }` [INFO] [stdout] 722e0d12146627c8f870f6b0fa7babcc49db992aae09b163f6d095fe780eb752