[INFO] fetching crate sn_api 0.17.0... [INFO] testing sn_api-0.17.0 against 1.49.0 for beta-1.50-1 [INFO] extracting crate sn_api 0.17.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate sn_api 0.17.0 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "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] de9c03204019b1e27c2c218bb490bb30188f8212725baf3055916ac14f347922 [INFO] running `Command { std: "docker" "start" "-a" "de9c03204019b1e27c2c218bb490bb30188f8212725baf3055916ac14f347922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de9c03204019b1e27c2c218bb490bb30188f8212725baf3055916ac14f347922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de9c03204019b1e27c2c218bb490bb30188f8212725baf3055916ac14f347922", kill_on_drop: false }` [INFO] [stdout] de9c03204019b1e27c2c218bb490bb30188f8212725baf3055916ac14f347922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89b92e57163875b3b482c962d9512df3e0a4e6523e8b91e46f3b3e8cd13816ff [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" "89b92e57163875b3b482c962d9512df3e0a4e6523e8b91e46f3b3e8cd13816ff", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling base-x v0.2.8 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.1 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling zeroize v0.5.2 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling uhttp_uri v0.5.1 [INFO] [stderr] Compiling relative-path v0.4.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling xmltree v0.10.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.1 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling brotli-decompressor v2.3.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling dbl v0.2.1 [INFO] [stderr] Compiling stream-cipher v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.9 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling pem v0.8.2 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling block-modes v0.3.3 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling ctr v0.3.2 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling pmac v0.2.0 [INFO] [stderr] Compiling cmac v0.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling pem v0.6.1 [INFO] [stderr] Compiling miscreant v0.4.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling brotli v3.3.0 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Compiling data-encoding-macro v0.1.10 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling multibase v0.8.0 [INFO] [stderr] Compiling curve25519-dalek v3.0.0 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling ff_derive v0.6.0 [INFO] [stderr] Compiling const-random v0.1.13 [INFO] [stderr] Compiling ahash v0.2.19 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling lru v0.5.3 [INFO] [stderr] Compiling ff v0.6.0 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling group v0.6.0 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling ed25519 v1.0.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling xor_name v1.1.4 [INFO] [stderr] Compiling serde_yaml v0.8.15 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling pairing v0.16.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling threshold_crypto v0.4.0 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling yasna v0.3.2 [INFO] [stderr] Compiling log4rs v0.8.3 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling ws v0.9.1 [INFO] [stderr] Compiling async-std v1.8.0 [INFO] [stderr] Compiling crdts v4.3.0 [INFO] [stderr] Compiling rcgen v0.8.9 [INFO] [stderr] Compiling rcgen v0.7.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling attohttpc v0.10.1 [INFO] [stderr] Compiling quinn-proto v0.6.1 [INFO] [stderr] Compiling sn_data_types v0.12.0 [INFO] [stderr] Compiling sn_data_types v0.11.42 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling self_encryption v0.19.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling quinn v0.6.1 [INFO] [stderr] Compiling qjsonrpc v0.0.9 [INFO] [stderr] Compiling sn_transfers v0.2.8 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling igd v0.11.1 [INFO] [stderr] Compiling qp2p v0.9.7 [INFO] [stderr] Compiling sn_client v0.44.11 [INFO] [stderr] Compiling 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[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: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: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: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: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: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: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: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: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: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: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: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: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: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: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 `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: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: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: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: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: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: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: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: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: could not compile `sn_api` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "89b92e57163875b3b482c962d9512df3e0a4e6523e8b91e46f3b3e8cd13816ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89b92e57163875b3b482c962d9512df3e0a4e6523e8b91e46f3b3e8cd13816ff", kill_on_drop: false }` [INFO] [stdout] 89b92e57163875b3b482c962d9512df3e0a4e6523e8b91e46f3b3e8cd13816ff