[INFO] fetching crate openai-func-embeddings 0.4.0...
[INFO] testing openai-func-embeddings-0.4.0 against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] extracting crate openai-func-embeddings 0.4.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate openai-func-embeddings 0.4.0 on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate openai-func-embeddings 0.4.0
[INFO] finished tweaking crates.io crate openai-func-embeddings 0.4.0
[INFO] tweaked toml for crates.io crate openai-func-embeddings 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 203 packages to latest compatible versions
[INFO] [stderr]       Adding async-openai v0.19.1 (available: v0.27.2)
[INFO] [stderr]       Adding rkyv v0.7.45 (available: v0.8.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1f1e1410525a11008292c9b6c26114f2a00e59463caebe75f4c7eccc1e793209
[INFO] running `Command { std: "docker" "start" "-a" "1f1e1410525a11008292c9b6c26114f2a00e59463caebe75f4c7eccc1e793209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f1e1410525a11008292c9b6c26114f2a00e59463caebe75f4c7eccc1e793209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f1e1410525a11008292c9b6c26114f2a00e59463caebe75f4c7eccc1e793209", kill_on_drop: false }`
[INFO] [stdout] 1f1e1410525a11008292c9b6c26114f2a00e59463caebe75f4c7eccc1e793209
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 065f6a0fcec075d7b1f654f7d09d8ea58732c5a25f7359db5f4846f7663fb8cb
[INFO] running `Command { std: "docker" "start" "-a" "065f6a0fcec075d7b1f654f7d09d8ea58732c5a25f7359db5f4846f7663fb8cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling bytecheck v0.6.12
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling rend v0.4.2
[INFO] [stderr]    Compiling async-trait v0.1.85
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling rkyv v0.7.45
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling seahash v4.1.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling async-convert v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.137
[INFO] [stderr]    Compiling secrecy v0.8.0
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling ptr_meta_derive v0.1.4
[INFO] [stderr]    Compiling bytecheck_derive v0.6.12
[INFO] [stderr]    Compiling rkyv_derive v0.7.45
[INFO] [stderr]    Compiling ptr_meta v0.1.4
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling derive_builder v0.12.0
[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 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.56s
[INFO] running `Command { std: "docker" "inspect" "065f6a0fcec075d7b1f654f7d09d8ea58732c5a25f7359db5f4846f7663fb8cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "065f6a0fcec075d7b1f654f7d09d8ea58732c5a25f7359db5f4846f7663fb8cb", kill_on_drop: false }`
[INFO] [stdout] 065f6a0fcec075d7b1f654f7d09d8ea58732c5a25f7359db5f4846f7663fb8cb
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb09caab23816f994dfb5990f12b1307d0d72aabaa2604401b7c14410c608d94
[INFO] running `Command { std: "docker" "start" "-a" "cb09caab23816f994dfb5990f12b1307d0d72aabaa2604401b7c14410c608d94", kill_on_drop: false }`
[INFO] [stderr]    Compiling openai-func-embeddings v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s
[INFO] running `Command { std: "docker" "inspect" "cb09caab23816f994dfb5990f12b1307d0d72aabaa2604401b7c14410c608d94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb09caab23816f994dfb5990f12b1307d0d72aabaa2604401b7c14410c608d94", kill_on_drop: false }`
[INFO] [stdout] cb09caab23816f994dfb5990f12b1307d0d72aabaa2604401b7c14410c608d94
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ec024f1f4d9ec4891e38eb380bddaf2ee9f7adbb6d50ec32a14436e557229265
[INFO] running `Command { std: "docker" "start" "-a" "ec024f1f4d9ec4891e38eb380bddaf2ee9f7adbb6d50ec32a14436e557229265", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openai_func_embeddings-ee2bd15829c2bb14)
[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_embeddings
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - get_ranked_function_names (line 128) ... FAILED
[INFO] [stdout] test src/lib.rs - single_embedding (line 38) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - get_ranked_function_names (line 128) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]  --> src/lib.rs:131:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let embed_path = Path::new("function_embeddings.bin");
[INFO] [stdout]   |                      ^^^^ use of undeclared type `Path`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_ranked_function_names` in this scope
[INFO] [stdout]  --> src/lib.rs:132:33
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let ranked_function_names = get_ranked_function_names(prompt_embedding, embed_path).await?;
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use openai_func_embeddings::get_ranked_function_names;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - single_embedding (line 38) stdout ----
[INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled.
[INFO] [stdout]  --> src/lib.rs:42:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[tokio::main]
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `your_module`
[INFO] [stdout]  --> src/lib.rs:40:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use your_module::{single_embedding, FuncEnumsError, Client, CreateEmbeddingRequestArgs};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `your_module`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - get_ranked_function_names (line 128)
[INFO] [stdout]     src/lib.rs - single_embedding (line 38)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ec024f1f4d9ec4891e38eb380bddaf2ee9f7adbb6d50ec32a14436e557229265", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec024f1f4d9ec4891e38eb380bddaf2ee9f7adbb6d50ec32a14436e557229265", kill_on_drop: false }`
[INFO] [stdout] ec024f1f4d9ec4891e38eb380bddaf2ee9f7adbb6d50ec32a14436e557229265
