[INFO] fetching crate hizli-core 0.1.5... [INFO] testing hizli-core-0.1.5 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate hizli-core 0.1.5 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate hizli-core 0.1.5 [INFO] finished tweaking crates.io crate hizli-core 0.1.5 [INFO] tweaked toml for crates.io crate hizli-core 0.1.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hizli-core 0.1.5 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hizli-core 0.1.5 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c9afc4e930fd1cc184c92c19f638bfef6432bb760ee0d4b83a9947a616588ed [INFO] running `Command { std: "docker" "start" "-a" "7c9afc4e930fd1cc184c92c19f638bfef6432bb760ee0d4b83a9947a616588ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c9afc4e930fd1cc184c92c19f638bfef6432bb760ee0d4b83a9947a616588ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c9afc4e930fd1cc184c92c19f638bfef6432bb760ee0d4b83a9947a616588ed", kill_on_drop: false }` [INFO] [stdout] 7c9afc4e930fd1cc184c92c19f638bfef6432bb760ee0d4b83a9947a616588ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] faa06d571dfda08f8926caff37f13062fb9becc870d6910c351d911da0acf882 [INFO] running `Command { std: "docker" "start" "-a" "faa06d571dfda08f8926caff37f13062fb9becc870d6910c351d911da0acf882", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling hizli-core v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.25s [INFO] running `Command { std: "docker" "inspect" "faa06d571dfda08f8926caff37f13062fb9becc870d6910c351d911da0acf882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faa06d571dfda08f8926caff37f13062fb9becc870d6910c351d911da0acf882", kill_on_drop: false }` [INFO] [stdout] faa06d571dfda08f8926caff37f13062fb9becc870d6910c351d911da0acf882 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46c463a1f302288c81f921b068305e4d932144c04c15b67f0926bc882c2cb366 [INFO] running `Command { std: "docker" "start" "-a" "46c463a1f302288c81f921b068305e4d932144c04c15b67f0926bc882c2cb366", kill_on_drop: false }` [INFO] [stderr] Compiling hizli-core v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "46c463a1f302288c81f921b068305e4d932144c04c15b67f0926bc882c2cb366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46c463a1f302288c81f921b068305e4d932144c04c15b67f0926bc882c2cb366", kill_on_drop: false }` [INFO] [stdout] 46c463a1f302288c81f921b068305e4d932144c04c15b67f0926bc882c2cb366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 71cbd796d9bfb461d84d886aef2200217251c4b252d1a2122fd6f3efd8f28f69 [INFO] running `Command { std: "docker" "start" "-a" "71cbd796d9bfb461d84d886aef2200217251c4b252d1a2122fd6f3efd8f28f69", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hizli_core-f80c72c7f4791ce7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests hizli_core [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/ns_attr.rs - ns_attr::NsAttr::NS (line 29) ... ignored [INFO] [stdout] test src/ns_attr.rs - ns_attr::NsAttr::from_attrs_opt (line 42) ... ignored [INFO] [stdout] test src/ns_attr.rs - ns_attr::NsAttr::no_attrs (line 91) ... ignored [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test src/rules.rs - rules::out (line 6) - compile ... FAILED [INFO] [stdout] test src/data.rs - data::StructOnly::try_new (line 54) - compile ... FAILED [INFO] [stdout] test src/rules.rs - rules::tri (line 36) - compile ... FAILED [INFO] [stdout] test src/data.rs - data::StructEnumOnly::try_new (line 21) - compile ... FAILED [INFO] [stdout] test src/data.rs - data::EnumOnly::try_new (line 87) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 43) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `bindings` [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use bindings::{VariantBinding, StructBinding}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bindings` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/bindings/mod.rs, use `mod bindings` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 43 + mod bindings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | println!("field name = {}", field.ident()); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules.rs - rules::out (line 6) stdout ---- [INFO] [stdout] error[E0743]: C-variadic type `...` may not be nested inside another type [INFO] [stdout] --> src/rules.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn my_macro(input: ...) -> ... { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: `...` is not supported for non-extern functions [INFO] [stdout] --> src/rules.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn my_macro(input: ...) -> ... { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: only `extern "C"` and `extern "C-unwind"` functions may have a C variable argument list [INFO] [stdout] [INFO] [stdout] error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type [INFO] [stdout] --> src/rules.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[proc_macro] // or #[proc_macro_derive(...)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `out` in this scope [INFO] [stdout] --> src/rules.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | out!(path::to::my_handler, input) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 6 + use hizli_core::out; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SomeTypeThatImplsParse` in this scope [INFO] [stdout] --> src/rules.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | fn my_handler(input: SomeTypeThatImplsParse) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0658]: C-variadic functions are unstable [INFO] [stdout] --> src/rules.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pub fn my_macro(input: ...) -> ... { [INFO] [stdout] 9 | | out!(path::to::my_handler, input) [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #44930 for more information [INFO] [stdout] = help: add `#![feature(c_variadic)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-11-06; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0658, E0743. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/data.rs - data::StructOnly::try_new (line 54) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/data.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | let input: DeriveInput = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 55 - let input: DeriveInput = ...; [INFO] [stdout] 55 + let input: DeriveInput = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 55 - let input: DeriveInput = ...; [INFO] [stdout] 55 + let input: DeriveInput = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/data.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | let input: DeriveInput = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 55 - let input: DeriveInput = ...; [INFO] [stdout] 55 + let input: DeriveInput = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeriveInput` in this scope [INFO] [stdout] --> src/data.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | let input: DeriveInput = ...; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 54 + use syn::DeriveInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StructOnly` [INFO] [stdout] --> src/data.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let StructOnly(data) = StructOnly::try_new(input.data, "MyMacro")?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StructOnly` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 54 + use hizli_core::StructOnly; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StructOnly` in this scope [INFO] [stdout] --> src/data.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | let StructOnly(data) = StructOnly::try_new(input.data, "MyMacro")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 54 + use hizli_core::StructOnly; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0531, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rules.rs - rules::tri (line 36) stdout ---- [INFO] [stdout] error: cannot find macro `tri` in this scope [INFO] [stdout] --> src/rules.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let ok_value = tri!(my_result, span); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/macros/mod.rs:510:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `r#try` defined here [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 - let ok_value = tri!(my_result, span); [INFO] [stdout] 39 + let ok_value = r#try!(my_result, span); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 36 + use hizli_core::tri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span` [INFO] [stdout] --> src/rules.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | let span = Span::call_site(); [INFO] [stdout] | ^^^^ use of undeclared type `Span` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 36 + use proc_macro2::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/data.rs - data::StructEnumOnly::try_new (line 21) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/data.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let input: DeriveInput = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 22 - let input: DeriveInput = ...; [INFO] [stdout] 22 + let input: DeriveInput = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 22 - let input: DeriveInput = ...; [INFO] [stdout] 22 + let input: DeriveInput = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/data.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let input: DeriveInput = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 22 - let input: DeriveInput = ...; [INFO] [stdout] 22 + let input: DeriveInput = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeriveInput` in this scope [INFO] [stdout] --> src/data.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | let input: DeriveInput = ...; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use syn::DeriveInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StructEnumOnly` [INFO] [stdout] --> src/data.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | match StructEnumOnly::try_new(input.data, "MyMacro")? { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StructEnumOnly` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 + use hizli_core::StructEnumOnly; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StructEnumOnly` [INFO] [stdout] --> src/data.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | StructEnumOnly::Struct(s) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StructEnumOnly` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 + use hizli_core::StructEnumOnly; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StructEnumOnly` [INFO] [stdout] --> src/data.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | StructEnumOnly::Enum(s) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StructEnumOnly` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 + use hizli_core::StructEnumOnly; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/data.rs - data::EnumOnly::try_new (line 87) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/data.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let input: DeriveInput = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 88 - let input: DeriveInput = ...; [INFO] [stdout] 88 + let input: DeriveInput = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 88 - let input: DeriveInput = ...; [INFO] [stdout] 88 + let input: DeriveInput = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/data.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let input: DeriveInput = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 88 - let input: DeriveInput = ...; [INFO] [stdout] 88 + let input: DeriveInput = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeriveInput` in this scope [INFO] [stdout] --> src/data.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | let input: DeriveInput = ...; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 + use syn::DeriveInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EnumOnly` [INFO] [stdout] --> src/data.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let EnumOnly(data) = EnumOnly::try_new(input.data, "MyMacro")?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EnumOnly` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 + use hizli_core::EnumOnly; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `EnumOnly` in this scope [INFO] [stdout] --> src/data.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | let EnumOnly(data) = EnumOnly::try_new(input.data, "MyMacro")?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 87 + use hizli_core::EnumOnly; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0531, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/data.rs - data::EnumOnly::try_new (line 87) [INFO] [stdout] src/data.rs - data::StructEnumOnly::try_new (line 21) [INFO] [stdout] src/data.rs - data::StructOnly::try_new (line 54) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] src/rules.rs - rules::out (line 6) [INFO] [stdout] src/rules.rs - rules::tri (line 36) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.16s; merged doctests compilation took 0.09s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "71cbd796d9bfb461d84d886aef2200217251c4b252d1a2122fd6f3efd8f28f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71cbd796d9bfb461d84d886aef2200217251c4b252d1a2122fd6f3efd8f28f69", kill_on_drop: false }` [INFO] [stdout] 71cbd796d9bfb461d84d886aef2200217251c4b252d1a2122fd6f3efd8f28f69