[INFO] fetching crate rig-derive 0.43.0...
[INFO] testing rig-derive-0.43.0 against 1.99.0-beta.8 for beta-1.100-2
[INFO] extracting crate rig-derive 0.43.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate rig-derive 0.43.0
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate rig-derive 0.43.0
[INFO] tweaked toml for crates.io crate rig-derive 0.43.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rig-derive 0.43.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rig-derive 0.43.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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded target-triple v1.0.0
[INFO] [stderr]   Downloaded trybuild v1.0.120
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fd2e99258a1b21069f706403e4888f0af3c595c7a3749493ffc058ba627eb49a
[INFO] running `Command { std: "docker" "start" "fd2e99258a1b21069f706403e4888f0af3c595c7a3749493ffc058ba627eb49a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd2e99258a1b21069f706403e4888f0af3c595c7a3749493ffc058ba627eb49a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd2e99258a1b21069f706403e4888f0af3c595c7a3749493ffc058ba627eb49a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd2e99258a1b21069f706403e4888f0af3c595c7a3749493ffc058ba627eb49a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd2e99258a1b21069f706403e4888f0af3c595c7a3749493ffc058ba627eb49a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling winnow v1.0.2
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling convert_case v0.11.0
[INFO] [stderr]    Compiling toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling toml_edit v0.25.11+spec-1.1.0
[INFO] [stderr]    Compiling proc-macro-crate v3.5.0
[INFO] [stderr]    Compiling rig-derive v0.43.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.80s
[INFO] running `Command { std: "docker" "inspect" "fd2e99258a1b21069f706403e4888f0af3c595c7a3749493ffc058ba627eb49a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd2e99258a1b21069f706403e4888f0af3c595c7a3749493ffc058ba627eb49a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling winnow v1.0.2
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling target-triple v1.0.0
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling serde_spanned v1.1.1
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling toml_writer v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling convert_case v0.11.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling toml_edit v0.25.11+spec-1.1.0
[INFO] [stderr]    Compiling toml v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling proc-macro-crate v3.5.0
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]    Compiling rig-derive v0.43.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling schemars v1.2.1
[INFO] [stderr]    Compiling trybuild v1.0.120
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]  --> tests/tool_binding_hygiene.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rig_core::tool::{PortableTool, Tool, ToolContext, ToolExecutionError};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]  --> tests/tool_binding_hygiene.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]  --> tests/tool_binding_hygiene.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]   --> tests/tool_binding_hygiene.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     #[rig_tool]
[INFO] [stdout]    |     ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_agent` in this scope
[INFO] [stdout]  --> examples/rig_tool/full.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rig_agent::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `rig_agent`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_agent`, use `cargo add rig_agent` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_agent` in this scope
[INFO] [stdout]  --> examples/rig_tool/with_description.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rig_agent::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `rig_agent`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_agent`, use `cargo add rig_agent` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]  --> examples/rig_tool/with_description.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rig_core::providers::openai::OpenAI;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rig_core`
[INFO] [stdout]  --> examples/rig_tool/with_description.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rig_core::providers;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]   --> examples/rig_tool/with_description.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / #[rig_tool(
[INFO] [stdout]  9 | |     description = "Perform basic arithmetic operations",
[INFO] [stdout] 10 | |     required(x, y, operation)
[INFO] [stdout] 11 | | )]
[INFO] [stdout]    | |__^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]  --> examples/rig_tool/full.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rig_core::providers::openai::OpenAI;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rig_core`
[INFO] [stdout]  --> examples/rig_tool/full.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rig_core::providers;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]  --> examples/rig_tool/full.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]  --> tests/tool_binding_hygiene.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]  --> tests/tool_binding_hygiene.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> examples/rig_tool/with_description.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / #[rig_tool(
[INFO] [stdout]  9 | |     description = "Perform basic arithmetic operations",
[INFO] [stdout] 10 | |     required(x, y, operation)
[INFO] [stdout] 11 | | )]
[INFO] [stdout]    | |__^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]  --> tests/tool_binding_hygiene.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> examples/rig_tool/with_description.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | / #[rig_tool(
[INFO] [stdout]  9 | |     description = "Perform basic arithmetic operations",
[INFO] [stdout] 10 | |     required(x, y, operation)
[INFO] [stdout] 11 | | )]
[INFO] [stdout]    | |__^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]  --> tests/tool_binding_hygiene.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_agent` in this scope
[INFO] [stdout]  --> examples/rig_tool/simple.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rig_agent::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `rig_agent`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_agent`, use `cargo add rig_agent` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/with_description.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | ) -> Result<i32, rig_core::tool::ToolExecutionError> {
[INFO] [stdout]    |                  ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]  --> examples/rig_tool/full.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]   = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> tests/tool_binding_hygiene.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     #[rig_tool]
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]  --> examples/rig_tool/full.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]   = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]  --> examples/rig_tool/simple.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rig_core::providers::openai::OpenAI;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rig_core`
[INFO] [stdout]  --> examples/rig_tool/simple.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rig_core::providers;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]  --> examples/rig_tool/simple.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]   --> examples/rig_tool/simple.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]   --> examples/rig_tool/simple.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]   --> examples/rig_tool/simple.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]   --> examples/rig_tool/simple.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]   --> examples/rig_tool/simple.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]   --> examples/rig_tool/simple.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> tests/tool_binding_hygiene.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     #[rig_tool]
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/full.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | ) -> Result<String, rig_core::tool::ToolExecutionError> {
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/full.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |             return Err(rig_core::tool::ToolExecutionError::other(format!(
[INFO] [stdout]    |                        ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/with_description.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 Err(rig_core::tool::ToolExecutionError::other(
[INFO] [stdout]    |                     ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/with_description.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |         _ => Err(rig_core::tool::ToolExecutionError::other(format!(
[INFO] [stdout]    |                  ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]  --> examples/rig_tool/simple.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]   = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]  --> examples/rig_tool/simple.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]   = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_agent` in this scope
[INFO] [stdout]   --> examples/rig_tool/full.rs:41:39
[INFO] [stdout]    |
[INFO] [stdout] 41 |         serde_json::to_string_pretty(&rig_agent::tool::tool_definition(&StringProcessor))?
[INFO] [stdout]    |                                       ^^^^^^^^^ use of unresolved module or unlinked crate `rig_agent`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_agent`, use `cargo add rig_agent` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> tests/tool_binding_hygiene.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     _state: &mut rig_core::tool::ToolContext,
[INFO] [stdout]    |             ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]  9 ~ #[rig_tool]<'a>
[INFO] [stdout] 10 | async fn _context(
[INFO] [stdout] 11 ~     _state: &'a mut rig_core::tool::ToolContext,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AgentBuilder` in this scope
[INFO] [stdout]   --> examples/rig_tool/full.rs:32:24
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let string_agent = AgentBuilder::new(OpenAI::from_env()?.completion(providers::openai::GPT_4O))
[INFO] [stdout]    |                        ^^^^^^^^^^^^ use of undeclared type `AgentBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rig-derive` (example "full") due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> tests/tool_binding_hygiene.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     _state: &mut rig_core::tool::ToolContext,
[INFO] [stdout]    |                  ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[rig_tool]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]    = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_agent` in this scope
[INFO] [stdout]  --> tests/custom_name.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rig_agent::tool::Tool;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `rig_agent`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_agent`, use `cargo add rig_agent` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]  --> tests/custom_name.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[rig_tool(name = "search-docs")]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `rig_core` in the list of imported crates
[INFO] [stdout]  --> tests/custom_name.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^ could not find `rig_core` in the list of imported crates
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | ) -> Result<i32, rig_core::tool::ToolExecutionError> {
[INFO] [stdout]    |                  ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_agent` in this scope
[INFO] [stdout]   --> examples/rig_tool/with_description.rs:53:39
[INFO] [stdout]    |
[INFO] [stdout] 53 |         serde_json::to_string_pretty(&rig_agent::tool::tool_definition(&CALCULATOR))?
[INFO] [stdout]    |                                       ^^^^^^^^^ use of unresolved module or unlinked crate `rig_agent`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_agent`, use `cargo add rig_agent` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]  --> tests/custom_name.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[rig_tool(name = "search-docs")]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]  --> tests/custom_name.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[rig_tool(name = "search-docs")]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AgentBuilder` in this scope
[INFO] [stdout]   --> examples/rig_tool/with_description.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         AgentBuilder::new(OpenAI::from_env()?.completion(providers::openai::GPT_4O))
[INFO] [stdout]    |         ^^^^^^^^^^^^ use of undeclared type `AgentBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]  --> tests/custom_name.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]  --> tests/custom_name.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[rig_tool]
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout]   = note: this error originates in the attribute macro `rig_tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rig-derive` (example "with_description") due to 11 previous errors
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]  --> tests/custom_name.rs:5:41
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn search_docs_impl() -> Result<String, rig_core::tool::ToolExecutionError> {
[INFO] [stdout]   |                                         ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> tests/custom_name.rs:10:43
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn fallback_name_tool() -> Result<String, rig_core::tool::ToolExecutionError> {
[INFO] [stdout]    |                                           ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | ) -> Result<i32, rig_core::tool::ToolExecutionError> {
[INFO] [stdout]    |                  ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rig-derive` (test "tool_binding_hygiene") due to 12 previous errors
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_agent` in this scope
[INFO] [stdout]   --> tests/custom_name.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let definition = rig_agent::tool::tool_definition(&tool);
[INFO] [stdout]    |                      ^^^^^^^^^ use of unresolved module or unlinked crate `rig_agent`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_agent`, use `cargo add rig_agent` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 | ) -> Result<i32, rig_core::tool::ToolExecutionError> {
[INFO] [stdout]    |                  ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_agent` in this scope
[INFO] [stdout]   --> tests/custom_name.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let definition = rig_agent::tool::tool_definition(&tool);
[INFO] [stdout]    |                      ^^^^^^^^^ use of unresolved module or unlinked crate `rig_agent`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_agent`, use `cargo add rig_agent` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rig-derive` (test "custom_name") due to 11 previous errors
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 | ) -> Result<i32, rig_core::tool::ToolExecutionError> {
[INFO] [stdout]    |                  ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Err(rig_core::tool::ToolExecutionError::other(
[INFO] [stdout]    |             ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:59:43
[INFO] [stdout]    |
[INFO] [stdout] 59 | -> Result<(bool, bool, bool, bool, bool), rig_core::tool::ToolExecutionError> {
[INFO] [stdout]    |                                           ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:68:20
[INFO] [stdout]    |
[INFO] [stdout] 68 | ) -> Result<usize, rig_core::tool::ToolExecutionError> {
[INFO] [stdout]    |                    ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rig_core` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 | ) -> Result<i64, rig_core::tool::ToolExecutionError> {
[INFO] [stdout]    |                  ^^^^^^^^ use of unresolved module or unlinked crate `rig_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rig_core`, use `cargo add rig_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AgentBuilder` in this scope
[INFO] [stdout]   --> examples/rig_tool/simple.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         AgentBuilder::new(OpenAI::from_env()?.completion(providers::openai::GPT_4O))
[INFO] [stdout]    |         ^^^^^^^^^^^^ use of undeclared type `AgentBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rig-derive` (example "simple") due to 33 previous errors
[INFO] running `Command { std: "docker" "inspect" "fd2e99258a1b21069f706403e4888f0af3c595c7a3749493ffc058ba627eb49a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd2e99258a1b21069f706403e4888f0af3c595c7a3749493ffc058ba627eb49a", kill_on_drop: false }`
[INFO] [stdout] fd2e99258a1b21069f706403e4888f0af3c595c7a3749493ffc058ba627eb49a
