[INFO] cloning repository https://github.com/lucasavila00/lmlogits [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucasavila00/lmlogits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasavila00%2Flmlogits", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasavila00%2Flmlogits'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d8b9736d3dbfa47610b189b43c6f9a0c6287ed4 [INFO] checking lucasavila00/lmlogits against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasavila00%2Flmlogits" "/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/lucasavila00/lmlogits [INFO] finished tweaking git repo https://github.com/lucasavila00/lmlogits [INFO] tweaked toml for git repo https://github.com/lucasavila00/lmlogits written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucasavila00/lmlogits on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucasavila00/lmlogits 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.20.3 [INFO] [stderr] Downloaded monostate-impl v0.1.12 [INFO] [stderr] Downloaded vob v3.0.3 [INFO] [stderr] Downloaded pyo3-build-config v0.20.3 [INFO] [stderr] Downloaded monostate v0.1.12 [INFO] [stderr] Downloaded sparsevec v0.2.0 [INFO] [stderr] Downloaded cfgrammar v0.13.4 [INFO] [stderr] Downloaded lrtable v0.13.4 [INFO] [stderr] Downloaded pyo3-macros-backend v0.20.3 [INFO] [stderr] Downloaded packedvec v1.2.4 [INFO] [stderr] Downloaded pyo3-ffi v0.20.3 [INFO] [stderr] Downloaded tokenizers v0.19.1 [INFO] [stderr] Downloaded pyo3 v0.20.3 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 976ec5b744385f3df14139b6c09d63df2464f289b3f2668eebeaf48653b4f328 [INFO] running `Command { std: "docker" "start" "-a" "976ec5b744385f3df14139b6c09d63df2464f289b3f2668eebeaf48653b4f328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "976ec5b744385f3df14139b6c09d63df2464f289b3f2668eebeaf48653b4f328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "976ec5b744385f3df14139b6c09d63df2464f289b3f2668eebeaf48653b4f328", kill_on_drop: false }` [INFO] [stdout] 976ec5b744385f3df14139b6c09d63df2464f289b3f2668eebeaf48653b4f328 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 143ef911bc1c8febdcad4f8cbd53c2d551b15db9cee30622a7e42c3ae3b21c6a [INFO] running `Command { std: "docker" "start" "-a" "143ef911bc1c8febdcad4f8cbd53c2d551b15db9cee30622a7e42c3ae3b21c6a", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling vob v3.0.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling monostate-impl v0.1.12 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Checking packedvec v1.2.4 [INFO] [stderr] Checking serde_json v1.0.116 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking monostate v0.1.12 [INFO] [stderr] Checking cfgrammar v0.13.4 [INFO] [stderr] Checking sparsevec v0.2.0 [INFO] [stderr] Checking lrtable v0.13.4 [INFO] [stderr] Checking tokenizers v0.19.1 [INFO] [stderr] Checking lmlogits v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `to_hex_string` is never used [INFO] [stdout] --> src/aici/bytes.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn to_hex_string(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/aici/recognizer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl> StackRecognizer { [INFO] [stdout] | --------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `alloc`, `num_set`, `negated`, `as_ptr`, and `set` are never used [INFO] [stdout] --> src/aici/svob.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl SimpleVob { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn alloc(size: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn num_set(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn negated(&self, size: usize) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub unsafe fn as_ptr(&self) -> *const u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn set(&mut self, tok: TokenId, val: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unknown`, `Padding`, `Separator`, and `BeginningOfSentence` are never constructed [INFO] [stdout] --> src/aici/toktree.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum SpecialToken { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 13 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Padding, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Separator, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | BeginningOfSentence, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecialToken` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `byte_allowed` is never used [INFO] [stdout] --> src/aici/toktree.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Recognizer { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 32 | fn byte_allowed(&mut self, byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/aici/toktree.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl TokTrie { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn info(&self) -> &TokRxInfo { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn token_set_dbg(&self, ts: &SimpleVob) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn alloc_logits(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn tokens_dbg(&self, toks: &[u32]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn token_dbg(&self, idx: u32) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn token_str(&self, idx: u32) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn decode(&self, tokens: &[TokenId]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn decode_str(&self, tokens: &[TokenId]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn has_extensions(&self, bytes: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn max_token_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn append_tokens(&self, r: &mut impl Recognizer, ts: &[TokenId]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 16 | impl TokTrie { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `TokTrie` is not local [INFO] [stdout] | `TokTrie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 31 | impl RegexRecognizer { [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | `RegexRecognizer` is not local [INFO] [stdout] | `RegexRecognizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 57 | impl YaccRecognizer { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `YaccRecognizer` is not local [INFO] [stdout] | `YaccRecognizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_hex_string` is never used [INFO] [stdout] --> src/aici/bytes.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn to_hex_string(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/aici/recognizer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl> StackRecognizer { [INFO] [stdout] | --------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `alloc`, `num_set`, `negated`, `as_ptr`, and `set` are never used [INFO] [stdout] --> src/aici/svob.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl SimpleVob { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn alloc(size: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn num_set(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn negated(&self, size: usize) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub unsafe fn as_ptr(&self) -> *const u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn set(&mut self, tok: TokenId, val: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unknown`, `Padding`, `Separator`, and `BeginningOfSentence` are never constructed [INFO] [stdout] --> src/aici/toktree.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum SpecialToken { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 13 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Padding, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Separator, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | BeginningOfSentence, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecialToken` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `byte_allowed` is never used [INFO] [stdout] --> src/aici/toktree.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Recognizer { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 32 | fn byte_allowed(&mut self, byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/aici/toktree.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl TokTrie { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn info(&self) -> &TokRxInfo { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn token_set_dbg(&self, ts: &SimpleVob) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn alloc_logits(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn tokens_dbg(&self, toks: &[u32]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn token_dbg(&self, idx: u32) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn token_str(&self, idx: u32) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn decode(&self, tokens: &[TokenId]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn decode_str(&self, tokens: &[TokenId]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn has_extensions(&self, bytes: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn max_token_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn append_tokens(&self, r: &mut impl Recognizer, ts: &[TokenId]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 16 | impl TokTrie { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `TokTrie` is not local [INFO] [stdout] | `TokTrie` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 31 | impl RegexRecognizer { [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | `RegexRecognizer` is not local [INFO] [stdout] | `RegexRecognizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 57 | impl YaccRecognizer { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `YaccRecognizer` is not local [INFO] [stdout] | `YaccRecognizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aici/toktree.rs:380:26 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn node_children(&self, n: &TrieNode) -> NodeChildren { [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] 380 | pub fn node_children(&self, n: &TrieNode) -> NodeChildren<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aici/toktree.rs:380:26 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn node_children(&self, n: &TrieNode) -> NodeChildren { [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] 380 | pub fn node_children(&self, n: &TrieNode) -> NodeChildren<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.71s [INFO] running `Command { std: "docker" "inspect" "143ef911bc1c8febdcad4f8cbd53c2d551b15db9cee30622a7e42c3ae3b21c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143ef911bc1c8febdcad4f8cbd53c2d551b15db9cee30622a7e42c3ae3b21c6a", kill_on_drop: false }` [INFO] [stdout] 143ef911bc1c8febdcad4f8cbd53c2d551b15db9cee30622a7e42c3ae3b21c6a