[INFO] fetching crate openai-func-enums-macros 0.4.0...
[INFO] testing openai-func-enums-macros-0.4.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate openai-func-enums-macros 0.4.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate openai-func-enums-macros 0.4.0 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 222 packages to latest compatible versions
[INFO] [stderr]       Adding async-openai v0.19.1 (available: v0.32.2)
[INFO] [stderr]       Adding rkyv v0.7.46 (available: v0.8.13)
[INFO] [stderr]       Adding tiktoken-rs v0.4.5 (available: v0.9.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1a051733489a6c8982a744d26b48bed24ce3ed1deb8d061c26ed3acd6bbcb5b3
[INFO] running `Command { std: "docker" "start" "-a" "1a051733489a6c8982a744d26b48bed24ce3ed1deb8d061c26ed3acd6bbcb5b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1a051733489a6c8982a744d26b48bed24ce3ed1deb8d061c26ed3acd6bbcb5b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a051733489a6c8982a744d26b48bed24ce3ed1deb8d061c26ed3acd6bbcb5b3", kill_on_drop: false }`
[INFO] [stdout] 1a051733489a6c8982a744d26b48bed24ce3ed1deb8d061c26ed3acd6bbcb5b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83869df2ce34a90bea79ed043cd3d003d093d64d6bad5792ebd2bc8dd75625c9
[INFO] running `Command { std: "docker" "start" "-a" "83869df2ce34a90bea79ed043cd3d003d093d64d6bad5792ebd2bc8dd75625c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling zmij v1.0.12
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ptr_meta_derive v0.1.4
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling bytecheck v0.6.12
[INFO] [stderr]    Compiling ptr_meta v0.1.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling bytecheck_derive v0.6.12
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling rend v0.4.2
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling rkyv v0.7.46
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling rkyv_derive v0.7.46
[INFO] [stderr]    Compiling async-convert v1.0.0
[INFO] [stderr]    Compiling seahash v4.1.0
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling derive_builder v0.12.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling secrecy v0.8.0
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling fancy-regex v0.11.0
[INFO] [stderr]    Compiling tiktoken-rs v0.4.5
[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 49.90s
[INFO] running `Command { std: "docker" "inspect" "83869df2ce34a90bea79ed043cd3d003d093d64d6bad5792ebd2bc8dd75625c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83869df2ce34a90bea79ed043cd3d003d093d64d6bad5792ebd2bc8dd75625c9", kill_on_drop: false }`
[INFO] [stdout] 83869df2ce34a90bea79ed043cd3d003d093d64d6bad5792ebd2bc8dd75625c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96cf72ea20d7ed0f7ee15cf645e0dddb4abcdc7109caf3ae442d17ec582e1f28
[INFO] running `Command { std: "docker" "start" "-a" "96cf72ea20d7ed0f7ee15cf645e0dddb4abcdc7109caf3ae442d17ec582e1f28", 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 2.03s
[INFO] running `Command { std: "docker" "inspect" "96cf72ea20d7ed0f7ee15cf645e0dddb4abcdc7109caf3ae442d17ec582e1f28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96cf72ea20d7ed0f7ee15cf645e0dddb4abcdc7109caf3ae442d17ec582e1f28", kill_on_drop: false }`
[INFO] [stdout] 96cf72ea20d7ed0f7ee15cf645e0dddb4abcdc7109caf3ae442d17ec582e1f28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 279489386db3dbd6a878c46b4c7ac0b4f63fc57f844bc7710c24e64734a56894
[INFO] running `Command { std: "docker" "start" "-a" "279489386db3dbd6a878c46b4c7ac0b4f63fc57f844bc7710c24e64734a56894", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openai_func_enums_macros-0347b630b0918dd3)
[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 - to_snake_case (line 1361) ... FAILED
[INFO] [stdout] test src/lib.rs - variant_descriptors_derive (line 155) ... FAILED
[INFO] [stdout] test src/lib.rs - arg_description (line 25) ... 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 - calculate_token_count (line 1333) ... FAILED
[INFO] [stdout] test src/lib.rs - variant_descriptors_derive (line 145) ... FAILED
[INFO] [stdout] test src/lib.rs - func_description (line 383) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - enum_descriptor_derive (line 58) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 1363 | 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] ---- 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] 156 | impl VariantDescriptors for MyEnum {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyEnum` in this scope
[INFO] [stdout]    --> src/lib.rs:156:29
[INFO] [stdout]     |
[INFO] [stdout] 156 | 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, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[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] 27 | #[derive(EnumDescriptor)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 25 + 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] 26 | #[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] 25 + 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 - 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] 69 | impl EnumDescriptor for MyEnum {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyEnum` in this scope
[INFO] [stdout]   --> src/lib.rs:69:25
[INFO] [stdout]    |
[INFO] [stdout] 69 | 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, E0425.
[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] 260 |     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] 283 |     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] 264 |     let (arg_desc, arg_tokens) = <MyEnum as EnumDescriptor>::arg_description_with_token_count();
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyEnum` in this scope
[INFO] [stdout]    --> src/lib.rs:264:35
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let (arg_desc, arg_tokens) = <MyEnum as EnumDescriptor>::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] 269 |     let enum_name = <MyEnum as EnumDescriptor>::name_with_token_count();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyEnum` in this scope
[INFO] [stdout]    --> src/lib.rs:269:22
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let enum_name = <MyEnum as EnumDescriptor>::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] 278 |     let enum_variants = <MyEnum as VariantDescriptors>::variant_names_with_token_counts();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyEnum` in this scope
[INFO] [stdout]    --> src/lib.rs:278:26
[INFO] [stdout]     |
[INFO] [stdout] 278 |     let enum_variants = <MyEnum as VariantDescriptors>::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, E0425, 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 - 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] 1335 | 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 - 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] 146 | #[derive(VariantDescriptors)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 145 + 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 - 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] 385 |     #[func_description(description="This function does a thing.")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 383 + 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] 387 |     #[func_description(description="This function does another thing.")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 383 + 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] 59 | #[derive(EnumDescriptor)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 58 + 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] 
[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.58s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "279489386db3dbd6a878c46b4c7ac0b4f63fc57f844bc7710c24e64734a56894", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "279489386db3dbd6a878c46b4c7ac0b4f63fc57f844bc7710c24e64734a56894", kill_on_drop: false }`
[INFO] [stdout] 279489386db3dbd6a878c46b4c7ac0b4f63fc57f844bc7710c24e64734a56894
