[INFO] cloning repository https://github.com/zTgx/llm-schema [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zTgx/llm-schema" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzTgx%2Fllm-schema", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzTgx%2Fllm-schema'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db40e1232fde456684fa4a2cc99db6587e2ae900 [INFO] checking zTgx/llm-schema against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzTgx%2Fllm-schema" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zTgx/llm-schema [INFO] finished tweaking git repo https://github.com/zTgx/llm-schema [INFO] tweaked toml for git repo https://github.com/zTgx/llm-schema written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zTgx/llm-schema on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zTgx/llm-schema 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec65d65dda41d83730012d4aa3f1a1807ecc5de3e3eafb7d4e32670713070831 [INFO] running `Command { std: "docker" "start" "-a" "ec65d65dda41d83730012d4aa3f1a1807ecc5de3e3eafb7d4e32670713070831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec65d65dda41d83730012d4aa3f1a1807ecc5de3e3eafb7d4e32670713070831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec65d65dda41d83730012d4aa3f1a1807ecc5de3e3eafb7d4e32670713070831", kill_on_drop: false }` [INFO] [stdout] ec65d65dda41d83730012d4aa3f1a1807ecc5de3e3eafb7d4e32670713070831 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04e00f7b6cca1966b05f249696a60d1452dce36ceda1cb4edf115a42a43c5ac1 [INFO] running `Command { std: "docker" "start" "-a" "04e00f7b6cca1966b05f249696a60d1452dce36ceda1cb4edf115a42a43c5ac1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking llm-schema v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Meta` [INFO] [stdout] --> src/lib.rs:3:63 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse_macro_input, DeriveInput, Data, Fields, Type, Meta}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let name = &ast.ident; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Meta` [INFO] [stdout] --> src/lib.rs:3:63 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse_macro_input, DeriveInput, Data, Fields, Type, Meta}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let name = &ast.ident; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Meta` [INFO] [stdout] --> src/lib.rs:3:63 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{parse_macro_input, DeriveInput, Data, Fields, Type, Meta}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let name = &ast.ident; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> tests/llm-schema.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_schema` [INFO] [stdout] --> tests/llm-schema.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let expected_schema = json!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_schema` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `by`, `comments_url`, `points`, and `title` are never read [INFO] [stdout] --> tests/llm-schema.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | #[llmschem(require)] [INFO] [stdout] 9 | by: String, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | #[llmschem(require)] [INFO] [stdout] 11 | comments_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | #[llmschem(require)] [INFO] [stdout] 13 | points: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | #[llmschem(require)] [INFO] [stdout] 15 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `age`, `email`, and `nickname` are never read [INFO] [stdout] --> examples/simple.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Example { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | age: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | #[llmschem(require)] [INFO] [stdout] 8 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | nickname: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.78s [INFO] running `Command { std: "docker" "inspect" "04e00f7b6cca1966b05f249696a60d1452dce36ceda1cb4edf115a42a43c5ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04e00f7b6cca1966b05f249696a60d1452dce36ceda1cb4edf115a42a43c5ac1", kill_on_drop: false }` [INFO] [stdout] 04e00f7b6cca1966b05f249696a60d1452dce36ceda1cb4edf115a42a43c5ac1