[INFO] cloning repository https://github.com/copyleftdev/flux [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/copyleftdev/flux" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcopyleftdev%2Fflux", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcopyleftdev%2Fflux'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b60c29dc97bfb2ee5cc3bf35eacdcdb009799ba9 [INFO] checking copyleftdev/flux against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcopyleftdev%2Fflux" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/copyleftdev/flux [INFO] finished tweaking git repo https://github.com/copyleftdev/flux [INFO] tweaked toml for git repo https://github.com/copyleftdev/flux written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/copyleftdev/flux on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/copyleftdev/flux 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded relative-path v1.9.3 [INFO] [stderr] Downloaded quanta v0.12.6 [INFO] [stderr] Downloaded sketches-ddsketch v0.2.2 [INFO] [stderr] Downloaded pest_generator v2.8.1 [INFO] [stderr] Downloaded metrics-macros v0.7.1 [INFO] [stderr] Downloaded pest_meta v2.8.1 [INFO] [stderr] Downloaded pest_derive v2.8.1 [INFO] [stderr] Downloaded ron v0.7.1 [INFO] [stderr] Downloaded metrics v0.22.4 [INFO] [stderr] Downloaded rstest_macros v0.18.2 [INFO] [stderr] Downloaded metrics v0.21.1 [INFO] [stderr] Downloaded pathdiff v0.2.3 [INFO] [stderr] Downloaded tonic-build v0.9.2 [INFO] [stderr] Downloaded num_cpus v1.17.0 [INFO] [stderr] Downloaded metrics-util v0.16.3 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.13.1 [INFO] [stderr] Downloaded io-uring v0.7.8 [INFO] [stderr] Downloaded rstest v0.18.2 [INFO] [stderr] Downloaded pest v2.8.1 [INFO] [stderr] Downloaded tokio v1.46.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23497014b80bdca90f0adae214fd6023162dbca250383435989627d4f7338159 [INFO] running `Command { std: "docker" "start" "-a" "23497014b80bdca90f0adae214fd6023162dbca250383435989627d4f7338159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23497014b80bdca90f0adae214fd6023162dbca250383435989627d4f7338159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23497014b80bdca90f0adae214fd6023162dbca250383435989627d4f7338159", kill_on_drop: false }` [INFO] [stdout] 23497014b80bdca90f0adae214fd6023162dbca250383435989627d4f7338159 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a989afe47d506837f347abb2e306ab9421ad02740cfc8d3ef1cbc48628dace70 [INFO] running `Command { std: "docker" "start" "-a" "a989afe47d506837f347abb2e306ab9421ad02740cfc8d3ef1cbc48628dace70", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking metrics v0.21.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking metrics v0.22.4 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling flux-protocol v0.1.0 (/opt/rustwide/workdir/flux-protocol) [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking metrics-util v0.16.3 [INFO] [stderr] Compiling jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking tokio v1.46.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking flux-core v0.1.0 (/opt/rustwide/workdir/flux-core) [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> flux-core/src/job.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> flux-core/src/time.rs:121:51 [INFO] [stdout] | [INFO] [stdout] 121 | let dt = chrono::DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> flux-core/src/time.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | chrono::NaiveDateTime::from_timestamp_opt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> flux-core/src/time.rs:126:55 [INFO] [stdout] | [INFO] [stdout] 126 | .unwrap_or_else(|| chrono::NaiveDateTime::from_timestamp_opt(0, 0).unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shard_id` is never read [INFO] [stdout] --> flux-core/src/job_processor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ShardProcessor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 17 | shard_id: ShardId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShardProcessor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking flux-storage v0.1.0 (/opt/rustwide/workdir/flux-storage) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> flux-storage/src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [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: `RwLock` [INFO] [stdout] --> flux-storage/src/memory.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | sync::{Arc, RwLock}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pin::Pin` [INFO] [stdout] --> flux-storage/src/replication.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> flux-storage/src/replication.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | time, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> flux-storage/src/replication.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom`, `Seek`, and `self` [INFO] [stdout] --> flux-storage/src/wal.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | io::{self, BufReader, BufWriter, Read, Write, Seek, SeekFrom}, [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JobStatus` [INFO] [stdout] --> flux-storage/src/wal.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use flux_core::job::{JobId, JobState, JobStatus}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `deserialize_from` and `serialize_into` [INFO] [stdout] --> flux-storage/src/wal.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use bincode::{deserialize_from, serialize_into}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> flux-storage/src/wal.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> flux-storage/src/wal.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> flux-storage/src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [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: `RwLock` [INFO] [stdout] --> flux-storage/src/memory.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | sync::{Arc, RwLock}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pin::Pin` [INFO] [stdout] --> flux-storage/src/replication.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> flux-storage/src/replication.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | time, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> flux-storage/src/replication.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom`, `Seek`, and `self` [INFO] [stdout] --> flux-storage/src/wal.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | io::{self, BufReader, BufWriter, Read, Write, Seek, SeekFrom}, [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `deserialize_from` and `serialize_into` [INFO] [stdout] --> flux-storage/src/wal.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use bincode::{deserialize_from, serialize_into}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> flux-storage/src/wal.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> flux-storage/src/wal.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::ErrorKind` [INFO] [stdout] --> flux-storage/src/wal.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | use std::io::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flux_core::job::JobStatus` [INFO] [stdout] --> flux-storage/src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | use flux_core::job::JobStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> flux-core/src/job.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp::Ordering; [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: `Read` [INFO] [stdout] --> flux-storage/src/wal.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | io::{self, BufReader, BufWriter, Read, Write, Seek, SeekFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> flux-core/src/time.rs:121:51 [INFO] [stdout] | [INFO] [stdout] 121 | let dt = chrono::DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> flux-core/src/time.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | chrono::NaiveDateTime::from_timestamp_opt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> flux-storage/src/wal.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | io::{self, BufReader, BufWriter, Read, Write, Seek, SeekFrom}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> flux-core/src/time.rs:126:55 [INFO] [stdout] | [INFO] [stdout] 126 | .unwrap_or_else(|| chrono::NaiveDateTime::from_timestamp_opt(0, 0).unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> flux-storage/src/wal.rs:575:17 [INFO] [stdout] | [INFO] [stdout] 575 | let job_id = JobId::new(); // This creates a new ID, which is not what we want [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `wal` are never read [INFO] [stdout] --> flux-storage/src/replication.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ReplicatedStorage { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | config: ReplicationConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | /// The write-ahead log for replication. [INFO] [stdout] 76 | wal: Arc>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> flux-storage/src/wal.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | Update { job_id: JobId, data: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> flux-storage/src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> flux-storage/src/wal.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | Update { job_id: JobId, data: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> flux-storage/src/wal.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | Delete { job_id: JobId }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> flux-storage/src/wal.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | Checkpoint { seq: u64 }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shard_id` is never read [INFO] [stdout] --> flux-core/src/job_processor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ShardProcessor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 17 | shard_id: ShardId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShardProcessor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `wal` are never read [INFO] [stdout] --> flux-storage/src/replication.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ReplicatedStorage { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | config: ReplicationConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | /// The write-ahead log for replication. [INFO] [stdout] 76 | wal: Arc>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> flux-storage/src/wal.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | Update { job_id: JobId, data: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> flux-storage/src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> flux-storage/src/wal.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | Update { job_id: JobId, data: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> flux-storage/src/wal.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | Delete { job_id: JobId }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> flux-storage/src/wal.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | Checkpoint { seq: u64 }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking metrics-exporter-prometheus v0.13.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stderr] Checking flux v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `backoff` [INFO] [stdout] --> flux-protocol/src/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use backoff::{ExponentialBackoff, future::retry}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `backoff` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `backoff`, use `cargo add backoff` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `backoff` [INFO] [stdout] --> flux-protocol/src/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use backoff::{ExponentialBackoff, future::retry}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `backoff` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `backoff`, use `cargo add backoff` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `backoff` [INFO] [stdout] --> flux-protocol/src/client.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 129 | ... return Err(backoff::Error::transient(e)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `backoff` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `backoff`, use `cargo add backoff` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 15 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 129 - return Err(backoff::Error::transient(e)); [INFO] [stdout] 129 + return Err(Error::transient(e)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `backoff` [INFO] [stdout] --> flux-protocol/src/client.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | Err(backoff::Error::permanent(e)) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `backoff` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `backoff`, use `cargo add backoff` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 15 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 131 - Err(backoff::Error::permanent(e)) [INFO] [stdout] 131 + Err(Error::permanent(e)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `JobState` in this scope [INFO] [stdout] --> flux-protocol/src/server.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | let job_state = JobState { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use crate::JobState; [INFO] [stdout] | [INFO] [stdout] 3 + use flux_core::prelude::JobState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> flux-protocol/src/client.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{debug, error, info, warn}; [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: `ListNodesResponse` [INFO] [stdout] --> flux-protocol/src/client.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | LeaveResponse, ListNodesRequest, ListNodesResponse, NodeInfo, ShardResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::SocketAddr` [INFO] [stdout] --> flux-protocol/src/server.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, net::SocketAddr, sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> flux-protocol/src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> flux-protocol/src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> flux-protocol/src/server.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `backoff` [INFO] [stdout] --> flux-protocol/src/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use backoff::{ExponentialBackoff, future::retry}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `backoff` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `backoff`, use `cargo add backoff` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `backoff` [INFO] [stdout] --> flux-protocol/src/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use backoff::{ExponentialBackoff, future::retry}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `backoff` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `backoff`, use `cargo add backoff` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `backoff` [INFO] [stdout] --> flux-protocol/src/client.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 129 | ... return Err(backoff::Error::transient(e)); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `backoff` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `backoff`, use `cargo add backoff` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 15 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 129 - return Err(backoff::Error::transient(e)); [INFO] [stdout] 129 + return Err(Error::transient(e)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `backoff` [INFO] [stdout] --> flux-protocol/src/client.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | Err(backoff::Error::permanent(e)) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `backoff` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `backoff`, use `cargo add backoff` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 15 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 131 - Err(backoff::Error::permanent(e)) [INFO] [stdout] 131 + Err(Error::permanent(e)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `JobState` in this scope [INFO] [stdout] --> flux-protocol/src/server.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | let job_state = JobState { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use crate::JobState; [INFO] [stdout] | [INFO] [stdout] 3 + use flux_core::prelude::JobState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> flux-protocol/src/client.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{debug, error, info, warn}; [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: `ListNodesResponse` [INFO] [stdout] --> flux-protocol/src/client.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | LeaveResponse, ListNodesRequest, ListNodesResponse, NodeInfo, ShardResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> flux-protocol/src/client.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> flux-protocol/src/client.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::SocketAddr` [INFO] [stdout] --> flux-protocol/src/server.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, net::SocketAddr, sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> flux-protocol/src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> flux-protocol/src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> flux-protocol/src/server.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> flux-protocol/src/server.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> flux-protocol/src/server.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::wrappers::TcpListenerStream` [INFO] [stdout] --> flux-protocol/src/server.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | use tokio_stream::wrappers::TcpListenerStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinResponse` [INFO] [stdout] --> flux-protocol/src/server.rs:503:36 [INFO] [stdout] | [INFO] [stdout] 503 | use crate::flux::{JoinRequest, JoinResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> flux-protocol/src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> flux-protocol/src/lib.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> flux-protocol/src/lib.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Barrier` [INFO] [stdout] --> flux-protocol/src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | use tokio::sync::Barrier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code` found for struct `tonic::transport::Error` in the current scope [INFO] [stdout] --> flux-protocol/src/client.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | let status = e.code(); [INFO] [stdout] | ^^^^ method not found in `tonic::transport::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code` found for struct `tonic::transport::Error` in the current scope [INFO] [stdout] --> flux-protocol/src/client.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | let status = e.code(); [INFO] [stdout] | ^^^^ method not found in `tonic::transport::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `RequestFailed` found for enum `error::Error` in the current scope [INFO] [stdout] --> flux-protocol/src/client.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | .map_err(|e| Error::RequestFailed(format!("{} failed: {}", operation, e))); [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `error::Error` [INFO] [stdout] | [INFO] [stdout] ::: flux-protocol/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `RequestFailed` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `RequestFailed` found for enum `error::Error` in the current scope [INFO] [stdout] --> flux-protocol/src/client.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | .map_err(|e| Error::RequestFailed(format!("{} failed: {}", operation, e))); [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `error::Error` [INFO] [stdout] | [INFO] [stdout] ::: flux-protocol/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `RequestFailed` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:172:13: 172:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | let response = self.execute_with_retry("create_job", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:172:13: 172:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | let response = self.execute_with_retry("create_job", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 170 | | let mut client = self.client.clone(); [INFO] [stdout] 171 | | let request = Request::new(request.clone()); [INFO] [stdout] 172 | | async move { client.create_job(request).await } [INFO] [stdout] 173 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:172:13: 172:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:187:13: 187:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | let response = self.execute_with_retry("get_job", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:187:13: 187:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | let response = self.execute_with_retry("get_job", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 185 | | let mut client = self.client.clone(); [INFO] [stdout] 186 | | let request = Request::new(request.clone()); [INFO] [stdout] 187 | | async move { client.get_job(request).await } [INFO] [stdout] 188 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:187:13: 187:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:210:13: 210:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:207:29 [INFO] [stdout] | [INFO] [stdout] 207 | let response = self.execute_with_retry("update_job", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:210:13: 210:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | let response = self.execute_with_retry("update_job", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 208 | | let mut client = self.client.clone(); [INFO] [stdout] 209 | | let request = Request::new(request.clone()); [INFO] [stdout] 210 | | async move { client.update_job(request).await } [INFO] [stdout] 211 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:210:13: 210:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:226:13: 226:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | let response = self.execute_with_retry("delete_job", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:226:13: 226:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | let response = self.execute_with_retry("delete_job", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 224 | | let mut client = self.client.clone(); [INFO] [stdout] 225 | | let request = Request::new(request.clone()); [INFO] [stdout] 226 | | async move { client.delete_job(request).await } [INFO] [stdout] 227 | | }) [INFO] [stdout] | |__________^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:226:13: 226:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | .await [INFO] [stdout] | ^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:242:13: 242:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | let response = self.execute_with_retry("get_shard", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:242:13: 242:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | let response = self.execute_with_retry("get_shard", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 240 | | let mut client = self.client.clone(); [INFO] [stdout] 241 | | let request = Request::new(request.clone()); [INFO] [stdout] 242 | | async move { client.get_shard(request).await } [INFO] [stdout] 243 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:242:13: 242:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:263:13: 263:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:260:29 [INFO] [stdout] | [INFO] [stdout] 260 | let response = self.execute_with_retry("transfer_shard", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:263:13: 263:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | let response = self.execute_with_retry("transfer_shard", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 261 | | let mut client = self.client.clone(); [INFO] [stdout] 262 | | let request = Request::new(request.clone()); [INFO] [stdout] 263 | | async move { client.transfer_shard(request).await } [INFO] [stdout] 264 | | }) [INFO] [stdout] | |__________^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:263:13: 263:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:265:10 [INFO] [stdout] | [INFO] [stdout] 265 | .await [INFO] [stdout] | ^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:172:13: 172:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | let response = self.execute_with_retry("create_job", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:172:13: 172:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | let response = self.execute_with_retry("create_job", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 170 | | let mut client = self.client.clone(); [INFO] [stdout] 171 | | let request = Request::new(request.clone()); [INFO] [stdout] 172 | | async move { client.create_job(request).await } [INFO] [stdout] 173 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:172:13: 172:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:292:13: 292:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | let response = self.execute_with_retry("join_cluster", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:292:13: 292:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:289:24 [INFO] [stdout] | [INFO] [stdout] 289 | let response = self.execute_with_retry("join_cluster", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 290 | | let mut client = self.client.clone(); [INFO] [stdout] 291 | | let request = Request::new(request.clone()); [INFO] [stdout] 292 | | async move { client.join_cluster(request).await } [INFO] [stdout] 293 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:292:13: 292:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:294:10 [INFO] [stdout] | [INFO] [stdout] 294 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:187:13: 187:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | let response = self.execute_with_retry("get_job", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:187:13: 187:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | let response = self.execute_with_retry("get_job", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 185 | | let mut client = self.client.clone(); [INFO] [stdout] 186 | | let request = Request::new(request.clone()); [INFO] [stdout] 187 | | async move { client.get_job(request).await } [INFO] [stdout] 188 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:187:13: 187:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:210:13: 210:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:207:29 [INFO] [stdout] | [INFO] [stdout] 207 | let response = self.execute_with_retry("update_job", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:210:13: 210:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | let response = self.execute_with_retry("update_job", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 208 | | let mut client = self.client.clone(); [INFO] [stdout] 209 | | let request = Request::new(request.clone()); [INFO] [stdout] 210 | | async move { client.update_job(request).await } [INFO] [stdout] 211 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:210:13: 210:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:226:13: 226:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | let response = self.execute_with_retry("delete_job", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:226:13: 226:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | let response = self.execute_with_retry("delete_job", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 224 | | let mut client = self.client.clone(); [INFO] [stdout] 225 | | let request = Request::new(request.clone()); [INFO] [stdout] 226 | | async move { client.delete_job(request).await } [INFO] [stdout] 227 | | }) [INFO] [stdout] | |__________^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:226:13: 226:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | .await [INFO] [stdout] | ^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:242:13: 242:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | let response = self.execute_with_retry("get_shard", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:242:13: 242:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | let response = self.execute_with_retry("get_shard", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 240 | | let mut client = self.client.clone(); [INFO] [stdout] 241 | | let request = Request::new(request.clone()); [INFO] [stdout] 242 | | async move { client.get_shard(request).await } [INFO] [stdout] 243 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:242:13: 242:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:263:13: 263:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:260:29 [INFO] [stdout] | [INFO] [stdout] 260 | let response = self.execute_with_retry("transfer_shard", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:263:13: 263:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | let response = self.execute_with_retry("transfer_shard", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 261 | | let mut client = self.client.clone(); [INFO] [stdout] 262 | | let request = Request::new(request.clone()); [INFO] [stdout] 263 | | async move { client.transfer_shard(request).await } [INFO] [stdout] 264 | | }) [INFO] [stdout] | |__________^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:263:13: 263:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:265:10 [INFO] [stdout] | [INFO] [stdout] 265 | .await [INFO] [stdout] | ^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:311:13: 311:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:308:29 [INFO] [stdout] | [INFO] [stdout] 308 | let response = self.execute_with_retry("leave_cluster", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:311:13: 311:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | let response = self.execute_with_retry("leave_cluster", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 309 | | let mut client = self.client.clone(); [INFO] [stdout] 310 | | let request = Request::new(request.clone()); [INFO] [stdout] 311 | | async move { client.leave_cluster(request).await } [INFO] [stdout] 312 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:311:13: 311:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:292:13: 292:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | let response = self.execute_with_retry("join_cluster", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:292:13: 292:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:289:24 [INFO] [stdout] | [INFO] [stdout] 289 | let response = self.execute_with_retry("join_cluster", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 290 | | let mut client = self.client.clone(); [INFO] [stdout] 291 | | let request = Request::new(request.clone()); [INFO] [stdout] 292 | | async move { client.join_cluster(request).await } [INFO] [stdout] 293 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:292:13: 292:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:294:10 [INFO] [stdout] | [INFO] [stdout] 294 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:311:13: 311:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:308:29 [INFO] [stdout] | [INFO] [stdout] 308 | let response = self.execute_with_retry("leave_cluster", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:311:13: 311:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | let response = self.execute_with_retry("leave_cluster", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 309 | | let mut client = self.client.clone(); [INFO] [stdout] 310 | | let request = Request::new(request.clone()); [INFO] [stdout] 311 | | async move { client.leave_cluster(request).await } [INFO] [stdout] 312 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:311:13: 311:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | .await [INFO] [stdout] | ^^^^^ expected `Result, Error>`, found `Result, Status>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:326:13: 326:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | let response = self.execute_with_retry("list_nodes", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:326:13: 326:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:323:24 [INFO] [stdout] | [INFO] [stdout] 323 | let response = self.execute_with_retry("list_nodes", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 324 | | let mut client = self.client.clone(); [INFO] [stdout] 325 | | let request = Request::new(request.clone()); [INFO] [stdout] 326 | | async move { client.list_nodes(request).await } [INFO] [stdout] 327 | | }) [INFO] [stdout] | |__________^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:326:13: 326:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:328:10 [INFO] [stdout] | [INFO] [stdout] 328 | .await [INFO] [stdout] | ^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:341:13: 341:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | let response = self.execute_with_retry("health_check", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:341:13: 341:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | let response = self.execute_with_retry("health_check", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 339 | | let mut client = self.client.clone(); [INFO] [stdout] 340 | | let request = Request::new(request.clone()); [INFO] [stdout] 341 | | async move { client.health_check(request).await } [INFO] [stdout] 342 | | }) [INFO] [stdout] | |__________^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:341:13: 341:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:343:10 [INFO] [stdout] | [INFO] [stdout] 343 | .await [INFO] [stdout] | ^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 193 | / self.storage [INFO] [stdout] 194 | | .set_job(&job_id, &job_state) [INFO] [stdout] | | -^^^^^^^ method not found in `std::sync::Arc` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:326:13: 326:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | let response = self.execute_with_retry("list_nodes", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:326:13: 326:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:323:24 [INFO] [stdout] | [INFO] [stdout] 323 | let response = self.execute_with_retry("list_nodes", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 324 | | let mut client = self.client.clone(); [INFO] [stdout] 325 | | let request = Request::new(request.clone()); [INFO] [stdout] 326 | | async move { client.list_nodes(request).await } [INFO] [stdout] 327 | | }) [INFO] [stdout] | |__________^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:326:13: 326:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:328:10 [INFO] [stdout] | [INFO] [stdout] 328 | .await [INFO] [stdout] | ^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 222 | let job_state = self.storage [INFO] [stdout] | _________________________- [INFO] [stdout] 223 | | .get_job(&req.job_id) [INFO] [stdout] | | -^^^^^^^ method not found in `std::sync::Arc` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get_job`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FluxClientTrait` [INFO] [stdout] candidate #2: `FluxService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:341:13: 341:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | let response = self.execute_with_retry("health_check", || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 252 | let mut job_state = self.storage [INFO] [stdout] | _____________________________- [INFO] [stdout] 253 | | .get_job(&req.job_id) [INFO] [stdout] | | -^^^^^^^ method not found in `std::sync::Arc` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get_job`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FluxClientTrait` [INFO] [stdout] candidate #2: `FluxService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `status` on type `UpdateJobRequest` [INFO] [stdout] --> flux-protocol/src/server.rs:273:32 [INFO] [stdout] | [INFO] [stdout] 273 | job_state.status = req.status; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `job_id`, `payload`, `expected_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metadata` on type `UpdateJobRequest` [INFO] [stdout] --> flux-protocol/src/server.rs:278:27 [INFO] [stdout] | [INFO] [stdout] 278 | for (k, v) in req.metadata.into_iter() { [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `job_id`, `payload`, `expected_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:341:13: 341:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | let response = self.execute_with_retry("health_check", || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 339 | | let mut client = self.client.clone(); [INFO] [stdout] 340 | | let request = Request::new(request.clone()); [INFO] [stdout] 341 | | async move { client.health_check(request).await } [INFO] [stdout] 342 | | }) [INFO] [stdout] | |__________^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@flux-protocol/src/client.rs:341:13: 341:23}` to be a future that resolves to `Result<_, Error>`, but it resolves to `Result, Status>` [INFO] [stdout] --> flux-protocol/src/client.rs:343:10 [INFO] [stdout] | [INFO] [stdout] 343 | .await [INFO] [stdout] | ^^^^^ expected `tonic::transport::Error`, found `Status` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, tonic::transport::Error>` [INFO] [stdout] found enum `std::result::Result<_, Status>` [INFO] [stdout] note: required by a bound in `client::FluxClient::execute_with_retry` [INFO] [stdout] --> flux-protocol/src/client.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 99 | async fn execute_with_retry( [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 106 | Fut: std::future::Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FluxClient::execute_with_retry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 283 | / self.storage [INFO] [stdout] 284 | | .set_job(&req.job_id, &job_state) [INFO] [stdout] | | -^^^^^^^ method not found in `std::sync::Arc` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `require_exists` on type `DeleteJobRequest` [INFO] [stdout] --> flux-protocol/src/server.rs:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | if req.require_exists { [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 313 | / self.storage [INFO] [stdout] 314 | | .get_job(&req.job_id) [INFO] [stdout] | | -^^^^^^^ method not found in `std::sync::Arc` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get_job`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FluxClientTrait` [INFO] [stdout] candidate #2: `FluxService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 321 | / self.storage [INFO] [stdout] 322 | | .delete_job(&req.job_id) [INFO] [stdout] | |_____________-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delete_job`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FluxClientTrait` [INFO] [stdout] candidate #2: `FluxService` [INFO] [stdout] help: there is a method `delete` with a similar name [INFO] [stdout] | [INFO] [stdout] 322 - .delete_job(&req.job_id) [INFO] [stdout] 322 + .delete(&req.job_id) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 193 | / self.storage [INFO] [stdout] 194 | | .set_job(&job_id, &job_state) [INFO] [stdout] | | -^^^^^^^ method not found in `std::sync::Arc` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 222 | let job_state = self.storage [INFO] [stdout] | _________________________- [INFO] [stdout] 223 | | .get_job(&req.job_id) [INFO] [stdout] | | -^^^^^^^ method not found in `std::sync::Arc` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get_job`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FluxClientTrait` [INFO] [stdout] candidate #2: `flux_service_server::FluxService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 252 | let mut job_state = self.storage [INFO] [stdout] | _____________________________- [INFO] [stdout] 253 | | .get_job(&req.job_id) [INFO] [stdout] | | -^^^^^^^ method not found in `std::sync::Arc` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get_job`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FluxClientTrait` [INFO] [stdout] candidate #2: `flux_service_server::FluxService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `status` on type `UpdateJobRequest` [INFO] [stdout] --> flux-protocol/src/server.rs:273:32 [INFO] [stdout] | [INFO] [stdout] 273 | job_state.status = req.status; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `job_id`, `payload`, `expected_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metadata` on type `UpdateJobRequest` [INFO] [stdout] --> flux-protocol/src/server.rs:278:27 [INFO] [stdout] | [INFO] [stdout] 278 | for (k, v) in req.metadata.into_iter() { [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `job_id`, `payload`, `expected_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 283 | / self.storage [INFO] [stdout] 284 | | .set_job(&req.job_id, &job_state) [INFO] [stdout] | | -^^^^^^^ method not found in `std::sync::Arc` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `require_exists` on type `DeleteJobRequest` [INFO] [stdout] --> flux-protocol/src/server.rs:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | if req.require_exists { [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 313 | / self.storage [INFO] [stdout] 314 | | .get_job(&req.job_id) [INFO] [stdout] | | -^^^^^^^ method not found in `std::sync::Arc` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get_job`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FluxClientTrait` [INFO] [stdout] candidate #2: `flux_service_server::FluxService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete_job` found for struct `std::sync::Arc` in the current scope [INFO] [stdout] --> flux-protocol/src/server.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 321 | / self.storage [INFO] [stdout] 322 | | .delete_job(&req.job_id) [INFO] [stdout] | |_____________-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delete_job`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FluxClientTrait` [INFO] [stdout] candidate #2: `flux_service_server::FluxService` [INFO] [stdout] help: there is a method `delete` with a similar name [INFO] [stdout] | [INFO] [stdout] 322 - .delete_job(&req.job_id) [INFO] [stdout] 322 + .delete(&req.job_id) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `server_impl` [INFO] [stdout] --> flux-protocol/src/server.rs:599:26 [INFO] [stdout] | [INFO] [stdout] 513 | let server_impl = FluxServerImpl::new( [INFO] [stdout] | ----------- move occurs because `server_impl` has type `server::FluxServerImpl`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 537 | let server_handle = tokio::spawn(async move { [INFO] [stdout] | ---------- value moved here [INFO] [stdout] ... [INFO] [stdout] 545 | .add_service(FluxServiceServer::new(server_impl)) [INFO] [stdout] | ----------- variable moved due to use in coroutine [INFO] [stdout] ... [INFO] [stdout] 599 | let list_nodes = server_impl.list_nodes(Request::new(ListNodesRequest {})).await.unwrap().into_inner(); [INFO] [stdout] | ^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `new` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> flux-protocol/src/generated/flux.rs:583:27 [INFO] [stdout] | [INFO] [stdout] 583 | pub fn new(inner: T) -> Self { [INFO] [stdout] | --- ^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this method [INFO] [stdout] note: if `server::FluxServerImpl` implemented `Clone`, you could clone the value [INFO] [stdout] --> flux-protocol/src/server.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | struct FluxServerImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 545 | .add_service(FluxServiceServer::new(server_impl)) [INFO] [stdout] | ----------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0422, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flux-protocol` (lib) due to 46 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> flux-protocol/src/lib.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let (shutdown_tx, mut shutdown_rx) = tokio::sync::oneshot::channel(); [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] Some errors have detailed explanations: E0271, E0382, E0422, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flux-protocol` (lib test) due to 47 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a989afe47d506837f347abb2e306ab9421ad02740cfc8d3ef1cbc48628dace70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a989afe47d506837f347abb2e306ab9421ad02740cfc8d3ef1cbc48628dace70", kill_on_drop: false }` [INFO] [stdout] a989afe47d506837f347abb2e306ab9421ad02740cfc8d3ef1cbc48628dace70