[INFO] cloning repository https://github.com/greenden007/dnd-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/greenden007/dnd-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreenden007%2Fdnd-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreenden007%2Fdnd-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 044d97076753f5693bbd5a31cfb04abee3e77df2 [INFO] testing greenden007/dnd-cli against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreenden007%2Fdnd-cli" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/greenden007/dnd-cli [INFO] finished tweaking git repo https://github.com/greenden007/dnd-cli [INFO] tweaked toml for git repo https://github.com/greenden007/dnd-cli written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/greenden007/dnd-cli on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/greenden007/dnd-cli 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-rustls v0.27.6 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded clap v4.5.39 [INFO] [stderr] Downloaded config v0.15.11 [INFO] [stderr] Downloaded clap_builder v4.5.39 [INFO] [stderr] Downloaded yaml-rust2 v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7739cf955c94029f1f053609c720263ce4f6dba9e671e8a965575ec0ed862f2 [INFO] running `Command { std: "docker" "start" "-a" "d7739cf955c94029f1f053609c720263ce4f6dba9e671e8a965575ec0ed862f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7739cf955c94029f1f053609c720263ce4f6dba9e671e8a965575ec0ed862f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7739cf955c94029f1f053609c720263ce4f6dba9e671e8a965575ec0ed862f2", kill_on_drop: false }` [INFO] [stdout] d7739cf955c94029f1f053609c720263ce4f6dba9e671e8a965575ec0ed862f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c720cca2967d5c663d20f753e59b9605f2933a6922dbc931ba28478a84136811 [INFO] running `Command { std: "docker" "start" "-a" "c720cca2967d5c663d20f753e59b9605f2933a6922dbc931ba28478a84136811", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling yaml-rust2 v0.10.2 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling hyper-rustls v0.27.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling reqwest v0.12.19 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling archerdndsys v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crossterm::style::Stylize` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::style::Stylize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::check_setup_cmpl` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::check_setup_cmpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Semaphore` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/client.rs:149:47 [INFO] [stdout] | [INFO] [stdout] 149 | pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stdout] 149 + pub async fn calculate_cache_size() -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/client.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some((method, endpoint, data)) = parse_line(line) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCAL_ID` is never used [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static LOCAL_ID: i32 = 0; // This is a placeholder for local ID management, can be used to track unsynced items [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `authTokens` should have a snake case name [INFO] [stdout] --> src/client.rs:289:67 [INFO] [stdout] | [INFO] [stdout] 289 | pub async fn process_call(call: Vec, client: Arc, authTokens: (String, String)) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `auth_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::check_setup_cmpl` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::check_setup_cmpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Semaphore` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/client.rs:149:47 [INFO] [stdout] | [INFO] [stdout] 149 | pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stdout] 149 + pub async fn calculate_cache_size() -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/client.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some((method, endpoint, data)) = parse_line(line) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_line` is never used [INFO] [stdout] --> src/client.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_line(line: &str) -> Option<(String, String, Option)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_session_calls` is never used [INFO] [stdout] --> src/client.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn clean_session_calls(session_calls: PathBuf) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_session_calls` is never used [INFO] [stdout] --> src/client.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn collect_session_calls(fp: PathBuf) -> Result>, anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_auth_tokens` is never used [INFO] [stdout] --> src/client.rs:264:14 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn load_auth_tokens() -> Result<(String, String), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_call` is never used [INFO] [stdout] --> src/client.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | pub async fn process_call(call: Vec, client: Arc, authTokens: (String, String)) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `authTokens` should have a snake case name [INFO] [stdout] --> src/client.rs:289:67 [INFO] [stdout] | [INFO] [stdout] 289 | pub async fn process_call(call: Vec, client: Arc, authTokens: (String, String)) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `auth_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.42s [INFO] running `Command { std: "docker" "inspect" "c720cca2967d5c663d20f753e59b9605f2933a6922dbc931ba28478a84136811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c720cca2967d5c663d20f753e59b9605f2933a6922dbc931ba28478a84136811", kill_on_drop: false }` [INFO] [stdout] c720cca2967d5c663d20f753e59b9605f2933a6922dbc931ba28478a84136811 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e68fb7590a3ee2cd04895c9e8340d324a950d1118a1708d2375eae3462162923 [INFO] running `Command { std: "docker" "start" "-a" "e68fb7590a3ee2cd04895c9e8340d324a950d1118a1708d2375eae3462162923", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-rustls v0.27.6 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling reqwest v0.12.19 [INFO] [stderr] Compiling archerdndsys v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crossterm::style::Stylize` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::style::Stylize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::check_setup_cmpl` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::check_setup_cmpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Semaphore` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/client.rs:149:47 [INFO] [stdout] | [INFO] [stdout] 149 | pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stdout] 149 + pub async fn calculate_cache_size() -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/client.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some((method, endpoint, data)) = parse_line(line) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCAL_ID` is never used [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static LOCAL_ID: i32 = 0; // This is a placeholder for local ID management, can be used to track unsynced items [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `authTokens` should have a snake case name [INFO] [stdout] --> src/client.rs:289:67 [INFO] [stdout] | [INFO] [stdout] 289 | pub async fn process_call(call: Vec, client: Arc, authTokens: (String, String)) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `auth_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::style::Stylize` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::style::Stylize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::check_setup_cmpl` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::check_setup_cmpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Semaphore` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/client.rs:149:47 [INFO] [stdout] | [INFO] [stdout] 149 | pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stdout] 149 + pub async fn calculate_cache_size() -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::check_setup_cmpl` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::check_setup_cmpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Semaphore` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/client.rs:149:47 [INFO] [stdout] | [INFO] [stdout] 149 | pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stdout] 149 + pub async fn calculate_cache_size() -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/client.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some((method, endpoint, data)) = parse_line(line) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/client.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some((method, endpoint, data)) = parse_line(line) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCAL_ID` is never used [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static LOCAL_ID: i32 = 0; // This is a placeholder for local ID management, can be used to track unsynced items [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `authTokens` should have a snake case name [INFO] [stdout] --> src/client.rs:289:67 [INFO] [stdout] | [INFO] [stdout] 289 | pub async fn process_call(call: Vec, client: Arc, authTokens: (String, String)) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `auth_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_line` is never used [INFO] [stdout] --> src/client.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_line(line: &str) -> Option<(String, String, Option)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_session_calls` is never used [INFO] [stdout] --> src/client.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn clean_session_calls(session_calls: PathBuf) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_session_calls` is never used [INFO] [stdout] --> src/client.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn collect_session_calls(fp: PathBuf) -> Result>, anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_auth_tokens` is never used [INFO] [stdout] --> src/client.rs:264:14 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn load_auth_tokens() -> Result<(String, String), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_call` is never used [INFO] [stdout] --> src/client.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | pub async fn process_call(call: Vec, client: Arc, authTokens: (String, String)) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `authTokens` should have a snake case name [INFO] [stdout] --> src/client.rs:289:67 [INFO] [stdout] | [INFO] [stdout] 289 | pub async fn process_call(call: Vec, client: Arc, authTokens: (String, String)) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `auth_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.24s [INFO] running `Command { std: "docker" "inspect" "e68fb7590a3ee2cd04895c9e8340d324a950d1118a1708d2375eae3462162923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e68fb7590a3ee2cd04895c9e8340d324a950d1118a1708d2375eae3462162923", kill_on_drop: false }` [INFO] [stdout] e68fb7590a3ee2cd04895c9e8340d324a950d1118a1708d2375eae3462162923 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e39146c75c2cb020875a24446af4996e613797b3e55189e2ad0c34d8402ae3e4 [INFO] running `Command { std: "docker" "start" "-a" "e39146c75c2cb020875a24446af4996e613797b3e55189e2ad0c34d8402ae3e4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crossterm::style::Stylize` [INFO] [stderr] --> src/lib.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crossterm::style::Stylize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::check_setup_cmpl` [INFO] [stderr] --> src/client.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::check_setup_cmpl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::Semaphore` [INFO] [stderr] --> src/client.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::sync::Semaphore; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::future::join_all` [INFO] [stderr] --> src/client.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::future::join_all; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:149:47 [INFO] [stderr] | [INFO] [stderr] 149 | pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 149 - pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stderr] 149 + pub async fn calculate_cache_size() -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/client.rs:60:40 [INFO] [stderr] | [INFO] [stderr] 60 | if let Some((method, endpoint, data)) = parse_line(line) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static `LOCAL_ID` is never used [INFO] [stderr] --> src/lib.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | static LOCAL_ID: i32 = 0; // This is a placeholder for local ID management, can be used to track unsynced items [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `authTokens` should have a snake case name [INFO] [stderr] --> src/client.rs:289:67 [INFO] [stderr] | [INFO] [stderr] 289 | pub async fn process_call(call: Vec, client: Arc, authTokens: (String, String)) -> Result<(), anyhow::Error> { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `auth_tokens` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `archerdndsys` (lib) generated 8 warnings (run `cargo fix --lib -p archerdndsys` to apply 5 suggestions) [INFO] [stderr] warning: unused import: `crate::check_setup_cmpl` [INFO] [stderr] --> src/client.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::check_setup_cmpl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Subcommand` [INFO] [stderr] --> src/main.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use clap::{Parser, Subcommand}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_line` is never used [INFO] [stderr] --> src/client.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn parse_line(line: &str) -> Option<(String, String, Option)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `clean_session_calls` is never used [INFO] [stderr] --> src/client.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn clean_session_calls(session_calls: PathBuf) -> Result<(), anyhow::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `collect_session_calls` is never used [INFO] [stderr] --> src/client.rs:126:8 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn collect_session_calls(fp: PathBuf) -> Result>, anyhow::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_auth_tokens` is never used [INFO] [stderr] --> src/client.rs:264:14 [INFO] [stderr] | [INFO] [stderr] 264 | pub async fn load_auth_tokens() -> Result<(String, String), anyhow::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `process_call` is never used [INFO] [stderr] --> src/client.rs:289:14 [INFO] [stderr] | [INFO] [stderr] 289 | pub async fn process_call(call: Vec, client: Arc, authTokens: (String, String)) -> Result<(), anyhow::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `archerdndsys` (bin "archerdndsys" test) generated 12 warnings (5 duplicates) (run `cargo fix --bin "archerdndsys" --tests` to apply 2 suggestions) [INFO] [stderr] warning: `archerdndsys` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/archerdndsys-76b0e7dfdce0abe0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/archerdndsys-985c6fb6ddf32cf5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests archerdndsys [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:149:47 [INFO] [stderr] | [INFO] [stderr] 149 | pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 149 - pub async fn calculate_cache_size() -> Result<(u64), anyhow::Error> { [INFO] [stderr] 149 + pub async fn calculate_cache_size() -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e39146c75c2cb020875a24446af4996e613797b3e55189e2ad0c34d8402ae3e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39146c75c2cb020875a24446af4996e613797b3e55189e2ad0c34d8402ae3e4", kill_on_drop: false }` [INFO] [stdout] e39146c75c2cb020875a24446af4996e613797b3e55189e2ad0c34d8402ae3e4