[INFO] fetching crate abi_stable 0.9.3... [INFO] checking abi_stable-0.9.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate abi_stable 0.9.3 into /workspace/builds/worker-64/source [INFO] validating manifest of crates.io crate abi_stable 0.9.3 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate abi_stable 0.9.3 [INFO] finished tweaking crates.io crate abi_stable 0.9.3 [INFO] tweaked toml for crates.io crate abi_stable 0.9.3 written to /workspace/builds/worker-64/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generational-arena v0.2.8 [INFO] [stderr] Downloaded abi_stable_derive v0.9.2 [INFO] [stderr] Downloaded repr_offset v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9531206394ab89ff21fb7b9f86965afbef11db7bcf6f0bd9b89eff70338e6201 [INFO] running `Command { std: "docker" "start" "-a" "9531206394ab89ff21fb7b9f86965afbef11db7bcf6f0bd9b89eff70338e6201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9531206394ab89ff21fb7b9f86965afbef11db7bcf6f0bd9b89eff70338e6201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9531206394ab89ff21fb7b9f86965afbef11db7bcf6f0bd9b89eff70338e6201", kill_on_drop: false }` [INFO] [stdout] 9531206394ab89ff21fb7b9f86965afbef11db7bcf6f0bd9b89eff70338e6201 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12d5320ad3c6957f97593a04b470c554f3f38f8ae7e040b33356d6b1e4cd26bc [INFO] running `Command { std: "docker" "start" "-a" "12d5320ad3c6957f97593a04b470c554f3f38f8ae7e040b33356d6b1e4cd26bc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] crossbeam-utils v0.8.5: default [INFO] [stderr] itoa v0.4.8: default, std [INFO] [stderr] [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling core_extensions v0.1.20 [INFO] [stderr] Compiling repr_offset v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking abi_stable_shared v0.9.0 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Compiling as_derive_utils v0.9.0 [INFO] [stderr] Compiling abi_stable_derive v0.9.2 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking abi_stable v0.9.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Fixed src/macros.rs (1 fix) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/std_types/map/iterator_stuff.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(StableAbi)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] ... [INFO] [stdout] 35 | #[sabi(impl_InterfaceType(Iterator,Clone))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/std_types/map/iterator_stuff.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(StableAbi)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] ... [INFO] [stdout] 44 | #[sabi(impl_InterfaceType(Iterator))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/std_types/map/iterator_stuff.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(StableAbi)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] ... [INFO] [stdout] 53 | #[sabi(impl_InterfaceType(Iterator))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: tests must be run with the "testing" feature [INFO] [stdout] --> src/lib.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 417 | compile_error! { "tests must be run with the \"testing\" feature" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nonexhaustive_enum::examples` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | examples::{ [INFO] [stdout] | ^^^^^^^^ could not find `examples` in `nonexhaustive_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/external_types/parking_lot/mutex.rs:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | use crate::test_utils::check_formatting_equivalence; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/external_types/parking_lot/rw_lock.rs:595:16 [INFO] [stdout] | [INFO] [stdout] 595 | use crate::test_utils::check_formatting_equivalence; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/multikey_map.rs:416:16 [INFO] [stdout] | [INFO] [stdout] 416 | use crate::test_utils::must_panic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/type_layout/printing/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | test_utils::AlwaysDisplay, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/std_types/boxed/test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | test_utils::{must_panic}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/std_types/std_error/test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | test_utils::{check_formatting_equivalence,deref_address,Stringy}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/std_types/std_io.rs:487:16 [INFO] [stdout] | [INFO] [stdout] 487 | use crate::test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/std_types/string/tests.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::test_utils::must_panic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::test_utils`, `self::command_a::Foo`, `self::command_b::Foo`, `self::command_c::Foo`, `self::command_h_mismatched_discriminant::Foo`, `self::command_c::Foo`, `self::command_h_mismatched_discriminant::Foo`, `self::many_ranges_a::Foo`, `self::many_ranges_b::Foo`, `self::command_a::Foo`, `self::command_c::Foo`, `self::generic_a::Foo`, `self::command_serde::Foo`, `self::generic_a::Foo`, `self::generic_a::Foo`, `self::command_serde::Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | use self::command_a::{Foo as FooA}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | use self::command_b::{Foo as FooB}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | use self::command_c::Foo as FooC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | use self::command_h_mismatched_discriminant::Foo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | use self::command_c::Foo as FooC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | use self::command_h_mismatched_discriminant::Foo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | use self::many_ranges_a::Foo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | use self::many_ranges_b::Foo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | use self::command_a::{Foo as FooA}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 164 | use self::command_c::{Foo as FooC}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | use self::generic_a::Foo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | use self::command_serde::{Foo as FooC}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | use self::generic_a::Foo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | use self::generic_a::Foo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | use self::command_serde::{Foo as FooC}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/std_types/vec/tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | test_utils::{must_panic, ShouldHavePanickedAt}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | let mut variant_a=NonExhaustive::new(FooA::A); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | let mut variant_b=NonExhaustive::new(FooA::B(11)); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(variant_a.as_enum(), Ok(&FooA::A)); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(variant_b.as_enum(), Ok(&FooA::B(11))); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(variant_a.as_enum_mut(), Ok(&mut FooA::A)); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:47:53 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(variant_b.as_enum_mut(), Ok(&mut FooA::B(11))); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(variant_a.into_enum(), Ok(FooA::A)); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(variant_b.into_enum(), Ok(FooA::B(11))); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:55:46 [INFO] [stdout] | [INFO] [stdout] 55 | let mut variant_a=NonExhaustive::new(FooB::A); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | let mut variant_b=NonExhaustive::new(FooB::B(11)); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | let mut variant_c=NonExhaustive::new(FooB::C); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(variant_a.as_enum(), Ok(&FooB::A)); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(variant_b.as_enum(), Ok(&FooB::B(11))); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(variant_c.as_enum(), Ok(&FooB::C)); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:63:53 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(variant_a.as_enum_mut(), Ok(&mut FooB::A)); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:64:53 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(variant_b.as_enum_mut(), Ok(&mut FooB::B(11))); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(variant_c.as_enum_mut(), Ok(&mut FooB::C)); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(variant_a.into_enum(), Ok(FooB::A)); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(variant_b.into_enum(), Ok(FooB::B(11))); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooB` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(variant_c.into_enum(), Ok(FooB::C)); [INFO] [stdout] | ^^^^ use of undeclared type `FooB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | let wrapped_a=NonExhaustive::new(FooC::A); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | let wrapped_b=NonExhaustive::new(FooC::B(11)); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | let wrapped_c=NonExhaustive::new(FooC::C); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | let wrapped_d=NonExhaustive::new(FooC::D{name:"what".into()}); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:90:42 [INFO] [stdout] | [INFO] [stdout] 90 | let wrapped_a=NonExhaustive::new(Foo::A); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | let wrapped_b=NonExhaustive::new(Foo::B); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | let wrapped_c=NonExhaustive::new(Foo::C); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(FooC::is_valid_discriminant(0),true); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | assert_eq!(FooC::is_valid_discriminant(1),true); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | assert_eq!(FooC::is_valid_discriminant(2),true); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(FooC::is_valid_discriminant(3),true); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | assert_eq!(FooC::is_valid_discriminant(4),false); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | assert_eq!(FooC::is_valid_discriminant(5),false); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | let mut variant_a=NonExhaustive::new(FooC::A).transmute_enum::(); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:167:46 [INFO] [stdout] | [INFO] [stdout] 167 | let mut variant_b=NonExhaustive::new(FooC::B(11)).transmute_enum::(); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:168:46 [INFO] [stdout] | [INFO] [stdout] 168 | let mut variant_c=NonExhaustive::new(FooC::C).transmute_enum::(); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:169:27 [INFO] [stdout] | [INFO] [stdout] 169 | let mut variant_d=FooC::D{name:"what".into()} [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:176:45 [INFO] [stdout] | [INFO] [stdout] 176 | assert_eq!(variant_a.as_enum(), Ok(&FooA::A)); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:177:45 [INFO] [stdout] | [INFO] [stdout] 177 | assert_eq!(variant_b.as_enum(), Ok(&FooA::B(11))); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:181:53 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(variant_a.as_enum_mut(), Ok(&mut FooA::A)); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:182:53 [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!(variant_b.as_enum_mut(), Ok(&mut FooA::B(11))); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(variant_a.into_enum(), Ok(FooA::A)); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooA` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:187:46 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(variant_b.into_enum(), Ok(FooA::B(11))); [INFO] [stdout] | ^^^^ use of undeclared type `FooA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:201:38 [INFO] [stdout] | [INFO] [stdout] 201 | let variant_a=NonExhaustive::new(Foo::>::A); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:202:38 [INFO] [stdout] | [INFO] [stdout] 202 | let variant_b=NonExhaustive::new(Foo::>::B); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:217:35 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(variant_a.clone(), Foo::A); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(variant_b.clone(), Foo::B); [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | let variant_a=FooC::A; [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | let variant_b=FooC::B(11); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | let variant_c=FooC::C; [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | let variant_d=FooC::D{name:"what".into()}; [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | let variant_a=Foo::::A; [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | let variant_b=Foo::::B; [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:344:19 [INFO] [stdout] | [INFO] [stdout] 344 | let variant_a=Foo::::A; [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:347:19 [INFO] [stdout] | [INFO] [stdout] 347 | let variant_b=Foo::::B; [INFO] [stdout] | ^^^ use of undeclared type `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | let variant_a=FooC::A; [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | let variant_b=FooC::B(10); [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | let variant_c=FooC::C; [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooC` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:369:19 [INFO] [stdout] | [INFO] [stdout] 369 | let variant_d=FooC::D{name:"what".into()}; [INFO] [stdout] | ^^^^ use of undeclared type `FooC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(Foo::is_valid_discriminant(0),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(Foo::is_valid_discriminant(39),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | assert_eq!(Foo::is_valid_discriminant(40),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!(Foo::is_valid_discriminant(41),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Foo::is_valid_discriminant(42),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(Foo::is_valid_discriminant(43),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(Foo::is_valid_discriminant(44),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(Foo::is_valid_discriminant(0),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(Foo::is_valid_discriminant(1),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(Foo::is_valid_discriminant(2),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(Foo::is_valid_discriminant(39),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(Foo::is_valid_discriminant(40),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(Foo::is_valid_discriminant(41),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(Foo::is_valid_discriminant(42),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(Foo::is_valid_discriminant(43),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(Foo::is_valid_discriminant(44),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(Foo::is_valid_discriminant(58),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(Foo::is_valid_discriminant(59),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(Foo::is_valid_discriminant(60),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(Foo::is_valid_discriminant(61),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(Foo::is_valid_discriminant(62),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(Foo::is_valid_discriminant(63),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(Foo::is_valid_discriminant(0),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(Foo::is_valid_discriminant(1),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | assert_eq!(Foo::is_valid_discriminant(2),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(Foo::is_valid_discriminant(39),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(Foo::is_valid_discriminant(40),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | assert_eq!(Foo::is_valid_discriminant(41),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(Foo::is_valid_discriminant(42),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(Foo::is_valid_discriminant(43),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(Foo::is_valid_discriminant(58),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(Foo::is_valid_discriminant(59),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(Foo::is_valid_discriminant(60),true); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(Foo::is_valid_discriminant(62),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(Foo::is_valid_discriminant(63),false); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooA` in this scope [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:166:72 [INFO] [stdout] | [INFO] [stdout] 161 | fn transmuting_enums(){ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 166 | let mut variant_a=NonExhaustive::new(FooC::A).transmute_enum::(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooA` in this scope [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:167:76 [INFO] [stdout] | [INFO] [stdout] 161 | fn transmuting_enums(){ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 167 | let mut variant_b=NonExhaustive::new(FooC::B(11)).transmute_enum::(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooA` in this scope [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:168:72 [INFO] [stdout] | [INFO] [stdout] 161 | fn transmuting_enums(){ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 168 | let mut variant_c=NonExhaustive::new(FooC::C).transmute_enum::(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooA` in this scope [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 161 | fn transmuting_enums(){ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 171 | .transmute_enum::(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:203:38 [INFO] [stdout] | [INFO] [stdout] 203 | let variant_c=NonExhaustive::new(Foo::>::C(arc.clone())); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:222:37 [INFO] [stdout] | [INFO] [stdout] 222 | assert_eq!(clone_c.clone(), Foo::C(arc.clone())); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:266:19 [INFO] [stdout] | [INFO] [stdout] 266 | let variant_c=Foo::::C("what".into()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Foo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:350:19 [INFO] [stdout] | [INFO] [stdout] 350 | let variant_c=Foo::::C("what".into()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_1::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_2::Foo; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nonexhaustive_enum::doc_enums::example_3::Foo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooC` in this scope [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:390:49 [INFO] [stdout] | [INFO] [stdout] 363 | fn serde_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 390 | serde_json::from_str::>(r#" "oinoiasnd" "#).map_err(drop), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooC` in this scope [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:395:28 [INFO] [stdout] | [INFO] [stdout] 363 | fn serde_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 395 | NonExhaustiveFor::::deserialize_from_proxy( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooC` in this scope [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:410:70 [INFO] [stdout] | [INFO] [stdout] 363 | fn serde_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 410 | let deserialized=serde_json::from_str::>(json_dd).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FooC` in this scope [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:416:36 [INFO] [stdout] | [INFO] [stdout] 363 | fn serde_test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 416 | NonExhaustiveFor::::deserialize_from_proxy(json.into()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/std_types/map/iterator_stuff.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(StableAbi)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] ... [INFO] [stdout] 35 | #[sabi(impl_InterfaceType(Iterator,Clone))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/std_types/map/iterator_stuff.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(StableAbi)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] ... [INFO] [stdout] 44 | #[sabi(impl_InterfaceType(Iterator))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/std_types/map/iterator_stuff.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(StableAbi)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] ... [INFO] [stdout] 53 | #[sabi(impl_InterfaceType(Iterator))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GetEnumInfo` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | GetEnumInfo, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core_extensions::SelfOps` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use core_extensions::SelfOps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 118 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `abi_stable` due to 119 previous errors; 5 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "12d5320ad3c6957f97593a04b470c554f3f38f8ae7e040b33356d6b1e4cd26bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d5320ad3c6957f97593a04b470c554f3f38f8ae7e040b33356d6b1e4cd26bc", kill_on_drop: false }` [INFO] [stdout] 12d5320ad3c6957f97593a04b470c554f3f38f8ae7e040b33356d6b1e4cd26bc