[INFO] cloning repository https://github.com/suguni/build-an-ai-agent-from-scratch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suguni/build-an-ai-agent-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuguni%2Fbuild-an-ai-agent-from-scratch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuguni%2Fbuild-an-ai-agent-from-scratch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a410d2a64bccc9e9be28e4b86291ff5349470a5b
[INFO] checking suguni/build-an-ai-agent-from-scratch against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuguni%2Fbuild-an-ai-agent-from-scratch" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/suguni/build-an-ai-agent-from-scratch
[INFO] finished tweaking git repo https://github.com/suguni/build-an-ai-agent-from-scratch
[INFO] tweaked toml for git repo https://github.com/suguni/build-an-ai-agent-from-scratch written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/suguni/build-an-ai-agent-from-scratch on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/suguni/build-an-ai-agent-from-scratch 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "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-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ad119c91213e13dc1f8d79fc759e8f348dee5a3b2257c0a70412fbc649ef8b76
[INFO] running `Command { std: "docker" "start" "ad119c91213e13dc1f8d79fc759e8f348dee5a3b2257c0a70412fbc649ef8b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad119c91213e13dc1f8d79fc759e8f348dee5a3b2257c0a70412fbc649ef8b76", 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" "ad119c91213e13dc1f8d79fc759e8f348dee5a3b2257c0a70412fbc649ef8b76" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad119c91213e13dc1f8d79fc759e8f348dee5a3b2257c0a70412fbc649ef8b76", 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" "ad119c91213e13dc1f8d79fc759e8f348dee5a3b2257c0a70412fbc649ef8b76" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.11
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking zeroize v1.9.0
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling syn v3.0.4
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking futures-core v0.3.34
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]     Checking socket2 v0.6.5
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking hybrid-array v0.4.15
[INFO] [stderr]     Checking litemap v0.8.3
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking writeable v0.6.4
[INFO] [stderr]    Compiling icu_properties_data v2.3.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.3.0
[INFO] [stderr]     Checking indexmap v2.14.1
[INFO] [stderr]     Checking http-body v1.1.0
[INFO] [stderr]     Checking rustls-pki-types v1.15.1
[INFO] [stderr]     Checking futures-sink v0.3.34
[INFO] [stderr]     Checking futures-task v0.3.34
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling aws-lc-rs v1.18.0
[INFO] [stderr]     Checking futures-util v0.3.34
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]     Checking cmov v0.5.4
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]    Compiling jobserver v0.1.35
[INFO] [stderr]     Checking block-buffer v0.12.1
[INFO] [stderr]     Checking ctutils v0.4.2
[INFO] [stderr]     Checking futures-channel v0.3.34
[INFO] [stderr]    Compiling cc v1.4.4
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling rustls v0.23.43
[INFO] [stderr]     Checking ipnet v2.12.1
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking http-body-util v0.1.5
[INFO] [stderr]    Compiling zstd-safe v7.3.0
[INFO] [stderr]    Compiling crc32fast v1.5.2
[INFO] [stderr]     Checking inout v0.2.2
[INFO] [stderr]    Compiling num-conv v0.2.2
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling time-core v0.1.9
[INFO] [stderr]    Compiling ref-cast v1.0.27
[INFO] [stderr]    Compiling time-macros v0.2.32
[INFO] [stderr]     Checking cipher v0.5.2
[INFO] [stderr]     Checking sha2 v0.11.0
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]     Checking hmac v0.13.0
[INFO] [stderr]     Checking rustls-native-certs v0.8.4
[INFO] [stderr]     Checking zlib-rs v0.6.8
[INFO] [stderr]     Checking konst_macro_rules v0.2.19
[INFO] [stderr]    Compiling anyhow v1.0.104
[INFO] [stderr]     Checking bumpalo v3.20.3
[INFO] [stderr]     Checking libbz2-rs-sys v0.2.5
[INFO] [stderr]    Compiling aws-lc-sys v0.44.0
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]    Compiling zstd-sys v2.1.0+zstd.1.5.7
[INFO] [stderr]     Checking cpubits v0.1.1
[INFO] [stderr]     Checking simd-adler32 v0.3.10
[INFO] [stderr]    Compiling serde_derive_internals v0.30.0
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]     Checking time v0.3.55
[INFO] [stderr]     Checking flate2 v1.1.10
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking zopfli v0.8.3
[INFO] [stderr]     Checking aes v0.9.3
[INFO] [stderr]     Checking bzip2 v0.6.1
[INFO] [stderr]     Checking konst v0.2.20
[INFO] [stderr]     Checking pbkdf2 v0.13.0
[INFO] [stderr]     Checking lzma-rust2 v0.16.5
[INFO] [stderr]     Checking sha1 v0.11.0
[INFO] [stderr]     Checking typed-path v0.12.3
[INFO] [stderr]     Checking deflate64 v0.1.12
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling ref-cast-impl v1.0.27
[INFO] [stderr]    Compiling schemars_derive v1.2.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking zerovec v0.11.8
[INFO] [stderr]     Checking tinystr v0.8.4
[INFO] [stderr]     Checking icu_locale_core v2.3.0
[INFO] [stderr]     Checking potential_utf v0.1.6
[INFO] [stderr]     Checking zerotrie v0.2.5
[INFO] [stderr]     Checking icu_collections v2.3.0
[INFO] [stderr]     Checking constant_time_eq v0.4.2
[INFO] [stderr]     Checking ppmd-rust v1.5.0
[INFO] [stderr]     Checking thiserror v2.0.20
[INFO] [stderr]     Checking const_format v0.2.36
[INFO] [stderr]     Checking icu_provider v2.3.1
[INFO] [stderr]     Checking innr v0.6.3
[INFO] [stderr]     Checking icu_normalizer v2.3.0
[INFO] [stderr]     Checking icu_properties v2.3.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking schemars v1.2.2
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.19
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking h2 v0.4.19
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking hyper v1.11.1
[INFO] [stderr]     Checking zip v8.6.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking tavily v2.1.0
[INFO] [stderr]     Checking rustls-webpki v0.103.15
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking rustls-platform-verifier v0.7.0
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking reqwest v0.13.4
[INFO] [stderr]     Checking scratch_agent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]   --> src/vector_search.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |                     text: chunk.into(),
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 24 -                     text: chunk.into(),
[INFO] [stdout] 24 +                     text: chunk,
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 24 -                     text: chunk.into(),
[INFO] [stdout] 24 +                     text: <std::string::String as Into<_>>::into(chunk),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]   --> src/vector_search.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |                     text: chunk.into(),
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 24 -                     text: chunk.into(),
[INFO] [stdout] 24 +                     text: chunk,
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 24 -                     text: chunk.into(),
[INFO] [stdout] 24 +                     text: <std::string::String as Into<_>>::into(chunk),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `scratch_agent` (bin "scratch_agent" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `scratch_agent` (bin "scratch_agent") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "ad119c91213e13dc1f8d79fc759e8f348dee5a3b2257c0a70412fbc649ef8b76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad119c91213e13dc1f8d79fc759e8f348dee5a3b2257c0a70412fbc649ef8b76", kill_on_drop: false }`
[INFO] [stdout] ad119c91213e13dc1f8d79fc759e8f348dee5a3b2257c0a70412fbc649ef8b76
