[INFO] cloning repository https://github.com/hypernetix/lmstudio-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hypernetix/lmstudio-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhypernetix%2Flmstudio-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhypernetix%2Flmstudio-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3f28e2afecd5a758e21dc26287c5e7a5e7e4055 [INFO] testing hypernetix/lmstudio-rust against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhypernetix%2Flmstudio-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hypernetix/lmstudio-rust [INFO] finished tweaking git repo https://github.com/hypernetix/lmstudio-rust [INFO] tweaked toml for git repo https://github.com/hypernetix/lmstudio-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hypernetix/lmstudio-rust on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hypernetix/lmstudio-rust 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87ec8bb665f9603128fd353b2a52042b63f2650512b26c47b7fdb25585efa1ff [INFO] running `Command { std: "docker" "start" "-a" "87ec8bb665f9603128fd353b2a52042b63f2650512b26c47b7fdb25585efa1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87ec8bb665f9603128fd353b2a52042b63f2650512b26c47b7fdb25585efa1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ec8bb665f9603128fd353b2a52042b63f2650512b26c47b7fdb25585efa1ff", kill_on_drop: false }` [INFO] [stdout] 87ec8bb665f9603128fd353b2a52042b63f2650512b26c47b7fdb25585efa1ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 856d5067c03cd4862ed0f5c716420cb8365c58276edd0238de825a0c16aaf4d3 [INFO] running `Command { std: "docker" "start" "-a" "856d5067c03cd4862ed0f5c716420cb8365c58276edd0238de825a0c16aaf4d3", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerovec v0.11.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling papergrid v0.11.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tabled v0.15.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling lmstudio-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.38s [INFO] running `Command { std: "docker" "inspect" "856d5067c03cd4862ed0f5c716420cb8365c58276edd0238de825a0c16aaf4d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "856d5067c03cd4862ed0f5c716420cb8365c58276edd0238de825a0c16aaf4d3", kill_on_drop: false }` [INFO] [stdout] 856d5067c03cd4862ed0f5c716420cb8365c58276edd0238de825a0c16aaf4d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15bd79552940ebeeaa6a7de070fbac4ec9a94418ed9ea7db4f3133139d6518e0 [INFO] running `Command { std: "docker" "start" "-a" "15bd79552940ebeeaa6a7de070fbac4ec9a94418ed9ea7db4f3133139d6518e0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.3 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling lmstudio-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 49.32s [INFO] running `Command { std: "docker" "inspect" "15bd79552940ebeeaa6a7de070fbac4ec9a94418ed9ea7db4f3133139d6518e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15bd79552940ebeeaa6a7de070fbac4ec9a94418ed9ea7db4f3133139d6518e0", kill_on_drop: false }` [INFO] [stdout] 15bd79552940ebeeaa6a7de070fbac4ec9a94418ed9ea7db4f3133139d6518e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 61810ab7c4e4f74a2f61305f81ea5147afa20889863f8ec69b6dd68a4fc79b6b [INFO] running `Command { std: "docker" "start" "-a" "61810ab7c4e4f74a2f61305f81ea5147afa20889863f8ec69b6dd68a4fc79b6b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lmstudio_rust-b851c756ab720f97) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test model_loading::tests::test_loading_params_minimal ... ok [INFO] [stdout] test logger::tests::test_format_message ... ok [INFO] [stdout] test discovery::tests::test_default_api_host ... ok [INFO] [stdout] test logger::tests::test_logger_creation ... ok [INFO] [stdout] test model_loading::tests::test_loading_params ... ok [INFO] [stdout] test discovery::tests::test_discovery_creation ... ok [INFO] [stdout] test logger::tests::test_log_levels ... ok [INFO] [stdout] test client::tests::test_client_creation ... ok [INFO] [stdout] test client::tests::test_default_client_creation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/lms.rs (/opt/rustwide/target/debug/deps/lms_rust-14e6da373ef0cc57) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_model_table_row_conversion ... ok [INFO] [stdout] test tests::test_format_size ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lmstudio_rust [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 17) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 17) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 9 | let client = LMStudioClient::new("http://localhost:1234", Some(logger)).await?; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&str>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | pub async fn new(api_host: Option<&str>, logger: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 9 | let client = LMStudioClient::new(Some("http://localhost:1234"), Some(logger)).await?; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 17) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "61810ab7c4e4f74a2f61305f81ea5147afa20889863f8ec69b6dd68a4fc79b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61810ab7c4e4f74a2f61305f81ea5147afa20889863f8ec69b6dd68a4fc79b6b", kill_on_drop: false }` [INFO] [stdout] 61810ab7c4e4f74a2f61305f81ea5147afa20889863f8ec69b6dd68a4fc79b6b