[INFO] cloning repository https://github.com/SagenApp/gpt_for_uds_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SagenApp/gpt_for_uds_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSagenApp%2Fgpt_for_uds_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSagenApp%2Fgpt_for_uds_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2757fcf1658a239eb4ebc7093ca872e8bacfd890 [INFO] checking SagenApp/gpt_for_uds_rs against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSagenApp%2Fgpt_for_uds_rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SagenApp/gpt_for_uds_rs on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SagenApp/gpt_for_uds_rs [INFO] finished tweaking git repo https://github.com/SagenApp/gpt_for_uds_rs [INFO] tweaked toml for git repo https://github.com/SagenApp/gpt_for_uds_rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SagenApp/gpt_for_uds_rs 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ef6f11c85757dcd5aa67bd9edcc690b70fe331b1031de5b5563547715fe2c40 [INFO] running `Command { std: "docker" "start" "-a" "6ef6f11c85757dcd5aa67bd9edcc690b70fe331b1031de5b5563547715fe2c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ef6f11c85757dcd5aa67bd9edcc690b70fe331b1031de5b5563547715fe2c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ef6f11c85757dcd5aa67bd9edcc690b70fe331b1031de5b5563547715fe2c40", kill_on_drop: false }` [INFO] [stdout] 6ef6f11c85757dcd5aa67bd9edcc690b70fe331b1031de5b5563547715fe2c40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42120d3c07e4edb6a2917f700b20996d1cac555faffc976b95e256403ee6cf35 [INFO] running `Command { std: "docker" "start" "-a" "42120d3c07e4edb6a2917f700b20996d1cac555faffc976b95e256403ee6cf35", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling rustls v0.21.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking chatgpt_rs v1.2.3 [INFO] [stderr] Checking gpt_for_uds v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:86:56 [INFO] [stdout] | [INFO] [stdout] 86 | fn setup_server_socket(socket_file: &String) -> Result<(UnixListener), String> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - fn setup_server_socket(socket_file: &String) -> Result<(UnixListener), String> { [INFO] [stdout] 86 + fn setup_server_socket(socket_file: &String) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:86:56 [INFO] [stdout] | [INFO] [stdout] 86 | fn setup_server_socket(socket_file: &String) -> Result<(UnixListener), String> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - fn setup_server_socket(socket_file: &String) -> Result<(UnixListener), String> { [INFO] [stdout] 86 + fn setup_server_socket(socket_file: &String) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/gpt_client.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | .temperature(1.0) [INFO] [stdout] | ----------- ^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `ModelConfigurationBuilder::temperature` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chatgpt_rs-1.2.3/src/config.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, PartialEq, PartialOrd, Builder)] [INFO] [stdout] | ^^^^^^^ required by this bound in `ModelConfigurationBuilder::temperature` [INFO] [stdout] ... [INFO] [stdout] 16 | pub temperature: f32, [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | let (mut socket_dir_string, token) = get_configuration()?; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/gpt_client.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | .temperature(1.0) [INFO] [stdout] | ----------- ^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `ModelConfigurationBuilder::temperature` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chatgpt_rs-1.2.3/src/config.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, PartialEq, PartialOrd, Builder)] [INFO] [stdout] | ^^^^^^^ required by this bound in `ModelConfigurationBuilder::temperature` [INFO] [stdout] ... [INFO] [stdout] 16 | pub temperature: f32, [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gpt_for_uds` (bin "gpt_for_uds" test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | let (mut socket_dir_string, token) = get_configuration()?; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gpt_for_uds` (bin "gpt_for_uds") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "42120d3c07e4edb6a2917f700b20996d1cac555faffc976b95e256403ee6cf35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42120d3c07e4edb6a2917f700b20996d1cac555faffc976b95e256403ee6cf35", kill_on_drop: false }` [INFO] [stdout] 42120d3c07e4edb6a2917f700b20996d1cac555faffc976b95e256403ee6cf35