[INFO] cloning repository https://github.com/MMunier/ddgpt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MMunier/ddgpt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMMunier%2Fddgpt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMMunier%2Fddgpt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed530d11af554475cb1aed651bf230b830d25a37 [INFO] checking MMunier/ddgpt against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMMunier%2Fddgpt" "/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/MMunier/ddgpt [INFO] finished tweaking git repo https://github.com/MMunier/ddgpt [INFO] tweaked toml for git repo https://github.com/MMunier/ddgpt written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MMunier/ddgpt on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MMunier/ddgpt 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e425aabd37716c3e84c566a844c383b1edda940fc46de12a289e2f5613cbf8f [INFO] running `Command { std: "docker" "start" "-a" "4e425aabd37716c3e84c566a844c383b1edda940fc46de12a289e2f5613cbf8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e425aabd37716c3e84c566a844c383b1edda940fc46de12a289e2f5613cbf8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e425aabd37716c3e84c566a844c383b1edda940fc46de12a289e2f5613cbf8f", kill_on_drop: false }` [INFO] [stdout] 4e425aabd37716c3e84c566a844c383b1edda940fc46de12a289e2f5613cbf8f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37f727ccc93d8423a7e466028c727d8abd226ce7cff6894159b0a2e29182e79a [INFO] running `Command { std: "docker" "start" "-a" "37f727ccc93d8423a7e466028c727d8abd226ce7cff6894159b0a2e29182e79a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking bitflags v2.7.0 [INFO] [stderr] Checking winnow v0.6.24 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [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 displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking serde v1.0.217 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.135 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking ddgpt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `user_cache_dir` is never used [INFO] [stdout] --> src/config.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | templ_fetch_userdir!(user_cache_dir, "XDG_CACHE_HOME", "/.cache/", "cache"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `templ_fetch_userdir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_state_dir` is never used [INFO] [stdout] --> src/config.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | templ_fetch_userdir!(user_state_dir, "XDG_STATE_HOME", "/.local/state/", "state"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `templ_fetch_userdir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JSON` is never constructed [INFO] [stdout] --> src/config.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum ConfigFileType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 108 | // #[cfg( = "JSON")] [INFO] [stdout] 109 | JSON, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | JSON(serde_json::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigFormatError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 118 - JSON(serde_json::Error), [INFO] [stdout] 118 + JSON(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | TOML(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigFormatError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 119 - TOML(Box), [INFO] [stdout] 119 + TOML(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | Format(ConfigFormatError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 125 - Format(ConfigFormatError), [INFO] [stdout] 125 + Format(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/config.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub trait ConfigLoadable: Default + serde::Serialize + serde::de::DeserializeOwned { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 216 | fn save(&self) -> Result<(), ConfigError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_cache_dir` is never used [INFO] [stdout] --> src/config.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | templ_fetch_userdir!(user_cache_dir, "XDG_CACHE_HOME", "/.cache/", "cache"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `templ_fetch_userdir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_state_dir` is never used [INFO] [stdout] --> src/config.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | templ_fetch_userdir!(user_state_dir, "XDG_STATE_HOME", "/.local/state/", "state"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `templ_fetch_userdir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JSON` is never constructed [INFO] [stdout] --> src/config.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum ConfigFileType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 108 | // #[cfg( = "JSON")] [INFO] [stdout] 109 | JSON, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | JSON(serde_json::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigFormatError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 118 - JSON(serde_json::Error), [INFO] [stdout] 118 + JSON(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | TOML(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigFormatError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 119 - TOML(Box), [INFO] [stdout] 119 + TOML(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | Format(ConfigFormatError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 125 - Format(ConfigFormatError), [INFO] [stdout] 125 + Format(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/config.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub trait ConfigLoadable: Default + serde::Serialize + serde::de::DeserializeOwned { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 216 | fn save(&self) -> Result<(), ConfigError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.34s [INFO] running `Command { std: "docker" "inspect" "37f727ccc93d8423a7e466028c727d8abd226ce7cff6894159b0a2e29182e79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37f727ccc93d8423a7e466028c727d8abd226ce7cff6894159b0a2e29182e79a", kill_on_drop: false }` [INFO] [stdout] 37f727ccc93d8423a7e466028c727d8abd226ce7cff6894159b0a2e29182e79a