[INFO] cloning repository https://github.com/pureboys/rust-advance-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pureboys/rust-advance-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpureboys%2Frust-advance-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpureboys%2Frust-advance-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 984a6c24dcf981ca47cd5d42bcba0d7fe01b3f21
[INFO] checking pureboys/rust-advance-demo against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpureboys%2Frust-advance-demo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pureboys/rust-advance-demo
[INFO] finished tweaking git repo https://github.com/pureboys/rust-advance-demo
[INFO] tweaked toml for git repo https://github.com/pureboys/rust-advance-demo written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pureboys/rust-advance-demo 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/pureboys/rust-advance-demo 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 147551f64ab6f0a6d44e5886f19466a6c373f86880f02c46c8875caa618e1530
[INFO] running `Command { std: "docker" "start" "147551f64ab6f0a6d44e5886f19466a6c373f86880f02c46c8875caa618e1530", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "147551f64ab6f0a6d44e5886f19466a6c373f86880f02c46c8875caa618e1530", 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" "147551f64ab6f0a6d44e5886f19466a6c373f86880f02c46c8875caa618e1530" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "147551f64ab6f0a6d44e5886f19466a6c373f86880f02c46c8875caa618e1530", 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" "147551f64ab6f0a6d44e5886f19466a6c373f86880f02c46c8875caa618e1530" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling jobserver v0.1.35
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking zeroize v1.9.0
[INFO] [stderr]    Compiling aws-lc-rs v1.17.1
[INFO] [stderr]     Checking http v1.4.2
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling cc v1.2.67
[INFO] [stderr]     Checking rustls-pki-types v1.15.0
[INFO] [stderr]    Compiling rustls v0.23.42
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling zerocopy v0.8.54
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]     Checking rustls-native-certs v0.8.4
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking http-body v1.1.0
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]     Checking bitflags v2.13.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking http-body-util v0.1.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling ref-cast v1.0.26
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking fastrand v2.5.0
[INFO] [stderr]     Checking dyn-clone v1.0.20
[INFO] [stderr]    Compiling aws-lc-sys v0.42.0
[INFO] [stderr]    Compiling serde_derive_internals v0.30.0
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]    Compiling ref-cast-impl v1.0.26
[INFO] [stderr]    Compiling schemars_derive v1.2.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]    Compiling async-openai-macros v0.3.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking secrecy v0.10.3
[INFO] [stderr]     Checking schemars v1.2.2
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking backon v1.6.0
[INFO] [stderr]     Checking h2 v0.4.15
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[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 async-openai v0.41.1
[INFO] [stderr]     Checking ai_agent v0.1.0 (/opt/rustwide/workdir/ai_agent)
[INFO] [stderr]     Checking rust-advance-demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `fake_count_lines_async` is never used
[INFO] [stdout]  --> src/async_rust/async_demo5.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | async fn fake_count_lines_async() {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_lines_sync` is never used
[INFO] [stdout]  --> src/async_rust/async_demo5.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn count_lines_sync() -> i32 {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_lines` is never used
[INFO] [stdout]   --> src/async_rust/async_demo5.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn read_lines<T>(filename: T) -> anyhow::Result<io::Lines<io::BufReader<File>>>
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `real_count_lines_async` is never used
[INFO] [stdout]   --> src/async_rust/async_demo5.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | async fn real_count_lines_async(filename: String) -> anyhow::Result<usize> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Task` is never used
[INFO] [stdout]  --> src/async_rust/async_demo6.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum Task {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `demo6_main` is never used
[INFO] [stdout]  --> src/async_rust/async_demo6.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | async fn demo6_main() {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `demo7_main` is never used
[INFO] [stdout]  --> src/async_rust/async_demo7.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | async fn demo7_main() {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `anyhow::Error`
[INFO] [stdout]   --> ai_agent/src/llm/stream.rs:74:32
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     return Err(err.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] 74 -                     return Err(err.into());
[INFO] [stdout] 74 +                     return Err(err);
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 74 -                     return Err(err.into());
[INFO] [stdout] 74 +                     return Err(<anyhow::Error as Into<_>>::into(err));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ai_agent` (lib test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: useless conversion to the same type: `anyhow::Error`
[INFO] [stdout]   --> ai_agent/src/llm/stream.rs:74:32
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     return Err(err.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] 74 -                     return Err(err.into());
[INFO] [stdout] 74 +                     return Err(err);
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 74 -                     return Err(err.into());
[INFO] [stdout] 74 +                     return Err(<anyhow::Error as Into<_>>::into(err));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ai_agent` (lib) due to 1 previous error
[INFO] [stderr] warning: unused dependency `async-openai`
[INFO] [stderr]  --> Cargo.toml:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | async-openai = "0.41.1"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `async-openai`
[INFO] [stderr] warning: unused dependency `dotenvy`
[INFO] [stderr]  --> Cargo.toml:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | dotenvy = "0.15.7"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `dotenvy`
[INFO] [stderr] warning: `rust-advance-demo` (manifest) generated 2 warnings
[INFO] running `Command { std: "docker" "inspect" "147551f64ab6f0a6d44e5886f19466a6c373f86880f02c46c8875caa618e1530", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "147551f64ab6f0a6d44e5886f19466a6c373f86880f02c46c8875caa618e1530", kill_on_drop: false }`
[INFO] [stdout] 147551f64ab6f0a6d44e5886f19466a6c373f86880f02c46c8875caa618e1530
