[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] testing Strange-Knoll/a-ram against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange-Knoll%2Fa-ram" "/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/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Strange-Knoll/a-ram on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 932ed886ab32d6377e04299f6505978646134ac3f84714c411c6d6663373416e [INFO] running `Command { std: "docker" "start" "-a" "932ed886ab32d6377e04299f6505978646134ac3f84714c411c6d6663373416e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "932ed886ab32d6377e04299f6505978646134ac3f84714c411c6d6663373416e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "932ed886ab32d6377e04299f6505978646134ac3f84714c411c6d6663373416e", kill_on_drop: false }` [INFO] [stdout] 932ed886ab32d6377e04299f6505978646134ac3f84714c411c6d6663373416e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdf85d64becb09187e2458bc14ebac8a29a5f102a062ed8f71d4f31075314d7e [INFO] running `Command { std: "docker" "start" "-a" "bdf85d64becb09187e2458bc14ebac8a29a5f102a062ed8f71d4f31075314d7e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [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 derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [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 rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling async-openai v0.15.0 [INFO] [stderr] Compiling 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: 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 50.27s [INFO] running `Command { std: "docker" "inspect" "bdf85d64becb09187e2458bc14ebac8a29a5f102a062ed8f71d4f31075314d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf85d64becb09187e2458bc14ebac8a29a5f102a062ed8f71d4f31075314d7e", kill_on_drop: false }` [INFO] [stdout] bdf85d64becb09187e2458bc14ebac8a29a5f102a062ed8f71d4f31075314d7e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac18fa97006f60c2be3c68c692c087fa665004302f158fdba02b22e2746d63b8 [INFO] running `Command { std: "docker" "start" "-a" "ac18fa97006f60c2be3c68c692c087fa665004302f158fdba02b22e2746d63b8", kill_on_drop: false }` [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] [stderr] Compiling a-ram v0.1.0 (/opt/rustwide/workdir) [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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "ac18fa97006f60c2be3c68c692c087fa665004302f158fdba02b22e2746d63b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac18fa97006f60c2be3c68c692c087fa665004302f158fdba02b22e2746d63b8", kill_on_drop: false }` [INFO] [stdout] ac18fa97006f60c2be3c68c692c087fa665004302f158fdba02b22e2746d63b8 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 934e26bacbfd45e5e6af5de39ad6eb33ed7d744d3e8f078862d1dee58320a680 [INFO] running `Command { std: "docker" "start" "-a" "934e26bacbfd45e5e6af5de39ad6eb33ed7d744d3e8f078862d1dee58320a680", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:136:14 [INFO] [stderr] | [INFO] [stderr] 136 | for (i, token) in tokens.iter().enumerate(){ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `a-ram` (lib) generated 1 warning [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 25 | / loop{ [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | let mut query = String::new(); [INFO] [stderr] 28 | | std::io::stdin().read_line(&mut query)?; [INFO] [stderr] ... | [INFO] [stderr] 63 | | styled_println(Color::Magenta, Color::Reset, Token::tokenize(&memory.to_string()).len().to_string().as_str())?; [INFO] [stderr] 64 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 65 | [INFO] [stderr] 66 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `a-ram` (bin "a-ram" test) generated 1 warning [INFO] [stderr] warning: `a-ram` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/a_ram-49a80cd73066c66a) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/a_ram-54b8fe0f9066eb77) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests a_ram [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "934e26bacbfd45e5e6af5de39ad6eb33ed7d744d3e8f078862d1dee58320a680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "934e26bacbfd45e5e6af5de39ad6eb33ed7d744d3e8f078862d1dee58320a680", kill_on_drop: false }` [INFO] [stdout] 934e26bacbfd45e5e6af5de39ad6eb33ed7d744d3e8f078862d1dee58320a680