[INFO] cloning repository https://github.com/CHYhave/rust-based-agent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CHYhave/rust-based-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCHYhave%2Frust-based-agent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCHYhave%2Frust-based-agent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e00f79e928aa7a7e61ad17e1d9c12d84051bba23 [INFO] checking CHYhave/rust-based-agent against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCHYhave%2Frust-based-agent" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CHYhave/rust-based-agent [INFO] finished tweaking git repo https://github.com/CHYhave/rust-based-agent [INFO] tweaked toml for git repo https://github.com/CHYhave/rust-based-agent written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CHYhave/rust-based-agent on toolchain 52995a223f2919dd3e2e427231db90a257350ded [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CHYhave/rust-based-agent 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" "+52995a223f2919dd3e2e427231db90a257350ded" "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-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4f5811b8134d8ea03062549081f465f33927262e8273f8211b4703a861e5713d [INFO] running `Command { std: "docker" "start" "4f5811b8134d8ea03062549081f465f33927262e8273f8211b4703a861e5713d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f5811b8134d8ea03062549081f465f33927262e8273f8211b4703a861e5713d", 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" "4f5811b8134d8ea03062549081f465f33927262e8273f8211b4703a861e5713d" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f5811b8134d8ea03062549081f465f33927262e8273f8211b4703a861e5713d", 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" "4f5811b8134d8ea03062549081f465f33927262e8273f8211b4703a861e5713d" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.26 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking futures-core v0.3.34 [INFO] [stderr] Compiling find-msvc-tools v0.1.14 [INFO] [stderr] Checking bytes v1.12.1 [INFO] [stderr] Compiling pkg-config v0.3.34 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking memchr v2.8.3 [INFO] [stderr] Checking futures-sink v0.3.34 [INFO] [stderr] Checking zeroize v1.9.0 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling aws-lc-rs v1.18.1 [INFO] [stderr] Checking litemap v0.8.3 [INFO] [stderr] Checking writeable v0.6.4 [INFO] [stderr] Checking smallvec v1.16.2 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Checking futures-task v0.3.34 [INFO] [stderr] Checking futures-channel v0.3.34 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-io v0.3.34 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Checking rustls-pki-types v1.15.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.45 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Checking cfg-if v1.0.5 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Checking base64 v0.23.1 [INFO] [stderr] Checking ipnet v2.12.2 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Checking http v1.5.0 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking log v0.4.34 [INFO] [stderr] Checking bitflags v2.13.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking rustls-native-certs v0.8.4 [INFO] [stderr] Compiling syn v3.0.6 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling thiserror v2.0.21 [INFO] [stderr] Checking hashbrown v0.17.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking mio v1.2.3 [INFO] [stderr] Checking socket2 v0.6.5 [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling cc v1.5.1 [INFO] [stderr] Checking indexmap v2.14.2 [INFO] [stderr] Checking http-body v1.1.0 [INFO] [stderr] Checking http-body-util v0.1.5 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling aws-lc-sys v0.45.0 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling async-openai-macros v0.3.0 [INFO] [stderr] Checking tokio v1.53.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling synstructure v0.14.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.8 [INFO] [stderr] Compiling yoke-derive v0.8.3 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling thiserror-impl v2.0.21 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling async-trait v0.1.92 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking zerovec v0.11.8 [INFO] [stderr] Checking zerotrie v0.2.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking hyper v1.11.1 [INFO] [stderr] Checking tokio-util v0.7.19 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking tokio-stream v0.1.19 [INFO] [stderr] Checking tinystr v0.8.4 [INFO] [stderr] Checking potential_utf v0.1.6 [INFO] [stderr] Checking icu_collections v2.3.0 [INFO] [stderr] Checking icu_locale_core v2.3.0 [INFO] [stderr] Checking icu_provider v2.3.1 [INFO] [stderr] Checking icu_properties v2.3.0 [INFO] [stderr] Checking icu_normalizer v2.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking hyper-util v0.1.21 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking futures-executor v0.3.34 [INFO] [stderr] Checking futures v0.3.34 [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 tower-http v0.6.11 [INFO] [stderr] Checking rustls-webpki v0.103.15 [INFO] [stderr] Checking tokio-rustls v0.26.5 [INFO] [stderr] Checking rustls-platform-verifier v0.7.1 [INFO] [stderr] Checking hyper-rustls v0.27.10 [INFO] [stderr] Checking reqwest v0.13.5 [INFO] [stderr] Checking async-openai v0.42.0 [INFO] [stderr] Checking me v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/tools/get_time.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | async fn call(&self, arguments: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join_or_none` is never used [INFO] [stdout] --> src/memory/memory.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn join_or_none(parts: impl Iterator) -> Option { [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 `render_message` is never used [INFO] [stdout] --> src/memory/memory.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn render_message(msg: &ChatCompletionRequestMessage) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tools/calculator.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Parser { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 89 | fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ChatCompletionRequestSystemMessageContent` [INFO] [stdout] --> src/memory/memory.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | content: ChatCompletionRequestSystemMessageContent::Text(s.to_string()).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] 75 - content: ChatCompletionRequestSystemMessageContent::Text(s.to_string()).into(), [INFO] [stdout] 75 + content: ChatCompletionRequestSystemMessageContent::Text(s.to_string()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 75 - content: ChatCompletionRequestSystemMessageContent::Text(s.to_string()).into(), [INFO] [stdout] 75 + content: >::into(ChatCompletionRequestSystemMessageContent::Text(s.to_string())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/tools/get_time.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | async fn call(&self, arguments: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/tools/registry.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | async fn call(&self, arguments: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `me` (bin "me") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tools/calculator.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Parser { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 89 | fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ChatCompletionRequestSystemMessageContent` [INFO] [stdout] --> src/memory/memory.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | content: ChatCompletionRequestSystemMessageContent::Text(s.to_string()).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] 75 - content: ChatCompletionRequestSystemMessageContent::Text(s.to_string()).into(), [INFO] [stdout] 75 + content: ChatCompletionRequestSystemMessageContent::Text(s.to_string()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 75 - content: ChatCompletionRequestSystemMessageContent::Text(s.to_string()).into(), [INFO] [stdout] 75 + content: >::into(ChatCompletionRequestSystemMessageContent::Text(s.to_string())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/skill/accumulator.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | acc.feed(0, None, None, Some("{}".into())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 79 - acc.feed(0, None, None, Some("{}".into())); [INFO] [stdout] 79 + acc.feed(0, None, None, Some("{}")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 79 - acc.feed(0, None, None, Some("{}".into())); [INFO] [stdout] 79 + acc.feed(0, None, None, Some(<&str as Into<_>>::into("{}"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/skill/accumulator.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | acc.feed(1, None, None, Some("{}".into())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 80 - acc.feed(1, None, None, Some("{}".into())); [INFO] [stdout] 80 + acc.feed(1, None, None, Some("{}")); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 80 - acc.feed(1, None, None, Some("{}".into())); [INFO] [stdout] 80 + acc.feed(1, None, None, Some(<&str as Into<_>>::into("{}"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `me` (bin "me" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4f5811b8134d8ea03062549081f465f33927262e8273f8211b4703a861e5713d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f5811b8134d8ea03062549081f465f33927262e8273f8211b4703a861e5713d", kill_on_drop: false }` [INFO] [stdout] 4f5811b8134d8ea03062549081f465f33927262e8273f8211b4703a861e5713d