[INFO] cloning repository https://github.com/Earu/gm_ollama [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Earu/gm_ollama" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEaru%2Fgm_ollama", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEaru%2Fgm_ollama'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdc9036767f28cb9fda26a212b62677ca929d73d [INFO] checking Earu/gm_ollama against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEaru%2Fgm_ollama" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Earu/gm_ollama [INFO] finished tweaking git repo https://github.com/Earu/gm_ollama [INFO] tweaked toml for git repo https://github.com/Earu/gm_ollama written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Earu/gm_ollama 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/Earu/gm_ollama 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gmod-macros v2.0.1 [INFO] [stderr] Downloaded cstr v0.2.12 [INFO] [stderr] Downloaded gmod v17.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b410adc7373a663a6cc81960c25b162104364b8c558eccf41583fb61e01c4178 [INFO] running `Command { std: "docker" "start" "-a" "b410adc7373a663a6cc81960c25b162104364b8c558eccf41583fb61e01c4178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b410adc7373a663a6cc81960c25b162104364b8c558eccf41583fb61e01c4178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b410adc7373a663a6cc81960c25b162104364b8c558eccf41583fb61e01c4178", kill_on_drop: false }` [INFO] [stdout] b410adc7373a663a6cc81960c25b162104364b8c558eccf41583fb61e01c4178 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 16c892f4bb0e5e21dee48cb58c1ccf25a0a4de655ee93e84f20d18421bdf927f [INFO] running `Command { std: "docker" "start" "-a" "16c892f4bb0e5e21dee48cb58c1ccf25a0a4de655ee93e84f20d18421bdf927f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling cstr v0.2.12 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling gmod-macros v2.0.1 [INFO] [stderr] Checking gmod v17.0.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking gm_ollama v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `PullRequest` is never constructed [INFO] [stdout] --> src/lib.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct PullRequest { [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 `PullResponse` is never constructed [INFO] [stdout] --> src/lib.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct PullResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeleteRequest` is never constructed [INFO] [stdout] --> src/lib.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | struct DeleteRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | CONFIG.get_or_insert_with(OllamaConfig::default) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | / CLIENT.get_or_insert_with(|| { [INFO] [stdout] 210 | | Client::builder() [INFO] [stdout] 211 | | .timeout(get_config().timeout) [INFO] [stdout] 212 | | .build() [INFO] [stdout] 213 | | .expect("Failed to create HTTP client") [INFO] [stdout] 214 | | }) [INFO] [stdout] | |______^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | / RUNTIME.get_or_insert_with(|| { [INFO] [stdout] 219 | | Arc::new(Mutex::new( [INFO] [stdout] 220 | | Runtime::new().expect("Failed to create async runtime") [INFO] [stdout] 221 | | )) [INFO] [stdout] 222 | | }).clone() [INFO] [stdout] | |______^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / CALLBACK_QUEUE.get_or_insert_with(|| { [INFO] [stdout] 227 | | Arc::new(Mutex::new(Vec::new())) [INFO] [stdout] 228 | | }).clone() [INFO] [stdout] | |______^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | / RUNNING_CACHE.get_or_insert_with(|| { [INFO] [stdout] 233 | | Arc::new(Mutex::new(RunningCache { [INFO] [stdout] 234 | | is_running: false, [INFO] [stdout] 235 | | last_check: Instant::now() - CACHE_DURATION, // Force initial check [INFO] [stdout] 236 | | first_check_done: false, [INFO] [stdout] 237 | | })) [INFO] [stdout] 238 | | }).clone() [INFO] [stdout] | |______^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PullRequest` is never constructed [INFO] [stdout] --> src/lib.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct PullRequest { [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 `PullResponse` is never constructed [INFO] [stdout] --> src/lib.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct PullResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeleteRequest` is never constructed [INFO] [stdout] --> src/lib.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | struct DeleteRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | CONFIG.get_or_insert_with(OllamaConfig::default) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | / CLIENT.get_or_insert_with(|| { [INFO] [stdout] 210 | | Client::builder() [INFO] [stdout] 211 | | .timeout(get_config().timeout) [INFO] [stdout] 212 | | .build() [INFO] [stdout] 213 | | .expect("Failed to create HTTP client") [INFO] [stdout] 214 | | }) [INFO] [stdout] | |______^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | / RUNTIME.get_or_insert_with(|| { [INFO] [stdout] 219 | | Arc::new(Mutex::new( [INFO] [stdout] 220 | | Runtime::new().expect("Failed to create async runtime") [INFO] [stdout] 221 | | )) [INFO] [stdout] 222 | | }).clone() [INFO] [stdout] | |______^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / CALLBACK_QUEUE.get_or_insert_with(|| { [INFO] [stdout] 227 | | Arc::new(Mutex::new(Vec::new())) [INFO] [stdout] 228 | | }).clone() [INFO] [stdout] | |______^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | / RUNNING_CACHE.get_or_insert_with(|| { [INFO] [stdout] 233 | | Arc::new(Mutex::new(RunningCache { [INFO] [stdout] 234 | | is_running: false, [INFO] [stdout] 235 | | last_check: Instant::now() - CACHE_DURATION, // Force initial check [INFO] [stdout] 236 | | first_check_done: false, [INFO] [stdout] 237 | | })) [INFO] [stdout] 238 | | }).clone() [INFO] [stdout] | |______^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.26s [INFO] running `Command { std: "docker" "inspect" "16c892f4bb0e5e21dee48cb58c1ccf25a0a4de655ee93e84f20d18421bdf927f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c892f4bb0e5e21dee48cb58c1ccf25a0a4de655ee93e84f20d18421bdf927f", kill_on_drop: false }` [INFO] [stdout] 16c892f4bb0e5e21dee48cb58c1ccf25a0a4de655ee93e84f20d18421bdf927f