[INFO] cloning repository https://github.com/Lucky4Luuk/craig [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lucky4Luuk/craig" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucky4Luuk%2Fcraig", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucky4Luuk%2Fcraig'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13f40093470931700a22ae2f43778bf05a0df0e4 [INFO] testing Lucky4Luuk/craig against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucky4Luuk%2Fcraig" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lucky4Luuk/craig [INFO] finished tweaking git repo https://github.com/Lucky4Luuk/craig [INFO] tweaked toml for git repo https://github.com/Lucky4Luuk/craig written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lucky4Luuk/craig on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lucky4Luuk/craig 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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 serde_cow v0.1.0 [INFO] [stderr] Downloaded uwl v0.6.0 [INFO] [stderr] Downloaded command_attr v0.5.2 [INFO] [stderr] Downloaded typesize v0.1.7 [INFO] [stderr] Downloaded camino v1.1.7 [INFO] [stderr] Downloaded typesize-derive v0.1.7 [INFO] [stderr] Downloaded async-openai v0.23.4 [INFO] [stderr] Downloaded cc v1.1.0 [INFO] [stderr] Downloaded syn v2.0.70 [INFO] [stderr] Downloaded serenity v0.12.2 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbd9fade03a361f342c3e3fe0caf721c97fdd52fb0e2517b285d5f90e518d60b [INFO] running `Command { std: "docker" "start" "-a" "bbd9fade03a361f342c3e3fe0caf721c97fdd52fb0e2517b285d5f90e518d60b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbd9fade03a361f342c3e3fe0caf721c97fdd52fb0e2517b285d5f90e518d60b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd9fade03a361f342c3e3fe0caf721c97fdd52fb0e2517b285d5f90e518d60b", kill_on_drop: false }` [INFO] [stdout] bbd9fade03a361f342c3e3fe0caf721c97fdd52fb0e2517b285d5f90e518d60b [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=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 111548a1896b3965f3b0bc27a6b3f67702a73ff6a37da816255b94d023224306 [INFO] running `Command { std: "docker" "start" "-a" "111548a1896b3965f3b0bc27a6b3f67702a73ff6a37da816255b94d023224306", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling webpki-roots v0.26.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling serenity v0.12.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rustls-webpki v0.102.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling command_attr v0.5.2 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-rustls v0.27.2 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling serde_cow v0.1.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.23.4 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling craig v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../api_key.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:54:123 [INFO] [stdout] | [INFO] [stdout] 54 | ...ase("https://openrouter.ai/api/v1").with_api_key(include_str!("../api_key.txt").trim())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../token.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let token = include_str!("../token.txt").trim().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut lock = HISTORY.lock().await; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `craig` (bin "craig") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "111548a1896b3965f3b0bc27a6b3f67702a73ff6a37da816255b94d023224306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "111548a1896b3965f3b0bc27a6b3f67702a73ff6a37da816255b94d023224306", kill_on_drop: false }` [INFO] [stdout] 111548a1896b3965f3b0bc27a6b3f67702a73ff6a37da816255b94d023224306