[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] checking ekalosak/search against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekalosak%2Fsearch" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ekalosak/search on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d0ef862e4bfa9899f513ef3cc58bd65c925d2d8fee95bb3dafaa136c40181c6 [INFO] running `Command { std: "docker" "start" "-a" "0d0ef862e4bfa9899f513ef3cc58bd65c925d2d8fee95bb3dafaa136c40181c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d0ef862e4bfa9899f513ef3cc58bd65c925d2d8fee95bb3dafaa136c40181c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0ef862e4bfa9899f513ef3cc58bd65c925d2d8fee95bb3dafaa136c40181c6", kill_on_drop: false }` [INFO] [stdout] 0d0ef862e4bfa9899f513ef3cc58bd65c925d2d8fee95bb3dafaa136c40181c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bba8eac5600753ea6c176f5a14bfba032acb96d2715d1aba15e78efcd71006e8 [INFO] running `Command { std: "docker" "start" "-a" "bba8eac5600753ea6c176f5a14bfba032acb96d2715d1aba15e78efcd71006e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.54 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking alsa v0.7.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking clap_builder v4.3.4 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking 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] Checking derive_builder v0.12.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking reqwest-eventsource v0.4.0 [INFO] [stderr] Checking openai v1.0.0-alpha.11 [INFO] [stderr] Checking 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[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] 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] Some errors have detailed explanations: E0499, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `search` (bin "search" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "bba8eac5600753ea6c176f5a14bfba032acb96d2715d1aba15e78efcd71006e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bba8eac5600753ea6c176f5a14bfba032acb96d2715d1aba15e78efcd71006e8", kill_on_drop: false }` [INFO] [stdout] bba8eac5600753ea6c176f5a14bfba032acb96d2715d1aba15e78efcd71006e8