[INFO] cloning repository https://github.com/SharmaDevanshu089/Clause-AI
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SharmaDevanshu089/Clause-AI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSharmaDevanshu089%2FClause-AI", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSharmaDevanshu089%2FClause-AI'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fd8b4ab68dd6f1abf95d04f60b9c21b86956a6ed
[INFO] testing SharmaDevanshu089/Clause-AI against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSharmaDevanshu089%2FClause-AI" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SharmaDevanshu089/Clause-AI
[INFO] finished tweaking git repo https://github.com/SharmaDevanshu089/Clause-AI
[INFO] tweaked toml for git repo https://github.com/SharmaDevanshu089/Clause-AI written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SharmaDevanshu089/Clause-AI on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SharmaDevanshu089/Clause-AI 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: default
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.2
[INFO] [stderr]   Downloaded cc v1.2.38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 554ea5d3ef684c17d68c613d884cbba4dcabec532827d4c3e94598de1c2e3800
[INFO] running `Command { std: "docker" "start" "-a" "554ea5d3ef684c17d68c613d884cbba4dcabec532827d4c3e94598de1c2e3800", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "554ea5d3ef684c17d68c613d884cbba4dcabec532827d4c3e94598de1c2e3800", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "554ea5d3ef684c17d68c613d884cbba4dcabec532827d4c3e94598de1c2e3800", kill_on_drop: false }`
[INFO] [stdout] 554ea5d3ef684c17d68c613d884cbba4dcabec532827d4c3e94598de1c2e3800
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b6531eb2465019faa21ef013594f96840864bb8088f2399d76fa6b5ec4df467
[INFO] running `Command { std: "docker" "start" "-a" "8b6531eb2465019faa21ef013594f96840864bb8088f2399d76fa6b5ec4df467", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: default
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling serde_core v1.0.225
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.2
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling cc v1.2.38
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling serde v1.0.225
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling deranged v0.5.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling ref-cast v1.0.24
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.225
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.24
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-rustls v0.25.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rustls-native-certs v0.7.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling which v6.0.3
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling tempfile v3.22.0
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling bytecount v0.6.9
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling hyper-rustls v0.25.0
[INFO] [stderr]    Compiling gcp_auth v0.11.1
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling reqwest-streams v0.5.1
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling google-generative-ai-rs v0.2.5
[INFO] [stderr]    Compiling clause-ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Content` and `Part`
[INFO] [stdout]  --> src/main.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use google_generative_ai_rs::v1::gemini::{Content, Part};
[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: `project_id`
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let project_id = env::get_id();
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let location = LOCALE;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let client = Client::new(api_key);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEBUG` is never used
[INFO] [stdout]  --> src/main.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const DEBUG: bool = true;
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOCALE` is never used
[INFO] [stdout]  --> src/main.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const LOCALE: &str = "asia-south1";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ai_online` is never used
[INFO] [stdout]   --> src/main.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn get_ai_online() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key` is never used
[INFO] [stdout]   --> src/env.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn get_api_key() -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_id` is never used
[INFO] [stdout]   --> src/env.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn get_id() -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/env.rs:30:38
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let path_string = path_to_env.clone().to_string_lossy().into_owned();
[INFO] [stdout]    |                                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 30 -         let path_string = path_to_env.clone().to_string_lossy().into_owned();
[INFO] [stdout] 30 +         let path_string = path_to_env.to_string_lossy().into_owned();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 33s
[INFO] running `Command { std: "docker" "inspect" "8b6531eb2465019faa21ef013594f96840864bb8088f2399d76fa6b5ec4df467", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b6531eb2465019faa21ef013594f96840864bb8088f2399d76fa6b5ec4df467", kill_on_drop: false }`
[INFO] [stdout] 8b6531eb2465019faa21ef013594f96840864bb8088f2399d76fa6b5ec4df467
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0dda243a8d06bafe648987bd707b8e539f3fee44efcec96a4bbdfd9a06922cf7
[INFO] running `Command { std: "docker" "start" "-a" "0dda243a8d06bafe648987bd707b8e539f3fee44efcec96a4bbdfd9a06922cf7", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: default
[INFO] [stderr]    Compiling clause-ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Content` and `Part`
[INFO] [stdout]  --> src/main.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use google_generative_ai_rs::v1::gemini::{Content, Part};
[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: `project_id`
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let project_id = env::get_id();
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location`
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let location = LOCALE;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let client = Client::new(api_key);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEBUG` is never used
[INFO] [stdout]  --> src/main.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const DEBUG: bool = true;
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOCALE` is never used
[INFO] [stdout]  --> src/main.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const LOCALE: &str = "asia-south1";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ai_online` is never used
[INFO] [stdout]   --> src/main.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn get_ai_online() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key` is never used
[INFO] [stdout]   --> src/env.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn get_api_key() -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_id` is never used
[INFO] [stdout]   --> src/env.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn get_id() -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/env.rs:30:38
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let path_string = path_to_env.clone().to_string_lossy().into_owned();
[INFO] [stdout]    |                                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 30 -         let path_string = path_to_env.clone().to_string_lossy().into_owned();
[INFO] [stdout] 30 +         let path_string = path_to_env.to_string_lossy().into_owned();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s
[INFO] running `Command { std: "docker" "inspect" "0dda243a8d06bafe648987bd707b8e539f3fee44efcec96a4bbdfd9a06922cf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0dda243a8d06bafe648987bd707b8e539f3fee44efcec96a4bbdfd9a06922cf7", kill_on_drop: false }`
[INFO] [stdout] 0dda243a8d06bafe648987bd707b8e539f3fee44efcec96a4bbdfd9a06922cf7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6a474b15a0d66bcfeaa28978b415fc7d928233bec2dc16f322b9a8fc506fc9be
[INFO] running `Command { std: "docker" "start" "-a" "6a474b15a0d66bcfeaa28978b415fc7d928233bec2dc16f322b9a8fc506fc9be", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: default
[INFO] [stderr] warning: unused imports: `Content` and `Part`
[INFO] [stderr]  --> src/main.rs:3:43
[INFO] [stderr]   |
[INFO] [stderr] 3 | use google_generative_ai_rs::v1::gemini::{Content, Part};
[INFO] [stderr]   |                                           ^^^^^^^  ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `project_id`
[INFO] [stderr]   --> src/main.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let project_id = env::get_id();
[INFO] [stderr]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `location`
[INFO] [stderr]   --> src/main.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 19 |     let location = LOCALE;
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `client`
[INFO] [stderr]   --> src/main.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 20 |     let client = Client::new(api_key);
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DEBUG` is never used
[INFO] [stderr]  --> src/main.rs:8:7
[INFO] [stderr]   |
[INFO] [stderr] 8 | const DEBUG: bool = true;
[INFO] [stderr]   |       ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LOCALE` is never used
[INFO] [stderr]  --> src/main.rs:9:7
[INFO] [stderr]   |
[INFO] [stderr] 9 | const LOCALE: &str = "asia-south1";
[INFO] [stderr]   |       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_ai_online` is never used
[INFO] [stderr]   --> src/main.rs:16:4
[INFO] [stderr]    |
[INFO] [stderr] 16 | fn get_ai_online() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_api_key` is never used
[INFO] [stderr]   --> src/env.rs:42:8
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub fn get_api_key() -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_id` is never used
[INFO] [stderr]   --> src/env.rs:46:8
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub fn get_id() -> String {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/env.rs:30:38
[INFO] [stderr]    |
[INFO] [stderr] 30 |         let path_string = path_to_env.clone().to_string_lossy().into_owned();
[INFO] [stderr]    |                                      ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stderr]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr] 30 -         let path_string = path_to_env.clone().to_string_lossy().into_owned();
[INFO] [stderr] 30 +         let path_string = path_to_env.to_string_lossy().into_owned();
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `clause-ai` (bin "clause-ai" test) generated 10 warnings (run `cargo fix --bin "clause-ai" -p clause-ai --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/clause_ai-b4699d63f8c93e44)
[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" "6a474b15a0d66bcfeaa28978b415fc7d928233bec2dc16f322b9a8fc506fc9be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a474b15a0d66bcfeaa28978b415fc7d928233bec2dc16f322b9a8fc506fc9be", kill_on_drop: false }`
[INFO] [stdout] 6a474b15a0d66bcfeaa28978b415fc7d928233bec2dc16f322b9a8fc506fc9be
