[INFO] fetching crate sn_api 0.17.0... [INFO] checking sn_api-0.17.0 against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] extracting crate sn_api 0.17.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sn_api 0.17.0 on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sn_api 0.17.0 [INFO] finished tweaking crates.io crate sn_api 0.17.0 [INFO] tweaked toml for crates.io crate sn_api 0.17.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-lite v1.11.3 [INFO] [stderr] Downloaded async-io v1.3.1 [INFO] [stderr] Downloaded parking v2.0.0 [INFO] [stderr] Downloaded gloo-timers v0.2.1 [INFO] [stderr] Downloaded async-channel v1.5.1 [INFO] [stderr] Downloaded waker-fn v1.1.0 [INFO] [stderr] Downloaded qjsonrpc v0.0.9 [INFO] [stderr] Downloaded async-std v1.8.0 [INFO] [stderr] Downloaded async-global-executor v1.4.3 [INFO] [stderr] Downloaded event-listener v2.5.1 [INFO] [stderr] Downloaded async-mutex v1.4.0 [INFO] [stderr] Downloaded fastrand v1.4.0 [INFO] [stderr] Downloaded vec-arena v1.0.0 [INFO] [stderr] Downloaded blocking v1.0.2 [INFO] [stderr] Downloaded polling v2.0.2 [INFO] [stderr] Downloaded wepoll-sys v3.0.1 [INFO] [stderr] Downloaded async-executor v1.4.0 [INFO] [stderr] Downloaded nb-connect v1.0.2 [INFO] [stderr] Downloaded atomic-waker v1.0.0 [INFO] [stderr] Downloaded async-task v4.0.3 [INFO] [stderr] Downloaded sn_client v0.44.11 [INFO] [stderr] Downloaded relative-path v0.4.0 [INFO] [stderr] Downloaded concurrent-queue v1.2.2 [INFO] [stderr] Downloaded cargo-husky v1.5.0 [INFO] [stderr] Downloaded uhttp_uri v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 079238afff31c4b15e1c920e2ad18a0355d582e8c32bf5d1df86cf5a0b2628a5 [INFO] running `Command { std: "docker" "start" "-a" "079238afff31c4b15e1c920e2ad18a0355d582e8c32bf5d1df86cf5a0b2628a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "079238afff31c4b15e1c920e2ad18a0355d582e8c32bf5d1df86cf5a0b2628a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "079238afff31c4b15e1c920e2ad18a0355d582e8c32bf5d1df86cf5a0b2628a5", kill_on_drop: false }` [INFO] [stdout] 079238afff31c4b15e1c920e2ad18a0355d582e8c32bf5d1df86cf5a0b2628a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf5f3ded6b254d63938469adc7781d8e25138491eb606a1be91b742e09ef3d77 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cf5f3ded6b254d63938469adc7781d8e25138491eb606a1be91b742e09ef3d77", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking alloc-no-stdlib v2.0.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking arc-swap v0.3.11 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking zeroize v0.5.2 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking unwrap v1.2.1 [INFO] [stderr] Checking uhttp_uri v0.5.1 [INFO] [stderr] Checking relative-path v0.4.0 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking xmltree v0.10.2 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking crossbeam-utils v0.8.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking brotli-decompressor v2.3.1 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking dbl v0.2.1 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking pem v0.8.2 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking block-modes v0.3.3 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking pmac v0.2.0 [INFO] [stderr] Checking cmac v0.2.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking ctr v0.3.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking miscreant v0.4.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Checking brotli v3.3.0 [INFO] [stderr] Checking const-random v0.1.13 [INFO] [stderr] Checking ahash v0.2.19 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking lru v0.5.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ff_derive v0.6.0 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.9 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking data-encoding-macro v0.1.10 [INFO] [stderr] Checking multibase v0.8.0 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pem v0.6.1 [INFO] [stderr] Checking ff v0.6.0 [INFO] [stderr] Checking group v0.6.0 [INFO] [stderr] Checking pairing v0.16.0 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking xor_name v1.1.4 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking threshold_crypto v0.4.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking yasna v0.3.2 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking async-std v1.8.0 [INFO] [stderr] Checking log4rs v0.8.3 [INFO] [stderr] Checking crdts v4.3.0 [INFO] [stderr] Checking ws v0.9.1 [INFO] [stderr] Checking rcgen v0.8.9 [INFO] [stderr] Checking rcgen v0.7.0 [INFO] [stderr] Checking quinn-proto v0.6.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking attohttpc v0.10.1 [INFO] [stderr] Checking sn_data_types v0.12.0 [INFO] [stderr] Checking sn_data_types v0.11.42 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking self_encryption v0.19.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking quinn v0.6.1 [INFO] [stderr] Checking qjsonrpc v0.0.9 [INFO] [stderr] Checking sn_transfers v0.2.8 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking igd v0.11.1 [INFO] [stderr] Checking qp2p v0.9.7 [INFO] [stderr] Checking sn_client v0.44.11 [INFO] [stderr] Checking sn_api v0.17.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sn_client::ClientError` [INFO] [stdout] --> src/api/app/safe_client.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use sn_client::{Client, ClientError as SafeClientError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ClientError` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sn_client::ClientError` [INFO] [stdout] --> src/api/authenticator/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | ClientError, [INFO] [stdout] | ^^^^^^^^^^^ no `ClientError` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sn_client::ClientError` [INFO] [stdout] --> src/api/errors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sn_client::ClientError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `ClientError` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `SafeNdError::AccessDenied` [INFO] [stdout] --> src/api/app/safe_client.rs:296:44 [INFO] [stdout] | [INFO] [stdout] 296 | SafeClientError::DataError(SafeNdError::AccessDenied) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `SafeNdError::AccessDenied(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sn_data_types-0.11.42/src/errors.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | AccessDenied(PublicKey), [INFO] [stdout] | ----------------------- `SafeNdError::AccessDenied` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `SafeNdError::AccessDenied` [INFO] [stdout] --> src/api/app/safe_client.rs:325:44 [INFO] [stdout] | [INFO] [stdout] 325 | SafeClientError::DataError(SafeNdError::AccessDenied) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `SafeNdError::AccessDenied(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sn_data_types-0.11.42/src/errors.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | AccessDenied(PublicKey), [INFO] [stdout] | ----------------------- `SafeNdError::AccessDenied` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sn_client::ClientError` [INFO] [stdout] --> src/api/app/safe_client.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use sn_client::{Client, ClientError as SafeClientError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ClientError` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sn_client::ClientError` [INFO] [stdout] --> src/api/authenticator/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | ClientError, [INFO] [stdout] | ^^^^^^^^^^^ no `ClientError` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sn_client::ClientError` [INFO] [stdout] --> src/api/errors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sn_client::ClientError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `ClientError` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `SafeNdError::AccessDenied` [INFO] [stdout] --> src/api/app/safe_client.rs:296:44 [INFO] [stdout] | [INFO] [stdout] 296 | SafeClientError::DataError(SafeNdError::AccessDenied) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `SafeNdError::AccessDenied(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sn_data_types-0.11.42/src/errors.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | AccessDenied(PublicKey), [INFO] [stdout] | ----------------------- `SafeNdError::AccessDenied` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `SafeNdError::AccessDenied` [INFO] [stdout] --> src/api/app/safe_client.rs:325:44 [INFO] [stdout] | [INFO] [stdout] 325 | SafeClientError::DataError(SafeNdError::AccessDenied) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `SafeNdError::AccessDenied(/* fields */)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sn_data_types-0.11.42/src/errors.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | AccessDenied(PublicKey), [INFO] [stdout] | ----------------------- `SafeNdError::AccessDenied` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(kp) [INFO] [stdout] | ^^ expected enum `sn_data_types::Keypair`, found enum `sn_data_types::keys::keypair::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found struct `Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(kp) [INFO] [stdout] | ^^ expected enum `sn_data_types::Keypair`, found enum `sn_data_types::keys::keypair::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc` [INFO] [stdout] found struct `std::sync::Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | let client = Client::new(app_keypair, self.bootstrap_config.clone()) [INFO] [stdout] | ^^^^^^^^^^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option>` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | let client = Client::new(app_keypair, self.bootstrap_config.clone()) [INFO] [stdout] | ^^^^^^^^^^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option>` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:157:42 [INFO] [stdout] | [INFO] [stdout] 157 | Some(id) => Client::new(Some(id), self.bootstrap_config.clone()).await?, [INFO] [stdout] | ^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found struct `Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:157:42 [INFO] [stdout] | [INFO] [stdout] 157 | Some(id) => Client::new(Some(id), self.bootstrap_config.clone()).await?, [INFO] [stdout] | ^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc` [INFO] [stdout] found struct `std::sync::Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | .send_money(to_pk, amount) [INFO] [stdout] | ^^^^^ expected enum `sn_data_types::keys::public_key::PublicKey`, found enum `sn_data_types::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | .send_money(to_pk, amount) [INFO] [stdout] | ^^^^^ expected enum `sn_data_types::keys::public_key::PublicKey`, found enum `sn_data_types::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | .send_money(to_pk, amount) [INFO] [stdout] | ^^^^^^ expected struct `sn_data_types::money::Money`, found struct `sn_data_types::Money` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | .send_money(to_pk, amount) [INFO] [stdout] | ^^^^^^ expected struct `sn_data_types::money::Money`, found struct `sn_data_types::Money` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | Client::new(id, self.bootstrap_config.clone()).await? [INFO] [stdout] | ^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option>` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | Client::new(id, self.bootstrap_config.clone()).await? [INFO] [stdout] | ^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option>` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | client.trigger_simulated_farming_payout(amount).await?; [INFO] [stdout] | ^^^^^^ expected struct `sn_data_types::money::Money`, found struct `sn_data_types::Money` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | client.trigger_simulated_farming_payout(amount).await?; [INFO] [stdout] | ^^^^^^ expected struct `sn_data_types::money::Money`, found struct `sn_data_types::Money` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | let temp_client = Client::new(Some(id), self.bootstrap_config.clone()).await?; [INFO] [stdout] | ^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found struct `Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | let temp_client = Client::new(Some(id), self.bootstrap_config.clone()).await?; [INFO] [stdout] | ^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc` [INFO] [stdout] found struct `std::sync::Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | / temp_client.get_balance().await.map_err(|err| match err { [INFO] [stdout] 106 | | SafeClientError::DataError(SafeNdError::NoSuchBalance) => { [INFO] [stdout] 107 | | Error::ContentNotFound("No SafeKey found at specified location".to_string()) [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | other => Error::NetDataError(format!("Failed to retrieve balance: {:?}", other)), [INFO] [stdout] 110 | | }) [INFO] [stdout] | |__________^ expected struct `sn_data_types::Money`, found struct `sn_data_types::money::Money` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] note: return type inferred to be `std::result::Result` here [INFO] [stdout] --> src/api/app/safe_client.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | let temp_client = Client::new(Some(id), self.bootstrap_config.clone()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | / temp_client.get_balance().await.map_err(|err| match err { [INFO] [stdout] 106 | | SafeClientError::DataError(SafeNdError::NoSuchBalance) => { [INFO] [stdout] 107 | | Error::ContentNotFound("No SafeKey found at specified location".to_string()) [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | other => Error::NetDataError(format!("Failed to retrieve balance: {:?}", other)), [INFO] [stdout] 110 | | }) [INFO] [stdout] | |__________^ expected struct `sn_data_types::Money`, found struct `sn_data_types::money::Money` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] note: return type inferred to be `std::result::Result` here [INFO] [stdout] --> src/api/app/safe_client.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | let temp_client = Client::new(Some(id), self.bootstrap_config.clone()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:498:33 [INFO] [stdout] | [INFO] [stdout] 498 | .get_sequence_range(sequence_address, (start, end)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected enum `sn_data_types::sequence::metadata::Address`, found enum `SequenceAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:498:33 [INFO] [stdout] | [INFO] [stdout] 498 | .get_sequence_range(sequence_address, (start, end)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected enum `sn_data_types::sequence::metadata::Address`, found enum `SequenceAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:498:52 [INFO] [stdout] | [INFO] [stdout] 498 | .get_sequence_range(sequence_address, (start, end)) [INFO] [stdout] | ^^^^^ expected enum `sn_data_types::sequence::metadata::Index`, found enum `SequenceIndex` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:498:52 [INFO] [stdout] | [INFO] [stdout] 498 | .get_sequence_range(sequence_address, (start, end)) [INFO] [stdout] | ^^^^^ expected enum `sn_data_types::sequence::metadata::Index`, found enum `SequenceIndex` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:498:59 [INFO] [stdout] | [INFO] [stdout] 498 | .get_sequence_range(sequence_address, (start, end)) [INFO] [stdout] | ^^^ expected enum `sn_data_types::sequence::metadata::Index`, found enum `SequenceIndex` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:498:59 [INFO] [stdout] | [INFO] [stdout] 498 | .get_sequence_range(sequence_address, (start, end)) [INFO] [stdout] | ^^^ expected enum `sn_data_types::sequence::metadata::Index`, found enum `SequenceIndex` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:459:38 [INFO] [stdout] | [INFO] [stdout] 459 | .get_sequence_last_entry(sequence_address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected enum `sn_data_types::sequence::metadata::Address`, found enum `SequenceAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:459:38 [INFO] [stdout] | [INFO] [stdout] 459 | .get_sequence_last_entry(sequence_address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected enum `sn_data_types::sequence::metadata::Address`, found enum `SequenceAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | client.read_blob(blob_address, start, len).await [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `sn_data_types::blob::Address`, found enum `BlobAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | client.read_blob(blob_address, start, len).await [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `sn_data_types::blob::Address`, found enum `BlobAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:212:30 [INFO] [stdout] | [INFO] [stdout] 212 | client.read_blob(blob_address, None, None).await [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `sn_data_types::blob::Address`, found enum `BlobAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:212:30 [INFO] [stdout] | [INFO] [stdout] 212 | client.read_blob(blob_address, None, None).await [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `sn_data_types::blob::Address`, found enum `BlobAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | / client [INFO] [stdout] 322 | | .list_seq_map_entries(name, tag) [INFO] [stdout] 323 | | .await [INFO] [stdout] 324 | | .map_err(|err| match err { [INFO] [stdout] ... | [INFO] [stdout] 345 | | err => Error::NetDataError(format!("Failed to get Sequenced Map. {:?}", err)), [INFO] [stdout] 346 | | }) [INFO] [stdout] | |______________^ expected struct `MapSeqValue`, found struct `sn_data_types::map::SeqValue` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result, _>` [INFO] [stdout] found enum `std::result::Result, _>` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] note: return type inferred to be `std::result::Result, MapSeqValue>, api::errors::Error>` here [INFO] [stdout] --> src/api/app/safe_client.rs:320:22 [INFO] [stdout] | [INFO] [stdout] 320 | let client = self.get_safe_client()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | / client [INFO] [stdout] 322 | | .list_seq_map_entries(name, tag) [INFO] [stdout] 323 | | .await [INFO] [stdout] 324 | | .map_err(|err| match err { [INFO] [stdout] ... | [INFO] [stdout] 345 | | err => Error::NetDataError(format!("Failed to get Sequenced Map. {:?}", err)), [INFO] [stdout] 346 | | }) [INFO] [stdout] | |______________^ expected struct `MapSeqValue`, found struct `sn_data_types::map::SeqValue` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result, _>` [INFO] [stdout] found enum `std::result::Result, _>` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] note: return type inferred to be `std::result::Result, MapSeqValue>, api::errors::Error>` here [INFO] [stdout] --> src/api/app/safe_client.rs:320:22 [INFO] [stdout] | [INFO] [stdout] 320 | let client = self.get_safe_client()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 293 | .get_map_value(address, key_vec) [INFO] [stdout] | ^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 293 | .get_map_value(address, key_vec) [INFO] [stdout] | ^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | / client [INFO] [stdout] 293 | | .get_map_value(address, key_vec) [INFO] [stdout] 294 | | .await [INFO] [stdout] 295 | | .map_err(|err| match err { [INFO] [stdout] ... | [INFO] [stdout] 311 | | err => Error::NetDataError(format!("Failed to retrieve a key. {:?}", err)), [INFO] [stdout] 312 | | }) [INFO] [stdout] | |______________^ expected enum `MapValue`, found enum `sn_data_types::map::Value` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] note: return type inferred to be `std::result::Result` here [INFO] [stdout] --> src/api/app/safe_client.rs:288:22 [INFO] [stdout] | [INFO] [stdout] 288 | let client = self.get_safe_client()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | / client [INFO] [stdout] 293 | | .get_map_value(address, key_vec) [INFO] [stdout] 294 | | .await [INFO] [stdout] 295 | | .map_err(|err| match err { [INFO] [stdout] ... | [INFO] [stdout] 311 | | err => Error::NetDataError(format!("Failed to retrieve a key. {:?}", err)), [INFO] [stdout] 312 | | }) [INFO] [stdout] | |______________^ expected enum `MapValue`, found enum `sn_data_types::map::Value` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] note: return type inferred to be `std::result::Result` here [INFO] [stdout] --> src/api/app/safe_client.rs:288:22 [INFO] [stdout] | [INFO] [stdout] 288 | let client = self.get_safe_client()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:547:33 [INFO] [stdout] | [INFO] [stdout] 547 | .append_to_sequence(sequence_address, data.to_vec()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected enum `sn_data_types::sequence::metadata::Address`, found enum `SequenceAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:547:33 [INFO] [stdout] | [INFO] [stdout] 547 | .append_to_sequence(sequence_address, data.to_vec()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected enum `sn_data_types::sequence::metadata::Address`, found enum `SequenceAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:415:89 [INFO] [stdout] | [INFO] [stdout] 415 | .store_private_sequence(Some(vec![data.to_vec()]), xorname, tag, owner, perms) [INFO] [stdout] | ^^^^^ expected struct `sn_data_types::sequence::metadata::PrivatePermissions`, found struct `SequencePrivatePermissions` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap<_, sn_data_types::sequence::metadata::PrivatePermissions>` [INFO] [stdout] found struct `BTreeMap<_, SequencePrivatePermissions>` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:415:89 [INFO] [stdout] | [INFO] [stdout] 415 | .store_private_sequence(Some(vec![data.to_vec()]), xorname, tag, owner, perms) [INFO] [stdout] | ^^^^^ expected struct `sn_data_types::sequence::metadata::PrivatePermissions`, found struct `SequencePrivatePermissions` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap<_, sn_data_types::sequence::metadata::PrivatePermissions>` [INFO] [stdout] found struct `BTreeMap<_, SequencePrivatePermissions>` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:422:46 [INFO] [stdout] | [INFO] [stdout] 422 | let user_app = SequenceUser::Key(owner); [INFO] [stdout] | ^^^^^ expected enum `sn_data_types::PublicKey`, found enum `sn_data_types::keys::public_key::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:422:46 [INFO] [stdout] | [INFO] [stdout] 422 | let user_app = SequenceUser::Key(owner); [INFO] [stdout] | ^^^^^ expected enum `sn_data_types::PublicKey`, found enum `sn_data_types::keys::public_key::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:427:88 [INFO] [stdout] | [INFO] [stdout] 427 | .store_public_sequence(Some(vec![data.to_vec()]), xorname, tag, owner, perms) [INFO] [stdout] | ^^^^^ expected enum `sn_data_types::sequence::metadata::User`, found enum `SequenceUser` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `BTreeMap` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:427:88 [INFO] [stdout] | [INFO] [stdout] 427 | .store_public_sequence(Some(vec![data.to_vec()]), xorname, tag, owner, perms) [INFO] [stdout] | ^^^^^ expected enum `sn_data_types::sequence::metadata::User`, found enum `SequenceUser` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `BTreeMap` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | Some(permission_map), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `sn_data_types::map::PermissionSet`, found struct `MapPermissionSet` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap<_, sn_data_types::map::PermissionSet>` [INFO] [stdout] found struct `BTreeMap<_, MapPermissionSet>` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | Some(permission_map), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `sn_data_types::map::PermissionSet`, found struct `MapPermissionSet` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap<_, sn_data_types::map::PermissionSet>` [INFO] [stdout] found struct `BTreeMap<_, MapPermissionSet>` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | .get_map(address) [INFO] [stdout] | ^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | .get_map(address) [INFO] [stdout] | ^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | / client [INFO] [stdout] 269 | | .get_map(address) [INFO] [stdout] 270 | | .await [INFO] [stdout] 271 | | .map_err(|e| Error::NetDataError(format!("Failed to get SeqMap: {:?}", e))) [INFO] [stdout] | |_______________________________________________________________________________________^ expected enum `sn_data_types::Map`, found enum `sn_data_types::map::Data` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] note: return type inferred to be `std::result::Result` here [INFO] [stdout] --> src/api/app/safe_client.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | let client = self.get_safe_client()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | / client [INFO] [stdout] 269 | | .get_map(address) [INFO] [stdout] 270 | | .await [INFO] [stdout] 271 | | .map_err(|e| Error::NetDataError(format!("Failed to get SeqMap: {:?}", e))) [INFO] [stdout] | |_______________________________________________________________________________________^ expected enum `sn_data_types::Map`, found enum `sn_data_types::map::Data` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] note: return type inferred to be `std::result::Result` here [INFO] [stdout] --> src/api/app/safe_client.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | let client = self.get_safe_client()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:360:31 [INFO] [stdout] | [INFO] [stdout] 360 | .edit_map_entries(address, MapEntryActions::Seq(entry_actions)) [INFO] [stdout] | ^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:360:31 [INFO] [stdout] | [INFO] [stdout] 360 | .edit_map_entries(address, MapEntryActions::Seq(entry_actions)) [INFO] [stdout] | ^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:360:40 [INFO] [stdout] | [INFO] [stdout] 360 | .edit_map_entries(address, MapEntryActions::Seq(entry_actions)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `sn_data_types::map::EntryActions`, found enum `MapEntryActions` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/app/safe_client.rs:360:40 [INFO] [stdout] | [INFO] [stdout] 360 | .edit_map_entries(address, MapEntryActions::Seq(entry_actions)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `sn_data_types::map::EntryActions`, found enum `MapEntryActions` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | let mut client = Client::new(Some(keypair), None).await?; [INFO] [stdout] | ^^^^^^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc` [INFO] [stdout] found struct `std::sync::Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | let mut client = Client::new(Some(keypair), None).await?; [INFO] [stdout] | ^^^^^^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found struct `Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | if existing_balance != Money::from_nano(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `sn_data_types::money::Money`, found struct `sn_data_types::Money` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | if existing_balance != Money::from_nano(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `sn_data_types::money::Money`, found struct `sn_data_types::Money` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:203:47 [INFO] [stdout] | [INFO] [stdout] 203 | .trigger_simulated_farming_payout(Money::from_nano(DEFAULT_TEST_COINS_AMOUNT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `sn_data_types::money::Money`, found struct `sn_data_types::Money` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:203:47 [INFO] [stdout] | [INFO] [stdout] 203 | .trigger_simulated_farming_payout(Money::from_nano(DEFAULT_TEST_COINS_AMOUNT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `sn_data_types::money::Money`, found struct `sn_data_types::Money` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | data_owner, [INFO] [stdout] | ^^^^^^^^^^ expected enum `sn_data_types::keys::public_key::PublicKey`, found enum `sn_data_types::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | data_owner, [INFO] [stdout] | ^^^^^^^^^^ expected enum `sn_data_types::keys::public_key::PublicKey`, found enum `sn_data_types::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | Some(permission_map), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `sn_data_types::keys::public_key::PublicKey`, found enum `sn_data_types::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `BTreeMap` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | Some(permission_map), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected enum `sn_data_types::keys::public_key::PublicKey`, found enum `sn_data_types::PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `BTreeMap` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:233:35 [INFO] [stdout] | [INFO] [stdout] 233 | self.safe = Some((client, map_address)); [INFO] [stdout] | ^^^^^^^^^^^ expected enum `MapAddress`, found enum `sn_data_types::map::Address` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:288:39 [INFO] [stdout] | [INFO] [stdout] 288 | let client = Client::new(Some(keypair), None).await?; [INFO] [stdout] | ^^^^^^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found struct `Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:233:35 [INFO] [stdout] | [INFO] [stdout] 233 | self.safe = Some((client, map_address)); [INFO] [stdout] | ^^^^^^^^^^^ expected enum `MapAddress`, found enum `sn_data_types::map::Address` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:297:32 [INFO] [stdout] | [INFO] [stdout] 297 | let _ = client.get_map(map_address).await?; [INFO] [stdout] | ^^^^^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:288:39 [INFO] [stdout] | [INFO] [stdout] 288 | let client = Client::new(Some(keypair), None).await?; [INFO] [stdout] | ^^^^^^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc` [INFO] [stdout] found struct `std::sync::Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:375:54 [INFO] [stdout] | [INFO] [stdout] 375 | let keypair = match client.get_map_value(*map_address, app_id.clone()).await { [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:383:25 [INFO] [stdout] | [INFO] [stdout] 382 | let keypair_bytes = match value { [INFO] [stdout] | ----- this expression has type `sn_data_types::map::Value` [INFO] [stdout] 383 | MapValue::Seq(seq_value) => seq_value.data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `sn_data_types::map::Value`, found enum `MapValue` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 382 | let keypair_bytes = match value { [INFO] [stdout] | ----- this expression has type `sn_data_types::map::Value` [INFO] [stdout] 383 | MapValue::Seq(seq_value) => seq_value.data, [INFO] [stdout] 384 | MapValue::Unseq(data) => data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected enum `sn_data_types::map::Value`, found enum `MapValue` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:297:32 [INFO] [stdout] | [INFO] [stdout] 297 | let _ = client.get_map(map_address).await?; [INFO] [stdout] | ^^^^^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:432:59 [INFO] [stdout] | [INFO] [stdout] 432 | let mut tmp_client = Client::new(Some(keypair.clone()), None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc` [INFO] [stdout] found struct `Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:375:54 [INFO] [stdout] | [INFO] [stdout] 375 | let keypair = match client.get_map_value(*map_address, app_id.clone()).await { [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:383:25 [INFO] [stdout] | [INFO] [stdout] 382 | let keypair_bytes = match value { [INFO] [stdout] | ----- this expression has type `sn_data_types::map::Value` [INFO] [stdout] 383 | MapValue::Seq(seq_value) => seq_value.data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `sn_data_types::map::Value`, found enum `MapValue` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 382 | let keypair_bytes = match value { [INFO] [stdout] | ----- this expression has type `sn_data_types::map::Value` [INFO] [stdout] 383 | MapValue::Seq(seq_value) => seq_value.data, [INFO] [stdout] 384 | MapValue::Unseq(data) => data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected enum `sn_data_types::map::Value`, found enum `MapValue` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:434:59 [INFO] [stdout] | [INFO] [stdout] 434 | .trigger_simulated_farming_payout(Money::from_nano( [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 435 | | DEFAULT_TEST_COINS_AMOUNT, [INFO] [stdout] 436 | | )) [INFO] [stdout] | |_________________________^ expected struct `sn_data_types::money::Money`, found struct `sn_data_types::Money` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:432:59 [INFO] [stdout] | [INFO] [stdout] 432 | let mut tmp_client = Client::new(Some(keypair.clone()), None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected enum `sn_data_types::keys::keypair::Keypair`, found enum `sn_data_types::Keypair` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::sync::Arc` [INFO] [stdout] found struct `std::sync::Arc` [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:444:43 [INFO] [stdout] | [INFO] [stdout] 444 | .edit_map_entries(*map_address, MapEntryActions::Seq(map_actions)) [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:434:59 [INFO] [stdout] | [INFO] [stdout] 434 | .trigger_simulated_farming_payout(Money::from_nano( [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 435 | | DEFAULT_TEST_COINS_AMOUNT, [INFO] [stdout] 436 | | )) [INFO] [stdout] | |_________________________^ expected struct `sn_data_types::money::Money`, found struct `sn_data_types::Money` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:444:57 [INFO] [stdout] | [INFO] [stdout] 444 | .edit_map_entries(*map_address, MapEntryActions::Seq(map_actions)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `sn_data_types::map::EntryActions`, found enum `MapEntryActions` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:444:43 [INFO] [stdout] | [INFO] [stdout] 444 | .edit_map_entries(*map_address, MapEntryActions::Seq(map_actions)) [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `sn_data_types::map::Address`, found enum `MapAddress` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sn_api` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/authenticator/mod.rs:444:57 [INFO] [stdout] | [INFO] [stdout] 444 | .edit_map_entries(*map_address, MapEntryActions::Seq(map_actions)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `sn_data_types::map::EntryActions`, found enum `MapEntryActions` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `sn_data_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf5f3ded6b254d63938469adc7781d8e25138491eb606a1be91b742e09ef3d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5f3ded6b254d63938469adc7781d8e25138491eb606a1be91b742e09ef3d77", kill_on_drop: false }` [INFO] [stdout] cf5f3ded6b254d63938469adc7781d8e25138491eb606a1be91b742e09ef3d77