[INFO] fetching crate variant_access_derive 0.3.1... [INFO] testing variant_access_derive-0.3.1 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate variant_access_derive 0.3.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate variant_access_derive 0.3.1 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate variant_access_derive 0.3.1 [INFO] finished tweaking crates.io crate variant_access_derive 0.3.1 [INFO] tweaked toml for crates.io crate variant_access_derive 0.3.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 437c494e6d718a5592a0d67010c9fe4901d154aa8940ff278749611764436aaa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "437c494e6d718a5592a0d67010c9fe4901d154aa8940ff278749611764436aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "437c494e6d718a5592a0d67010c9fe4901d154aa8940ff278749611764436aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "437c494e6d718a5592a0d67010c9fe4901d154aa8940ff278749611764436aaa", kill_on_drop: false }` [INFO] [stdout] 437c494e6d718a5592a0d67010c9fe4901d154aa8940ff278749611764436aaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cba171d30f44adaa3e2952da82576c1f40c536f834aa4b38353d95b2481eefa2 [INFO] running `Command { std: "docker" "start" "-a" "cba171d30f44adaa3e2952da82576c1f40c536f834aa4b38353d95b2481eefa2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling variant_access_traits v0.3.1 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling tera v1.10.0 [INFO] [stderr] Compiling variant_access_derive v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "cba171d30f44adaa3e2952da82576c1f40c536f834aa4b38353d95b2481eefa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba171d30f44adaa3e2952da82576c1f40c536f834aa4b38353d95b2481eefa2", kill_on_drop: false }` [INFO] [stdout] cba171d30f44adaa3e2952da82576c1f40c536f834aa4b38353d95b2481eefa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6d80c910ced8fe76f2df30ad2369da57acd804991f455700e0a1589e3092b0ae [INFO] running `Command { std: "docker" "start" "-a" "6d80c910ced8fe76f2df30ad2369da57acd804991f455700e0a1589e3092b0ae", kill_on_drop: false }` [INFO] [stderr] Compiling variant_access_derive v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "6d80c910ced8fe76f2df30ad2369da57acd804991f455700e0a1589e3092b0ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d80c910ced8fe76f2df30ad2369da57acd804991f455700e0a1589e3092b0ae", kill_on_drop: false }` [INFO] [stdout] 6d80c910ced8fe76f2df30ad2369da57acd804991f455700e0a1589e3092b0ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 511826f54723cf6361822d5a3446b9e9051ca35ffb71340ec6e4fdcd1ebb8f54 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "511826f54723cf6361822d5a3446b9e9051ca35ffb71340ec6e4fdcd1ebb8f54", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/variant_access_derive-84f00c2c34a76799) [INFO] [stdout] [INFO] [stderr] Doc-tests variant_access_derive [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - impl_set_variant (line 338) ... FAILED [INFO] [stdout] test src/lib.rs - fetch_types_from_enum (line 154) ... FAILED [INFO] [stdout] test src/lib.rs - impl_set_variant (line 324) ... FAILED [INFO] [stdout] test src/lib.rs - parse_path (line 89) ... FAILED [INFO] [stdout] test src/lib.rs - fetch_types_from_enum (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - impl_create_variant (line 382) ... FAILED [INFO] [stdout] test src/lib.rs - create_marker_structs (line 203) ... ok [INFO] [stdout] test src/lib.rs - impl_get_variant (line 276) ... FAILED [INFO] [stdout] test src/lib.rs - fetch_name_with_generic_params (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - create_marker_structs (line 195) ... FAILED [INFO] [stdout] test src/lib.rs - fetch_name_with_generic_params (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - impl_contains_variant (line 225) ... FAILED [INFO] [stdout] test src/lib.rs - fetch_types_from_enum (line 134) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - impl_set_variant (line 338) stdout ---- [INFO] [stdout] error[E0599]: no method named `set_variante` found for enum `Enum` in the current scope [INFO] [stdout] --> src/lib.rs:345:10 [INFO] [stdout] | [INFO] [stdout] 3 | enum Enum { [INFO] [stdout] | --------- method `set_variante` not found for this [INFO] [stdout] ... [INFO] [stdout] 9 | instance.set_variante(1); // Is instance equal to Enum::F1(1) or Enum::F2(1) ??? [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Enum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_variant` found for enum `Enum` in the current scope [INFO] [stdout] --> src/lib.rs:348:10 [INFO] [stdout] | [INFO] [stdout] 3 | enum Enum { [INFO] [stdout] | --------- method `set_variant` not found for this [INFO] [stdout] ... [INFO] [stdout] 12 | instance.set_variant(1 as i32); // instance equals Enum::F1(1) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Enum` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_variant` found for enum `Enum` in the current scope [INFO] [stdout] --> src/lib.rs:349:10 [INFO] [stdout] | [INFO] [stdout] 3 | enum Enum { [INFO] [stdout] | --------- method `set_variant` not found for this [INFO] [stdout] ... [INFO] [stdout] 13 | instance.set_variant(1 as i64); // instance equal Enum::F2(1) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Enum` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - fetch_types_from_enum (line 154) stdout ---- [INFO] [stdout] error: cannot find derive macro `VariantAccess` in this scope [INFO] [stdout] --> src/lib.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(VariantAccess)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - impl_set_variant (line 324) stdout ---- [INFO] [stdout] error[E0599]: no method named `set_variant` found for enum `Enum` in the current scope [INFO] [stdout] --> src/lib.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 3 | enum Enum { [INFO] [stdout] | --------- method `set_variant` not found for this [INFO] [stdout] ... [INFO] [stdout] 9 | instance.set_variant(false); // instance now is equal to Enum::F2(false) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Enum` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - parse_path (line 89) stdout ---- [INFO] [stdout] error: cannot find derive macro `VariantAccess` in this scope [INFO] [stdout] --> src/lib.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(VariantAccess)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Complex` in module `super` [INFO] [stdout] --> src/lib.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 19 | F2(super::Complex) [INFO] [stdout] | ^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - fetch_types_from_enum (line 143) stdout ---- [INFO] [stdout] error: cannot find derive macro `VariantAccess` in this scope [INFO] [stdout] --> src/lib.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(VariantAccess)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - impl_create_variant (line 382) stdout ---- [INFO] [stdout] error[E0599]: no variant or associated item named `create_from` found for enum `Enum` in the current scope [INFO] [stdout] --> src/lib.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Enum { [INFO] [stdout] | --------- variant or associated item `create_from` not found here [INFO] [stdout] ... [INFO] [stdout] 12 | let instance = Enum::create_from(false); // instance is now equal to Enum::F2(false) [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `Enum` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - impl_get_variant (line 276) stdout ---- [INFO] [stdout] error[E0599]: no variant or associated item named `f1` found for enum `Enum` in the current scope [INFO] [stdout] --> src/lib.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 3 | enum Enum { [INFO] [stdout] | --------- variant or associated item `f1` not found here [INFO] [stdout] ... [INFO] [stdout] 7 | let instance = Enum::f1(42); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Enum` [INFO] [stdout] | help: there is a variant with a similar name (notice the capitalization): `F1` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - fetch_name_with_generic_params (line 43) stdout ---- [INFO] [stdout] error: cannot find derive macro `VariantAccess` in this scope [INFO] [stdout] --> src/lib.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(VariantAccess)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `'a` is never used [INFO] [stdout] --> src/lib.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 4 | enum Enum<'a, T: 'a, X> { [INFO] [stdout] | ^^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0392`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - create_marker_structs (line 195) stdout ---- [INFO] [stdout] error: cannot find derive macro `VariantAccess` in this scope [INFO] [stdout] --> src/lib.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(VariantAccess)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - fetch_name_with_generic_params (line 33) stdout ---- [INFO] [stdout] error: cannot find derive macro `VariantAccess` in this scope [INFO] [stdout] --> src/lib.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(VariantAccess)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - impl_contains_variant (line 225) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `has_variant` in this scope [INFO] [stdout] --> src/lib.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 7 | let result: bool = has_variant::(); // assigns true to result [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `has_variant` in this scope [INFO] [stdout] --> src/lib.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 8 | let result: bool = has_variant::(); // assigns false to result [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `f1` found for enum `Enum` in the current scope [INFO] [stdout] --> src/lib.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 3 | enum Enum { [INFO] [stdout] | --------- variant or associated item `f1` not found here [INFO] [stdout] ... [INFO] [stdout] 10 | let instance = Enum::f1(42); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Enum` [INFO] [stdout] | help: there is a variant with a similar name (notice the capitalization): `F1` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - create_marker_structs (line 195) [INFO] [stdout] src/lib.rs - fetch_name_with_generic_params (line 33) [INFO] [stdout] src/lib.rs - fetch_name_with_generic_params (line 43) [INFO] [stdout] src/lib.rs - fetch_types_from_enum (line 143) [INFO] [stdout] src/lib.rs - fetch_types_from_enum (line 154) [INFO] [stdout] src/lib.rs - impl_contains_variant (line 225) [INFO] [stdout] src/lib.rs - impl_create_variant (line 382) [INFO] [stdout] src/lib.rs - impl_get_variant (line 276) [INFO] [stdout] src/lib.rs - impl_set_variant (line 324) [INFO] [stdout] src/lib.rs - impl_set_variant (line 338) [INFO] [stdout] src/lib.rs - parse_path (line 89) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.98s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "511826f54723cf6361822d5a3446b9e9051ca35ffb71340ec6e4fdcd1ebb8f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511826f54723cf6361822d5a3446b9e9051ca35ffb71340ec6e4fdcd1ebb8f54", kill_on_drop: false }` [INFO] [stdout] 511826f54723cf6361822d5a3446b9e9051ca35ffb71340ec6e4fdcd1ebb8f54