[INFO] fetching crate inferlet 0.1.0... [INFO] checking inferlet-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate inferlet 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate inferlet 0.1.0 [INFO] finished tweaking crates.io crate inferlet 0.1.0 [INFO] tweaked toml for crates.io crate inferlet 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate inferlet 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate inferlet 0.1.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.14.2+wasi-0.2.4` for dependency `wasi` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6dc4a9aa6b7bae088982132a8adad3982d0193fd9dc8ac0c77e585de5f19b89 [INFO] running `Command { std: "docker" "start" "-a" "b6dc4a9aa6b7bae088982132a8adad3982d0193fd9dc8ac0c77e585de5f19b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6dc4a9aa6b7bae088982132a8adad3982d0193fd9dc8ac0c77e585de5f19b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6dc4a9aa6b7bae088982132a8adad3982d0193fd9dc8ac0c77e585de5f19b89", kill_on_drop: false }` [INFO] [stdout] b6dc4a9aa6b7bae088982132a8adad3982d0193fd9dc8ac0c77e585de5f19b89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b13717b6b943ff0bd9c7c71df304a7529a64aa0b71a5aa4794cb4e10d2848d3 [INFO] running `Command { std: "docker" "start" "-a" "5b13717b6b943ff0bd9c7c71df304a7529a64aa0b71a5aa4794cb4e10d2848d3", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.14.2+wasi-0.2.4` for dependency `wasi` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling wasmparser v0.235.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling wasm-encoder v0.235.0 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling wit-bindgen-rust v0.43.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling wit-bindgen-rt v0.39.0 [INFO] [stderr] Compiling wit-bindgen-rt v0.43.0 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.43.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking wasi v0.14.2+wasi-0.2.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling wstd-macro v0.5.3 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Compiling inferlet-macros v0.1.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking wstd v0.5.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling wit-parser v0.235.0 [INFO] [stderr] Compiling wasm-metadata v0.235.0 [INFO] [stderr] Compiling wit-bindgen-core v0.43.0 [INFO] [stderr] Compiling wit-component v0.235.0 [INFO] [stderr] Checking wit-bindgen v0.43.0 [INFO] [stderr] Checking inferlet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `forward_text` [INFO] [stdout] --> src/lib.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | allocate, core, forward, forward_text, input_image, input_text, output_text, tokenize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `forward_text` [INFO] [stdout] --> src/lib.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | allocate, core, forward, forward_text, input_image, input_text, output_text, tokenize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/context.rs:624:19 [INFO] [stdout] | [INFO] [stdout] 624 | for ((mut beam, generated, score), next_dist) in beams.into_iter().zip(next_dists) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/context.rs:624:19 [INFO] [stdout] | [INFO] [stdout] 624 | for ((mut beam, generated, score), next_dist) in beams.into_iter().zip(next_dists) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/traits/allocate.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 142 | panic!("Embeds cannot be imported"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 143 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/traits/allocate.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 142 | panic!("Embeds cannot be imported"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 143 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/traits/allocate.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | queue: &core::Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/traits/allocate.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | ids: &[u32], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/traits/allocate.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CapacityTooSmall` is never constructed [INFO] [stdout] --> src/pool.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ResourcePoolError { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 8 | /// The new capacity is smaller than the number of already allocated IDs. [INFO] [stdout] 9 | CapacityTooSmall, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourcePoolError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_capacity`, `acquire`, and `release` are never used [INFO] [stdout] --> src/pool.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 53 | / impl ResourcePool [INFO] [stdout] 54 | | where [INFO] [stdout] 55 | | T: Allocator, [INFO] [stdout] | |_________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn set_capacity(&mut self, capacity: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn acquire(&mut self, queue: &core::Queue) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn release(&mut self, queue: &core::Queue, id: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_capacity`, `acquire`, and `release` are never used [INFO] [stdout] --> src/pool.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 270 | / impl RcResourcePool [INFO] [stdout] 271 | | where [INFO] [stdout] 272 | | T: Allocator, [INFO] [stdout] | |_________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn set_capacity(&mut self, capacity: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn acquire(&mut self, queue: &core::Queue) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn release(&mut self, queue: &core::Queue, id: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `causal_mask` is never used [INFO] [stdout] --> src/traits/forward_text.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn causal_mask(num_total_tokens: u32, num_input_tokens: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/brle.rs:348:22 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn iter_runs(&self) -> RunIterator { [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] 348 | pub fn iter_runs(&self) -> RunIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/traits/forward_text.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn forward_text( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 ~ fn forward_text( [INFO] [stdout] 18 | &self, [INFO] [stdout] ... [INFO] [stdout] 24 | output_indices: &[u32], [INFO] [stdout] 25 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/traits/output_text.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | async fn get_next_token_distribution(&self, embed_ids: &[u32]) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 25 - async fn get_next_token_distribution(&self, embed_ids: &[u32]) -> Vec; [INFO] [stdout] 25 + fn get_next_token_distribution(&self, embed_ids: &[u32]) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/traits/allocate.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | queue: &core::Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/traits/allocate.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | ids: &[u32], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/traits/allocate.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CapacityTooSmall` is never constructed [INFO] [stdout] --> src/pool.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ResourcePoolError { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 8 | /// The new capacity is smaller than the number of already allocated IDs. [INFO] [stdout] 9 | CapacityTooSmall, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourcePoolError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_capacity`, `acquire`, and `release` are never used [INFO] [stdout] --> src/pool.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 53 | / impl ResourcePool [INFO] [stdout] 54 | | where [INFO] [stdout] 55 | | T: Allocator, [INFO] [stdout] | |_________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn set_capacity(&mut self, capacity: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn acquire(&mut self, queue: &core::Queue) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn release(&mut self, queue: &core::Queue, id: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_capacity`, `acquire`, and `release` are never used [INFO] [stdout] --> src/pool.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 270 | / impl RcResourcePool [INFO] [stdout] 271 | | where [INFO] [stdout] 272 | | T: Allocator, [INFO] [stdout] | |_________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn set_capacity(&mut self, capacity: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn acquire(&mut self, queue: &core::Queue) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn release(&mut self, queue: &core::Queue, id: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `causal_mask` is never used [INFO] [stdout] --> src/traits/forward_text.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn causal_mask(num_total_tokens: u32, num_input_tokens: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/brle.rs:348:22 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn iter_runs(&self) -> RunIterator { [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] 348 | pub fn iter_runs(&self) -> RunIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/traits/forward_text.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn forward_text( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 ~ fn forward_text( [INFO] [stdout] 18 | &self, [INFO] [stdout] ... [INFO] [stdout] 24 | output_indices: &[u32], [INFO] [stdout] 25 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/traits/output_text.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | async fn get_next_token_distribution(&self, embed_ids: &[u32]) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 25 - async fn get_next_token_distribution(&self, embed_ids: &[u32]) -> Vec; [INFO] [stdout] 25 + fn get_next_token_distribution(&self, embed_ids: &[u32]) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.30s [INFO] running `Command { std: "docker" "inspect" "5b13717b6b943ff0bd9c7c71df304a7529a64aa0b71a5aa4794cb4e10d2848d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b13717b6b943ff0bd9c7c71df304a7529a64aa0b71a5aa4794cb4e10d2848d3", kill_on_drop: false }` [INFO] [stdout] 5b13717b6b943ff0bd9c7c71df304a7529a64aa0b71a5aa4794cb4e10d2848d3