[INFO] cloning repository https://github.com/Strange-Knoll/a-ram [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Strange-Knoll/a-ram" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange-Knoll%2Fa-ram", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange-Knoll%2Fa-ram'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfa6a282a4cbc1bf593639ab2338bf24f9c7e422 [INFO] checking Strange-Knoll/a-ram against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange-Knoll%2Fa-ram" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Strange-Knoll/a-ram [INFO] finished tweaking git repo https://github.com/Strange-Knoll/a-ram [INFO] tweaked toml for git repo https://github.com/Strange-Knoll/a-ram written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Strange-Knoll/a-ram on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Strange-Knoll/a-ram 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-openai v0.15.0 [INFO] [stderr] Downloaded async-convert v1.0.0 [INFO] [stderr] Downloaded reqwest-eventsource v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca4a8677a3f45b83178597b6f8dddd1ab2425e9180b032a97bfea8a21d760e6a [INFO] running `Command { std: "docker" "start" "-a" "ca4a8677a3f45b83178597b6f8dddd1ab2425e9180b032a97bfea8a21d760e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca4a8677a3f45b83178597b6f8dddd1ab2425e9180b032a97bfea8a21d760e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4a8677a3f45b83178597b6f8dddd1ab2425e9180b032a97bfea8a21d760e6a", kill_on_drop: false }` [INFO] [stdout] ca4a8677a3f45b83178597b6f8dddd1ab2425e9180b032a97bfea8a21d760e6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 077935194a0f83211f190002be408992f9c2ffe2f738e1572c045a33c42c2efc [INFO] running `Command { std: "docker" "start" "-a" "077935194a0f83211f190002be408992f9c2ffe2f738e1572c045a33c42c2efc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking async-convert v1.0.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking serde v1.0.190 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking reqwest-eventsource v0.4.0 [INFO] [stderr] Checking async-openai v0.15.0 [INFO] [stderr] Checking a-ram v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | for (i, token) in tokens.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | for (i, token) in tokens.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 25 | / loop{ [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | let mut query = String::new(); [INFO] [stdout] 28 | | std::io::stdin().read_line(&mut query)?; [INFO] [stdout] ... | [INFO] [stdout] 63 | | styled_println(Color::Magenta, Color::Reset, Token::tokenize(&memory.to_string()).len().to_string().as_str())?; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 65 | [INFO] [stdout] 66 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 25 | / loop{ [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | let mut query = String::new(); [INFO] [stdout] 28 | | std::io::stdin().read_line(&mut query)?; [INFO] [stdout] ... | [INFO] [stdout] 63 | | styled_println(Color::Magenta, Color::Reset, Token::tokenize(&memory.to_string()).len().to_string().as_str())?; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 65 | [INFO] [stdout] 66 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.01s [INFO] running `Command { std: "docker" "inspect" "077935194a0f83211f190002be408992f9c2ffe2f738e1572c045a33c42c2efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "077935194a0f83211f190002be408992f9c2ffe2f738e1572c045a33c42c2efc", kill_on_drop: false }` [INFO] [stdout] 077935194a0f83211f190002be408992f9c2ffe2f738e1572c045a33c42c2efc