[INFO] cloning repository https://github.com/kaae-2/neural-net-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaae-2/neural-net-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaae-2%2Fneural-net-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaae-2%2Fneural-net-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d6073d6e0e9f6dd18fe7c3493bd0708031a56a1 [INFO] checking kaae-2/neural-net-rs against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaae-2%2Fneural-net-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaae-2/neural-net-rs on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaae-2/neural-net-rs [INFO] finished tweaking git repo https://github.com/kaae-2/neural-net-rs [INFO] tweaked toml for git repo https://github.com/kaae-2/neural-net-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kaae-2/neural-net-rs 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15ad9a255418deb510becf8306caa9094ecb504efe12f82280c4e2079af23259 [INFO] running `Command { std: "docker" "start" "-a" "15ad9a255418deb510becf8306caa9094ecb504efe12f82280c4e2079af23259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15ad9a255418deb510becf8306caa9094ecb504efe12f82280c4e2079af23259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15ad9a255418deb510becf8306caa9094ecb504efe12f82280c4e2079af23259", kill_on_drop: false }` [INFO] [stdout] 15ad9a255418deb510becf8306caa9094ecb504efe12f82280c4e2079af23259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d4f3eb0219dac2248be5cc71617c41738dbefefbd9b23c67993af286540b239 [INFO] running `Command { std: "docker" "start" "-a" "9d4f3eb0219dac2248be5cc71617c41738dbefefbd9b23c67993af286540b239", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling dot-structures v0.1.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling into-attr v0.1.1 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking impl_ops v0.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling into-attr-derive v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking graphviz-rust v0.9.0 [INFO] [stderr] Checking neural-net-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/micrograd/visualize.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute` and `dot_generator::*` [INFO] [stdout] --> src/micrograd/visualize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | dot_generator::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | dot_structures::{Attribute, Edge, EdgeTy, Graph, Id::Html, Node, NodeId, Stmt, Vertex}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/micrograd/visualize.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute` and `dot_generator::*` [INFO] [stdout] --> src/micrograd/visualize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | dot_generator::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | dot_structures::{Attribute, Edge, EdgeTy, Graph, Id::Html, Node, NodeId, Stmt, Vertex}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/transformer/tokenizer.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 71 | [INFO] [stdout] 72 | println!("counts: {:?}", counts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/transformer/tokenizer.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 71 | [INFO] [stdout] 72 | println!("counts: {:?}", counts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_dots` is never used [INFO] [stdout] --> src/micrograd/visualize.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn draw_dots(root: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vocabulary`, `merges`, and `max_token_id` are never read [INFO] [stdout] --> src/transformer/tokenizer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct BytePairEncoder { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 9 | vocabulary: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | merges: HashMap<(usize, usize), usize>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | max_token_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BytePairEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `from_utf8`, `get_token_id`, and `encode` are never used [INFO] [stdout] --> src/transformer/tokenizer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BytePairEncoder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 25 | pub fn from_utf8(&mut self, input: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_token_id(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn encode(&mut self, input: Vec) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.61s [INFO] running `Command { std: "docker" "inspect" "9d4f3eb0219dac2248be5cc71617c41738dbefefbd9b23c67993af286540b239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4f3eb0219dac2248be5cc71617c41738dbefefbd9b23c67993af286540b239", kill_on_drop: false }` [INFO] [stdout] 9d4f3eb0219dac2248be5cc71617c41738dbefefbd9b23c67993af286540b239 [INFO] checking kaae-2/neural-net-rs against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaae-2%2Fneural-net-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaae-2/neural-net-rs on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaae-2/neural-net-rs [INFO] finished tweaking git repo https://github.com/kaae-2/neural-net-rs [INFO] tweaked toml for git repo https://github.com/kaae-2/neural-net-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kaae-2/neural-net-rs 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb0d247e69de3ddf3217fadbdead3ce4e0b9a2eb8dbb23e42b6a60d2a072e066 [INFO] running `Command { std: "docker" "start" "-a" "fb0d247e69de3ddf3217fadbdead3ce4e0b9a2eb8dbb23e42b6a60d2a072e066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb0d247e69de3ddf3217fadbdead3ce4e0b9a2eb8dbb23e42b6a60d2a072e066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb0d247e69de3ddf3217fadbdead3ce4e0b9a2eb8dbb23e42b6a60d2a072e066", kill_on_drop: false }` [INFO] [stdout] fb0d247e69de3ddf3217fadbdead3ce4e0b9a2eb8dbb23e42b6a60d2a072e066 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f1e48c93f447f6c844808f35c7e8a46c6bc9f27dab3143c7412722b3bfe3fa4 [INFO] running `Command { std: "docker" "start" "-a" "6f1e48c93f447f6c844808f35c7e8a46c6bc9f27dab3143c7412722b3bfe3fa4", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling dot-structures v0.1.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling into-attr v0.1.1 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking impl_ops v0.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling into-attr-derive v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking graphviz-rust v0.9.0 [INFO] [stderr] Checking neural-net-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/micrograd/visualize.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute` and `dot_generator::*` [INFO] [stdout] --> src/micrograd/visualize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | dot_generator::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | dot_structures::{Attribute, Edge, EdgeTy, Graph, Id::Html, Node, NodeId, Stmt, Vertex}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/micrograd/visualize.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute` and `dot_generator::*` [INFO] [stdout] --> src/micrograd/visualize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | dot_generator::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | dot_structures::{Attribute, Edge, EdgeTy, Graph, Id::Html, Node, NodeId, Stmt, Vertex}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/transformer/tokenizer.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 71 | [INFO] [stdout] 72 | println!("counts: {:?}", counts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/transformer/tokenizer.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 71 | [INFO] [stdout] 72 | println!("counts: {:?}", counts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_dots` is never used [INFO] [stdout] --> src/micrograd/visualize.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn draw_dots(root: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vocabulary`, `merges`, and `max_token_id` are never read [INFO] [stdout] --> src/transformer/tokenizer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct BytePairEncoder { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 9 | vocabulary: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | merges: HashMap<(usize, usize), usize>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | max_token_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BytePairEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `from_utf8`, `get_token_id`, and `encode` are never used [INFO] [stdout] --> src/transformer/tokenizer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BytePairEncoder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 25 | pub fn from_utf8(&mut self, input: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_token_id(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn encode(&mut self, input: Vec) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.60s [INFO] running `Command { std: "docker" "inspect" "6f1e48c93f447f6c844808f35c7e8a46c6bc9f27dab3143c7412722b3bfe3fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1e48c93f447f6c844808f35c7e8a46c6bc9f27dab3143c7412722b3bfe3fa4", kill_on_drop: false }` [INFO] [stdout] 6f1e48c93f447f6c844808f35c7e8a46c6bc9f27dab3143c7412722b3bfe3fa4