[INFO] fetching crate tool_calling 0.1.0... [INFO] testing tool_calling-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tool_calling 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate tool_calling 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tool_calling 0.1.0 [INFO] tweaked toml for crates.io crate tool_calling 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tool_calling 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 tool_calling 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] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linkme v0.3.32 [INFO] [stderr] Downloaded bit-set v0.5.3 [INFO] [stderr] Downloaded linkme-impl v0.3.32 [INFO] [stderr] Downloaded iso8601 v0.6.2 [INFO] [stderr] Downloaded jsonschema v0.17.1 [INFO] [stderr] Downloaded fancy-regex v0.11.0 [INFO] [stderr] Downloaded tool_calling_macros v0.1.2 [INFO] [stderr] Downloaded fraction v0.13.1 [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 99b2f879f9669867fe10fb9d9be0dc6c0560d984bc7b82afc0bc23683a2d2d9c [INFO] running `Command { std: "docker" "start" "-a" "99b2f879f9669867fe10fb9d9be0dc6c0560d984bc7b82afc0bc23683a2d2d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99b2f879f9669867fe10fb9d9be0dc6c0560d984bc7b82afc0bc23683a2d2d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b2f879f9669867fe10fb9d9be0dc6c0560d984bc7b82afc0bc23683a2d2d9c", kill_on_drop: false }` [INFO] [stdout] 99b2f879f9669867fe10fb9d9be0dc6c0560d984bc7b82afc0bc23683a2d2d9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 430ce6af0260cc3c5b7974eb9c318a3ae61bdad7306497813d87d6c06c215ba4 [INFO] running `Command { std: "docker" "start" "-a" "430ce6af0260cc3c5b7974eb9c318a3ae61bdad7306497813d87d6c06c215ba4", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling linkme-impl v0.3.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.13.1 [INFO] [stderr] Compiling inventory v0.3.20 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling iso8601 v0.6.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling linkme v0.3.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tool_calling_macros v0.1.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling jsonschema v0.17.1 [INFO] [stderr] Compiling tool_calling v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "430ce6af0260cc3c5b7974eb9c318a3ae61bdad7306497813d87d6c06c215ba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430ce6af0260cc3c5b7974eb9c318a3ae61bdad7306497813d87d6c06c215ba4", kill_on_drop: false }` [INFO] [stdout] 430ce6af0260cc3c5b7974eb9c318a3ae61bdad7306497813d87d6c06c215ba4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 551f040a782bd13994a57856d1a9638accf06afa08a81dace4f47543caf2a72f [INFO] running `Command { std: "docker" "start" "-a" "551f040a782bd13994a57856d1a9638accf06afa08a81dace4f47543caf2a72f", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling tool_calling v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.72s [INFO] running `Command { std: "docker" "inspect" "551f040a782bd13994a57856d1a9638accf06afa08a81dace4f47543caf2a72f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551f040a782bd13994a57856d1a9638accf06afa08a81dace4f47543caf2a72f", kill_on_drop: false }` [INFO] [stdout] 551f040a782bd13994a57856d1a9638accf06afa08a81dace4f47543caf2a72f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d6ec05218d91fbf5b078f71e234debac388d67cf807401dc81ceb63daa978ff2 [INFO] running `Command { std: "docker" "start" "-a" "d6ec05218d91fbf5b078f71e234debac388d67cf807401dc81ceb63daa978ff2", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tool_calling-ebe16790f7b1e24e) [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] Running tests/argument_handling.rs (/opt/rustwide/target/debug/deps/argument_handling-05acca1a5718d03c) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test extra_args ... ok [INFO] [stdout] test default_value_used ... ok [INFO] [stdout] test missing_required ... ok [INFO] [stdout] test optional_param_omitted ... ok [INFO] [stdout] test type_mismatch ... ok [INFO] [stdout] test argument_ordering ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/basic_sync_async.rs (/opt/rustwide/target/debug/deps/basic_sync_async-281b3f812e093f3e) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test sync_multi_args ... ok [INFO] [stdout] test async_multi_args ... ok [INFO] [stdout] test sync_zero_args ... ok [INFO] [stdout] test bool_and_float ... ok [INFO] [stdout] test async_zero_args ... ok [INFO] [stdout] test sync_one_arg ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/error_and_edge_cases.rs (/opt/rustwide/target/debug/deps/error_and_edge_cases-945b5baeccf86824) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test ignore_schema_injection ... ok [INFO] [stdout] test panic_in_tool ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running tests/registry.rs (/opt/rustwide/target/debug/deps/registry-ae2583386a4c05c9) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests tool_calling [INFO] [stdout] test registry_enumerator ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - tools (line 147) ... ok [INFO] [stdout] test src/lib.rs - default (line 15) ... ok [INFO] [stdout] test src/lib.rs - wrap_sync (line 89) ... ok [INFO] [stdout] test src/lib.rs - ToolError (line 49) ... ok [INFO] [stdout] test src/lib.rs - tool (line 35) ... ok [INFO] [stdout] test src/lib.rs - ToolHandler (line 169) ... ok [INFO] [stdout] test src/lib.rs - ToolHandler::call_tool (line 241) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.51s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d6ec05218d91fbf5b078f71e234debac388d67cf807401dc81ceb63daa978ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ec05218d91fbf5b078f71e234debac388d67cf807401dc81ceb63daa978ff2", kill_on_drop: false }` [INFO] [stdout] d6ec05218d91fbf5b078f71e234debac388d67cf807401dc81ceb63daa978ff2