[INFO] fetching crate agentsdk-macros 0.8.0...
[INFO] checking agentsdk-macros-0.8.0 against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] extracting crate agentsdk-macros 0.8.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate agentsdk-macros 0.8.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate agentsdk-macros 0.8.0
[INFO] tweaked toml for crates.io crate agentsdk-macros 0.8.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate agentsdk-macros 0.8.0 on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate agentsdk-macros 0.8.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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d8e48a9fc7e269bbab7fb64ff4a3f7f70cdf06b103d19f0da5c9b0f784a379f3
[INFO] running `Command { std: "docker" "start" "d8e48a9fc7e269bbab7fb64ff4a3f7f70cdf06b103d19f0da5c9b0f784a379f3", 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" "d8e48a9fc7e269bbab7fb64ff4a3f7f70cdf06b103d19f0da5c9b0f784a379f3" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d8e48a9fc7e269bbab7fb64ff4a3f7f70cdf06b103d19f0da5c9b0f784a379f3", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d8e48a9fc7e269bbab7fb64ff4a3f7f70cdf06b103d19f0da5c9b0f784a379f3" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]     Checking unicode-ident v1.0.24
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking agentsdk-macros v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling futures-macro v0.3.32
[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]     Checking tokio v1.52.3
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking schemars v1.2.1
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stdout] error[E0433]: cannot find module or crate `agentsdk` in this scope
[INFO] [stdout]  --> tests/tool.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use agentsdk::core::tools::Tool;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `agentsdk`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `agentsdk`, use `cargo add agentsdk` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `agentsdk`
[INFO] [stdout]  --> tests/tool.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use agentsdk::tool;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `agentsdk`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `agentsdk`, use `cargo add agentsdk` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `agentsdk` in this scope
[INFO] [stdout]   --> tests/tool.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[derive(agentsdk::__private::schemars::JsonSchema, serde::Deserialize, Default, Debug)]
[INFO] [stdout]    |          ^^^^^^^^ use of unresolved module or unlinked crate `agentsdk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `agentsdk` in this scope
[INFO] [stdout]   --> tests/tool.rs:82:48
[INFO] [stdout]    |
[INFO] [stdout] 82 | #[derive(serde::Serialize, serde::Deserialize, agentsdk::__private::schemars::JsonSchema)]
[INFO] [stdout]    |                                                ^^^^^^^^ use of unresolved module or unlinked crate `agentsdk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> tests/tool.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[schemars(crate = "::agentsdk::__private::schemars")]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: `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]    |
[INFO] [stdout] 44 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 45 | struct SearchQuery {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> tests/tool.rs:83:3
[INFO] [stdout]    |
[INFO] [stdout] 83 | #[schemars(crate = "::agentsdk::__private::schemars")]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: `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]    |
[INFO] [stdout] 84 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 85 | struct SearchResponse {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `agentsdk` in this scope
[INFO] [stdout]   --> tests/tool.rs:33:50
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn complex_tool(name: String, age: i32, context: agentsdk::core::tools::ToolContext) -> Tool {
[INFO] [stdout]    |                                                  ^^^^^^^^ use of unresolved module or unlinked crate `agentsdk`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `agentsdk`, use `cargo add agentsdk` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `agentsdk` in this scope
[INFO] [stdout]    --> tests/tool.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let options = agentsdk::AgentOptions::builder().build().unwrap();
[INFO] [stdout]     |                   ^^^^^^^^ use of unresolved module or unlinked crate `agentsdk`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `agentsdk`, use `cargo add agentsdk` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `agentsdk` in this scope
[INFO] [stdout]    --> tests/tool.rs:102:15
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let ctx = agentsdk::core::tools::ToolContext {
[INFO] [stdout]     |               ^^^^^^^^ use of unresolved module or unlinked crate `agentsdk`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `agentsdk`, use `cargo add agentsdk` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `agentsdk` in this scope
[INFO] [stdout]    --> tests/tool.rs:129:19
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let options = agentsdk::AgentOptions::builder()
[INFO] [stdout]     |                   ^^^^^^^^ use of unresolved module or unlinked crate `agentsdk`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `agentsdk`, use `cargo add agentsdk` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `agentsdk` in this scope
[INFO] [stdout]    --> tests/tool.rs:133:15
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let ctx = agentsdk::core::tools::ToolContext {
[INFO] [stdout]     |               ^^^^^^^^ use of unresolved module or unlinked crate `agentsdk`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `agentsdk`, use `cargo add agentsdk` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> tests/tool.rs:63:16
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let tool = search_tool();
[INFO] [stdout]    |                ^^^^^^^^^^^-- argument #1 of type `SearchQuery` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> tests/tool.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn search_tool(req: SearchQuery) -> Tool {
[INFO] [stdout]    |    ^^^^^^^^^^^ ----------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let tool = search_tool(/* SearchQuery */);
[INFO] [stdout]    |                            +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 0 arguments were supplied
[INFO] [stdout]    --> tests/tool.rs:116:16
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let tool = complex_tool();
[INFO] [stdout]     |                ^^^^^^^^^^^^-- three arguments are missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> tests/tool.rs:33:4
[INFO] [stdout]     |
[INFO] [stdout]  33 | fn complex_tool(name: String, age: i32, context: agentsdk::core::tools::ToolContext) -> Tool {
[INFO] [stdout]     |    ^^^^^^^^^^^^ ------------  --------  -------------------------------------------
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let tool = complex_tool(/* std::string::String */, /* i32 */, /* context */);
[INFO] [stdout]     |                             +++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `agentsdk-macros` (test "tool") due to 13 previous errors
[INFO] running `Command { std: "docker" "inspect" "d8e48a9fc7e269bbab7fb64ff4a3f7f70cdf06b103d19f0da5c9b0f784a379f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8e48a9fc7e269bbab7fb64ff4a3f7f70cdf06b103d19f0da5c9b0f784a379f3", kill_on_drop: false }`
[INFO] [stdout] d8e48a9fc7e269bbab7fb64ff4a3f7f70cdf06b103d19f0da5c9b0f784a379f3
