[INFO] cloning repository https://github.com/Galileo-dev/tess-gpt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Galileo-dev/tess-gpt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGalileo-dev%2Ftess-gpt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGalileo-dev%2Ftess-gpt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51f4d59b88907fc142fe394a3495ee2f53b8d711 [INFO] checking Galileo-dev/tess-gpt against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGalileo-dev%2Ftess-gpt" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Galileo-dev/tess-gpt [INFO] finished tweaking git repo https://github.com/Galileo-dev/tess-gpt [INFO] tweaked toml for git repo https://github.com/Galileo-dev/tess-gpt written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Galileo-dev/tess-gpt on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Galileo-dev/tess-gpt 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "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 crossbeam-deque v0.8.3 [INFO] [stderr] Downloaded rayon-core v1.11.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.14 [INFO] [stderr] Downloaded crossbeam-utils v0.8.15 [INFO] [stderr] Downloaded crossbeam-channel v0.5.7 [INFO] [stderr] Downloaded rayon v1.7.0 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b134695f3b82995b5f96274d96e3cf542db91bf9b71ce2a99aebd83647f94bf1 [INFO] running `Command { std: "docker" "start" "-a" "b134695f3b82995b5f96274d96e3cf542db91bf9b71ce2a99aebd83647f94bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b134695f3b82995b5f96274d96e3cf542db91bf9b71ce2a99aebd83647f94bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b134695f3b82995b5f96274d96e3cf542db91bf9b71ce2a99aebd83647f94bf1", kill_on_drop: false }` [INFO] [stdout] b134695f3b82995b5f96274d96e3cf542db91bf9b71ce2a99aebd83647f94bf1 [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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6773ebf48e508529eb7933c3843919eecd000970bb586fa9ae127fe55d04f77b [INFO] running `Command { std: "docker" "start" "-a" "6773ebf48e508529eb7933c3843919eecd000970bb586fa9ae127fe55d04f77b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking crossbeam-channel v0.5.7 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking tess-math v0.1.0 (/opt/rustwide/workdir/tess-math) [INFO] [stdout] warning: unused import: `crate::math::Tensor` [INFO] [stdout] --> tess-math/src/language_models/bigram_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> tess-math/src/math/tensor/tensor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::range` [INFO] [stdout] --> tess-math/src/math/tensor/tensor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::range; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RangeFrom`, `RangeFull`, `RangeInclusive`, `RangeToInclusive`, `RangeTo`, `Range`, and `mem` [INFO] [stdout] --> tess-math/src/math/tensor/tensor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | ops::{Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::Tensor` [INFO] [stdout] --> tess-math/src/language_models/bigram_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> tess-math/src/math/tensor/tensor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::range` [INFO] [stdout] --> tess-math/src/math/tensor/tensor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::range; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RangeFrom`, `RangeFull`, `RangeInclusive`, `RangeToInclusive`, `RangeTo`, `Range`, and `mem` [INFO] [stdout] --> tess-math/src/math/tensor/tensor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | ops::{Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> tess-math/src/language_models/token_embedding_table.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> tess-math/src/language_models/token_embedding_table.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_index` is assigned to, but never used [INFO] [stdout] --> tess-math/src/math/tensor/tensor_arithmetic.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut new_index = offset; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_new_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_index` is never read [INFO] [stdout] --> tess-math/src/math/tensor/tensor_arithmetic.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | new_index += old_index * stride; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token_embedding_table` is never read [INFO] [stdout] --> tess-math/src/language_models/bigram_model.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BigramLanguageModel { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 9 | token_embedding_table: TokenEmbeddingTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table` is never read [INFO] [stdout] --> tess-math/src/language_models/token_embedding_table.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TokenEmbeddingTable { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 4 | table: Tensor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `range_to_indices` is never used [INFO] [stdout] --> tess-math/src/math/tensor/tensor.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn range_to_indices(range: impl std::ops::RangeBounds, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> tess-math/src/math/tensor/tensor_arithmetic.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 30 | / impl Tensor [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | T: Copy + Debug, [INFO] [stdout] | |____________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | fn index(&self, row: usize, col: usize) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tess-math/src/math/tensor/tensor_iter.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn iter(&self) -> TensorIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | pub fn iter(&self) -> TensorIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> tess-math/src/language_models/token_embedding_table.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> tess-math/src/language_models/token_embedding_table.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tess-system v0.1.0 (/opt/rustwide/workdir/tess-system) [INFO] [stdout] warning: variable `new_index` is assigned to, but never used [INFO] [stdout] --> tess-math/src/math/tensor/tensor_arithmetic.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut new_index = offset; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_new_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_index` is never read [INFO] [stdout] --> tess-math/src/math/tensor/tensor_arithmetic.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | new_index += old_index * stride; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tess-math/src/math/tensor/mod.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut tensor = Tensor::new(vec![1, 2, 3, 4, 5, 6], vec![2, 3]); [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] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tess-math/src/math/tensor/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut tensor = Tensor::new(vec![1, 2, 3, 4, 5, 6], vec![2, 3]); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tensor` [INFO] [stdout] --> tess-math/src/math/tensor/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut tensor = Tensor::new(vec![1, 2, 3, 4, 5, 6], vec![2, 3]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tensor2` [INFO] [stdout] --> tess-math/src/math/tensor/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let tensor2: Tensor = Tensor::new(vec![1, 2, 3, 4, 5, 6], vec![2, 3]); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token_embedding_table` is never read [INFO] [stdout] --> tess-math/src/language_models/bigram_model.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BigramLanguageModel { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 9 | token_embedding_table: TokenEmbeddingTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table` is never read [INFO] [stdout] --> tess-math/src/language_models/token_embedding_table.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TokenEmbeddingTable { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 4 | table: Tensor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `range_to_indices` is never used [INFO] [stdout] --> tess-math/src/math/tensor/tensor.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn range_to_indices(range: impl std::ops::RangeBounds, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> tess-math/src/math/tensor/tensor_arithmetic.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 30 | / impl Tensor [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | T: Copy + Debug, [INFO] [stdout] | |____________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | fn index(&self, row: usize, col: usize) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tess-math/src/math/tensor/tensor_iter.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn iter(&self) -> TensorIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | pub fn iter(&self) -> TensorIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `encode` should have an upper camel case name [INFO] [stdout] --> tess-system/src/tokenizer.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait encode { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Encode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `decode` should have an upper camel case name [INFO] [stdout] --> tess-system/src/tokenizer.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait decode { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `encode` should have an upper camel case name [INFO] [stdout] --> tess-system/src/tokenizer.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait encode { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Encode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `decode` should have an upper camel case name [INFO] [stdout] --> tess-system/src/tokenizer.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait decode { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> tess-system/src/tokenizer.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::{ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bigram_model` in this scope [INFO] [stdout] --> tess-math/examples/bigram_language_model.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | bigram_model.train(&dataset); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigramLanguageModel` [INFO] [stdout] --> tess-math/examples/bigram_language_model.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use tess_math::language_models::{BigramLanguageModel, LanguageModel, LanguageModelDataset}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> tess-system/src/tokenizer.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::{ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] Checking tess-gpt v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `tess-math` (example "bigram_language_model") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `vocab_size` [INFO] [stdout] --> tess-system/examples/tokenizer.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let vocab_size = vocab.len(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vocab_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vocab` [INFO] [stdout] --> tess-system/examples/benchmark.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let vocab: String; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vocab` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vocab_size` [INFO] [stdout] --> tess-system/examples/benchmark.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let vocab_size: usize; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vocab_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokenizer` [INFO] [stdout] --> tess-system/examples/benchmark.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let tokenizer: Tokenizer; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokenizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> tess-system/examples/benchmark.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let input: String; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded` [INFO] [stdout] --> tess-system/examples/benchmark.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let encoded: Vec; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded` [INFO] [stdout] --> tess-system/examples/benchmark.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let decoded: String; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> tess-system/examples/benchmark.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let start: std::time::Instant; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> tess-system/examples/benchmark.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let end: std::time::Instant; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vocab_size` [INFO] [stdout] --> tess-system/examples/benchmark.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let vocab_size = vocab.len(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vocab_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded` [INFO] [stdout] --> tess-system/examples/benchmark.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let decoded = tokenizer.decode(encoded); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tess-system/examples/benchmark.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | tokenizer_iter_char(1000, 11, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = tokenizer_iter_char(1000, 11, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tess-system/examples/benchmark.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | tokenizer_iter_char(1_000_000, 10000, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = tokenizer_iter_char(1_000_000, 10000, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/shakespear_tutorial.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | println!("index 1 is {:?}", data.get(.., 1)); [INFO] [stdout] | --- ^^ expected `&[usize]`, found `RangeFull` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | println!("index 1 is {:?}", data.get(.., 1)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/shakespear_tutorial.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | println!("the first 100: {:?}", data.get(.., 0..100)); [INFO] [stdout] | ^^^ -- expected `&[usize]`, found `RangeFull` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:104:47 [INFO] [stdout] | [INFO] [stdout] 104 | println!("the first 100: {:?}", data.get(.., 0..100)); [INFO] [stdout] | ^^ [INFO] [stdout] note: expected `usize`, found `Range<{integer}>` [INFO] [stdout] --> examples/shakespear_tutorial.rs:104:51 [INFO] [stdout] | [INFO] [stdout] 104 | println!("the first 100: {:?}", data.get(.., 0..100)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `std::ops::Range<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/shakespear_tutorial.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | let train_data = data.get(.., ..n); [INFO] [stdout] | ^^^ -- expected `&[usize]`, found `RangeFull` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:108:31 [INFO] [stdout] | [INFO] [stdout] 108 | let train_data = data.get(.., ..n); [INFO] [stdout] | ^^ [INFO] [stdout] note: expected `usize`, found `RangeTo` [INFO] [stdout] --> examples/shakespear_tutorial.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | let train_data = data.get(.., ..n); [INFO] [stdout] | ^^^ [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `RangeTo` [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/shakespear_tutorial.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let test_data = data.get(.., n..); [INFO] [stdout] | ^^^ -- expected `&[usize]`, found `RangeFull` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | let test_data = data.get(.., n..); [INFO] [stdout] | ^^ [INFO] [stdout] note: expected `usize`, found `RangeFrom` [INFO] [stdout] --> examples/shakespear_tutorial.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | let test_data = data.get(.., n..); [INFO] [stdout] | ^^^ [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `std::ops::RangeFrom` [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/shakespear_tutorial.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | let block = train_data.get(.., ..=block_size); [INFO] [stdout] | ^^^ -- expected `&[usize]`, found `RangeFull` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | let block = train_data.get(.., ..=block_size); [INFO] [stdout] | ^^ [INFO] [stdout] note: expected `usize`, found `RangeToInclusive<{integer}>` [INFO] [stdout] --> examples/shakespear_tutorial.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 114 | let block = train_data.get(.., ..=block_size); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `std::ops::RangeToInclusive<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/shakespear_tutorial.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | let x = train_data.get(.., ..block_size); [INFO] [stdout] | ^^^ -- expected `&[usize]`, found `RangeFull` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | let x = train_data.get(.., ..block_size); [INFO] [stdout] | ^^ [INFO] [stdout] note: expected `usize`, found `RangeTo<{integer}>` [INFO] [stdout] --> examples/shakespear_tutorial.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | let x = train_data.get(.., ..block_size); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/shakespear_tutorial.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let y = train_data.get(.., 1..=block_size); [INFO] [stdout] | ^^^ -- expected `&[usize]`, found `RangeFull` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | let y = train_data.get(.., 1..=block_size); [INFO] [stdout] | ^^ [INFO] [stdout] note: expected `usize`, found `RangeInclusive<{integer}>` [INFO] [stdout] --> examples/shakespear_tutorial.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | let y = train_data.get(.., 1..=block_size); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `std::ops::RangeInclusive<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/shakespear_tutorial.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let context = x.get(.., ..=t); [INFO] [stdout] | ^^^ -- expected `&[usize]`, found `RangeFull` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | let context = x.get(.., ..=t); [INFO] [stdout] | ^^ [INFO] [stdout] note: expected `usize`, found `RangeToInclusive<{integer}>` [INFO] [stdout] --> examples/shakespear_tutorial.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | let context = x.get(.., ..=t); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `std::ops::RangeToInclusive<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/shakespear_tutorial.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | let target = y.get(.., t); [INFO] [stdout] | --- ^^ expected `&[usize]`, found `RangeFull` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | let target = y.get(.., t); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/shakespear_tutorial.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | let context = xb.get(b, 0..=t); [INFO] [stdout] | ^^^ - ----- unexpected argument #2 of type `std::ops::RangeInclusive` [INFO] [stdout] | | [INFO] [stdout] | argument #1 of type `&[usize]` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] help: did you mean [INFO] [stdout] | [INFO] [stdout] 141 - let context = xb.get(b, 0..=t); [INFO] [stdout] 141 + let context = xb.get(/* &[usize] */, b); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/shakespear_tutorial.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | let target = yb.get(b, t); [INFO] [stdout] | --- ^ expected `&[usize]`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/shakespear_tutorial.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | println!("data: {:?}", data.get(.., 0..100)); [INFO] [stdout] | ^^^ -- expected `&[usize]`, found `RangeFull` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | println!("data: {:?}", data.get(.., 0..100)); [INFO] [stdout] | ^^ [INFO] [stdout] note: expected `usize`, found `Range<{integer}>` [INFO] [stdout] --> examples/shakespear_tutorial.rs:172:41 [INFO] [stdout] | [INFO] [stdout] 172 | println!("data: {:?}", data.get(.., 0..100)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `std::ops::Range<{integer}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/shakespear_tutorial.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | data.get(.., adjusted_index..adjusted_index + block_size) [INFO] [stdout] | ^^^ -- expected `&[usize]`, found `RangeFull` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | data.get(.., adjusted_index..adjusted_index + block_size) [INFO] [stdout] | ^^ [INFO] [stdout] note: expected `usize`, found `Range` [INFO] [stdout] --> examples/shakespear_tutorial.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | data.get(.., adjusted_index..adjusted_index + block_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `std::ops::Range` [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/shakespear_tutorial.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | data.get(.., (adjusted_index + 1)..=(adjusted_index + block_size)) [INFO] [stdout] | ^^^ -- expected `&[usize]`, found `RangeFull` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `..` to skip providing a value for expected fields, but this is only supported on non-tuple struct literals when `#![feature(default_field_values)]` is enabled; it is instead interpreted as a `std::ops::RangeFull` literal [INFO] [stdout] --> examples/shakespear_tutorial.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | data.get(.., (adjusted_index + 1)..=(adjusted_index + block_size)) [INFO] [stdout] | ^^ [INFO] [stdout] note: expected `usize`, found `RangeInclusive` [INFO] [stdout] --> examples/shakespear_tutorial.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | data.get(.., (adjusted_index + 1)..=(adjusted_index + block_size)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found struct `std::ops::RangeInclusive` [INFO] [stdout] note: method defined here [INFO] [stdout] --> tess-math/src/math/tensor/tensor_getter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, indices: &[usize], dim: usize) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tess-gpt` (example "shakespear_tutorial") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "6773ebf48e508529eb7933c3843919eecd000970bb586fa9ae127fe55d04f77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6773ebf48e508529eb7933c3843919eecd000970bb586fa9ae127fe55d04f77b", kill_on_drop: false }` [INFO] [stdout] 6773ebf48e508529eb7933c3843919eecd000970bb586fa9ae127fe55d04f77b