[INFO] fetching crate t-rust-less-lib 0.2.18... [INFO] checking t-rust-less-lib-0.2.18 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate t-rust-less-lib 0.2.18 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate t-rust-less-lib 0.2.18 [INFO] finished tweaking crates.io crate t-rust-less-lib 0.2.18 [INFO] tweaked toml for crates.io crate t-rust-less-lib 0.2.18 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate t-rust-less-lib 0.2.18 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 326 packages to latest compatible versions [INFO] [stderr] Adding capnp v0.14.11 (available: v0.21.1) [INFO] [stderr] Adding capnpc v0.14.9 (available: v0.21.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.40) [INFO] [stderr] Adding clipboard-win v4.5.0 (available: v5.4.0) [INFO] [stderr] Adding dirs v5.0.1 (available: v6.0.0) [INFO] [stderr] Adding hex-literal v0.4.1 (available: v1.0.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding rmp-serde v0.15.5 (available: v1.3.0) [INFO] [stderr] Adding wayland-client v0.29.5 (available: v0.31.10) [INFO] [stderr] Adding wayland-protocols v0.29.5 (available: v0.32.8) [INFO] [stderr] Adding zxcvbn v2.2.2 (available: v3.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded capnpc v0.14.9 [INFO] [stderr] Downloaded capnp v0.14.11 [INFO] [stderr] Downloaded spectral v0.6.0 [INFO] [stderr] Downloaded chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Downloaded x25519-dalek-ng v1.1.1 [INFO] [stderr] Downloaded mach_o_sys v0.1.1 [INFO] [stderr] Downloaded zxcvbn v2.2.2 [INFO] [stderr] Downloaded dropbox-sdk v0.19.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c904bc4d9bb971f5984877576a3363ea03b8f6cb4642ea305a29e36e419bca1 [INFO] running `Command { std: "docker" "start" "-a" "4c904bc4d9bb971f5984877576a3363ea03b8f6cb4642ea305a29e36e419bca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c904bc4d9bb971f5984877576a3363ea03b8f6cb4642ea305a29e36e419bca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c904bc4d9bb971f5984877576a3363ea03b8f6cb4642ea305a29e36e419bca1", kill_on_drop: false }` [INFO] [stdout] 4c904bc4d9bb971f5984877576a3363ea03b8f6cb4642ea305a29e36e419bca1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed0f550de4828781ca1bdc18b35147c49a712bbc908b4b1966153d66d023e63a [INFO] running `Command { std: "docker" "start" "-a" "ed0f550de4828781ca1bdc18b35147c49a712bbc908b4b1966153d66d023e63a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling capnp v0.14.11 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking blake2b_simd v1.0.3 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling capnpc v0.14.9 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ureq-proto v0.4.2 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking rust-argon2 v2.1.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking sublime_fuzzy v0.7.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking spectral v0.6.0 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling t-rust-less-lib v0.2.18 (/opt/rustwide/workdir) [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking curve25519-dalek-ng v4.1.1 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking x25519-dalek-ng v1.1.1 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking zxcvbn v2.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking ureq v3.0.12 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rmp-serde v0.15.5 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking dropbox-sdk v0.19.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/memguard/memory.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/memguard/memory.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(not(feature = "nightly"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `apple` [INFO] [stdout] --> src/memguard/memory.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `apple` [INFO] [stdout] --> src/memguard/memory.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stdout] --> src/memguard/memory.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | not(feature = "use_os") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stdout] --> src/memguard/memory.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:109:46 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(all(windows, not(target_env = "msvc"), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(freebsdlike)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(freebsdlike)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/memguard/memory.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/memguard/memory.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(not(feature = "nightly"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `apple` [INFO] [stdout] --> src/memguard/memory.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(not(apple), not(feature = "use_os")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `apple` [INFO] [stdout] --> src/memguard/memory.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_vendor = "apple"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(apple)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(apple)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(all(apple, feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stdout] --> src/memguard/memory.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | not(any(all(windows, not(target_env = "msvc")), freebsdlike, netbsdlike)), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | not(feature = "use_os") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `netbsdlike` [INFO] [stdout] --> src/memguard/memory.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(all(any(freebsdlike, netbsdlike), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `use_os` [INFO] [stdout] --> src/memguard/memory.rs:109:46 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(all(windows, not(target_env = "msvc"), feature = "use_os"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes-gcm`, `default`, `dropbox`, `dropbox-sdk`, `openssl`, `rsa`, `rust_crypto`, `sled`, `tiny_http`, `wayland-client`, `wayland-protocols`, `with_wayland`, `with_x11`, and `x11` [INFO] [stdout] = help: consider adding `use_os` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(freebsdlike)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `freebsdlike` [INFO] [stdout] --> src/memguard/memory.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(freebsdlike)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:66:84 [INFO] [stdout] | [INFO] [stdout] 66 | match files::download(&self.client, &files::DownloadArg::new(path), None, None)? { [INFO] [stdout] | -------------------------------------------------------------------------^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 66 | match files::download(&self.client, &files::DownloadArg::new(path), None, None)? { [INFO] [stdout] | -------------------------------------------------------------------------- this expression has type `dropbox_sdk::HttpRequestResult` [INFO] [stdout] 67 | Ok(result) => { [INFO] [stdout] | ^^^^^^^^^^ expected `HttpRequestResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `dropbox_sdk::HttpRequestResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 66 | match files::download(&self.client, &files::DownloadArg::new(path), None, None)? { [INFO] [stdout] | -------------------------------------------------------------------------- this expression has type `dropbox_sdk::HttpRequestResult` [INFO] [stdout] ... [INFO] [stdout] 72 | Err(dropbox_sdk::files::DownloadError::Path(_)) => Ok((None, None)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HttpRequestResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `dropbox_sdk::HttpRequestResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 66 | match files::download(&self.client, &files::DownloadArg::new(path), None, None)? { [INFO] [stdout] | -------------------------------------------------------------------------- this expression has type `dropbox_sdk::HttpRequestResult` [INFO] [stdout] ... [INFO] [stdout] 73 | Err(dropbox_sdk::files::DownloadError::UnsupportedFile) => Ok((None, None)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HttpRequestResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `dropbox_sdk::HttpRequestResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 66 | match files::download(&self.client, &files::DownloadArg::new(path), None, None)? { [INFO] [stdout] | -------------------------------------------------------------------------- this expression has type `dropbox_sdk::HttpRequestResult` [INFO] [stdout] ... [INFO] [stdout] 74 | Err(err) => Err(StoreError::IO(format!("{}", err))), [INFO] [stdout] | ^^^^^^^^ expected `HttpRequestResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `dropbox_sdk::HttpRequestResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:170:84 [INFO] [stdout] | [INFO] [stdout] 170 | if files::get_metadata(&self.client, &files::GetMetadataArg::new(path.clone()))?.is_ok() { [INFO] [stdout] | ----------------------------------------------------------------------------^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for enum `dropbox_sdk::files::Metadata` in the current scope [INFO] [stdout] --> src/block_store/dropbox/mod.rs:170:86 [INFO] [stdout] | [INFO] [stdout] 170 | if files::get_metadata(&self.client, &files::GetMetadataArg::new(path.clone()))?.is_ok() { [INFO] [stdout] | ^^^^^ method not found in `dropbox_sdk::files::Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:176:67 [INFO] [stdout] | [INFO] [stdout] 176 | files::upload(&self.client, &files::UploadArg::new(path), raw)??; [INFO] [stdout] | --------------------------------------------------------------^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | files::upload(&self.client, &files::UploadArg::new(path), raw)??; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `FileMetadata` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `FileMetadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:203:67 [INFO] [stdout] | [INFO] [stdout] 203 | files::upload(&self.client, &files::UploadArg::new(path), raw)??; [INFO] [stdout] | --------------------------------------------------------------^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | files::upload(&self.client, &files::UploadArg::new(path), raw)??; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `FileMetadata` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `FileMetadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:237:6 [INFO] [stdout] | [INFO] [stdout] 233 | / files::upload( [INFO] [stdout] 234 | | &self.client, [INFO] [stdout] 235 | | &files::UploadArg::new(format!("/{}/logs/{}", self.name, self.node_id)), [INFO] [stdout] 236 | | &buffer, [INFO] [stdout] 237 | | )??; [INFO] [stdout] | | -^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | / files::upload( [INFO] [stdout] 234 | | &self.client, [INFO] [stdout] 235 | | &files::UploadArg::new(format!("/{}/logs/{}", self.name, self.node_id)), [INFO] [stdout] 236 | | &buffer, [INFO] [stdout] 237 | | )??; [INFO] [stdout] | |_______^ the `?` operator cannot be applied to type `FileMetadata` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `FileMetadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:254:6 [INFO] [stdout] | [INFO] [stdout] 250 | / files::upload( [INFO] [stdout] 251 | | &self.client, [INFO] [stdout] 252 | | &files::UploadArg::new(format!("/{}/logs/{}", self.name, change_log.node)), [INFO] [stdout] 253 | | &buffer, [INFO] [stdout] 254 | | )??; [INFO] [stdout] | | -^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / files::upload( [INFO] [stdout] 251 | | &self.client, [INFO] [stdout] 252 | | &files::UploadArg::new(format!("/{}/logs/{}", self.name, change_log.node)), [INFO] [stdout] 253 | | &buffer, [INFO] [stdout] 254 | | )??; [INFO] [stdout] | |_______^ the `?` operator cannot be applied to type `FileMetadata` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `FileMetadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 264 | ) -> StoreResult> { [INFO] [stdout] | ------------------------------------- expected `StoreError` because of this [INFO] [stdout] 265 | let requested_path = if path == "/" { String::new() } else { path }; [INFO] [stdout] 266 | let result = match files::list_folder( [INFO] [stdout] | ______________________- [INFO] [stdout] 267 | | client, [INFO] [stdout] 268 | | &files::ListFolderArg::new(requested_path).with_recursive(recursive), [INFO] [stdout] 269 | | )? { [INFO] [stdout] | | -^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | |___| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 266 | let result = match files::list_folder( [INFO] [stdout] | ______________________- [INFO] [stdout] 267 | | client, [INFO] [stdout] 268 | | &files::ListFolderArg::new(requested_path).with_recursive(recursive), [INFO] [stdout] 269 | | )? { [INFO] [stdout] | |____- this expression has type `ListFolderResult` [INFO] [stdout] 270 | Ok(result) => result, [INFO] [stdout] | ^^^^^^^^^^ expected `ListFolderResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ListFolderResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 266 | let result = match files::list_folder( [INFO] [stdout] | ______________________- [INFO] [stdout] 267 | | client, [INFO] [stdout] 268 | | &files::ListFolderArg::new(requested_path).with_recursive(recursive), [INFO] [stdout] 269 | | )? { [INFO] [stdout] | |____- this expression has type `ListFolderResult` [INFO] [stdout] 270 | Ok(result) => result, [INFO] [stdout] 271 | Err(ListFolderError::Path(_)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ListFolderResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ListFolderResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 266 | let result = match files::list_folder( [INFO] [stdout] | ______________________- [INFO] [stdout] 267 | | client, [INFO] [stdout] 268 | | &files::ListFolderArg::new(requested_path).with_recursive(recursive), [INFO] [stdout] 269 | | )? { [INFO] [stdout] | |____- this expression has type `ListFolderResult` [INFO] [stdout] ... [INFO] [stdout] 278 | Err(err) => return Err(err.into()), [INFO] [stdout] | ^^^^^^^^ expected `ListFolderResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ListFolderResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 303 | match files::list_folder_continue(self.client, &files::ListFolderContinueArg::new(cursor)) { [INFO] [stdout] | ------------------------------------------------------------------------------------ this expression has type `std::result::Result>` [INFO] [stdout] 304 | Ok(Ok(result)) => { [INFO] [stdout] | ^^^^^^^^^^ expected `ListFolderResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ListFolderResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 303 | match files::list_folder_continue(self.client, &files::ListFolderContinueArg::new(cursor)) { [INFO] [stdout] | ------------------------------------------------------------------------------------ this expression has type `std::result::Result>` [INFO] [stdout] ... [INFO] [stdout] 311 | Ok(Err(e)) => Some(Err(e.into())), [INFO] [stdout] | ^^^^^^ expected `ListFolderResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ListFolderResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StoreError: From>` is not satisfied [INFO] [stdout] --> src/block_store/dropbox/mod.rs:312:30 [INFO] [stdout] | [INFO] [stdout] 312 | Err(e) => Some(Err(e.into())), [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] = note: required for `dropbox_sdk::Error` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:66:84 [INFO] [stdout] | [INFO] [stdout] 66 | match files::download(&self.client, &files::DownloadArg::new(path), None, None)? { [INFO] [stdout] | -------------------------------------------------------------------------^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 66 | match files::download(&self.client, &files::DownloadArg::new(path), None, None)? { [INFO] [stdout] | -------------------------------------------------------------------------- this expression has type `dropbox_sdk::HttpRequestResult` [INFO] [stdout] 67 | Ok(result) => { [INFO] [stdout] | ^^^^^^^^^^ expected `HttpRequestResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `dropbox_sdk::HttpRequestResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 66 | match files::download(&self.client, &files::DownloadArg::new(path), None, None)? { [INFO] [stdout] | -------------------------------------------------------------------------- this expression has type `dropbox_sdk::HttpRequestResult` [INFO] [stdout] ... [INFO] [stdout] 72 | Err(dropbox_sdk::files::DownloadError::Path(_)) => Ok((None, None)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HttpRequestResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `dropbox_sdk::HttpRequestResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 66 | match files::download(&self.client, &files::DownloadArg::new(path), None, None)? { [INFO] [stdout] | -------------------------------------------------------------------------- this expression has type `dropbox_sdk::HttpRequestResult` [INFO] [stdout] ... [INFO] [stdout] 73 | Err(dropbox_sdk::files::DownloadError::UnsupportedFile) => Ok((None, None)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HttpRequestResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `dropbox_sdk::HttpRequestResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 66 | match files::download(&self.client, &files::DownloadArg::new(path), None, None)? { [INFO] [stdout] | -------------------------------------------------------------------------- this expression has type `dropbox_sdk::HttpRequestResult` [INFO] [stdout] ... [INFO] [stdout] 74 | Err(err) => Err(StoreError::IO(format!("{}", err))), [INFO] [stdout] | ^^^^^^^^ expected `HttpRequestResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `dropbox_sdk::HttpRequestResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:170:84 [INFO] [stdout] | [INFO] [stdout] 170 | if files::get_metadata(&self.client, &files::GetMetadataArg::new(path.clone()))?.is_ok() { [INFO] [stdout] | ----------------------------------------------------------------------------^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for enum `dropbox_sdk::files::Metadata` in the current scope [INFO] [stdout] --> src/block_store/dropbox/mod.rs:170:86 [INFO] [stdout] | [INFO] [stdout] 170 | if files::get_metadata(&self.client, &files::GetMetadataArg::new(path.clone()))?.is_ok() { [INFO] [stdout] | ^^^^^ method not found in `dropbox_sdk::files::Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:176:67 [INFO] [stdout] | [INFO] [stdout] 176 | files::upload(&self.client, &files::UploadArg::new(path), raw)??; [INFO] [stdout] | --------------------------------------------------------------^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | files::upload(&self.client, &files::UploadArg::new(path), raw)??; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `FileMetadata` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `FileMetadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:203:67 [INFO] [stdout] | [INFO] [stdout] 203 | files::upload(&self.client, &files::UploadArg::new(path), raw)??; [INFO] [stdout] | --------------------------------------------------------------^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | files::upload(&self.client, &files::UploadArg::new(path), raw)??; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `FileMetadata` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `FileMetadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:237:6 [INFO] [stdout] | [INFO] [stdout] 233 | / files::upload( [INFO] [stdout] 234 | | &self.client, [INFO] [stdout] 235 | | &files::UploadArg::new(format!("/{}/logs/{}", self.name, self.node_id)), [INFO] [stdout] 236 | | &buffer, [INFO] [stdout] 237 | | )??; [INFO] [stdout] | | -^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | / files::upload( [INFO] [stdout] 234 | | &self.client, [INFO] [stdout] 235 | | &files::UploadArg::new(format!("/{}/logs/{}", self.name, self.node_id)), [INFO] [stdout] 236 | | &buffer, [INFO] [stdout] 237 | | )??; [INFO] [stdout] | |_______^ the `?` operator cannot be applied to type `FileMetadata` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `FileMetadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:254:6 [INFO] [stdout] | [INFO] [stdout] 250 | / files::upload( [INFO] [stdout] 251 | | &self.client, [INFO] [stdout] 252 | | &files::UploadArg::new(format!("/{}/logs/{}", self.name, change_log.node)), [INFO] [stdout] 253 | | &buffer, [INFO] [stdout] 254 | | )??; [INFO] [stdout] | | -^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / files::upload( [INFO] [stdout] 251 | | &self.client, [INFO] [stdout] 252 | | &files::UploadArg::new(format!("/{}/logs/{}", self.name, change_log.node)), [INFO] [stdout] 253 | | &buffer, [INFO] [stdout] 254 | | )??; [INFO] [stdout] | |_______^ the `?` operator cannot be applied to type `FileMetadata` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `FileMetadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StoreError` [INFO] [stdout] --> src/block_store/dropbox/mod.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 264 | ) -> StoreResult> { [INFO] [stdout] | ------------------------------------- expected `StoreError` because of this [INFO] [stdout] 265 | let requested_path = if path == "/" { String::new() } else { path }; [INFO] [stdout] 266 | let result = match files::list_folder( [INFO] [stdout] | ______________________- [INFO] [stdout] 267 | | client, [INFO] [stdout] 268 | | &files::ListFolderArg::new(requested_path).with_recursive(recursive), [INFO] [stdout] 269 | | )? { [INFO] [stdout] | | -^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | |___| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, dropbox_sdk::Error>` [INFO] [stdout] | [INFO] [stdout] note: `StoreError` needs to implement `From>` [INFO] [stdout] --> src/block_store/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 266 | let result = match files::list_folder( [INFO] [stdout] | ______________________- [INFO] [stdout] 267 | | client, [INFO] [stdout] 268 | | &files::ListFolderArg::new(requested_path).with_recursive(recursive), [INFO] [stdout] 269 | | )? { [INFO] [stdout] | |____- this expression has type `ListFolderResult` [INFO] [stdout] 270 | Ok(result) => result, [INFO] [stdout] | ^^^^^^^^^^ expected `ListFolderResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ListFolderResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 266 | let result = match files::list_folder( [INFO] [stdout] | ______________________- [INFO] [stdout] 267 | | client, [INFO] [stdout] 268 | | &files::ListFolderArg::new(requested_path).with_recursive(recursive), [INFO] [stdout] 269 | | )? { [INFO] [stdout] | |____- this expression has type `ListFolderResult` [INFO] [stdout] 270 | Ok(result) => result, [INFO] [stdout] 271 | Err(ListFolderError::Path(_)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ListFolderResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ListFolderResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 266 | let result = match files::list_folder( [INFO] [stdout] | ______________________- [INFO] [stdout] 267 | | client, [INFO] [stdout] 268 | | &files::ListFolderArg::new(requested_path).with_recursive(recursive), [INFO] [stdout] 269 | | )? { [INFO] [stdout] | |____- this expression has type `ListFolderResult` [INFO] [stdout] ... [INFO] [stdout] 278 | Err(err) => return Err(err.into()), [INFO] [stdout] | ^^^^^^^^ expected `ListFolderResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ListFolderResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 303 | match files::list_folder_continue(self.client, &files::ListFolderContinueArg::new(cursor)) { [INFO] [stdout] | ------------------------------------------------------------------------------------ this expression has type `std::result::Result>` [INFO] [stdout] 304 | Ok(Ok(result)) => { [INFO] [stdout] | ^^^^^^^^^^ expected `ListFolderResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ListFolderResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block_store/dropbox/mod.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 303 | match files::list_folder_continue(self.client, &files::ListFolderContinueArg::new(cursor)) { [INFO] [stdout] | ------------------------------------------------------------------------------------ this expression has type `std::result::Result>` [INFO] [stdout] ... [INFO] [stdout] 311 | Ok(Err(e)) => Some(Err(e.into())), [INFO] [stdout] | ^^^^^^ expected `ListFolderResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ListFolderResult` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StoreError: From>` is not satisfied [INFO] [stdout] --> src/block_store/dropbox/mod.rs:312:30 [INFO] [stdout] | [INFO] [stdout] 312 | Err(e) => Some(Err(e.into())), [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `StoreError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From>` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] `StoreError` implements `From` [INFO] [stdout] and 4 others [INFO] [stdout] = note: required for `dropbox_sdk::Error` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `t-rust-less-lib` (lib) due to 22 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `t-rust-less-lib` (lib test) due to 22 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed0f550de4828781ca1bdc18b35147c49a712bbc908b4b1966153d66d023e63a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed0f550de4828781ca1bdc18b35147c49a712bbc908b4b1966153d66d023e63a", kill_on_drop: false }` [INFO] [stdout] ed0f550de4828781ca1bdc18b35147c49a712bbc908b4b1966153d66d023e63a