[INFO] cloning repository https://github.com/joshua-mo-143/shuttlify-hackathon-debug [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshua-mo-143/shuttlify-hackathon-debug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Fshuttlify-hackathon-debug", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Fshuttlify-hackathon-debug'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd52ff31383dae62e2a1c163ad88c1f080640ffd [INFO] testing joshua-mo-143/shuttlify-hackathon-debug against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Fshuttlify-hackathon-debug" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joshua-mo-143/shuttlify-hackathon-debug on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joshua-mo-143/shuttlify-hackathon-debug [INFO] finished tweaking git repo https://github.com/joshua-mo-143/shuttlify-hackathon-debug [INFO] tweaked toml for git repo https://github.com/joshua-mo-143/shuttlify-hackathon-debug written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/joshua-mo-143/shuttlify-hackathon-debug 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strict v0.2.0 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Downloaded crokey v1.1.0 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded crokey-proc_macros v1.1.0 [INFO] [stderr] Downloaded lazy-regex v3.3.0 [INFO] [stderr] Downloaded minimad v0.13.1 [INFO] [stderr] Downloaded thiserror-impl v2.0.7 [INFO] [stderr] Downloaded unicode-id v0.3.5 [INFO] [stderr] Downloaded llm-chain-openai v0.13.0 [INFO] [stderr] Downloaded thiserror v2.0.7 [INFO] [stderr] Downloaded llm-chain v0.13.0 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded fancy-regex v0.12.0 [INFO] [stderr] Downloaded miniz_oxide v0.8.1 [INFO] [stderr] Downloaded h2 v0.4.7 [INFO] [stderr] Downloaded coolor v1.0.0 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded crossterm v0.28.1 [INFO] [stderr] Downloaded markdown v1.0.0-alpha.21 [INFO] [stderr] Downloaded bstr v1.11.1 [INFO] [stderr] Downloaded termimad v0.31.1 [INFO] [stderr] Downloaded tiktoken-rs v0.5.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 962f206208017482f793dae5d48a39cc347f2612d028001575a2a4a2bf11847a [INFO] running `Command { std: "docker" "start" "-a" "962f206208017482f793dae5d48a39cc347f2612d028001575a2a4a2bf11847a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "962f206208017482f793dae5d48a39cc347f2612d028001575a2a4a2bf11847a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "962f206208017482f793dae5d48a39cc347f2612d028001575a2a4a2bf11847a", kill_on_drop: false }` [INFO] [stdout] 962f206208017482f793dae5d48a39cc347f2612d028001575a2a4a2bf11847a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c4bd8df677013b09198bbcf79b0a832fb328a42763e6930849c03d4b43e22f7 [INFO] running `Command { std: "docker" "start" "-a" "8c4bd8df677013b09198bbcf79b0a832fb328a42763e6930849c03d4b43e22f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling strict v0.2.0 [INFO] [stderr] Compiling markdown v1.0.0-alpha.21 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling minimad v0.13.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling coolor v1.0.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling crokey-proc_macros v1.1.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.11.1 [INFO] [stderr] Compiling fancy-regex v0.12.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling thiserror-impl v2.0.7 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tiktoken-rs v0.5.9 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling lazy-regex v3.3.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling crokey v1.1.0 [INFO] [stderr] Compiling termimad v0.31.1 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling llm-chain v0.13.0 [INFO] [stderr] Compiling async-openai v0.16.3 [INFO] [stderr] Compiling llm-chain-openai v0.13.0 [INFO] [stderr] Compiling shuttle-newsletter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo_id` [INFO] [stdout] --> src/main.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | async fn check_repo_exists(&self, repo_id: String) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repo_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut response = self [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut response = response.send().await?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo_id` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let repo_id = repo.as_repo_id(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repo_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_repo_exists`, and `index_repo` are never used [INFO] [stdout] --> src/main.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl GreptileClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 76 | fn new(github_token: String, greptile_api_token: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | async fn check_repo_exists(&self, repo_id: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | async fn index_repo( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_messages` and `push_message` are never used [INFO] [stdout] --> src/main.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 183 | impl GreptileQueryRequest { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | fn with_messages(repository: GreptileRepository, messages: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn push_message(mut self, message: GreptileMessage) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `system` and `assistant` are never used [INFO] [stdout] --> src/main.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl GreptileMessage { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | fn system(content: String) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn assistant(content: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 269 | impl GreptileRepository { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 270 | fn new(remote: String, branch: String, repository: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "8c4bd8df677013b09198bbcf79b0a832fb328a42763e6930849c03d4b43e22f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c4bd8df677013b09198bbcf79b0a832fb328a42763e6930849c03d4b43e22f7", kill_on_drop: false }` [INFO] [stdout] 8c4bd8df677013b09198bbcf79b0a832fb328a42763e6930849c03d4b43e22f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 762020fb0f536a3009bc85d4ed3de75e54d6d4053f2f95c62e2899026fbf80be [INFO] running `Command { std: "docker" "start" "-a" "762020fb0f536a3009bc85d4ed3de75e54d6d4053f2f95c62e2899026fbf80be", kill_on_drop: false }` [INFO] [stderr] Compiling shuttle-newsletter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo_id` [INFO] [stdout] --> src/main.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | async fn check_repo_exists(&self, repo_id: String) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repo_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut response = self [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut response = response.send().await?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo_id` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let repo_id = repo.as_repo_id(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repo_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_repo_exists`, and `index_repo` are never used [INFO] [stdout] --> src/main.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl GreptileClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 76 | fn new(github_token: String, greptile_api_token: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | async fn check_repo_exists(&self, repo_id: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | async fn index_repo( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_messages` and `push_message` are never used [INFO] [stdout] --> src/main.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 183 | impl GreptileQueryRequest { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | fn with_messages(repository: GreptileRepository, messages: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn push_message(mut self, message: GreptileMessage) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `system` and `assistant` are never used [INFO] [stdout] --> src/main.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl GreptileMessage { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | fn system(content: String) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn assistant(content: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 269 | impl GreptileRepository { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 270 | fn new(remote: String, branch: String, repository: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "762020fb0f536a3009bc85d4ed3de75e54d6d4053f2f95c62e2899026fbf80be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "762020fb0f536a3009bc85d4ed3de75e54d6d4053f2f95c62e2899026fbf80be", kill_on_drop: false }` [INFO] [stdout] 762020fb0f536a3009bc85d4ed3de75e54d6d4053f2f95c62e2899026fbf80be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c54b2e98f43dd8f8064fd384a536e1c79a72ff4cf58b03bcadac85c4fcf84e9f [INFO] running `Command { std: "docker" "start" "-a" "c54b2e98f43dd8f8064fd384a536e1c79a72ff4cf58b03bcadac85c4fcf84e9f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `path::PathBuf` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | path::PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repo_id` [INFO] [stderr] --> src/main.rs:95:39 [INFO] [stderr] | [INFO] [stderr] 95 | async fn check_repo_exists(&self, repo_id: String) -> Result> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repo_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | let mut response = self [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | let mut response = response.send().await?; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repo_id` [INFO] [stderr] --> src/main.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | let repo_id = repo.as_repo_id(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repo_id` [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `check_repo_exists`, and `index_repo` are never used [INFO] [stderr] --> src/main.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 75 | impl GreptileClient { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 76 | fn new(github_token: String, greptile_api_token: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | async fn check_repo_exists(&self, repo_id: String) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | async fn index_repo( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `with_messages` and `push_message` are never used [INFO] [stderr] --> src/main.rs:194:8 [INFO] [stderr] | [INFO] [stderr] 183 | impl GreptileQueryRequest { [INFO] [stderr] | ------------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 194 | fn with_messages(repository: GreptileRepository, messages: Vec) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 204 | fn push_message(mut self, message: GreptileMessage) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `system` and `assistant` are never used [INFO] [stderr] --> src/main.rs:227:8 [INFO] [stderr] | [INFO] [stderr] 218 | impl GreptileMessage { [INFO] [stderr] | -------------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 227 | fn system(content: String) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 235 | fn assistant(content: String) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/main.rs:270:8 [INFO] [stderr] | [INFO] [stderr] 269 | impl GreptileRepository { [INFO] [stderr] | ----------------------- associated function in this implementation [INFO] [stderr] 270 | fn new(remote: String, branch: String, repository: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `shuttle-newsletter` (bin "shuttle-newsletter" test) generated 9 warnings (run `cargo fix --bin "shuttle-newsletter" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shuttle_newsletter-a3a1a961eca060b9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c54b2e98f43dd8f8064fd384a536e1c79a72ff4cf58b03bcadac85c4fcf84e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c54b2e98f43dd8f8064fd384a536e1c79a72ff4cf58b03bcadac85c4fcf84e9f", kill_on_drop: false }` [INFO] [stdout] c54b2e98f43dd8f8064fd384a536e1c79a72ff4cf58b03bcadac85c4fcf84e9f