[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 master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Fshuttlify-hackathon-debug" "/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/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joshua-mo-143/shuttlify-hackathon-debug on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crokey-proc_macros v1.1.0 [INFO] [stderr] Downloaded minimad v0.13.1 [INFO] [stderr] Downloaded strict v0.2.0 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded unicode-id v0.3.5 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Downloaded pest_generator v2.7.15 [INFO] [stderr] Downloaded lazy-regex v3.3.0 [INFO] [stderr] Downloaded eventsource-stream v0.2.3 [INFO] [stderr] Downloaded reqwest-eventsource v0.4.0 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded async-convert v1.0.0 [INFO] [stderr] Downloaded pest_derive v2.7.15 [INFO] [stderr] Downloaded pest v2.7.15 [INFO] [stderr] Downloaded async-openai v0.16.3 [INFO] [stderr] Downloaded hyper v1.5.2 [INFO] [stderr] Downloaded crokey v1.1.0 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded crossterm v0.28.1 [INFO] [stderr] Downloaded llm-chain v0.13.0 [INFO] [stderr] Downloaded markdown v1.0.0-alpha.21 [INFO] [stderr] Downloaded miniz_oxide v0.8.1 [INFO] [stderr] Downloaded coolor v1.0.0 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded termimad v0.31.1 [INFO] [stderr] Downloaded llm-chain-openai v0.13.0 [INFO] [stderr] Downloaded tiktoken-rs v0.5.9 [INFO] [stderr] Downloaded pest_meta v2.7.15 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49e42c18d6eb86bc0b0f8bae0dd69f2d268e2548fd4673d3273930e46a4b9943 [INFO] running `Command { std: "docker" "start" "-a" "49e42c18d6eb86bc0b0f8bae0dd69f2d268e2548fd4673d3273930e46a4b9943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49e42c18d6eb86bc0b0f8bae0dd69f2d268e2548fd4673d3273930e46a4b9943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49e42c18d6eb86bc0b0f8bae0dd69f2d268e2548fd4673d3273930e46a4b9943", kill_on_drop: false }` [INFO] [stdout] 49e42c18d6eb86bc0b0f8bae0dd69f2d268e2548fd4673d3273930e46a4b9943 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d26464860510ead8519c25769ee3bd2338a4d16fdd174be0b3ea7055df60df5f [INFO] running `Command { std: "docker" "start" "-a" "d26464860510ead8519c25769ee3bd2338a4d16fdd174be0b3ea7055df60df5f", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [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 openssl v0.10.68 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling strict v0.2.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling markdown v1.0.0-alpha.21 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling fancy-regex v0.12.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tiktoken-rs v0.5.9 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling crokey-proc_macros v1.1.0 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling crokey v1.1.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling lazy-regex v3.3.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling coolor v1.0.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling minimad v0.13.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling termimad v0.31.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.9 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GreptileIndexRequest` is never constructed [INFO] [stdout] --> src/main.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct GreptileIndexRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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 2m 32s [INFO] running `Command { std: "docker" "inspect" "d26464860510ead8519c25769ee3bd2338a4d16fdd174be0b3ea7055df60df5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26464860510ead8519c25769ee3bd2338a4d16fdd174be0b3ea7055df60df5f", kill_on_drop: false }` [INFO] [stdout] d26464860510ead8519c25769ee3bd2338a4d16fdd174be0b3ea7055df60df5f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c7736f13b33113c0a60bea605ea8804c45aecd3e0391bcf3efafea7e2e8681a [INFO] running `Command { std: "docker" "start" "-a" "0c7736f13b33113c0a60bea605ea8804c45aecd3e0391bcf3efafea7e2e8681a", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GreptileIndexRequest` is never constructed [INFO] [stdout] --> src/main.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct GreptileIndexRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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.72s [INFO] running `Command { std: "docker" "inspect" "0c7736f13b33113c0a60bea605ea8804c45aecd3e0391bcf3efafea7e2e8681a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7736f13b33113c0a60bea605ea8804c45aecd3e0391bcf3efafea7e2e8681a", kill_on_drop: false }` [INFO] [stdout] 0c7736f13b33113c0a60bea605ea8804c45aecd3e0391bcf3efafea7e2e8681a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4cb82081fb7f89ebe92d7061c912a9e3821463f2822cdff88dd82520a57e0e1e [INFO] running `Command { std: "docker" "start" "-a" "4cb82081fb7f89ebe92d7061c912a9e3821463f2822cdff88dd82520a57e0e1e", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `GreptileIndexRequest` is never constructed [INFO] [stderr] --> src/main.rs:153:8 [INFO] [stderr] | [INFO] [stderr] 153 | struct GreptileIndexRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 10 warnings (run `cargo fix --bin "shuttle-newsletter" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shuttle_newsletter-db2dfa87951bd73c) [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" "4cb82081fb7f89ebe92d7061c912a9e3821463f2822cdff88dd82520a57e0e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb82081fb7f89ebe92d7061c912a9e3821463f2822cdff88dd82520a57e0e1e", kill_on_drop: false }` [INFO] [stdout] 4cb82081fb7f89ebe92d7061c912a9e3821463f2822cdff88dd82520a57e0e1e