[INFO] fetching crate openai-func-enums-macros 0.4.0... [INFO] testing openai-func-enums-macros-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate openai-func-enums-macros 0.4.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate openai-func-enums-macros 0.4.0 [INFO] finished tweaking crates.io crate openai-func-enums-macros 0.4.0 [INFO] tweaked toml for crates.io crate openai-func-enums-macros 0.4.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate openai-func-enums-macros 0.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 218 packages to latest compatible versions [INFO] [stderr] Adding async-openai v0.19.1 (available: v0.29.2) [INFO] [stderr] Adding rkyv v0.7.45 (available: v0.8.11) [INFO] [stderr] Adding tiktoken-rs v0.4.5 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 545882a7d26a80193a3ecb2544bc7b7ec4df15358d667e776b66427e54f412f1 [INFO] running `Command { std: "docker" "start" "-a" "545882a7d26a80193a3ecb2544bc7b7ec4df15358d667e776b66427e54f412f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "545882a7d26a80193a3ecb2544bc7b7ec4df15358d667e776b66427e54f412f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "545882a7d26a80193a3ecb2544bc7b7ec4df15358d667e776b66427e54f412f1", kill_on_drop: false }` [INFO] [stdout] 545882a7d26a80193a3ecb2544bc7b7ec4df15358d667e776b66427e54f412f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5a67173ac6a656605c39b872f10ee4e7e72b0214ca92a84a36acc8eae7813eb [INFO] running `Command { std: "docker" "start" "-a" "b5a67173ac6a656605c39b872f10ee4e7e72b0214ca92a84a36acc8eae7813eb", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling tiktoken-rs v0.4.5 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling async-openai v0.19.1 [INFO] [stderr] Compiling openai-func-embeddings v0.4.0 [INFO] [stderr] Compiling openai-func-enums-macros v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.38s [INFO] running `Command { std: "docker" "inspect" "b5a67173ac6a656605c39b872f10ee4e7e72b0214ca92a84a36acc8eae7813eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5a67173ac6a656605c39b872f10ee4e7e72b0214ca92a84a36acc8eae7813eb", kill_on_drop: false }` [INFO] [stdout] b5a67173ac6a656605c39b872f10ee4e7e72b0214ca92a84a36acc8eae7813eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16df79556e0acbb5fb9eb9baa578c07a638f1d6aeec55d8b84a501621ea38e49 [INFO] running `Command { std: "docker" "start" "-a" "16df79556e0acbb5fb9eb9baa578c07a638f1d6aeec55d8b84a501621ea38e49", kill_on_drop: false }` [INFO] [stderr] Compiling openai-func-enums-macros v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "16df79556e0acbb5fb9eb9baa578c07a638f1d6aeec55d8b84a501621ea38e49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16df79556e0acbb5fb9eb9baa578c07a638f1d6aeec55d8b84a501621ea38e49", kill_on_drop: false }` [INFO] [stdout] 16df79556e0acbb5fb9eb9baa578c07a638f1d6aeec55d8b84a501621ea38e49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d1878bc50c81daedc5344efd572f834757618aea564c540e6c03697daccc6126 [INFO] running `Command { std: "docker" "start" "-a" "d1878bc50c81daedc5344efd572f834757618aea564c540e6c03697daccc6126", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openai_func_enums_macros-1013b25f0afbbf69) [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 openai_func_enums_macros [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - variant_descriptors_derive (line 145) ... FAILED [INFO] [stdout] test src/lib.rs - arg_description (line 25) ... FAILED [INFO] [stdout] test src/lib.rs - func_description (line 383) ... FAILED [INFO] [stdout] test src/lib.rs - enum_descriptor_derive (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - enum_descriptor_derive (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - generate_enum_info (line 258) ... FAILED [INFO] [stdout] test src/lib.rs - variant_descriptors_derive (line 155) ... FAILED [INFO] [stdout] test src/lib.rs - calculate_token_count (line 1333) ... FAILED [INFO] [stdout] test src/lib.rs - to_snake_case (line 1361) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - variant_descriptors_derive (line 145) stdout ---- [INFO] [stdout] error: cannot find derive macro `VariantDescriptors` in this scope [INFO] [stdout] --> src/lib.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(VariantDescriptors)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use openai_func_enums_macros::VariantDescriptors; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - arg_description (line 25) stdout ---- [INFO] [stdout] error: cannot find derive macro `EnumDescriptor` in this scope [INFO] [stdout] --> src/lib.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(EnumDescriptor)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use openai_func_enums_macros::EnumDescriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg_description` in this scope [INFO] [stdout] --> src/lib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[arg_description(description = "This is a sample enum.", tokens = 5)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use openai_func_enums_macros::arg_description; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - func_description (line 383) stdout ---- [INFO] [stdout] error: cannot find attribute `func_description` in this scope [INFO] [stdout] --> src/lib.rs:385:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[func_description(description="This function does a thing.")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use openai_func_enums_macros::func_description; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `func_description` in this scope [INFO] [stdout] --> src/lib.rs:387:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[func_description(description="This function does another thing.")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use openai_func_enums_macros::func_description; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - enum_descriptor_derive (line 58) stdout ---- [INFO] [stdout] error: cannot find derive macro `EnumDescriptor` in this scope [INFO] [stdout] --> src/lib.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(EnumDescriptor)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use openai_func_enums_macros::EnumDescriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - enum_descriptor_derive (line 68) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `EnumDescriptor` in this scope [INFO] [stdout] --> src/lib.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl EnumDescriptor for MyEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyEnum` in this scope [INFO] [stdout] --> src/lib.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 3 | impl EnumDescriptor for MyEnum { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - generate_enum_info (line 258) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 27 | let json_enum = serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EnumDescriptor` in this scope [INFO] [stdout] --> src/lib.rs:264:45 [INFO] [stdout] | [INFO] [stdout] 8 | let (arg_desc, arg_tokens) = ::arg_description_with_token_count(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyEnum` in this scope [INFO] [stdout] --> src/lib.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 8 | let (arg_desc, arg_tokens) = ::arg_description_with_token_count(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EnumDescriptor` in this scope [INFO] [stdout] --> src/lib.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 13 | let enum_name = ::name_with_token_count(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyEnum` in this scope [INFO] [stdout] --> src/lib.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 13 | let enum_name = ::name_with_token_count(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `VariantDescriptors` in this scope [INFO] [stdout] --> src/lib.rs:278:36 [INFO] [stdout] | [INFO] [stdout] 22 | let enum_variants = ::variant_names_with_token_counts(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyEnum` in this scope [INFO] [stdout] --> src/lib.rs:278:26 [INFO] [stdout] | [INFO] [stdout] 22 | let enum_variants = ::variant_names_with_token_counts(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - variant_descriptors_derive (line 155) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `VariantDescriptors` in this scope [INFO] [stdout] --> src/lib.rs:156:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl VariantDescriptors for MyEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyEnum` in this scope [INFO] [stdout] --> src/lib.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 3 | impl VariantDescriptors for MyEnum { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - calculate_token_count (line 1333) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `calculate_token_count` in this scope [INFO] [stdout] --> src/lib.rs:1335:19 [INFO] [stdout] | [INFO] [stdout] 4 | let token_count = calculate_token_count(text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - to_snake_case (line 1361) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `to_snake_case` in this scope [INFO] [stdout] --> src/lib.rs:1363:18 [INFO] [stdout] | [INFO] [stdout] 4 | let snake_case = to_snake_case(camel_case); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - arg_description (line 25) [INFO] [stdout] src/lib.rs - calculate_token_count (line 1333) [INFO] [stdout] src/lib.rs - enum_descriptor_derive (line 58) [INFO] [stdout] src/lib.rs - enum_descriptor_derive (line 68) [INFO] [stdout] src/lib.rs - func_description (line 383) [INFO] [stdout] src/lib.rs - generate_enum_info (line 258) [INFO] [stdout] src/lib.rs - to_snake_case (line 1361) [INFO] [stdout] src/lib.rs - variant_descriptors_derive (line 145) [INFO] [stdout] src/lib.rs - variant_descriptors_derive (line 155) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d1878bc50c81daedc5344efd572f834757618aea564c540e6c03697daccc6126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1878bc50c81daedc5344efd572f834757618aea564c540e6c03697daccc6126", kill_on_drop: false }` [INFO] [stdout] d1878bc50c81daedc5344efd572f834757618aea564c540e6c03697daccc6126