[INFO] cloning repository https://github.com/ekalosak/search [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ekalosak/search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekalosak%2Fsearch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekalosak%2Fsearch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5ab073a0d9caaeac5846a24384cbc431aa7b337 [INFO] testing ekalosak/search against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekalosak%2Fsearch" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ekalosak/search on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ekalosak/search [INFO] finished tweaking git repo https://github.com/ekalosak/search [INFO] tweaked toml for git repo https://github.com/ekalosak/search written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ekalosak/search 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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openai v1.0.0-alpha.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7299ef8eeb1e42f1671e8d5df2f396e1072adb58a76b76d68152bd73e4d766e [INFO] running `Command { std: "docker" "start" "-a" "c7299ef8eeb1e42f1671e8d5df2f396e1072adb58a76b76d68152bd73e4d766e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7299ef8eeb1e42f1671e8d5df2f396e1072adb58a76b76d68152bd73e4d766e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7299ef8eeb1e42f1671e8d5df2f396e1072adb58a76b76d68152bd73e4d766e", kill_on_drop: false }` [INFO] [stdout] c7299ef8eeb1e42f1671e8d5df2f396e1072adb58a76b76d68152bd73e4d766e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 633532b00a5dd9756b322569c58ce76886b928cb9bf4afc61da30772ca852037 [INFO] running `Command { std: "docker" "start" "-a" "633532b00a5dd9756b322569c58ce76886b928cb9bf4afc61da30772ca852037", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling openssl v0.10.54 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling alsa v0.7.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling clap_builder v4.3.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling clap v4.3.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.2.2 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling openai v1.0.0-alpha.11 [INFO] [stderr] Compiling search v23.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `buf` does not live long enough [INFO] [stdout] --> src/audio.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 10 | let mut buf = BufWriter::new(file); [INFO] [stdout] | ------- binding `buf` declared here [INFO] [stdout] ... [INFO] [stdout] 14 | let stream = input_device [INFO] [stdout] | __________________- [INFO] [stdout] 15 | | .build_input_stream( [INFO] [stdout] 16 | | &StreamConfig::from(config), [INFO] [stdout] 17 | | create_callback(&mut buf), [INFO] [stdout] | | ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... | [INFO] [stdout] 21 | | None, [INFO] [stdout] 22 | | ) [INFO] [stdout] | |_____________- argument requires that `buf` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 29 | } [INFO] [stdout] | - `buf` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `buf` as mutable more than once at a time [INFO] [stdout] --> src/audio.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 14 | let stream = input_device [INFO] [stdout] | __________________- [INFO] [stdout] 15 | | .build_input_stream( [INFO] [stdout] 16 | | &StreamConfig::from(config), [INFO] [stdout] 17 | | create_callback(&mut buf), [INFO] [stdout] | | -------- first mutable borrow occurs here [INFO] [stdout] ... | [INFO] [stdout] 21 | | None, [INFO] [stdout] 22 | | ) [INFO] [stdout] | |_____________- argument requires that `buf` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 27 | buf.flush(); [INFO] [stdout] | ^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `search` (bin "search") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "633532b00a5dd9756b322569c58ce76886b928cb9bf4afc61da30772ca852037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "633532b00a5dd9756b322569c58ce76886b928cb9bf4afc61da30772ca852037", kill_on_drop: false }` [INFO] [stdout] 633532b00a5dd9756b322569c58ce76886b928cb9bf4afc61da30772ca852037