[INFO] fetching crate portkey 0.1.0... [INFO] testing portkey-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate portkey 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate portkey 0.1.0 [INFO] finished tweaking crates.io crate portkey 0.1.0 [INFO] tweaked toml for crates.io crate portkey 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate portkey 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate portkey 0.1.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-convert v1.0.0 [INFO] [stderr] Downloaded quinn-udp v0.5.7 [INFO] [stderr] Downloaded thiserror v2.0.3 [INFO] [stderr] Downloaded fastrand v2.2.0 [INFO] [stderr] Downloaded bytes v1.8.0 [INFO] [stderr] Downloaded cc v1.2.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.89 [INFO] [stderr] Downloaded rustix v0.38.40 [INFO] [stderr] Downloaded rustls v0.23.17 [INFO] [stderr] Downloaded async-openai v0.26.0 [INFO] [stderr] Downloaded libc v0.2.164 [INFO] [stderr] Downloaded reqwest v0.12.9 [INFO] [stderr] Downloaded thiserror-impl v2.0.3 [INFO] [stderr] Downloaded security-framework-sys v2.12.1 [INFO] [stderr] Downloaded url v2.5.3 [INFO] [stderr] Downloaded reqwest-eventsource v0.6.0 [INFO] [stderr] Downloaded tokio v1.41.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21f97abfde6905be7b3f83464450e77b4c86f7e99c62c79561f0aa657ffa7058 [INFO] running `Command { std: "docker" "start" "-a" "21f97abfde6905be7b3f83464450e77b4c86f7e99c62c79561f0aa657ffa7058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21f97abfde6905be7b3f83464450e77b4c86f7e99c62c79561f0aa657ffa7058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f97abfde6905be7b3f83464450e77b4c86f7e99c62c79561f0aa657ffa7058", kill_on_drop: false }` [INFO] [stdout] 21f97abfde6905be7b3f83464450e77b4c86f7e99c62c79561f0aa657ffa7058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afbe34f8a84b7868786b9d360aa48ec3754afee4b66914fd363c49e6b2e95f53 [INFO] running `Command { std: "docker" "start" "-a" "afbe34f8a84b7868786b9d360aa48ec3754afee4b66914fd363c49e6b2e95f53", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling rustls v0.23.17 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustls-native-certs v0.8.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.26.0 [INFO] [stderr] Compiling portkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "afbe34f8a84b7868786b9d360aa48ec3754afee4b66914fd363c49e6b2e95f53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afbe34f8a84b7868786b9d360aa48ec3754afee4b66914fd363c49e6b2e95f53", kill_on_drop: false }` [INFO] [stdout] afbe34f8a84b7868786b9d360aa48ec3754afee4b66914fd363c49e6b2e95f53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10c7ec0bb1323049e7511481b86fef355a75e9b4f4dcf9407c69c3749c2e3ddb [INFO] running `Command { std: "docker" "start" "-a" "10c7ec0bb1323049e7511481b86fef355a75e9b4f4dcf9407c69c3749c2e3ddb", kill_on_drop: false }` [INFO] [stderr] Compiling portkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "10c7ec0bb1323049e7511481b86fef355a75e9b4f4dcf9407c69c3749c2e3ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c7ec0bb1323049e7511481b86fef355a75e9b4f4dcf9407c69c3749c2e3ddb", kill_on_drop: false }` [INFO] [stdout] 10c7ec0bb1323049e7511481b86fef355a75e9b4f4dcf9407c69c3749c2e3ddb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 13a28e873fa0e0d24f8af94ffb0485d3999a96108f696a3251912b9263ed4a24 [INFO] running `Command { std: "docker" "start" "-a" "13a28e873fa0e0d24f8af94ffb0485d3999a96108f696a3251912b9263ed4a24", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/portkey-b5c4970645585199) [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 portkey [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - Client::new (line 62) ... ok [INFO] [stdout] test src/lib.rs - Client::openai (line 97) ... ok [INFO] [stdout] test src/lib.rs - Client (line 28) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "13a28e873fa0e0d24f8af94ffb0485d3999a96108f696a3251912b9263ed4a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a28e873fa0e0d24f8af94ffb0485d3999a96108f696a3251912b9263ed4a24", kill_on_drop: false }` [INFO] [stdout] 13a28e873fa0e0d24f8af94ffb0485d3999a96108f696a3251912b9263ed4a24