[INFO] fetching crate openai-func-embeddings 0.4.0...
[INFO] testing openai-func-embeddings-0.4.0 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate openai-func-embeddings 0.4.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate openai-func-embeddings 0.4.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 178 packages to latest compatible versions
[INFO] [stderr]       Adding async-openai v0.19.1 (available: v0.25.0)
[INFO] [stderr]       Adding rkyv v0.7.45 (available: v0.8.8)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded reqwest-eventsource v0.4.0
[INFO] [stderr]   Downloaded async-openai v0.19.1
[INFO] [stderr]   Downloaded async-convert v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 38b38b2fe984235421bf9b28f76de7ede25e47962b79d425f7da63ffcdafdf4f
[INFO] running `Command { std: "docker" "start" "-a" "38b38b2fe984235421bf9b28f76de7ede25e47962b79d425f7da63ffcdafdf4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38b38b2fe984235421bf9b28f76de7ede25e47962b79d425f7da63ffcdafdf4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38b38b2fe984235421bf9b28f76de7ede25e47962b79d425f7da63ffcdafdf4f", kill_on_drop: false }`
[INFO] [stdout] 38b38b2fe984235421bf9b28f76de7ede25e47962b79d425f7da63ffcdafdf4f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cf9504c56adb827a862e34334f33f6e3cc93507156ecb0cbf7194e9c1d6e9637
[INFO] running `Command { std: "docker" "start" "-a" "cf9504c56adb827a862e34334f33f6e3cc93507156ecb0cbf7194e9c1d6e9637", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling bytecheck v0.6.12
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling rend v0.4.2
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling rkyv v0.7.45
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling seahash v4.1.0
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling ptr_meta_derive v0.1.4
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling ptr_meta v0.1.4
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]    Compiling bytecheck_derive v0.6.12
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling derive_builder v0.12.0
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling rkyv_derive v0.7.45
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling async-convert v1.0.0
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling secrecy v0.8.0
[INFO] [stderr]    Compiling hyper v0.14.31
[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 29.53s
[INFO] running `Command { std: "docker" "inspect" "cf9504c56adb827a862e34334f33f6e3cc93507156ecb0cbf7194e9c1d6e9637", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf9504c56adb827a862e34334f33f6e3cc93507156ecb0cbf7194e9c1d6e9637", kill_on_drop: false }`
[INFO] [stdout] cf9504c56adb827a862e34334f33f6e3cc93507156ecb0cbf7194e9c1d6e9637
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 62269d41dcc07c9dca55429eafc1b7ba7d8217fc536e4afe591d90b0f27b8049
[INFO] running `Command { std: "docker" "start" "-a" "62269d41dcc07c9dca55429eafc1b7ba7d8217fc536e4afe591d90b0f27b8049", 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.45s
[INFO] running `Command { std: "docker" "inspect" "62269d41dcc07c9dca55429eafc1b7ba7d8217fc536e4afe591d90b0f27b8049", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62269d41dcc07c9dca55429eafc1b7ba7d8217fc536e4afe591d90b0f27b8049", kill_on_drop: false }`
[INFO] [stdout] 62269d41dcc07c9dca55429eafc1b7ba7d8217fc536e4afe591d90b0f27b8049
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] beb4c1977b8e7ee9afb07a8756529c54ee60b443b918406273ef16597378a6fe
[INFO] running `Command { std: "docker" "start" "-a" "beb4c1977b8e7ee9afb07a8756529c54ee60b443b918406273ef16597378a6fe", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openai_func_embeddings-e398601cc5b4aa99)
[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 - single_embedding (line 38) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - get_ranked_function_names (line 128) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] ---- 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] 
[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.11s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "beb4c1977b8e7ee9afb07a8756529c54ee60b443b918406273ef16597378a6fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "beb4c1977b8e7ee9afb07a8756529c54ee60b443b918406273ef16597378a6fe", kill_on_drop: false }`
[INFO] [stdout] beb4c1977b8e7ee9afb07a8756529c54ee60b443b918406273ef16597378a6fe
